Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:26 25 Nov 2024 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : 2.42" Oled Vu Meter using RP2040-Zero

Author Message
asknik2022
Regular Member

Joined: 26/03/2022
Location: United Kingdom
Posts: 92
Posted: 06:19pm 30 Jul 2024
Copy link to clipboard 
Print this post






Volume + Vu Meter control in Micropython via IR

IR button 1 for volume control
IR button 2 for Vu Meter showing both Channels
IR button # to return to select screen.
 
DaveJacko
Regular Member

Joined: 25/07/2019
Location: United Kingdom
Posts: 76
Posted: 09:03pm 30 Jul 2024
Copy link to clipboard 
Print this post

Like the project ! Low wire-count for what it does.  

I have forgotten how convenient the IR remote controller is,
I remember, years ago, how pleased I was to find it built into MMBasic

could I ask where you got that type with UDLR buttons ?
also, anyone, I don't think MMBasic drives SSD1309 natively ?
 
asknik2022
Regular Member

Joined: 26/03/2022
Location: United Kingdom
Posts: 92
Posted: 07:11am 31 Jul 2024
Copy link to clipboard 
Print this post

THis is where you can get the remote in the UK
https://www.amazon.co.uk/DollaTek-Infrared-Wireless-Control-Arduino/dp/B07DJ58XGC/ref=sr_1_5?crid=31UUFTJS4WIM3&dib=eyJ2IjoiMSJ9.UkwSJS5xAAQYwZB-zZKU6AS5o14Mqe-BaDHf6Nbw4QSXW7apUKon7PKAVhkFU__tOidKwLT-6xnwsQwPw-DQ8R0dXiUWYvC0cUOnClluNu_XM1YeYjHL-lcBfVqkoLhxAlw_9ucYc6v7rB4xgmkGSH0w7olIpNpLCrw-aa3a_p5dhfmdDVHRLAEsWSIEj4ALptItv6Ex-LPsaVPT9jdAbdCTZvJZJoi1fD3a_BDSbaQ.ww-1okaIPwXT8pfYxsBECbnTuG8eXv4cHjgEAofxyoA&dib_tag=se&keywords=IR+%2B+Remote&qid=1722409745&sprefix=ir+%2B+remote%2Caps%2C125&sr=8-5

I had to write this in Micropython because MMBasic doesn't suppport the SSD1309

Is anyone wants the code then let me know.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 06:04pm 31 Jul 2024
Copy link to clipboard 
Print this post

Hi asknik2022,

Yes, it would be interesting to see the micropython code. Just zip it up, and post here if you like.
AFAIK MMBasic if not feaured driving dual displays anyway. There may be tricks around it, but default is 1 display.

Vice project by the way. The VU meters look quite good for the limitted resolution.
Are the displays SPI or I2C ?

Volhout
PicomiteVGA PETSCII ROBOTS
 
asknik2022
Regular Member

Joined: 26/03/2022
Location: United Kingdom
Posts: 92
Posted: 08:01am 01 Aug 2024
Copy link to clipboard 
Print this post

SSD1309 Vu Meter.pdf

Hi Volhout

Attached code above.

The displays can be configured for both but to save pins I converted them to I2C

Many thanks for the compliments.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 01:38pm 01 Aug 2024
Copy link to clipboard 
Print this post

Hi asknik2022,

Looking at the code, I realize you are using the SSD1306 driver in 128x64 size.
I am using SSD1306 in 128x64 size using I2C also for my projects using PicoMite. But this is not a SSD1309, but a SSD1306. Or are both compatible  and use same screen size.

Fact remains that PicoMite defaults to 1 display, and will require all kind of tricks to control 2 displays.

Regards,

Volhout
PicomiteVGA PETSCII ROBOTS
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024