If you're unsure of all of this, just start as simple as possible, and change your power sources as you better understand your needs. pictured are a few I've used successfully in many projects. If you want to go the battery route, go with higher strength rechargeable packs. Be prepared to buy crates of disposable AA batteries, or be forever refreshing your rechargables. The first version of this project used simple packs of AA batteries which was good enough for "proof of concept", but not suitable for extended use. If you want standalone capabilities so you can place this anywhere (ie outside), you would then go with battery power. The universal power adapters are a great choice for gadgeteers, so if you need to buy adapters, go with them. The simplest would be a couple of 6v AC/DC power adapters, one for the servos, one for the board. There are lots of ways to power the sentry gun. If need be, see other Instructables for Arduino / Servo information. HOWEVER, if you don't already know this, you can't run your servos directly from a standard Arduino because the power draw is too high. If you're not using a BotBoarduino, you'll just configure your servos for your situation. DIGITAL SENTRY CAMERA LOOK CONTROL CODESee provided code for actual pinouts, and match or change as per your requirements. DIGITAL SENTRY CAMERA LOOK CONTROL PLUSConfigure your BotBoarduino to have separate VS/VL power sources, jumper a digital pin bank for VS, and plug your two servos, plus the control lines for the trigger motor on the gun, into that bank. For example, you could set the jumper for bank 10-13 to VS to power servos, and set the jumper for bank 6-9 to 5V to power sensors.Īs spectacular as this sentry gun is, at its heart it is a simple two servo control project. Each bank has a jumper next to it where you can select the power source for that bank. The digital pins 2 through 13 are arranged in banks of 4 ( 2-5, 6-9, 10-13). (13) is a jumper you remove to separate the VS and VL power circuits. (16) VL is the power input for the logic circuit. Whatever power you run into here will be directly used by the servos. (15) VS is the power input for the servos. Up to 18 servos can be plugged in directly, and powered separate from the logic circuit of the board in this manner (refer to image above). It has an onboard speaker (hardwired to pin 5), three onboard pushbuttons with corresponding LED's, a reset button, separate logic and servo power inputs, an I/O bus with 20 pins and power and ground, and a 5vdc 1.5amp regulator. The shield compatible Lynxmotion BotBoarduino is perfect for controlling any Arduino (Duemilanove) based project, but especially those requiring servos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |