Rotating Satellite Dish
This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com).
This project is a rotating satellite. A remote control is used to control the position and movement of a servo. This servo is connected to a 3D printed shaft and dish which allows it to move.
Supplies
Arduino Uno
9g Micro Servo
IR Receiver
Remote
Jumper Wires
3D printer
Filament
Small Breadboard
9V battery
Print Necessary Parts
There are multiple printed parts for this project. The main dish and shaft which is connected to the servo will need to be printed with supports. The other parts are used for housing. Attached are the STL files
The "MakeSat", "MakeSatStand", "MakeBearing", and "servoshaft" will be glued together. The "MakeBearing" is capable of enclosing a 6202 bearing if you would like to use one though it is not necessary. The other components are made to attach to each other without any other tools.
The servo will be attached to the underside of the "MakeLidServo". The other part are assembled from bottom to top as follows: bottom, MakeCase, MakeServoLid, MakeLidBase, MakeLidTop. Then the glued pieces are attached to the servo head.
Program the Arduino
This is the code used to control the electronics. There are 5 buttons the remote utilizes. You will have to decode your own remote to find the string associated with each button using the library file for the remote.
Code starts by inserting the necessary libraries such as Servo and IRremote. Then the buttons strings are defined along with the sensor pin, servo pin, angle values for the servo, rotation direction, and decoding and receiving functions.
The the main body begins by enabling the receiver to receive inputs.
Then if statements are sued for each case where if the appropriate string is read then the servo will move to that position.
Downloads
Wiring Diagram
This is a wiring diagram for the project:
Servo is attached to pin 2 and positive and negative rail of breadboard
IR receiver is attached to pin 3 and positive and negative rail of breadboard
5V and ground are connected from arduino to positive and negative rails of breadboard
9V battery is connected to Arduino