queries

questions:

using lilypad arduino ATMega w/ 328 on software Arduino 0018

1.any idea of the wiring connection of accelerometer adxl 335 and the sample codes of the adxl 335.

2.the sample codes of lilypad button board dev -08776 with on/off function.it should display something like this :tri -led on when pressed and remained on when released.it should turn off when pressed again and remained off when released.

3.the sample code of lilypad buzzer dev-08463 and the wiring connection.

4.the sample code of temperature sensor dev-08777 and the wiring connnection.

  1. read the tutorial section - http://arduino.cc/en/Tutorial/ADXL3xx

  2. ?

  3. Note from LilyPad Buzzer - DEV-08463 - SparkFun Electronics

Please note: This is an inductive buzzer meaning that is will act as a short to ground if you are not actively driving it. We recommend you put both I/O pins to low (0V) when the buzzer is not used.

=> http://www.arduino.cc/en/Reference/DigitalWrite
If I read the quote correctly you should connect it to two digital pins and not directly to the ground.

  1. LilyPad Temperature Sensor - DEV-08777 - SparkFun Electronics

Description: Detecting temperature changes has never been easier. The MCP9700 is a small thermistor type temperature sensor. This sensor will output 0.5V at 0 degrees C, 0.75V at 25 C, and 10mV per degree C. Doing an analog to digital conversion on the signal line will allow you to establish the local ambient temperature. Detect physical touch based on body heat and ambient conditions with this small sensor.

==> analogRead() - Arduino Reference