Tag Archives: arduino tutorial

ds1307-module

Keep accurate time using Real Time Clock (RTC)

The Arduino board can keep time using millis() which increment from boot up till shutdown, then it will start over again. But what if we needed to keep time indefinitely, independently whether the board is switched on or off? What if we don’t want millis() but we want the year, month, day and time? How do we compensate for leap years? No worries. We are fortunate enough to have the… Read Article →

Arduino Beginner’s Course Lesson 7– Understanding Interrupts

You can download our e-book ‘Learn Arduino from Scratch’ from this link What are interrupts? Well they interrupt something for sure, precisely they interrupt the main program execution of the CPU. In Arduino we have 2 main functions the setup() and the loop(). Interrupts interrupt code execution in the loop(). But why should we care about interrupts anyway? They are not something to be feared, they make your code cleaner… Read Article →

Arduino Bluetooth Tutorial HC-05

You can download our e-book ‘Learn Arduino’ from this link Bluetooth has been around for quite a while now. Being a common way to communicate with mobile phones, it was only natural to include this protocol in the Arduino arena. Bluetooth is typically a low power, medium range device, in fact it can reach up to 10 meters. Bluetooth operates on the same frequencies as WiFi, 2.4Ghz.Connections are normally one… Read Article →




Smart lamp

A Smart Night Lamp for Kids

You can download our e-book ‘Learn Arduino from Scratch’ from this link Few weeks ago I heard my nephew (aged 7) complaining of the dark at night. Basically he was afraid 🙂 So I decided to put knowledge into practice and build a night lamp for kids. Since the project was intended for kids, I thought of making the lamp change color every now and then. It should also be… Read Article →

Transceiver 433mhz

Arduino 433Mhz RF Wireless Data Transfer

You can download our e-book ‘Learn Arduino’ from this link The most practical and cool way of sharing data from 1 Arduino to another is by far using a radio transmitter and receiver. The simplest form of wireless transmission (I could find) is the 433Mhz ASK modules. They come in pairs, a receiver and a transmitter. They are ridiculously cheap, selling at $1 or less a pair!! These modules provide… Read Article →

hc-sr04 ultrasonic range finder

Arduino Ultrasonic Range Finder – HC-SR04

You can download our e-book ‘Learn Arduino’ from this link In this tutorial we present a method of measuring the distance between an Arduino and nearby objects. It is of particular use for automated robots for giving them ‘eyes’ to look out for nearby objects, measure the distances between them, and acting upon that distance. We present the HC-SR04 range finder sensor The cheap sensors normally have 2 cylindrical objects… Read Article →




Digispark

Introduction to Digispark

You can download our e-book ‘Learn Arduino’ from this link In today’s blog post we’ll analyze one of the smallest and most practical boards out there. The Digispark board. It’s size, including the USB port, is 25mm x 18mm (so tiny)!! This little board is powered by an ATTINY85 chip and clocked to 16.5Mhz. For conveniece, it has a built in USB port and can be plugged into a your… Read Article →

Arduino Logo

Arduino Beginner’s Course Lesson 5– Installing and Using Libraries

You can download our e-book ‘Learn Arduino’ from this link Libraries are an essential part in the Arduino world. They are what makes Arduino so easy to use. Libraries are written to encapsulate complex functions and expose them as simple function calls to the user. For example to switch a pixel on and off in an LED monitor. This is relatively very complex but, fortunately some folks at Adafruit created… Read Article →




Arduino Logo

Arduino Beginner’s Course Lesson 3– Using the Serial Library

You can download our e-book ‘Learn Arduino’ from this link The Serial library is one of the most widely used library in Arduino development. The serial communication provides a simple communication interface to the PC or any other device that accepts connections over serial protocol. Throughout this course and some of the projects we post, Serial will be used to output either debug data or factual data. Debug data is… Read Article →