Today we would like to bring you an article that gives continuity to the series of previous publications. We want to introduce you to Espruino and make an analysis of its functionalities, uses and advantages.
In 2012 Gordon Williams (software engineer, graduate of Cambridge University and founder of Espruino) is given the task of making the development of microcontrollers multiplatform, the materialization and implementation of this idea was called Espruino.
ESPRUINO VS RASPBERRY PI VS ARDUINO
Espruino is much smaller, more manageable and simpler than its big sisters Raspberry Pi or Arduino and here’s why:
RASPBERRY PI VS ESPRUINO
- The Raspberry Pi contains good video capabilities thanks to its graphics memory, unlike Espruino, which lacks this virtue.
- It is impossible to reliably program actions in real time on a Raspberry Pi, which makes precise synchronization difficult.
- RaspPi lacks analog I/O modules, which is compatible with Espruino.
- Raspberry Pi requires an SD memory card containing the operating system (Espruino does not).
ESPRUINO VS ARDUINO
- Espruino boards are smaller than most Arduino boards and are much easier to get started with.
- No software needs to be pre-installed on your PC.
- While Arduino has low power consumption, the Espruino board is designed with efficiency in mind and consumes 10 times less power when in stand-by (idle) mode.
Below we leave some fragments of lines of code so that you can appreciate the level of difficulty that has programs this type of devices compared to those compared above. As you can see it is very easy, even in one line of code:
To stop the blinking, simply type:
But it can be even easier and more enjoyable. There is built-in functionality in Espruino to handle sending precisely timed waveforms using built-in hardware timers. Even if you don’t need the precision:
LED1 will flash on (1) for 0.01s, off for 0.5s, on for 0.01s, off for 0.5s and finally on for 0.01s.
This tool, which will allow us to know and get into this beautiful field dedicated to microcontrollers. Recommended especially to beginners thanks to its sensitivity and ease of use, but still manages to perform large and complex projects with it.
Let us know in the comments what you think of this other way of programming microprocessors. You can find us on Twitter or LinkedIn to talk and share on the topic. We invite you to join our Canal de Telegram, where we publish great content of value that will be of great help to you.
If you are taking your first steps in this immense world of electronics and low-level programming, in our Youtube Chanel you will find the course: Arduino for Beginners which you will love.