This guide shows how to use deep sleep with the ESP8266 (NodeMCU) using Arduino IDE. We’ll cover deep sleep with timer wake up and deep sleep with external wake up using the reset (RST) pin. To put the ESP8266 in deep sleep mode, use ESP.deepSleep(uS) and pass as argument sleep time in microseconds. GPIO 16 must beContinue reading “ESP8266 Deep Sleep with Arduino IDE (NodeMCU)”
Category Archives: Uncategorized
ESP8266 with BME280 using Arduino IDE (Pressure, Temperature, Humidity)
MicroPython: WS2812B Addressable RGB LEDs with ESP32 and ESP8266
This tutorial shows how to control WS2812B addressable RGB LEDs (neopixels) with the ESP32 and ESP8266 using MicroPython. There is a built-in library in MicroPython that makes it extremely easy to control these LEDs: the neopixel library. We’ll show you how to control individual LEDs, create functions to produce awesome lighting effects, and build a simple projectContinue reading “MicroPython: WS2812B Addressable RGB LEDs with ESP32 and ESP8266”
MicroPython: OLED Display with ESP32 and ESP8266
In this guide, you’ll learn how to use the 0.96 inch SSD1306 OLED display with an ESP32 or ESP8266 using MicroPython firmware. As an example, we’ll show you how to display a simple ‘Hello, World!’ message. Later, we’ll also show you how to use other useful functions to interact with the OLED display. You mightContinue reading “MicroPython: OLED Display with ESP32 and ESP8266”
How to install phpLiteAdmin Database in a Raspberry Pi
In this blog post I’ll introduce you to phpLiteAdmin which is a web-based user interface written in PHP that makes it easy to interact with SQLite databases. Don’t have a Raspberry Pi board? read Best Raspberry Pi Starter Kits. Basic Raspberry Pi setup Before you continue reading this project, make sure you have Raspbian Operating System installedContinue reading “How to install phpLiteAdmin Database in a Raspberry Pi”
How to Install the Latest Version of Node.js in Your Raspberry Pi
This is just a quick blog post explaining how you can install the latest version of Node.js in your Raspberry Pi. It’s really easy and you can install Node.js with two simple commands in your terminal. Since I’ve spent a lot of time searching for the easiest way of installing the latest version, I’ve decided to shareContinue reading “How to Install the Latest Version of Node.js in Your Raspberry Pi”
Learning Basic Linux Commands – Raspberry Pi Cheat Sheet
A big part of using a Raspberry Pi is also using the terminal. The terminal is something that a lot of people try to avoid, because they feel like it is a bit hard to use. But it doesn’t need to be that that way, because in reality we can break it down to justContinue reading “Learning Basic Linux Commands – Raspberry Pi Cheat Sheet”
Raspberry Pi Publishing MQTT Messages to ESP8266
In this project you’ll create a standalone web server with a Raspberry Pi that can toggle two LEDs from an ESP8266 using MQTT protocol. You can replace those LEDs with any output (like a relay that controls a lamp). In order to create the web server you will be using a Python microframework called Flask. Here’sContinue reading “Raspberry Pi Publishing MQTT Messages to ESP8266”
SQLite Database on a Raspberry Pi
In this blog post I’ll introduce you to SQLite, which is an in-process light weight library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world and its source code is in the public domain. Don’t have a Raspberry Pi board? read Best Raspberry Pi StarterContinue reading “SQLite Database on a Raspberry Pi”
ESP8266 Publishing DHT22 Readings to SQLite Database
In this project you’ll create a standalone web server with a Raspberry Pi that displays temperature and humidity readings with a DHT22 sensor that are stored in an SQLite database. In order to create the web server you will be using a Python microframework called Flask. Here’s the high level overview of the system: RecommendedContinue reading “ESP8266 Publishing DHT22 Readings to SQLite Database”
