26 Threads found on edaboard.com: 38khz On Pic
I am having trouble developing a 38khz signal (for an IR LED signal) on a pic16F687.
I would also like to program the pic in C (since I HATE assembly). Could someone please help and send some code if possible?
Thanks for your time and assistance!
Hobby Circuits and Small Projects Problems :: 27.05.2010 09:32 :: finzrt2 :: Replies: 1 :: Views: 1849
Well after reading this long discussion, I understand that you want to transmit data over RC5 from board and receive it on another and show it on LCD. That is farly easy.
First on transmitting board you need to make an IR transmitter. The IR led must be oscillated at 38khz and modulated to carry data. There are many ways to do that, simplest is t
Microcontrollers :: 19.07.2012 15:31 :: ameriq :: Replies: 20 :: Views: 2176
I'm no pro at micro's yet, still stuck on my midi keyboard :( But heres what I think:
So, you're using IR. Those 38khz modules are a wonder, I got a range of 25m using one with high-output IR emitter!
The 16F628, if I'm not mistaken has hardware UAR/SCI. This could come in useful, I know you said decoding in software, but if you can
Microcontrollers :: 20.07.2005 00:55 :: Buriedcode :: Replies: 6 :: Views: 2019
Currently i'm using a pic16F877 to create a pulsing(eg : 10101010) which receive from keypad to the IR transmitter to be transmitted. i wish to use the feature from the pic16F877 which is PWM to generate a carrier frequency 38khz to combine with my pulsing(10101010) to send the signal from IR transmiter to IR receiver (...)
Microcontrollers :: 27.11.2007 20:26 :: expert :: Replies: 8 :: Views: 4212
Could anyone provide some help on programming pic 16F 883 microchip to transmit a modulated pulse Infra Red(IR) LED light with carrier frequency of 38khz and the data rate of 5 Hz. On the receiving end, the other 16f883 microchip will have to decode and read the Infra red pulses. I am currently doing on a project of Infra Red gate that will sound
Microcontrollers :: 10.08.2009 22:57 :: guesslsc85 :: Replies: 0 :: Views: 1788
The pic does not receive a 38khz signal.
The IR transmitter modulates the signal at 38khz, this is to save battery power. The IR receiver has a built in amplifier and filter which removes the modulation and should output a stable 0 when a signal is present or a 1 when there is no signal.
Analog Circuit Design :: 12.04.2011 03:41 :: btbass :: Replies: 12 :: Views: 1244
Im doing a project which requires a infrared module that will work for a continous 38khz signal, the problem is its hard to find such IR module and i got only tsop 1538, which reduces its gain when continuous 38 kHz signal recieved. Since i cant find any other IR module Im thinking to send bursts. I only need 1 switch(when it recieves the signal tu
Microcontrollers :: 09.05.2011 04:58 :: wolf12 :: Replies: 16 :: Views: 4476
first of all, state clearly which Tx and Rx you are using ??
If you are using simple IR LED as Tx and a 38/36/40 kHz detector at Rx, then for programming on the Tx side, make a function which will transmit a ASK waves at 38 khz. So, when 1st switch is pressed on the Tx side, you are sending something like 0x01 hex ( 0000 0001 b) which is ASK modul
Microcontrollers :: 28.05.2011 08:08 :: mehtadhaval :: Replies: 1 :: Views: 1593
TSOP1738 ~ SM0038
May should not work because we generate continuous pulse of IR at 38khz rather than bursts of square wave with gaps.
The data signal should fulfill the following condition:
Carrier frequency should be close to center
frequency of the bandpass (e.g. 38khz).
Burst length should be
Microcontrollers :: 19.07.2011 16:49 :: mister_rf :: Replies: 3 :: Views: 1646
SFH 506/507 comes in many varieties for different modulation frequencies. I suspect that you need to choose one.
Common frequencies for TV remotes are 36kHz, 38khz and 40kHz.
Your transmitter does not seem to provide for any modulation. A small microcontroller (or at least a NE555 oscillator) may be required on the transmitter circuit.
Microcontrollers :: 01.09.2011 12:03 :: hexreader :: Replies: 7 :: Views: 894
I have small application of Generating 38khz Frequency for IR Application. I want to use pic12F675 and it doesn't have Hardware CCP Module inside the micro controller so i want to use Soft PWM For generating PWM Signal. I searched pic Library but i m not able to find the Soft PWM library code so please guide me how to use (...)
Microcontrollers :: 28.06.2013 07:33 :: asking :: Replies: 4 :: Views: 1689
If you use a single IR LED and a single IR photodiode/phototransistor you can use any frequency you like as long as it's within the speed capability of the devices but I'm concerned that because you are using frequencies close to 38khz you are using the kind of IR receiver module used in TVs and VCRs (often but incorrectly called TSOP modules). [U
Professional Hardware and Electronics Design :: 29.08.2013 05:33 :: betwixt :: Replies: 5 :: Views: 334
I'm building an IR remote control box using a pic. One of the devices it must control is a Motorola DTH335 satellite box.
I have taken a look at the codes the Motorola supplied remote sends - using a universal IR capture box. These appear to be sent at 38khz and use the NEC protocol (except it's modified in that the second address bit does not
Hobby Circuits and Small Projects Problems :: 26.02.2005 00:20 :: fastbike :: Replies: 0 :: Views: 1068
At least you can start with the assumption that the receiver you have is a Commonly available 38khz IR receiver.
3 Pins for that .VCC VSS and OUT.
give supply rails ,connect the out pin to a pin (Preferably an interrupt pin) of the controller,set that pin as a input pin for the controller.
Wire a 555 in astable mode with 38 khz f
Microcontrollers :: 06.04.2005 02:00 :: UroBoros :: Replies: 5 :: Views: 2535
Use TSOP ir demodulators from Vishay as receptors, with additional electronics, and pic based modulator ( merely +/- 38khz oscillator ) as emmiter.
Microcontrollers :: 07.05.2005 05:47 :: manu :: Replies: 3 :: Views: 694
Take a look at the picture below ..
It shows IR receiver based on the picAXE-08 microcontroller ..
Using standard TV remote controller with 38khz IR transmitter and SONY-like set of commands you will be able to set/reset digital outputs ..
Bear in mind, that the picAXE-08 microcontroller is a (...)
Hobby Circuits and Small Projects Problems :: 17.03.2006 01:27 :: IanP :: Replies: 3 :: Views: 1570
Can you please tell me what component are you using its better to use an Ir decoder module but more complicated and expensive because you need to modulate the transmitter with a 38khz signal. An alternative was a phototransistor and ir emitter but it is limited in distance covered.
I'll try to send you a diagram upon your reply.
Microcontrollers :: 02.03.2007 22:03 :: nomad13 :: Replies: 7 :: Views: 1626
DEFINE OSC 20
CMCON=%00000111 'para el pic 16f628
VRCON = 0 ' A/D Voltage reference disabled
PR2 = 25 ' Set PWM for approximately 38khz
T2CON = %00000101 ' Timer2 ON + 1:1 prescale
TX_SERIAL VAR PORTA.0
RX_SERIAL VAR PORTA.2
LED_OPER1 VAR PORTB.0
LED_OPER2 VAR POR
Microcontrollers :: 30.07.2007 10:32 :: osores_r :: Replies: 3 :: Views: 4897
Hi, You don't need to convert it at all. Simply take a proper TSOP IR detector and connect the output to a RF radio module data input. On the receiving side simply take the RF data output and use a NE555 to generate a squarewave at 38khz which you switch on and off with your RF data output from the RF module. The NE555 can than control an MOSFET to
RF, Microwave, Antennas and Optics :: 22.09.2007 06:07 :: PaulHolland :: Replies: 4 :: Views: 926
The 16F628 has two internal oscillators, one 4MHz the other 38khz and it's for low power.
Microcontrollers :: 24.10.2007 10:28 :: blueroomelectronics :: Replies: 8 :: Views: 2951
I am working on a project that need ON three switches remotely via IR tx and Rx. Tx frequency is 38khz and IR LED is used. TSOP1100 IR Receiver is used for Rx and I can make 40KHz "1"s and "0"s stream using pic according to the requirement.
My question is Rx TSOP1100 IR Receiver out put....
Is it generate negative plus or positive p
Electronic Elementary Questions :: 12.07.2009 13:20 :: thebrighter :: Replies: 0 :: Views: 816
What about the transmitter??
it should be emitting IR at 38khz
Microcontrollers :: 19.08.2009 08:51 :: nandhu015 :: Replies: 1 :: Views: 1477
It's not that strict. You can quite easily use 38khz and maybe even push up to 40kHz. Won't malfunction. The TSOP is quite common, although there are quite some common PNAxxxx modules available which are very common here.
Hope this helps.
RF, Microwave, Antennas and Optics :: 17.11.2010 04:40 :: Tahmid :: Replies: 23 :: Views: 1893
r osc will depend on the carrier freq you use. which ir TSOP1738 will decode 38khz signals. HT12A uses 455khz resonator and carrier of
Electronic Elementary Questions :: 22.03.2011 23:12 :: theta :: Replies: 1 :: Views: 634
can you tell me the frequency out from pic manchester lib when i use 4MHZ external crystal ?
i need 38khz to send and receive infrared .
- - - Updated - - -
c code for send
sbit MANTXPIN at Ra1_bit;
sbit MANTXPIN_Direction at TRISa1_bit;
char index, character;
Microcontrollers :: 06.10.2012 10:53 :: falcon00002002 :: Replies: 2 :: Views: 360
The hi-tech universal toolsuite is compatible. Yes, the interrupt routine should give you around 78 kHz frequency with 20MHz crystal (1:256 prescaler value). You'll have to delay each clock in software to get the 38khz freqeuncy you need.
The switch transistor is easy to connect. Check the schematic I attached to this post.
D1 is the IR LED.
Microcontrollers :: 08.06.2013 13:30 :: T3STY :: Replies: 30 :: Views: 1030