Wireless Pan and Tilt Camera Rig With Arduino

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

Robotics Contest

Participated in the
Robotics Contest

Tech Contest

Participated in the
Tech Contest

Be the First to Share

    Recommendations

    • The 1000th Contest

      The 1000th Contest
    • Battery Powered Contest

      Battery Powered Contest
    • Hand Tools Only Challenge

      Hand Tools Only Challenge

    19 Discussions

    0
    fenderblender
    fenderblender

    Question 1 year ago on Step 3

    CAN YOU PLEASE HELP WITH THE RECEIVER SKETCH EVERYONE HAS THE SAME PROBLEM, THANKYOU

    0
    fenderblender
    fenderblender

    1 year ago

    wired up but cant load receiver sketch, i see at least 3 others have the same problem, why cant overclocker answer the question properly, the script clearly doesnt work, projects like this that dont work should be fixed or deleted from instructables...

    0
    ArcR
    ArcR

    2 years ago

    Can anyone answer this: Why does the RECIEVER.ino code fail on the line "void setup()RF24" with error msg "exit status 1 expected initializer before 'RF24'"?

    0
    kluivertmenezes
    kluivertmenezes

    3 years ago

    Even i had the same problem
    Any solution??

    0
    TheRoguePhoenix
    TheRoguePhoenix

    Reply 3 years ago

    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.

    0
    Ecoplanet
    Ecoplanet

    Reply 3 years ago

    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

    0
    giantpair
    giantpair

    4 years ago

    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.

    0
    RogerH39
    RogerH39

    Reply 4 years ago

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

    0
    TheOverclocker
    TheOverclocker

    Reply 4 years ago

    at the end of the instructable

    0
    skumar231
    skumar231

    4 years ago

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

    0
    sillypig
    sillypig

    Reply 4 years ago

    did you find the code ???

    0
    sillypig
    sillypig

    Reply 4 years ago

    yes thanks got the code . cheers

    0
    Kaye FreyssinetA
    Kaye FreyssinetA

    Reply 4 years ago

    where can i get the codes please>?

    0
    Kaye FreyssinetA
    Kaye FreyssinetA

    Reply 4 years ago

    where can i get the codes please>?

    0
    Kaye FreyssinetA
    Kaye FreyssinetA

    Reply 4 years ago

    where can i get the codes please>?

    0
    sillypig
    sillypig

    Reply 4 years ago

    yes thanks got the code . cheers

    0
    TheOverclocker
    TheOverclocker

    Reply 4 years ago

    thank you! please share if you make it

    0
    TheOverclocker
    TheOverclocker

    4 years ago

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