USING YOUR BENCH tools TO test A new screen

It typically takes a bit of work to get confidence when it concerns utilizing new parts. [Glitch] got his hands on this OLED screen which is manufactured by Sabernetics as well as wished to provide it a whirl before building a job around it. He grabbed his Bus Pirate to assist discover the ins as well as outs of the new part.

The 96×16 Dot-Matrix screen utilizes the i2c protocol, keeping the pin count truly low (six pins for: ground, reset, clock, data, chip select, as well as voltage). because the Bus Pirate provides you command-line-like gain access to to i2c it’s a natural option for a very first test. In fact, the tool has been our go-to gadget for that protocol for many projects.

The very first commands sent are configuration values for the SSD1306 that drives the display. These configure contrast, voltage conversion, as well as other essential values required to power on the display. It sprung to life, showing random pixels because the RAM had not yet been initialized. keeping that success [Glitch] moved on to the Bus Pirate’s scripting capabilities as well as ended up with a Python script that drives the demo seen above. now that he understands the commands he needs, it’ll be a great deal simpler to compose code for a microcontroller driver.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post