Introduction: Wireless Pan and Tilt Camera Rig With Arduino

this is a small arduino project with the NRF24L01 wireless Transceivers modules ans 2 servo motors.

the rig is controlled by a wireless joystick and it can hold a camera, laser or anything you can think about.

Step 1: Requirements

required tools:

3d printer

small screw driver

links to the electronic parts:

2 servo motors

2 NRF24L01 Transceivers

1 joystick module

2 arduino nano clones

2 6v battery packs

some wires

download and print 3d objects from here:
http://www.thingiverse.com/thing:708819/#files


Step 2: Making the Models and Building the Motors Base

in the video you can see the timelapse capture of the printing. all the printing process took almost 2 hours.

connecting the remote controller:

the remote controller include 1 joystick, 1 arduino, 1 NRF24L01 transceiver and a battery.

connection diagram:

arduino A0 : joystick VRy

arduino A1 : joystick VRx

arduino 5v : joystick 5v

arduino gnd : joystick gnd

arduino d13 : NRF24L01 sck

arduino d12 : NRF24L01 miso

arduino d11 : NRF24L01 mosi

arduino d10 : NRF24L01 csn

arduino d09 : NRF24L01 ce

arduino +3.3 : NRF24L01 vcc

arduino gnd : NRF24L01 gnd

upload the script to the microcontroller and follow the next step to build the reciever.

Step 3: Build the Reciever

connecting the reciever:
the reciever include 2 servo motors, 1 arduino, 1 NRF24L01 transceiver and a battery.

connection diagram:

arduino d3 : X servo motor

arduino d5 : Y servo motor

arduino d13 : NRF24L01 sck

arduino d12 : NRF24L01 miso

arduino d11 : NRF24L01 mosi

arduino d10 : NRF24L01 csn

arduino d09 : NRF24L01 ce

arduino +3.3 : NRF24L01 vcc

arduino gnd : NRF24L01 gnd

upload the script to the microcontroller. connect the batteries and you ready to run

here is the ready to run video

Comments

author
kluivertmenezes made it! (author)2016-12-06

Even i had the same problem
Any solution??

author
TheRoguePhoenix made it! (author)TheRoguePhoenix2017-01-06

Did you ever discover the answer to fix the code? I'm in dire need of this code due to a project I'm working on.

author
Ecoplanet made it! (author)Ecoplanet2017-05-17

I also needed this code to work. Does anyone have a similar spell that can send me? I can not understand why this has the problem in RF24.
If you do not mind sharing: cdi.com.ics@gmail.com

author
giantpair made it! (author)2016-02-06

Why does the RECIEVER.ino code fail on the line "void setup()RF24" with error msg "exit status 1 expected initializer before 'RF24'"??? SHould have tried the codes before I wired it all up.

author
RogerH39 made it! (author)RogerH392016-02-17

I had the same problem. Did you get an answer or figure out a solution?

author
Kaye FreyssinetA made it! (author)2016-01-20

where can i find the codes?

author
TheOverclocker made it! (author)TheOverclocker2016-01-20

at the end of the instructable

author
skumar231 made it! (author)2015-11-30

very good project ...if i buy electronic parts i try to make this...

author
sillypig made it! (author)sillypig2015-12-06

did you find the code ???

author
sillypig made it! (author)sillypig2015-12-08

yes thanks got the code . cheers

author
Kaye FreyssinetA made it! (author)Kaye FreyssinetA2016-01-20

where can i get the codes please>?

author
Kaye FreyssinetA made it! (author)Kaye FreyssinetA2016-01-20

where can i get the codes please>?

author
Kaye FreyssinetA made it! (author)Kaye FreyssinetA2016-01-20

where can i get the codes please>?

author
sillypig made it! (author)sillypig2015-12-08

yes thanks got the code . cheers

author
TheOverclocker made it! (author)TheOverclocker2015-11-30

thank you! please share if you make it

author
TheOverclocker made it! (author)2015-12-07

you can see 2 links to the scripts at the end of the post.