RF Transmitter and Receiver: Step 1: Short RF Lesson
RF Transmitter and Receiver: Step 1: Short RF Lesson
by OEsirik
In this project, I will use RF modules with Pic 16f628a. It will be a short tutorial about rf. After you learn ho rf
modules communicate with each other you can use these modules with pic microcontroller, ardunio or any
microcontroller. I controlled RGB LEDs but If you can control many thing motors or relays.
In the first circuit is the transmitter second is receiver.I controlled 3 RGB led by this modules.
Transmitter Part:
1. pic16f628a
2. 18pin dip socket
3. 1n4001 diode
4. lm7805
5. 220 uf 16v electrolytic cap
6. 1 uf cap
7. 330ohm ^1
8. 4.7k ohm ^1
9. Rf transmitter (433 MHZ)
Receiver Part:
11.led
12male header
I love using PCB instead of prototype PCB(including many holes), In my opinion, this way is more healthy for
circuits. After designing the circuits I printed on the boards but there are some tiny nets so I needed to fix some
nets. After fixing operations they go to in acid. Then they are ready for next step.
Solder mark has some difficulties but otherwise, it has some benefits.Your PCB can be healthy very long time and
short circuit risks become increases.You can find many resources about how can you make solder mask at
home.After the solder mask operations, PCB's go drilling operations.
At last, we soldering the components on PCB. My advice you should solder dip socket first but attach the pics and
rf modules after soldering. You should be very careful about short circuits. Besides, rf modules can be effected
static electric very easily.
Step 7: Codding
I used PIC CCS for programming. If you have any If we try to use the same many RF modules in the
question about anything just ask it, please. same area it will be some provision. We prevent this
problem with preamble function. We define an
First, we choose the baudrate you should look that for identification for our modules and sent it receiver
rf modules datasheet then we define transmitter an module.
receiver pins. Parity is about our data is odd or even
but we don't use it in this project, at last, we choose 1 We can see this function on the oscilloscope.First two
our stop bit. pic belong transmitter and second modules belong
receiver circuit
Preamble Function:
Download
https://www.instructables.com/ORIG/F6C/NERS/JLGUYSTE/F6CNERSJLGUYSTE.c
…
Step 8: RUN!
In this project main idea was RF communication thus I did not use qualification pic or oscillator. If you want to
obtain better communication you should use high-frequency crystal oscillator and high-frequency RF modules. You
should use an antenna.
https://youtu.be/sgZwKXLEzA4
Interesting stuff.