Skip to main content

Posts

Showing posts from 2017

Programming the ESP8266 pHAT from the Raspberry Pi

There are lots of guides on programming an ESP8266 micro-controller, and several on doing this from Linux  and/or from a Raspberry Pi. However I encountered a few gaps in the complete process. Disclaimer: I am not an electronics expert, I did an "O/A Level" in the topic about 30 years ago! This article will  provide a short guide to getting started with the ESP8266 pHAT from Pimoroni (also known as the ESP IoT pHAT), referencing the established guides setting the permissions on the /dev/ttyAMA0 serial port installing the commandline firmware uploader platformio configuring a project Getting Started The ESP8266 pHAT is a simple esp12f (essentially the same as the esp12e) micro-controller linked to the Pi via the GPIO header, and exposes several digital GPIO pins and the ADC pin See the pin-out for connectivity The first steps in getting started are covered nicely in these articles: Pimoroni Getting started with the IoT pHAT Getting started with the Pimoron...