ESP8266 Microcontroller
Guides covering the ESP8266 microcontroller.
- Hello MicroPython
While doing any programming task, it is important to be working in an environment that will your maximize productivity. This guide will take you through setting up an environment for programming an ESP8266 with MicroPython using an IDE called Thonny.
esp8266NodeMCUThonny - Basic GPIO Input and Output with a NodeMCU and MicroPython
This guide goes over basic input and output using GPIO pins on the ESP8266 NodeMCU.
esp8266NodeMCUThonny - Timers and Interrupts with a NodeMCU and MicroPython
Timers and interrupts simplify and optimize processes by eliminating the need for an infinite loop to check the state of a pin or to execute a delay.
esp8266NodeMCUThonny - PWM and ADC with a NodeMCU and MicroPython
PWM (pulse width modulation) and ADC (analog to digital conversion/converter) are both ways in which a digital device, like the ESP8266, can handle analog values.
esp8266NodeMCUThonny - RTC and Deep Sleep with a NodeMCU and MicroPython
This guide is an introduction to using the RTC (real time clock) and deep sleep mode with ESP8266 NodeMCU.
esp8266NodeMCUThonny - Introduction to Networking and ntptime with a NodeMCU and MicroPython
This guide is an introduction to using the networking capabilities of the ESP8266. Specifically, we will go over how to connect the ESP8266 in station mode to wifi and use ntptime to set the RTC to the current time.
esp8266NodeMCUThonny - Introduction to API Calls with a NodeMCU and MicroPython
This guide is an introduction to making API calls in Python 3 and MicroPython using the requests, urequests, and the OpenWeather API.
esp8266NodeMCUThonny - I2C Bus with a NodeMCU and MicroPython
This guide is an intruduction to I2C communication with an ESP8266 NodeMCU and MicroPython. Two I2C peripherals are used in this guide: a MPU6050 IMU, and a 128 by 64 OLED display with a SSD1306 driver.
esp8266NodeMCUThonny