Most recent activity
- 21 comments
- 7,773 views
So ... is it possible to add your "saveToSD()" and "loadFromSD()" functions to the next firmware release version of Espruino?
Without these "internal" functions this project is DOA.
@user7114 it depends how you did it... The simplest way would be to
write all your code in one big function. You get multi-line editing
then, and it can easily be converted to a string to save with
A much easier way is to include, in Espruino built-in functions, your two code snippets that you wrote in this topic ...
Note: Other (non terminal users) will find these two functions very handy in saving and restoring their user code to the SD drive for backup or SD booting.
Espruino Terminal Project
Purpose: Create Espruino projects offline from the Internet.
There is a new Indiegogo project called PI-Top. Its really a PI SBC with a LCD, keyboard with enclosure and a prototype area.
I was thinking ... why not create a completely standalone terminal using the Espruino ver. 1.3 with no PC or internet? The library module(s) storage would reside on Espruino SD card.
The parts (below) would be the ASCII terminal attached to the Espruino.
Are there any obvious hardware/software design flaws in making this Espruino terminal? Any forum user comments is appreciated.
#1. 7" TFT LCD Color monitor (backup cam monitor) - PAL/NTSC (Amazon $35)
#2. Miniature keyboard- Microcontroller friendly PS/2 (Adafruit $30)
#3. ASCII VT100 compatible video terminal board (VGA/NTSC/PAL/PS2) (Geoff's Projects)
#4. Espruino ver. 1.3 with transflash/SD. Serial TTL (no level conversion needed) (Espruino USART1 attached to ASCII video terminal serial port @ 9600 baud)
Addition ... 27/11/14
Espruino Terminal Project pitfalls/workarounds/enhancements:
#1. Espruino "online" minification will be missing for all library modules
or user source code. Just use the Espruino Pico for more JSVARS and add
a SD card breakout board.
#2. No Espruino firmware updating.
Just attach the Espruino via USB to a computer which has the WEB IDE
installed and update the firmware. Make sure all the library modules are
"up to date" by viewing the release dates and updating the Espruino SD
card modules manually.
#3. By removing the "on-line" internet library modules "should" increase the
Espruino communication responses/feedback.
#4. The ASCII VT100 terminal board video output is not restricted to NTSC/PAL but
also has the capability to output to any VGA monitor (CRT or LCD). This
means, you could buy any surplus or junk VGA monitor and keyboard at an extremely low price. Note: There are low cost adapters that convert a USB keyboard to PS2.
this project is DOA. (Dead on arrival)