Posts

Showing posts with the label i2c

Featured Post

Running four AI models fully offline on a Nextion ONX3248G035

Image
A while back I unboxed a Nextion touchscreen dev board and vibe-coded a WiFi auditor onto it . That board has been sitting on my desk ever since, and one question kept nagging: this thing has 8 MB of PSRAM and a dual-core ESP32-S3. Could it run an actual language model? Not talk to one over WiFi — run one. Turns out: yes. Four of them, in fact. No internet, no server, no phone, no PC. Everything in this video is generated by the chip on the board. All four models, on the board, offline. Loading a model from the SD card, then generating. What is actually running The board boots into a menu. Tap a model, it loads and starts generating. All of these were trained from scratch on an M2 Max in well under an hour. Malayalam English Arithmetic Icons Parameters 7.6M 7.6M 1.0M 577K Flash 3.95 MB 3.95 MB 0.41 MB 0.58 MB Speed 13.0 tok/s 14.9 tok/s 20.7 tok/s 3.4 s/image First things first: this is not a Nextion HMI The ONX3248G035 is sold under Nextion branding, and the name is...

Display animation on OLED using arduino i2c

Image
Yeaaaa #diy #hacks #oled #arduino #Ironman #animation #makeraddictz A photo posted by Mohesh Mohan (@moheshmohan) on Oct 19, 2014 at 11:41pm PDT Hey folks, So i got this new cheap oled display that i wanted for a long time and its time for us to play with it. So you can find lot of tutorials on the web on how to drive the display but lets just move a step farther, lets do some animation with it. OLED 0.96" 128X64  from aliexpress what i have is an OLED 0.96" 128X64 I2C (or IIC) interface, with SSD1306 driver, 3.3/5V compatible. There are 4 pin on the OLED module, GND, VCC, SCL and SDA. Typically to use I2C on an arduino uno you need to connect it something like this GND - GND on Arduino Uno VCC - 5V on Arduino Uno SCL - A5 on Arduino Uno SDA - A4 on Arduino Uno Lets have a look at the fritzing view of the connections Now how do we drive this thing? Don't worry there is an awesome library for led/lcd displays its called u8glib and y...