Category Archives: Hardware

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 →

hacker

Messing with WiFi protocol, Esp8266 and fake APs

You can download our e-book ‘Learn Arduino from Scratch’ from this link I was browsing the internet on a rainy day, and stumbled upon some cool stuff. The ESP8266, apart from being a super chip, which can be turned into a station and an access point, it can also do some weird stuff at the lowest possible level on the WiFi protocol. wifi_send_pkt_freedom() is a function built in Arduino Core… Read Article →




espwebserver

ESP8266 Tutorial Part 3 – Running a simple Web Server

You can download our e-book ‘Learn Arduino’ from this link Last time you learned how to connect the ESP8266 to a WiFi network and download data from a URL. Today we will explore a way to listen to connections just like a server; a web server in fact. The ESP will listen for connections on port 80 and will serve simple pages to connected clients. For this example, a different… Read Article →

ESP8266_Wi-Fi_Module

The ESP8266 – A Tutorial – Part 1 Environment Setup

You can download our e-book ‘Learn Arduino’ from this link Introduction The Internet of Things is a relatively new concept in the world of electronics. It was also quite expensive and maybe even unreachable by some hobbyists. The introduction of the ESP8266 changed that perception forever. Being first designed as a simple Serial WiFi adapter; today it is the most common IoT device among electronic hobbyists and hackers alike. The… Read Article →




hc-05 connections

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 sensitive… Read Article →

solar panel

Solar Power your Arduino

You can download our e-book ‘Learn Arduino’ from this link Solar panels or solar cells are becoming extremely popular as an alternative source of energy to power an Arduino. There are the 2 major setups which serve different purposes. First, the Arduino board can be powered directly from a solar panel or a set of solar panels. Secondly, and the more robust approach is to install a battery pack along… Read Article →




temp

Arduino Beginner’s Course Lesson 6– Reading Sensor Data – Temperature TMP36

You can download our e-book ‘Learn Arduino’ from this link During this lesson, we will go through the process of reading sensor data, the TMP36 temperature sensor to be precise. First lets describe the sensor in  more detail. The TMP36 (ebay) has a linear voltage to temperature output meaning there is no error correction to be calculated from our end, the sensor handles it brilliantly on its own. The following… Read Article →