Other Boards

These are other boards that Espruino compiles for, but which aren't 'officially supported'.

To see how to get started with the Espruino board itself, just follow our Quick Start guide.

 

SUGGESTED BOARDS

  Chip Speed Vars Cost USB UARTs SPIs Bat Arduino
Headers
SD
Card
STM32VLDISCOVERY STM32F100 24Mhz 250 €12 N 3 2 N N N
STM32F3DISCOVERY STM32F303 72Mhz 2800 €14 Y 3 2 N N N
STM32F4DISCOVERY STM32F407 168Mhz 5000 €16 Y 6 3 N N N
OLIMEXINO-STM32 STM32F103RB 72Mhz 700 €20 Y 3 2 LiPo Y Y
LeafLabs Maple RBT6 STM32F103RB 72Mhz 700 €40 Y 3 2 LiPo Y N
'HY' 2.4" LCD  STM32F103VE 72Mhz 2800 €30 Y 3 2 N N Y
'HY' 2.8" LCD STM32F103RB 72Mhz 700 €30 Y 3 2 N N U
'HY' 3.2" LCD STM32F103VC 72Mhz 2000 €30 Y 3 2 N N Y

Key: Y=Yes, N=No, U=Yes, but currently unimplemented

After you've got a board, head to the Download page and follow the instructions there in order to flash your board.

MORE INFORMATION

OLIMEXINO-STM32

Good value, and can usually be purchased from well-known suppliers. It contains an SD card, Arduino-style headers, and conveniently a LiPo battery connector (with charger).

It contains a bootloader which allows you to flash Espruino via USB. HOWEVER the bootloader uses up large amounts of RAM and Flash in the chip, which means that you get less than half the amount of variable space than if you would if you just flashed Espruino over the top of the bootloader. For the full flash, you need a USB-TTL converter. Instructions are on the Download page.

You can get this directly from Olimex or Farnell/Element14.

'HY' LCD Modules

These appear to come from Haoyu electronics and come in a few types, with varying LCD sizes. They are amazingly good value, and can be obtained from eBay (although they are often shipped direct from Hong Kong or China). They don't generally have a specific name or model number, so are hard to tell apart.

Espruino contains bitmap and vector fonts, and along with the SD card driver and space for saving variables Espruino starts to have trouble fitting in just 128kb of Flash - so we suggest that you avoid the RBT6-based board and head for the VET6 or VCT6 ones.

2.4" STM32F103VET6 512kb Flash, 64kb RAM - The largest board, but with the most features - 4 buttons, 4 LEDs, 2 Potentiometers, 2x USB, an RS232-level serial connection, SD card, buzzer, and a external flash chip. Has 'HY-STM32_100P' on the back of the PCB. BEWARE: There is a new version of this board that is wired up differently - Espruino will only drive the LCD on the original board.

2.8" STM32F103VET6 - 256kb Flash, 48kb RAM - This looks just like the 2.4" STM32F103VET6, but is UNTESTED (May work with 2.4" drivers)

2.8" STM32F103RBT6 - 128kb Flash, 20kb RAM - This works, however the board itself very basic with few peripherals, the CPU does not have much flash memory, and it is not recommended. RBT6 does not support the faster FSMC LCD interface, so LCD updates are slow. SD card is currently unimplemented. Has MINI-STM32-V3.0 on the main board under the LCD. BEWARE: Boards with an SD card and 'armjishu.com' written on the bottom are currently unsupported.

3.2" STM32F103VCT6 - 256kb Flash, 48kb RAM - Works well. It has a big display and it is quite fast. Few on-board peripherals though (2 LEDs, 2 Buttons and an SD card). Recommended.

3.2" STM32F103RBT6 - 128kb Flash, 20kb RAM - UNTESTED (May work with 2.8" drivers)

 

Flashing Espruino onto the board

Go to the Download page, download the Espruino zip file and follow the instructions there on how to flash your board.

 

Wiring up a serial port

Every supported board except the STM32VLDISCOVERY has a USB serial port, so most users can skip this step. If you have an STM32VLDISCOVERY, or you want to use Bluetooth, or to connect to a Raspberry Pi using serial (rather than USB), please see the Wiring Up page.

 

Plug in Espruino

You communicate with Espruino using a Terminal Emulator over a Serial port. Most Espruino devices can emulate a Serial port over USB, so when you plug these in to your PC or Mac the Operating System will automatically detect them. All you need to do is find out what the Operating System has 'called' the serial port that has been created.

Windows XP Users: Windows XP seems not to have generic drivers for USB Virtual COM Ports installed, so you'll have to get them from ST via this link (thanks Josef!)

First off, you need to know which USB port to connect to:

ESPRUINO BOARD There's just one USB port - so it's easy!
STM32VLDISCOVERY    You will have had to use a USB-TTL converter (see Wiring Up)
STM32F3DISCOVERY    Plug in to the port labelled 'USB USER'
Note: This board is more difficult to connect to. You need to power up the board without 'USB USER' plugged in, and then plug in USB later. If you subsequently reset the board, you'll need to unplug USB and plug it back in.
STM32F4DISCOVERY    Plug in to the port nearest the headphone Jack.
Note: This board still needs power from an external source such as the USB port on the other side.
'HY' board Use either of the two available USB ports. The one nearest the power LED is a built-in USB-TTL converter, and the other is a Virtual COM port.

Note: We'd suggest using the 'Virtual COM port' USB port as this is faster and shouldn't have flow control problems.
Olimexino STM32
Leaflabs Maple
The one USB port

Don't plug the device in right away though.

 

Finally...

 
See our Quick Start page for how to get started using Espruino itself.