I have a few examples of interfacing a PC to an Arduino over the com port, typically you use a program written in a language such as VB.net or C# and either send or recieve data back and forth. One …
Code
-
-
In this example we fit the Digit shield to our Arduino Uno and then connect the HC-SR04 ultrasonic module as per the previous example You can read about the digit shield here Requirements HC-SR04 Ultrasonic module Arduino Uno and USB cable …
-
In previous posts we showed some examples for the 4067 16-Channel multiplexer – Arduino and 4067 LED example The HCF4051 device is a monolithic integrated circuit fabricated in MOS (metal oxide semiconductor) technology available in SO-16 and PDIP-16 packages. The HCF4051 analog …
-
In a previous example we used the 4067 to flash some LEDs – Arduino and 4067 LED example but you can also use the CD74HC4067 multiplexer / demultiplexer to read analog values from all 16 channels. This gives you the ability …
-
In this example we will connect an XBox 360 (USB) joypad to a USB Host shield and flash some LEDs depending on what button was pressed on the joypad You will need a USB host shield, connect this to an Arduino UNO …
-
A mercury tilt switch is a switch which opens and closes an electrical circuit when it is tilted at certain angles. When it is tilted a small amount of the liquid metal mercury makes contact with metal electrodes to close …
-
The is a 16-bit, general purpose parallel I/O port expander for I2C bus applications. The 16-bit I/O port functionally consists of two 8-bit ports (PORTA and PORTB). The MCP23017 can be configured to operate in 8-bit or 16-bit modes. Lets …
-
The Microchip MCP3008 ADC is a 10-bit Analog to Digital (A/D) converter with on-board sample and hold circuitry. Communication with the device is accomplished using a simple serial interface compatible with the SPI protocol. The MCP3008 operates over a broad …