Simple Project
MarkUK
Posts: 2
Hi
I'm starting to plan one of my first project with you guys, and i'm wondering if anyone can give me some advice.
I would like to take the following components;
LM34 Temperature Sensor
http://www.parallax.com/product/604-00011
PING))) Ultrasonic Distance Sensor
http://www.parallax.com/product/28015
and output both the values they return to a small LCD screen
Is this quite an easy project? If so, can someone give me some pointers and advice to get started
Thanks all
I'm starting to plan one of my first project with you guys, and i'm wondering if anyone can give me some advice.
I would like to take the following components;
LM34 Temperature Sensor
http://www.parallax.com/product/604-00011
PING))) Ultrasonic Distance Sensor
http://www.parallax.com/product/28015
and output both the values they return to a small LCD screen
Is this quite an easy project? If so, can someone give me some pointers and advice to get started
Thanks all
Comments
Your project looks like a great match for the Ping object I recently posted. It allows one to calibrate the Ping sensor based on the temperature.
The Ping object I wrote/modified, includes a demo program which shows who to output data to a terminal window. If your LCD screen is the type with a serial connection, the program should be easy to modify to use with the display. The less expensive parallel LCD screens will take a bit more work to use with the object.
You'll need some way to convert the analog output of your temperature sensor to a form the Prop can read. One easy way to do this is with a chip like the MCP3208 (Parallax sells these).
What's the smallest board available that the modules could be connected to?
If you want to go small, you'll have to do some soldering. A QuickStart Board would be good. You could use a QuickStart Prototype board to mount the LM34 and a header for the PING. You'll need an ADC like the MCP3208. The QuickStart Board needs a +5V power supply. Dimension Engineering sells small modules that take in voltages from +7V to well over +24V and produce +5V with a switching regulator.
Ping)))
http://learn.parallax.com/propeller-c-simple-devices/sense-distance-ping
LCD
http://learn.parallax.com/propeller-c-simple-protocols/half-duplex-serial
LM34
(Replace the potentiometer with an LM34)
http://learn.parallax.com/propeller-c-simple-circuits/measure-volts
I also wrote some LM34 test code the other day, but have not posted it on the learn site yet. Here it is:
Welcome to the forums. For SPIN examples, see OBEX
http://obex.parallax.com/
Is there a certain product that you are looking for support on?