Sensor Demonstration Board: Smart Model Car
This project is a model car with lots of sensors added, all controlled by a BS2 and Javelin Stamp working together. Being that this is 90% parallax, I decided to post it here. The sensors used on the model are:
Parallax DS1620 Digital Thermometer
Parallax Sensirion SHT11 Temperature/Humidity Sensor
Parallax Hitachi H48C Tri-Axis Accelerometer
Parallax PING))) Ultrasonic Sensor
Sharp GP2D12 IR Ranger
A Simple Photoresistor
Parallax DS2760 Thermocouple <--- I couldn't get this last sensor working though, requires "1-wire" interface
The model car is programmed to respond to these sensors by manipulating its various peripherals, which include a servo, 2 DC motors, and LED head lights and brake lights. In addition, output is displayed through the Parallax 2x16 serial LCD.
Anyways, the Javelin stamp gets the data from all of these sensors and makes decisions on what to do. Special thanks to Peter Verkaik for helping me translate a lot of the code as well as giving me insight on how to set up the serial communication protocol. The BS2 was added because all of the sensors used up the Javelin's 16 I/O pins (Parallax should make a 40 pin Javelin!). The BS2 controls the output peripherals (except LCD) and sends the Javelin data from the 5 input switches on the display panel. Some of the things this model can do:
-wheel speed changes as objects are closer or further from the car; ultrasonic ranger in back, IR ranger in front
-a fan mounted on a servo turns on and points at whichever temperature sensor is reading the highest (by at least 2 degrees)
-accelerometer functions as a car alarm, responds to jolts and tilting
-headlights turn on in the dark
Comments
Do you have any video of this car in action?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.
Rob7
Really coolio...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
The hellinic (Greek) robots portal: Greekbotics
Many Projects and Schematics by the users·and also robotic news
(Translate using babelfish)