

The Espruino Pico is a compact, low-power microcontroller board designed by Espruino. It is unique in its ability to run JavaScript directly on the hardware, making it an excellent choice for Internet of Things (IoT) applications and rapid prototyping. With its small form factor and USB plug, the Espruino Pico is easy to integrate into projects, even in space-constrained environments.








The Espruino Pico is packed with features that make it versatile and easy to use. Below are its key technical details:
The Espruino Pico has 22 GPIO pins, each with multiple functions. Below is the pinout description:
| Pin | Function | Description |
|---|---|---|
| GND | Ground | Common ground for the circuit. |
| 3.3V | Power Output | Provides 3.3V output for powering external components. |
| VBAT | Power Input | Accepts 3.3V to 16V for powering the board. |
| D0-D21 | GPIO Pins | General-purpose I/O pins with support for digital, analog, and PWM functions. |
| A0-A8 | Analog Inputs | 12-bit ADC pins for reading analog signals. |
| TX/RX | UART Communication | Serial communication pins for UART. |
| SCL/SDA | I2C Communication | Clock and data lines for I2C communication. |
| SCK/MISO/MOSI | SPI Communication | Serial clock, master-in-slave-out, and master-out-slave-in for SPI. |
| USB+ | USB Data Positive | USB data line for communication. |
| USB- | USB Data Negative | USB data line for communication. |
The Espruino Pico is designed to be easy to use, even for beginners. Below are the steps to get started and some best practices for using the board.
Powering the Board:
Programming the Board:
Connecting Components:
Running Code:
The Espruino Pico can be programmed directly in JavaScript, but here’s an example of how to blink an LED connected to pin D13:
// Blink an LED connected to pin D13
var led = D13; // Define the pin connected to the LED
// Function to toggle the LED state
function toggleLED() {
digitalWrite(led, !digitalRead(led)); // Toggle the LED state
}
// Set an interval to toggle the LED every 500ms
setInterval(toggleLED, 500);
The board is not detected by the Espruino Web IDE:
Code does not execute as expected:
The board overheats or does not power on:
Unable to connect to peripherals (e.g., sensors):
Q: Can I use the Espruino Pico with batteries?
A: Yes, you can power the board using batteries by connecting them to the VBAT pin. Ensure the voltage is between 3.3V and 16V.
Q: Is the Espruino Pico compatible with Arduino libraries?
A: No, the Espruino Pico uses JavaScript instead of C/C++. However, many libraries and examples are available in the Espruino ecosystem.
Q: How do I reset the board to factory settings?
A: Hold down the button on the board while plugging it into USB. Release the button when the red LED starts flashing.
Q: Can I use the Espruino Pico for real-time applications?
A: Yes, the Espruino Pico is capable of handling real-time tasks, but keep in mind that JavaScript is an interpreted language, so performance may vary.
This concludes the documentation for the Espruino Pico. For more information, visit the official Espruino website.