Arduino Projects of note: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
Line 43: Line 43:
LM 393 Datasheet:<br>
LM 393 Datasheet:<br>
http://www.ti.com.cn/cn/lit/ds/symlink/lm293-n.pdf
http://www.ti.com.cn/cn/lit/ds/symlink/lm293-n.pdf
== From analog to digital ==
So you got a bunch of cheap sensors, but they are all voltage oriented, like lm 939 and tmp36 and lm35, but you want to hook up a pile of them. wouldn't it be great if you could "convert" the voltage changing sensors to 1 wire or I2C ?
By using a buss ( like I2C ) you can attach many sensors  to a single pair of arduino digital pins.
You can! Some notes so far below.
=== Analog to I2C ===
http://www.ti.com/lit/ds/symlink/ads1000-q1.pdf

Revision as of 14:44, 3 December 2014


RTC

I have some zs-042 RTC , it has a DS3231 RTC and what looks like an ATmega32 on it.


LCD

Liquid Crystal Display

Some notes:

Voltage Comparator Based Sensor

Picked up a soil moisture sensor from Deal Extreme ad 2.23 USD$

http://www.dx.com/p/soil-humidity-moisture-detection-sensor-module-blue-black-white-200142

It's based on a lm393 voltage comaparator. Many variation exist, for things like sound and light aswell.

This is an analog to digital sensor NOT a 1 wire sensor, so it soaks up an analog pin.

Resources:

Arduino Code example:
http://arduino-info.wikispaces.com/Brick-LightSensor-Analog-Digital

LM 393 Datasheet:
http://www.ti.com.cn/cn/lit/ds/symlink/lm293-n.pdf

From analog to digital

So you got a bunch of cheap sensors, but they are all voltage oriented, like lm 939 and tmp36 and lm35, but you want to hook up a pile of them. wouldn't it be great if you could "convert" the voltage changing sensors to 1 wire or I2C ?

By using a buss ( like I2C ) you can attach many sensors to a single pair of arduino digital pins.

You can! Some notes so far below.

Analog to I2C

http://www.ti.com/lit/ds/symlink/ads1000-q1.pdf