ESP8266: Snooping the I2C Bus for devices

ESP8266 LCD Module Wiring

Few weeks ago I was playing around with a 1602 LCD module and my ESP8266. I was disappointed by the number of wires that were running between the ESP8266 and the LCD display. It was a mess!

The I2C bus is a very flexible serial bus invented by Philips Semiconductors (Now NXP) that is used to connect ICs to Microcontrollers at low speeds at short distances.

Continue reading “ESP8266: Snooping the I2C Bus for devices”

10 easy steps to build MicroPython on macOS for ESP8266

Python Programming Language

I have been playing around with MicroPython for a while now. I enjoy writing straight up C/C++ code but MicroPython has brought the ease of Python to embedded platforms especially ESP8266. ESP8266 and MicroPython make a killer combo.

I’ve written about the ESP8266 and built a couple projects with it already. I’ve built a WiFi temperature sensor using the ESP8266 board that publishes the temperature over MQTT to a central data logging server. It’s a fun project.

Continue reading “10 easy steps to build MicroPython on macOS for ESP8266”

3 easy steps to build a WiFi Temperature Sensor (ESP8266)

NodeMCU ESP8266

In my last post a few weeks ago, I built a Temperature Sensor using an Arduino. This temperature sensor was limited to reading the current temperature using an LM35DZ sensor. I could’ve wired it up to a I2C display (Perhaps I’ll have a separate post for it). However, the real fun begins when sensors are able to communicate over the Internet. That way you can record and graph the data.

In this post, I’m going to take you through building a WiFi temperature sensor using the popular ESP8266 dev board.

Continue reading “3 easy steps to build a WiFi Temperature Sensor (ESP8266)”

Solution to Pick Peak problem on Codewars

Python Programming Language

Codewars is an interesting website for enhancing your coding skills. I have been playing around with the site for a while trying to get better at Python. I came across the “Pick Peak” problem on codewars that I found very interesting. In this post I’ll take you guys through the Solution to Pick Peak problem on Codewars. The ‘Pick Peak’ problem was fun and interesting. Here’s the problem.

Continue reading “Solution to Pick Peak problem on Codewars”