Monday, April 9, 2012

Microcontrollers

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
ADXL335 Breakout Board
AccelerometerFull-Scale RangeInterfaceAxesMaximum BandwidthPower RequirementsBonus Features
ADXL335±3gAnalog31600 (x/y), 550 (z) Hz1.8-3.6V, 350µASelf 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