Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542
TestOrchestratorAndGauge - Wiki

TestOrchestratorAndGauge

From Wiki

Jump to: navigation, search

Here's another i2c demo for the arduino.

Image:Testorchandgauge.jpg

This is a prototype of what will eventually become a digital sensor network, which will be comprised of i2c slaves which digitize sensors, i2c slaves which display data on gauges, and an i2c "orchestrator" which links the two together.

This milestone in development represents a two-member i2c network -- an orchestrator which generates a test pattern, and a gauge which displays it.

The orchestrator generates a sawtooth with a period of 2 seconds, and transmits i2c data 10 times per second. The slave receives the data and outputs it as PWM to a gauge. Both members toggle the pin 13 LED each time they send or receive an i2c "packet".

video

here's a descriptive video on youtube: http://www.youtube.com/watch?v=kKYJDkni5U4

code

here are the sketches:

hex

here's the hex (for atmega168):

Personal tools