Microcontroller Basics:
Key aspects to keep in mind for the microcontroller: cost, ease of use, ease of programming
Arduino - most suitable controller platform
Useful links:
board constraints:
3 outputs for the wheel motors
multiple inputs: gyro, accelerometer, laser sensor ( to sense distance in a following mode)
Sparkfun - www.sparkfun.com
sparkfun 3-axis accelerometers
sparkfun 3-axis gyroscope
sparkfun arduino microcontrollers
IDEAS---
Microcontroller 1
problem: only two outputs
Microcontroller 2
6 inputs
6 outputs
32k flash memory
16MHz clock speed
input voltage 7V-12V
problems: no build in accel. and gyro
Accelerometers
Analog Devices' ADXL335 - Our 3-axis, analog accelerometer workhorse
Accelerometer | Full-Scale Range | Interface | Axes | Maximum Bandwidth | Power Requirements | Bonus Features |
ADXL335 | ±3g | Analog | 3 | 1600 (x/y), 550 (z) Hz | 1.8-3.6V, 350µA | Self test |
Pros:
- Very easy-to-use analog interface.
- 3-axis accelerometer - the first one on this list!
- Low-cost - when compared to the 2-axis accelerometers above, it's hard not to go with this one.
- The ±3g range should provide a good balance of range and resolution.
- Low-current consumption - 0.35mA!
- We can't say enough good things about this accelerometer - we've put it into all sorts of other products
Cons:
- The ±3g range can be limiting for some projects.
- Can only be supplied with up to 3.6V.
swarming - ultrasonic sensors necessary?
sparkfun ultrasonic sensor
Basic Microcontroller Block Diagram
No comments:
Post a Comment