EDIT - You can follow this project on my blog here: http://maxkulik.koding.com/. You can also find more pictures there as well.
Hi Everyone!
I am currently working on an Arduino project where I am going to have 2 Arduinos set up. One will be sending a RF frequency and the other will be receiving it. The receiver will also have some relays connected to the Digital Out pins and I am trying to get it so that when I press one button on the "Sender Arduino", the Arduino receiving the signal will in return activate one of the two relays. I have taken some pics of my wiring and how I am planning on connecting everything. I have tried doing the code myself, but I have been having a really hard time trying to get this to work. I need it so that when one of the buttons are pressed it will make Relay 1 (R1) turn on and then when the other button is pressed Relay 2 (R2) will turn on. I did not connect the buttons to anything in the picture, because I am not 100% sure where they will need to be connected to for them to work the right way. Any help will be great!!!
This is the website that has the example code for the RF sender and receiver module - http://www.seeedstudio.com/wiki/Grove_-_433MHz_Simple_RF_Link_Kit
Here is a list of all of the parts that I am using:
SeeedStudio RF Receiver and sender module:
Wiki/Code - http://www.seeedstudio.com/wiki/Grove_-_433MHz_Simple_RF_Link_Kit
Retail Page - http://www.seeedstudio.com/depot/grove-433mhz-simple-rf-link-kit-p-1062.html?cPath=139_140
SeeedStudio Grove Relays:
Wiki/Code - http://www.epictinker.com/Grove-Relay-p/com22639p.htm
Retail Page - http://www.seeedstudio.com/wiki/index.php?title=Project_Five_–_Relay_Control
Here are the pictures of what I have in mind. This is also how I am playing to connect them too:
Any help at all will be soooo helpful!!!
Thanks!
EDIT
I just wanted to post an update on what the car looks like now
If you have any questions about the wiring or anything along that line just ask.
This is a picture of the car and the controller both on and running. The car and the controller both have an Arduino inside that is acting as the "brain" of the project.
In this picture, you can see the 2 relays that will make the car either move forwards or backwards.
This is the back end of the car. You can see the Arduino Development Shield/Board that I have all the wires soldered into. I am using the dev. board because it allows for me to Remove the Arduino to upload the code. The Arduino cannot be connected to the RF Receiver when uploading the code because for some reason you will end up getting a "sync" error.
Again here is a closer picture of the Relays. You ca also see some LEDs soldered to some PCB board. These will act as headlights. I just don't have the wired up yet because I am thinking about changing them out for some much more powerful blue or white LEDs.
This is a picture of the controller from the outside when it is on and all put together. Notice there are 2 buttons, one for forwards and another for backwards. On the bottom of the picture you can see there is an ON/OFF switch and a low power LED to indicate that the power is on.
This is a picture of the inside of the controller. You can see on the cover there is an Arduino R2 glued in. The Arduino is what controls the logic of the pressing and releasing of the the forward and backward buttons on the other side. Inside the project box you can see the Arduino is powered by and 9v battery connect to the "Vin" and "GND" pins on the Arduino. The little PCB board on the inside of the box is the RF Transmitter that sends the signal to the car; making it move forward or backward.
This is just a better picture of the RF Transmitter and the 9v battery on the inside of the project box
This is a close up of the Arduino inside the project box/controller.