filmov
tv
Arduino Opta native I2C LCD using Kyocera AVX BTB connector
Показать описание
Opta's AUX tab exposes a 10 pin 2 sided card edge. Opta's expansion modules are linked using a Kyocera AVX 10 position open board to board connector available from DigiKey.
The bottom 5 pins from right to left are SDA, SCL, 5VDC, Gnd, Gnd.
the Arduino OPTA sketch driving the display include files are
#include PortentaEthernet.h
#include LiquidCrystal_I2C.h
EthernetServer server(502); // custom modbus server
LiquidCrystal_I2C m_lcd = LiquidCrystal_I2C(0x27,20,4);
LCD startup code includes:
void setup() {
...
// start listening for clients
if (client) {
// do stuff
The bottom 5 pins from right to left are SDA, SCL, 5VDC, Gnd, Gnd.
the Arduino OPTA sketch driving the display include files are
#include PortentaEthernet.h
#include LiquidCrystal_I2C.h
EthernetServer server(502); // custom modbus server
LiquidCrystal_I2C m_lcd = LiquidCrystal_I2C(0x27,20,4);
LCD startup code includes:
void setup() {
...
// start listening for clients
if (client) {
// do stuff