Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
asknik2022 Regular Member Joined: 26/03/2022 Location: United KingdomPosts: 94
Posted: 06:25pm 29 Jun 2024
Copy link to clipboard
Print this post
2.4" OLED SSD1309 using SSD1306 Drivers On a Raspberry Pi PICO Using Micropython DUAL Channel VU METER
zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 576
Posted: 12:50pm 01 Jul 2024
Copy link to clipboard
Print this post
Excellent stuff
Are the displays via I2C or spi ? Are the two displays driven as a composite ? What is using micropython like, any impressions ?
asknik2022 Regular Member Joined: 26/03/2022 Location: United KingdomPosts: 94
Posted: 01:59pm 01 Jul 2024
Copy link to clipboard
Print this post
The Displays come with both SPI and I2C but when purchaed are setup as SPI. In order for the two channels not to interfere with each other, I used SPI0 and SPI1
I have only just started using uPython as I couldn't get this to work on MMBasic as I was told that MMBasic did not support the SSD1309's (and I hate Arduino.)
uPthon is growing on me the more I use it. Using the Thonny IDE is very easy and the output results are displayed within the IDE at the bottom (similar to Arduino) which is easier than trying to use MMC Also the results are almost instantaneous as you don't have to wait for the MMBasic program to be uploaded.
I like the way that MMBasic uses the options commands to pre-setup the displays etc as it can be a pain to install the uPython display modules.
If you want I can left you have the uPthyon code that I wrote for this VU Meter.
I also created a small buffer amp to give the audio input more adjustment control because of differing outputs from various audio sources. I can supply the schematic if you are interested.