supply voltage: | 5 V |
current consumption: | approx. 30 mA |
mechanical dimensions: | 100x60x50 mm |
insulation class: | Class 0 |
IP protection: | IP 00 |
device housing material: | thermoplastic (PC), cover only |
display size: | 20x4 characters |
character set: | ASCII 32-127 |
connection: | 3.3V TTL, RS-232 and USB serial |
receive buffer size: | 255 byte |
MODE #0 | read only mode, no cursor, 20x4 size displayed area 80x4 size on a virtual screen, automatically scrolls the lines, a displayed area can be moved horizontally a with push buttons. |
MODE #1 | read only mode, no cursor, 20x4 display area On a virtual screen of size 80x25*, automatically scrolls the rows, the displayed area horizontally and can be moved vertically with the push buttons. |
MODE #2 | read only mode, no cursor, 20x4 displayed area 80x25 On a virtual screen of size *, the displayed area can be moved horizontally and vertically with the push buttons, after FormFeed (0x12) a new, clean page starts. |
MODE #3 | reserved for device dependent solutions (menu, read/write mode etc.). |
button | MODE #0 | MODE #1 | MODE #2 | MODE #3 |
PB0 | ← | ← | ← | ← |
PB1 | → | → | → | → |
PB2 | ↑ | ↑ | ↑ | |
PB3 | ↓ | ↓ | ↓ | |
PB4 | ENTER | |||
PB5 | ESCAPE |
#define LCD_8BIT // enable 8 bit mode of the LCD #define COM_USB // enable Serial #0 port #define COM_TTL // enable Serial #1 port #define COM_RS232C // enable Serial #2 port // #define COM_USB_MESSAGES // enable console messages on Serial #0 port // #define COM_TTL_MESSAGES // enable console messages on Serial #1 port // #define COM_RS232C_MESSAGES // enable console messages on Serial #2 portand constants:
const int lcd_bloffinterval = 60000; // LCD backlight off time const byte lcd_xsize = 20; // horizontal size of display const byte lcd_ysize = 4; //vertical size of display const byte virtscreenxsize = 80; // horizontal size of virtual screen const byte virtscreenysize = 25; // vertical size of virtual screen const int com_speed[3] = {115200, 9600, 9600}; // speed of the USB serial port
1: | Fuse F1 - power supply |
2: | J1 connector - power input |
3: | J2 connector - TTL serial port |
4: | J3 connector - RS-232 serial port |
5: | J4 connector - push buttons |
6: | JP1 jumper - RESET |
7: | JP2-3 jumpers - mode selector |
8: | USB connector |
name | version | format | comment |
hardware documentation | v220726 | tar.gz | |
only Gerber files | v0.1 | zip | Order here: |
name | version | OS | arch. | format | note |
source package | v0.1 | tar.gz | C++ | ||
binary package | v0.1 | arm | tar.gz |
git clone https://github.com/pozsarzs/mini_serial_console-hw.git
git clone https://github.com/pozsarzs/mini_serial_console-sw.git