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 …
Learning
-
-
Just recently I spotted various I2C OLED displays on sale at reasonable prices and fancied trying to connect these up one of my Arduino’s. Being relatively small size, requiring only 2 connections SDA and SCL from the Arduino but still …
-
In this example we connect an infra red receiver to our Arduino and an RGB led. We will use various button combinations on the remote control to switch on an LED and we will use a button to switch them …
-
In this example we connect an SD card to our Arduino, we will log analog readings to a file on the SD card. Here is the layout Code [c] #include <SD.h> const int chipSelect = 4; void setup() { …
-
This DS18B20 example we output the temperature to our LCD display. The LCD display we use is the LCD Keypad Shield that is available for sale from various sources. Here is the temperature displayed on the LCD, as you can …
-
The circuit shown here uses a NPN transistor connected to a an Arduino output pin to switch an LED pin. In real life you would perhaps switch a relay, lamp , fan or a buzzer. A darlington transistor could be …
-
A reed switch is a small device that when the device is exposed to a magnetic field, the two materials inside the switch pull together and the switch closes. When the magnetic field is removed, the two materials then separate …
-
This example shows how to interface a basic touch sensor to our arduino, this sensor came as part of a kit of 37 sensors. Touching the metal sensor pin produces an output at the ‘DO’ pin. The output is not …
