Libs & Drivers for micropython enabled VK boards
Currently the list of micropython enabled VK boards is as follows :
- Test > this Lib tests the following peripheries of uPy VK boards:
- I2C (expects slave to be connected on SDA & SCL )
- Once
Test.py
&ssd1306.py
are in FS of the board, you are ready to run it like so:
>>> import Test >>> Test.OLED()
- Once
- SPI (expects slave to be connected on SCK, MOSI, & D7-D9 )
- Once
Test.py
&st7789.py
are in FS of the board, you are ready to run it like so:
>>> import Test >>> Test.TFT()
- Once
- I2C (expects slave to be connected on SDA & SCL )
- Lvg > this Lib tests the LVGL module (expects SBC-LCD01 (SPI) or parallel (RGB) display to be connected):
- Once
pRGB.py
,st77xx.py
&lv_utils.py
are in FS of the board, you are ready to run it like so:
>>> import Lvg >>> Lvg.TST()
- Once
- MB > this Lib tests network module & RS485 of uPy VK boards:
- Once
gateway.py
is in FS of the board, you are ready to run it like so:
>>> import gateway >>> gateway.ON() # or use gateway.ON(True) if you want see the data, passing through the gateway.
- Once started this
gateway.py
turns every uPy VK board in to a Modbus TCP/RTU Gateway device which can support one TCP master and multiple RTU slaves (RS485).
- Once
- MBserv > this Lib tests network module of uPy VK boards:
- Once
MBserv.py
,umodbus
folder &Settings.json
are in FS of the board, you are ready to run it like so:
>>> import MBserv >>> MBserv.UP() # or use MBserv.UP('<File_name>.json') if you want to start the server with non deffault settings (port and mac), you shuld put them in a json file.
- Once started this
MBserv.py
turns every uPy VK board in to a Modbus TCP Server. All available LEDs can be set and read as coils and all available BTNs can be read as discret inputs. DACs & digital outputs D[0-13] can be set as holding registers. Digital inputs D[0-13] can be read as input registers. You can also control D[0-13] to be input or output from 1 of the holding regs.
- Once
- GWserv > this Lib tests network module of uPy VK boards:
- Once
GWserv.py
,microdot
folder content &Settings.json
are in FS of the board, you are ready to run it like so:
>>> import GWserv
- Once started this
GWserv.py
turns every uPy VK board in to a WEB + Modbus TCP/RTU Gateway device. Gateway is configured through Settings.json file. WEB interface is under construction.
- Once
- CAMDisplay > this Lib tests LCD & CAM modules of uPy VK-RA6M3 board:
- DEMO (expects OV7725 cam and paralel RGB display to be connected on M3 board)
- Once started this DEMO captures the
camera video
and display it on the LCD screen. Touching the eye icon you can change between several camera effects.
- Once started this DEMO captures the
- DEMO (expects OV7725 cam and paralel RGB display to be connected on M3 board)
- FlashDirList > this Lib tests network module of uPy VK-RA6M5 board:
- DEMO (expects LAN cable to be plugged in M5 board)
- Once started this DEMO starts web server and performs
directory list
function on the content of the internal flash of the board
- Once started this DEMO starts web server and performs
- DEMO (expects LAN cable to be plugged in M5 board)
- ssd1306 > murcopython OLED driver (works with devices based on that particular controller, such as SBC-OLED01)
- st7789 > micropython TFT driver (works with devices based on that particular controller, such as SBC-LCD01)
- st77xx > micropython TFT driver (LVGL)(works with devices based on SPI interface, such as SBC-LCD01)
- pRGB > micropython TFT driver (LVGL)(works with devices based on parallel interface, such as RGB)