Shop OBEX P1 Docs P2 Docs Learn Events
Sensor Demonstration Board: Smart Model Car — Parallax Forums

Sensor Demonstration Board: Smart Model Car

bulkheadbulkhead Posts: 405
edited 2006-08-19 21:05 in Robotics
db06.jpg
dbb17.jpg
dbb03.jpg
db21.jpg

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
640 x 480 - 23K
640 x 480 - 59K
640 x 480 - 57K
640 x 480 - 22K

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-08-18 02:09
    That's awsome!

    Do you have any video of this car in action?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • CJCJ Posts: 470
    edited 2006-08-18 16:42
    The ping mounting looks very natural! smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Who says you have to have knowledge to use it?

    I've killed a fly with my bare mind.
  • Rob7Rob7 Posts: 275
    edited 2006-08-19 01:53
    Very cool !



    Rob7
  • Tricky NekroTricky Nekro Posts: 218
    edited 2006-08-19 21:05
    Awsome man!!!

    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)
Sign In or Register to comment.