Want to build your own temperature controller or interface to some simple electronics...? Then use a microcontroller.
Costing less than a cup of posh coffee, microcontrollers are the unseen workhorse of almost every household electronic device. Tiny single-chip computers specialised to the task of monitoring and controlling external devices like switches, LCD displays, relays, temperature sensors and servos. Increasingly they also have WiFi capability which makes them extra useful for remote monitoring applications.
A modern WiFi enabled microcontroller, about the size of a postage stamp:
Programs for microcontrollers are typically written on a desktop PC in a high level language like 'C' or Python, then converted into microcontroller code using development tools and transferred to non-volatile memory on the device via a USB cable (or similar).
Many DIY 'makers' start out with the Arduino development tools and boards. These days however the original hardware is decidedly long-in-the-tooth and whilst the development tools are great for beginners they quickly get frustratingly restrictive. Nonetheless most of the instructables and online how-to's still concentrate on Arduino.
In reality if you have a modicum of familiarity with 'C', python etc. then you're probably better off using the free development tools provided by the device manufacturer. These generally give you the best and more reliable performance; but to a newcomer the terminology and diversity of choice can make this feel like a very daunting option.
The purpose of this thread therefore will be to provide a specific walk-though showing how to install and use the development tools for a powerful and widely-used modern microcontroller: the ESP32.
Next post: what to buy...
Costing less than a cup of posh coffee, microcontrollers are the unseen workhorse of almost every household electronic device. Tiny single-chip computers specialised to the task of monitoring and controlling external devices like switches, LCD displays, relays, temperature sensors and servos. Increasingly they also have WiFi capability which makes them extra useful for remote monitoring applications.
A modern WiFi enabled microcontroller, about the size of a postage stamp:
Programs for microcontrollers are typically written on a desktop PC in a high level language like 'C' or Python, then converted into microcontroller code using development tools and transferred to non-volatile memory on the device via a USB cable (or similar).
Many DIY 'makers' start out with the Arduino development tools and boards. These days however the original hardware is decidedly long-in-the-tooth and whilst the development tools are great for beginners they quickly get frustratingly restrictive. Nonetheless most of the instructables and online how-to's still concentrate on Arduino.
In reality if you have a modicum of familiarity with 'C', python etc. then you're probably better off using the free development tools provided by the device manufacturer. These generally give you the best and more reliable performance; but to a newcomer the terminology and diversity of choice can make this feel like a very daunting option.
The purpose of this thread therefore will be to provide a specific walk-though showing how to install and use the development tools for a powerful and widely-used modern microcontroller: the ESP32.
Next post: what to buy...
Last edited: