This was a simple example to show sending information using the serial monitor, in our other examples we have generally used the serial monitor for debug, outputting messages. This example…
arduino
-
-
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…
-
This is a water sensor that I obtained as part of a kit recently, its fairly easy to connect this to your Arduino. the requirements are simply VCC (5v), GND…
-
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…
-
This is a quick example showing how to connect an IR Reciever. Most of these work the same way, they require Vcc(5v), GND and there is a data out which…
-
/* 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…