Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.
Member Since: October 26, 2013
Country: United States
I am using this code for my pan/tilt and it dances all over the place. Any suggestions??
#include "Servo.h"
// Store the Arduino pin associated with each input
const byte PIN_ANALOG_X = 0;
const byte PIN_ANALOG_Y = 1;
Servo pan;
Servo tilt;
long currentX=0;
long currentY=0;
void setup() {
Serial.begin(9600);
//out pins
pan.attach(8);
tilt.attach(9);
}
void loop() {
currentX = map((long)analogRead(PIN_ANALOG_X), 0, 1023, 0, 180);
currentY = map((long)analogRead(PIN_ANALOG_Y), 0, 1023, 0, 180);
Serial.print("X: ");
Serial.print(currentX);
Serial.print(", ");
Serial.print("Y: ");
Serial.print(currentY);
Serial.println();
pan.write(currentX);
tilt.write(currentY);
How can you use this item with the pcDuino or Raspberry Pi??
It would be nice to get the V2 in stock since it has WiFi built in!... pcDuino V2 $66
Would this work with the Raspberry Pi?
It would be nice to have a few more things for the Pi since it IS sooo popular! It is just easier for a buyer to get everything they want in 1 stop and only have to pay shipping for 1 place instead of going to here and other places for what we need and paying double shipping..
Some things I would be interested in buying that adafruit has that you don't: * Miniature WiFi * Miniature Wireless USB Keyboard with Touchpad * USB WiFi (802.11b/g/n) Module with Antenna * Adjustable Pi Camera Mount * Raspberry Pi NoIR Camera Board - Infrared-sensitive Camera * PiBow VESA Mounting Layer Plate
Lights, Check. Camera, Check. Where's the action.?.. Maybe I forgot to tell people about the party.
What would be the bare MINIMUM products to order with this item to have this work on a 12v CCDTV system? I would like to build something like a mini DVR but I am not very fluent with code and would not know where to start with ordering what would be needed! :(
Any and all help is greatly appreciated!
P.S. Schematic is not working for me.. Also, is there anyway to get the eagle files for this board??