Tilt based on the input from the Right (Up-Down movement) joystick from the RC Transmitter Get current values of RC Receiver Channels Variables to hold the RC Receiver received values Note that Pin 5 is connected to RC receiver channel 4 but is not used in this code #define receiver2 2 // Pin 2 connected to RC receiver channel 2 which controls Pan #define receiver 3 // Pin 3 connected to RC receiver channel 1 which controls Tilt #define zoom 4 // Pin 4 connected to RC receiver channel 3 which controls Zoom #define zoomout A1 // Pin A1 controls Zoom Out #define zoomin A0 // Pin A0 controls Zoom In #define down 12 // Pin 9 controls down tilt #define right 10 // Pin 10 controls right pan #define left 11 // Pin 12 controls left pan I tried 3 different Nanos with the same result. Is there something in the code I am missing or my pinout connections. Just connecting the tripod connections to the Nano the pan goes to the maximum right position. Have a code loaded on a Arduino and can control either the Pan or Tilt as long as only I pin is connected as soon as I connect the 2nd or 3rd pin the mount stops responding. Hi noobie here, not sure if this is the correct forum,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |