Arduino CDP Revisited

During some down time I’ve decided to revisit the Arduino CDP sniffer and add extra features. This will be a running post and will be updated periodically. As mentioned in the comments of the other post I will be looking at adding LLDP support and an export feature to a mobile/laptop. The export or “history” addition will allow a log to be saved to an external device as easy as possible. As a prototype, it’s had an ESP8266 added to it with a web server running showing modified serial output. Initial results work, but I’m again getting plagued with power Continue Reading →

Smoker/Kettle BBQ Controller

After tasting some awesome BBQ offered in the US, I wanted to try making it myself. I’ve tried to use a gas BBQ, but it always turned out dry and tough. I moved to a charcoal kettle grill and wanted to be able to have more control of the temperature. Options: manual control – Continuously checking the temperature on the gauge that came with the BBQ. Buying a professional smoker – big $$. Make my own controller – When researching I found a professional BBQ team that used a controller that adjusted the temperature using a fan and temperature probes. Continue Reading →

Ambient Light with Arduino and WS2811

The ambient lighting on this project turned out so well I wanted to try it on a normal TV. When making the back light for a second time, I used an Arduino Mini Pro with mini USB port. I did find a small hiccup, the baud rate needed to be changed to 115200 most likely due to limitations in the USB to serial chipset on the Mini Pro (CH-340). The refresh rates are still very good. I am also using less LEDs which may contribute:         “device” : { “name”       : “MyPi”, “type”       : “adalight”, “output”     : “/dev/ttyUSB0”, “rate”       : Continue Reading →

Wireless Touchscreen LED Strip Controller

For Christmas I installed 20M (4 x 5M) of RGB LED strips, and 1 RGB spotlight under our patio, I then used the WIFI to 2.4GHz bridge (V4) (same used here) to connect them to the network in 2 groups. Now they can be turned on using our phones, etc… But I don’t carry my phone with me everywhere so this seemed fun but short sighted… With the ESP8266, a Touch screen, and 3.3v Arduino mini pro, I was able to create a wireless touch screen controller for the Christmas lights. Note: There is one caveat; it’s slow. This is Continue Reading →

2.4″ 240×320 SPI Touch ILI9341 3.3V

This is a notes post for future reference Description: Cheap eBay color LCD display Resolution: 240×320 Size: 2.4″ Driver: ILI9341 (Display), ads7843 compatible (Touch). Colors: 16bit Voltage: 3.3v or 5v (only tried 3.3) Libraries: SPI, Adafruit_ILI9341 (Display), UTouch (Touch). CODE: #include “SPI.h” #include “Adafruit_GFX.h” #include “Adafruit_ILI9341.h” #include <UTouch.h> #define TFT_CS 10 #define TFT_DC 9 Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC); UTouch  myTouch( 6, 5, 4, 3, 2); … void setup() { … tft.begin(); tft.setRotation(1); myTouch.InitTouch(); myTouch.setPrecision(PREC_MEDIUM); … Pins: Touch T_IRQ – pin 2 T_DO – pin 3 T_DIN – pin 4 T_CS – pin 5 T_CLK – pin 6 Display SDO(MISO) Continue Reading →

ESP8266 – Work in progress

Thanks to a Hackaday post, I was made aware of these awesome (and awful) wireless to UART SoCs. When I first started the information available was patchy, resulting in the SoC randomly rebooting. After a few weeks of trial and error, it’s some what stable, but still has it’s issues every couple of hours. To get around this, I’ve incorporated a hard reset after ‘x’ amount of program loops with an Arduino. I had a status check that ran instead of loops, but the output of the SoC wasn’t synchronous, when dealing with multiple events from the UART and wifi Continue Reading →

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

SSD1306 OLED 128×64 with Arduino

This is a notes post for future reference Description: Cheap eBay monochrome OLED display Resolution: 128×64. Size: 0.96″ Driver: SSD1306 ? Libraries: U8glib (trying to get it to work with Adafruit_SSD1306.h). Code: //Uncomment this line from the examples: U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE);    // I2C / TWI Pins: Display -> UNO SDA -> A4 SCK -> A5 GND -> GND VCC -> VCC (5V)