In this example we connect a DHT11 sensor our Arduino, again we will display the temperature and this time the humidity as well on our LCD4884 shield. In this example we connected the data pin of the DHT11 to Pin …
-
-
In this example we connect an LCD4884 shield to our Arduino and then we connect a DS18B20 temperature sensor to Pin 9 and we will display the temperature in celsius and fahrenheit. Code Here is the code You need to …
-
A simple example to count to 10000 and display this on an LCD4884 shield Code [c] #include “LCD4884.h” #define MENU_X 10 // 0-83 #define MENU_Y 1 // 0-5 int counter = 0; char string[10]; void setup() { lcd.LCD_init(); lcd.LCD_clear(); init_MENU(); …
-
In this example we will connect a 7 segment display to an Arduino Schematic Code [c] const int A = 4; const int B = 5; const int C = 6; const int D = 7; const int E = …
-
In this example we connect an LDR to analog 0 and depending on the value read in we then vary the brightness of an LED connected to Pin 9 using PWM. The input read from the analog pins will be …
-
A keypad is a nice simple method of accepting user input into your project. These come in a number of styles and generally there are 2 types a 3×4 keypad and a 4×4 keypad. The numbers stand for the rows …
-
Another TM1638 example, this time when you press a button a random sequence of LEDs will be lit The previous project is here for connection information Code [c] #include <TM1638.h> // define a module on data pin 8, clock pin …
-
This code snippet will get the button value and display the value on the 7 Segment LED and the LEDs Code [c] #include <TM1638.h> // define a module on data pin 8, clock pin 9 and strobe pin 10 TM1638 …
-
When I was browsing various web sites to see what electronic components to buy one day I noticed some interesting little kits comprising of switches, LEDs and a couple of 4 digit seven segment displays saw I decided to purchase …
-
Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8 LEDs via your Arduino UNO, that can restrict the amount of …
-
In this example we connect a tilt switch up to Pin 2 and connect an LED to pin 3, when we move the tilt switch the LED will light Code [c] const int tiltPin = 2; // the number …
-
Sensor Module Kit This was a kit that I spotted that I thought would be useful for little experiments, as you can see from the listing below there are a variety of useful little modules. Here is a picture of …