The MMA7455 accelerometer is a fairly low cost sensor that can measure acceleration in three axes. This sensor is commonly available as a breakout board that you can connect to…
arduino
-
-
This particular little project involved connected a DH11 breakout and an I2C LCD display to an Arduino and then displaying the humidity and temperature on the display. The code is…
-
In this example we connect the IR reciever to pin 3 and 8 LEDs from pin 4 to pin 11. We will press a key from 1 to 8 and…
-
The IR reciever and remote were part of a kit Code #include “IRremote.h” int receiver = 3; IRrecv irrecv(receiver); decode_results results; void setup() { Serial.begin(9600); irrecv.enableIRIn(); } void loop() {…
-
/* Analog input 4 I2C SDA Analog input 5 I2C SCL */ #include <Wire.h> #define address 0x1E //I2C 7bit address of HMC5883 void setup(){ Serial.begin(9600); Wire.begin(); //Put the HMC5883 IC…
-
In this example we will experiment with a DS1307 breakout, a keypad/LCD shield and an Arduino. We will create a simple clock example. The DS1307 real-time clock is a low-power,…