-
3 potentiometers?
07/15/2017 at 02:30 • 0 commentsToday I've tried to do the same thing but using 3 potentiometer; it seems to work but the receiver it's not refreshing so the leg RGB doesn't change :( However, it's interesting that when the receiver arduino begins or when restarted, it refreshes. Another thing is that if the antennas are touching each other it works. I think it is not a problem of the transmitter because it works from more than 5 meters away when the receiver is restarted. I might have forgotten something on the receiver code or even i don't know. I'll look for another methods.
I have some hypothesis about the problem:
- The receiver code has a logic mistake.
- There is noise between the unit.
- This method is not proper.
Receiver:
Diagram:
Transmitter:
Diagram:
Code: https://github.com/LukeCepza/433-Mhz-rf/tree/master/Transmisor AM 433Mhz/RF_receiver_4pot_longchain
-
Three buttons, one potentiometer
07/14/2017 at 20:52 • 0 comments13/07/2017 Communication with text strings.
First of all, I used the a library called RadioHead for this project: http://www.airspayce.com/mikem/arduino/RadioHead/index.html
What I did today is to see how a code and hardware behaves. It is pretty much decent and works at distances up to 10 meter (with antenna in both circuits). Still not sure if it is the best way to send data.
Aside the arduinos and the transmitter/receiver link I've used 4 leds, 3 buttons and one potentiometer. The 3 buttons send a signal to turn on a led respectively, while the potentiometer sends an analog signal to light up or down the left led.
Receiver:
Diagram:
Code: https://github.com/LukeCepza/433-Mhz-rf/tree/master/Transmisor AM 433Mhz/RF_receiver_3_boton_pot
Transmitter:
Diagram:
Code:
https://github.com/LukeCepza/433-Mhz-rf/tree/master/Transmisor AM 433Mhz/RF_transmiter_3_boton_pot