Featured Post

An AI agent edited this video on my MacBook: AutoCut and FrameAtlas are now open source

Image
The video below was not edited by me. A Claude Code agent found the clips, wrote and spoke the Malayalam narration in my cloned voice, composed the music, rendered the title animation and exported the film, with almost all of the heavy media work running on my MacBook Pro. Today I am opening up the two tools that made that possible: AutoCut , a video editor built for agents, and FrameAtlas , a local catalogue that finds footage by what is in it. The video is in Malayalam. Turn on captions (CC) for English subtitles. The code AutoCut : github.com/moheshmohan/AutoCut . A fork of FilmCraft , the open-source, pure-Rust non-linear editor from the ArtCraft team, with a local AI pipeline added on top. AutoCut is an independent fork and is not an ArtCraft product. FrameAtlas : github.com/moheshmohan/FrameAtlas . A local catalogue and search for footage that lives in Google Photos, on Insta360 cameras and in local folders. Why build this at all? It started with a small, practical ...

Display animation on OLED using arduino i2c

A photo posted by Mohesh Mohan (@moheshmohan) on

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 you can get it here https://github.com/olikraus/u8glib

Now based on this i have created a simple program to display an animation. You can get the source code here https://github.com/moheshmohan/arduino_oled_animation

Basically what i have done is just take 3 bitmap images and play it in a sequence to show the animation. If you look at the source code you can see the arrays in which image information is stored. Now its very easy to convert a bitmap into an array of hex values. you just need the picture editor called gimp http://www.gimp.org/

Open the desired image in gimp and save it as ".xbm" format and just open the xbm file in a text editor, you can get the hex values array for the image. Pretty simple :P

Mohesh loves robots :D
You can watch all of this in my video here




Here is the source code for those who don't wanna go to github

Comments

  1. nemo slot jili slot เข้าสู่ระบบ ฟรีเครดิต เว็บไซต์พวกเรานั้นเป็นเว็บไซต์ที่ให้บริการเกมออนไลน์ชั้น 1 ในประเทศไทย ที่เปิดให้บริการอย่างครบวงจร pg slot สล็อต ฝากถอนไม่มีอย่างน้อย

    ReplyDelete
  2. Using Arduino I2C to animate the OLED is a rewarding experience because it integrates programming and hardware in a way that explains how minute details combine for a fluid outcome. While the end result seems simple, achieving it requires some time, trial and error, and an understanding of the flow of data from one component to the next. It is a concept that should apply in research as well. If data analysis appears confusing andnumbers seem unclear, effective spss dissertation help is a good way to ensure that data analysis becomes comprehensible and appreciable.

    ReplyDelete
  3. This topic is really interesting because getting smooth animations on an OLED with Arduino over I2C always feels like a small victory when it finally works. I like how simple displays can still look impressive when you play around with timing, frame updates, and clean transitions instead of just showing static text. It’s satisfying to see how a few lines of code can turn a tiny screen into something dynamic and alive, especially when you’re tweaking speed and movement to avoid flicker. Reading about setups like this reminds me how much creativity you can pack into small hardware projects, and honestly, working through these details feels a lot like problem-solving in a good Coursework writing service, where clarity and flow make all the difference.

    ReplyDelete
  4. Displaying animation on an OLED screen with Arduino is a great way to explore embedded programming and learn how hardware and software work together. By combining a suitable display library with carefully designed frames, developers can create simple animations, icons, and interactive visual effects. Testing memory usage, refresh rates, and wiring connections can help make a project more reliable. Small technical projects are also a rewarding way to develop problem-solving skills through experimentation. For readers who enjoy exploring detailed designs in other areas, the 5 Mm Moissanite Cable Link Chain in 925 Silver and the 20 MM Circled Star Moissanite Chain In Sterling Silver showcase two distinctive accessory styles.

    ReplyDelete

Post a Comment

Popular posts from this blog

Qualys SSL labs API - A MultiThreaded python script to scan large number of servers and produce neat results

Re-Post : How I managed to gain access to The Indian Digital treasure – 3 Billion documents on Digilocker

Fixing VMWARE tools on kali linux to enable copy paste properly - especially when you are doing OSCP