kids

Serial Call and Response with ASCII encoded output

Serial Call and Response with ASCII-encoded output using Arduino

This example demonstrates string-based communication from the Arduino board to the computer using a call-and-response (handshaking) method. The sketch sends an ASCII string on startup and repeats that until it gets a serial response from the computer. Then it sends three sensor values as ASCII-encoded numbers, separated by commas and terminated by a linefeed and …

Serial Call and Response with ASCII-encoded output using Arduino Read More »

Digital Read Serial Circuit

Digital Read Serial using Arduino

This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino and your computer over USB.   Hardware Required Arduino Board A momentary switch, button, or toggle switch 10k ohm resistor breadboard hook-up wire Circuit image developed using Fritzing. For more circuit examples, see the Fritzing project page Connect three wires …

Digital Read Serial using Arduino Read More »

Pololu Power Switch

Power off from an Arduino Sketch using the Pololu Power Switch

If you need an Arduino to shut off from within your Sketch, this is the solution. We will explore wiring the Pololu Pushbutton Power Switch, programming the Arduino to shut off the power, and making the unit “power on” only. The Pololu Pushbutton Power Switch comes in two versions – the SV version geared towards …

Power off from an Arduino Sketch using the Pololu Power Switch Read More »

Momentary Switch as Digital Sensor

Momentary Switch as Digital Sensor Using Arduino

In many cases switches are just switches. They directly control the flow of electricity to an appliance, flashlight or mains-voltage lamp. An example of this is the switch on the wall in your living room. In many cases nowadays however, switches are digital sensors, meaning that instead of directly controlling a high-powered device, they are …

Momentary Switch as Digital Sensor Using Arduino Read More »

Cat Detector (1)

Arduino Cat Detector SD Card Logger

I used: an Arduino Uno a Parallax PIR Motion Sensor and a Seeed Studio SD Card Shield Arduino, shield, sd card, logging shield, storage, logger Check out This instructable on PIRs in case you didn’t know what it is: http://www.instructables.com/id/PIR-Motion-Sensor-Tutorial/ Step 1: Connect your PIR Sensor Hook up the PIR Sensor  Ground pin to Ground VCC pin to …

Arduino Cat Detector SD Card Logger Read More »

Tilt Sensor Tutorial

Tilt Sensor Tutorial using arduino

What is a tilt sensor? Tilt sensors allow you to detect orientation or inclination. They are small, inexpensive, low-power and easy-to-use. If used properly, they will not wear out. Their simplicity makes them popular for toys, gadgets and appliances. Sometimes they are referred to as “mercury switches”, “tilt switches” or “rolling ball sensors” for obvious …

Tilt Sensor Tutorial using arduino Read More »