In this code example we will take a look at the PS2 JOYSTICK SHIELD V2.0. The X-axis of the joystick is connected to pin A0 of Arduino, the Y-axis to pin A1, power supply to 5V and ground to GND. …
-
-
In this example we will connect a 4 channel relay shield to an Arduino Uno and control it via an infrared remote control. We will use keys 1 to 4 to control relay 1 to 4 and also use key …
-
I have been looking to do some work with robots and purchased a few different different robot car kits. There are many options available, some have 2 wheels, some have 4 wheels. You can also choose various different options to …
-
The keyestudio Multi-purpose shield V2 has 6 leds, in this example we will flash the LEDs The LEDs are connected to pins D8 to D13 Code [codesyntax lang=”cpp”] //pin definition of LEDs int led1 = 13; int led2 = 12; …
-
The LX1972 is a low cost silicon light sensor with spectral response that closely emulates the human eye. Patented circuitry produces peak spectral response at 520nm, with IR response less than ±5%, of the peak response, above 900nm. The photo …
-
The Arduino nano is a very nice board, it has the same microcontroller as an Uno, all of its I/O come out to headers, it uses mini usb and its small size make it ideal for projects where space is …
-
There are a few development systems available which are Arduino based which are designed to make it easier for beginners and young people to get started. One of these is the Grove system and the other is this one which …
-
Arduino and MCP3424 A/D converter example, lets look at the device. The MCP3424 is a four channel low-noise, high accuracy delta-sigma A/D converter with differential inputs and up to 18 bits of resolution. The on-board precision 2.048V reference voltage enables …
-
In a previous example we took a look at the HDC1008 – http://www.arduinolearning.com/code/hdc1008-sensor-example.php This example used a library from Adafruit but we wanted to show you how to do the same thing with no libraries., here is a reminder of how …
-
In our previous look at the Easy Module Shield v1 – Arduino Easy Module Shield v1. We took a look at the shield and had a simple example looking at the LDR and the pot. In this example we will show examples …
-
I spotted a couple of new shields when I was browsing some online shopping sites, so I though I would take a look at these. Initial impressions suggest these would be ideal for beginners. Shield 1 This shield integrate various …
-
Freescale’s MAG3110 is a small, low-power, digital 3-axis magnetometer. The device can be used in conjunction with a 3-axis accelerometer to realize an orientation independent electronic compass that can provide accurate heading information. It features a standard I2C serial interface output …
