Category Archives: Hardware

esp8266 wifi

Extend WiFi with an ESP8266

The ESP8266 is known for it’s powerful features and performance despite its small size. However few knew it could act as a WiFi extender/repeater. From previous lessons, we learned how to make the ESP8266 act as both a station and an access point. Now we are going to use that functionality at the same time with a little twist. Unfortunately the standard firmware is not capable of forwarding packets between… Read Article →

piezo

Detect Vibrations using a piezo element

A rather simple, cheap, yet effective way to detect vibrations is by using a piezo element. The piezo element is an electrical component found in many commercial products to detect impacts, vibrations, pressures and also to produce sound. The piezoelectric effect (as it is known) was discovered in 1880 by French physicists Jacques and Pierre Curie. By definition the piezoelectric effect is the electric charge accumulated in certain solid materials… Read Article →

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 →