User:Dans34/Sandbox/arduino: Difference between revisions
From BetaArchive Wiki
< User:Dans34 | Sandbox
m (Sandbox test) |
m (→To Do) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==To Do== | ==To Do== | ||
;Create arduino basic framework code (define pin I/O) | ;<s>Create arduino basic framework code (define pin I/O)</s> - 21/7/11 | ||
;Bluetooth RS232 module | ;Bluetooth RS232 module | ||
: Connect Bluetooth RS232 module to pins 0(RX) , 1 (TX) ,+5v(power) , GND | : Connect Bluetooth RS232 module to pins 0(RX) , 1 (TX) ,+5v(power) , GND | ||
: Solder in headers ontop of relay shield for better access to pins | : Solder in headers ontop of relay shield for better access to pins | ||
;Relay Shield | ;Relay Shield | ||
: Connections to be made to Com & N/o (N/C is connected when pin is LOW)Set pin HIGH to turn ON relay , pin LOW to turn OFF | : <s>Connections to be made to Com & N/o (N/C is connected when pin is LOW)</s>- 21/7/11 used old floppy drive power cable and molex | ||
: Run standard timed relay code, on for 1s, off for 1s | :Set pin HIGH to turn ON relay , pin LOW to turn OFF | ||
: <s>Run standard timed relay test code, on for 1s, off for 1s</s> -21/7/11 , surprised at the build quality, no solder splashes and everything fits in the headers | |||
;Motor shield | ;Motor shield | ||
: Again run standard motor tests | : Again run standard motor tests | ||
;Intergrate relay and motor shield code | ;Intergrate relay and motor shield code | ||
;Camera | |||
:<s>Create Roof rack for camera (use old caddy from sun server)</s>- 22/7/11 | |||
: <s>Mount Wireless Video Transmitter</s> - 22/7/11 - Duct tape to the rescue | |||
: <s>BNC(camera) to RCA(transmitter) converter</s> - 22/7/11 - Cheap ebay purchase £1.50 for 4 | |||
: Step up 7.4v to 12v for camera | |||
: Step up 7.4v to 9v for transmitter | |||
: ( or will it be better to step down 12v to 9v & 12v to 5V (for arduino) ?? ) - then again should probably not use the same power source for the motors & the arduino , could introduct noise in the lines | |||
;RC Car | |||
: Remove <s>old mini bulbs from headlights/taillights</s> and replace with leds - 22/7/11 Half done (not finished with the wig / wag circuit) | |||
: remove plastic windows | |||
: (side note , battery compartment on the rc car takes 5x AA - 7.5v , better to use this as input voltage for the arduino ) | |||
;Arduino Code | |||
: Check state of pin before setting state (no point in setting a pin high/low , if it is already high/low) |
Latest revision as of 01:06, 23 July 2011
Nothing to do with beta's here , just my arduino scratchpad
RC 1/14 Scale Range Rover
To Do
Create arduino basic framework code (define pin I/O)- 21/7/11- Bluetooth RS232 module
- Connect Bluetooth RS232 module to pins 0(RX) , 1 (TX) ,+5v(power) , GND
- Solder in headers ontop of relay shield for better access to pins
- Relay Shield
Connections to be made to Com & N/o (N/C is connected when pin is LOW)- 21/7/11 used old floppy drive power cable and molex- Set pin HIGH to turn ON relay , pin LOW to turn OFF
Run standard timed relay test code, on for 1s, off for 1s-21/7/11 , surprised at the build quality, no solder splashes and everything fits in the headers- Motor shield
- Again run standard motor tests
- Intergrate relay and motor shield code
- Camera
Create Roof rack for camera (use old caddy from sun server)- 22/7/11Mount Wireless Video Transmitter- 22/7/11 - Duct tape to the rescueBNC(camera) to RCA(transmitter) converter- 22/7/11 - Cheap ebay purchase £1.50 for 4- Step up 7.4v to 12v for camera
- Step up 7.4v to 9v for transmitter
- ( or will it be better to step down 12v to 9v & 12v to 5V (for arduino) ?? ) - then again should probably not use the same power source for the motors & the arduino , could introduct noise in the lines
- RC Car
- Remove
old mini bulbs from headlights/taillightsand replace with leds - 22/7/11 Half done (not finished with the wig / wag circuit) - remove plastic windows
- (side note , battery compartment on the rc car takes 5x AA - 7.5v , better to use this as input voltage for the arduino )
- Arduino Code
- Check state of pin before setting state (no point in setting a pin high/low , if it is already high/low)