kid’s

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 »

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 to

Digital Read Serial using Arduino Read More »

Digital stopwatch

chipKIT Project 5: Digital stopwatch on seven segment LED display

In this project, we will use the chipKIT Uno32 board to build a digital stopwatch capable of timing minutes, seconds, and 1/10th of seconds, and with a basic start and stop control feature. A MAX7219-driven 8-digit seven segment LED display is used to display the time elapsed. The Reset switch on the Uno32 board will be used

chipKIT Project 5: Digital stopwatch on seven segment LED display Read More »

Arduino while loop

How to use a while loop to calibrate the value of an analog sensor using Arduino

Sometimes you want everything in the program to stop while a given condition is true. You can do this using a while loop. This example shows how to use a while loop to calibrate the value of an analog sensor. In the main loop, the sketch below reads the value of a photoresistor on analog pin 0 and

How to use a while loop to calibrate the value of an analog sensor using Arduino Read More »

Scroll to Top