ST7735 LCD 128×160 with Arduino

This is a notes post for future reference These LCD’s arrived during my 3rd order for the LCD’s with the red PCB. Although they use the same or at least compatible driver chips, the PCB is the wrong size for the mounting in the project I wanted to use them in. Lucky they were cheap and still handy for other projects. Description: Cheap eBay color LCD display Resolution: 128×160. Size: 1.8″ Driver: ST7735 Colors: 18bit ? Libraries: Adafruit_GFX, Adafruit_ST7735, SPI. CODE: #define sclk 13 #define mosi 11 #define cs   4 #define dc   8 #define rst  -1 Adafruit_ST7735 tft = Adafruit_ST7735(cs, Continue Reading →

CDP Sniffing with an Arduino

Firstly full credit to Chris van Marle for his work on his CDPSniffino code, of which I have butchered (to be honest) to get it to work with ENC28J60 ethernet controllers. The packet info that is captured is slightly different, so it took a while debugging. This is also my first Arduino project (not including 3D printers). It has  been a while since I have written C code… Enough excuses… Anyway, I use a lot of Cisco equipment and I have found on many occasion that network wall ports are either not labeled or the labels have worn off. When Continue Reading →

ST7735 LCD 128×160 with Arduino

This is a notes post for future reference Description: Cheap eBay color LCD display Resolution: 128×160. Size: 1.8″ Driver: ST7735 Colors: 18bit ? Libraries: Adafruit_GFX, Adafruit_ST7735, SPI. CODE: #define sclk 13 #define mosi 11 #define cs   4 #define dc   8 #define rst  -1 Adafruit_ST7735 tft = Adafruit_ST7735(cs, dc, rst); tft.initR(INITR_BLACKTAB); tft.fillScreen(ST7735_BLACK); Pins: Display -> UNO SCLK -> 13 MOSI (SDA) -> 11 CS -> 4 DC (AO) -> 8 RST -> RESET VCC -> 5V GND -> GND LED -> 3.3v