Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:27 20 Sep 2026 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 : Bryans Car Club Record Project

     Page 2 of 2    
Author Message
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2267
Posted: 08:26am 28 Aug 2026
Copy link to clipboard 
Print this post

Well I do consider this being a successful day as we put my 3.3gB music collection the 64gig USB stick and clicking on the first song worked so got a heap of work done on the music player page.

Now as my collection was all in one file got claude to sort it out so now all the songs are in artist folders and making a playlist is nice and easy. At first I had a song going and when I went to menu the song stopped so now the playlist can play in the background and got a play/pause button on every page so the music can be stopped muted or paused. Also the music is stored in the members profile so other users can add their collection.

Now got the USB Sticks working that will be the only way to export as the SDCard will be off limits as it does hold the club.py files and all the other files needed so they will be off limits to the user.

As this LCD only draws 5 watts the Flip 6 BT Speaker can be the power supply for the pico3 where one should get a full day of use then the Flip 6 can be charged.

So tomorrows job is working in 3D Model Editor on making a stand so the LCD and Flip are all mounted firm with a snap lock for the Flip so it can be removed easily. Then my future son in law will have the job of 3D printing it for me  

Pictures will come once the new mount is made and this first unit is all together.

Regards Bryan
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2267
Posted: 08:09am 09 Sep 2026
Copy link to clipboard 
Print this post

Well I did find the boot times were blowing out so after 3 days of stuffing around claude said club.py is using 87% of ram on bootup.

So I said you recommended in the beginning to put everything in one file so today got it to export every page so we just load the login and menu page so now boot times are down to seconds  

This morning for the third time(try) got claude to use the V.17 source and attach btaudio to it, well sounds simple enough doesn't it not for claude as it kept turning options off and at one stage totally lost everything, glad I got ssh going as it did capture the BT speaker faulty where the song cutoff after 15 seconds and said it was fixed.

Well went to pair the BT speaker and got it connected only to find claude barging in on the repl well finally via SDCard loaded the new separate page club.py only to find the Flip wouldn't pair.

So hopefully tomorrow will be a better day as club.py is going V2 so plenty of work to do.

Regards Bryan
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2267
Posted: 08:24am 10 Sep 2026
Copy link to clipboard 
Print this post

Well today was testing out audio with BT and audio onboard, played the first song and at 2.17 got what I call a cutoff this one lasted a second then play again this happened two more times so it was time to test the BT Speaker. Now as I have new firmware on and all of club.py is now on a seperate .py file pairing after boot wasn't installed so using the BT speaker page got it connected in the first or second 6 sec pair window.

Good quality music from the Flip 6 and those cutoffs came again now claudes attempt at logging showed the track played purfect yet in real life those cutoffs were still there.

After 6 songs were played and logged 2 logs did pickup where the track cut off short so in the morning we can hopefully chase this down and as claude this is that low level where its log script can't pick it up BTaudio will get a good look at to see where this conflict is occurring so when a song is played whether audio or BT the quality is there.

One does have to wonder if a psram board was made up with a few of them how would this pico3 run with 64meg of ram instead of 8.

Regards Bryan
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2267
Posted: 07:53am 14 Sep 2026
Copy link to clipboard 
Print this post

Well got the lcdbase 3D printed yesterday so now got a mount for the screen with a handle   also Sam programmed the 48 port switch and wifi router so edited main.py and now all my boards have wifi at boot.

Got claude to setup wifi on computer B and told him it should be childs play to connect to the boards by wifi   after repeating myself more than a dozen times it finally got the hint so now all data transfers are done by wifi.

Another task that took hours the on screen keyboard didn't have the second symbol page where I found I couldn't input '@' it finally twigged and soon that 2 screen keyboard with manual controls in the editor cut/copy/paste so finally the onscreen keyboard is done.

Also when touch isn't used the on screen keyboard isn't shown as that was a bug that needed squishing  

Also put a ram usage meter in the ticker which was interesting to see that the menu page used 44% of the ram and when a song was played it jumped to 18% remaining so found a few more bugs where claude producing code kept bricking the pico3 so tomorrow more repeating myself to get it going where songs can play in the background.

But with wifi I'm going to see if claude can make a browser and club.py can login into the backshed forum  

Having fun

Regards Bryan
Edited 2026-09-14 18:04 by Bryan1
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2267
Posted: 09:00am 18 Sep 2026
Copy link to clipboard 
Print this post

So today decided to get pencil, paper, a ruler and divider and drew up a dashboard to use for club.py to get it out of the 70's look so every page does need to be re-formatted for this new style which is going to take a bit of work for the 21 pages made so far.

Now got the makings of a boiler plate for the background and still a heap of work on the dashboard which is used as a template for every page.

Got the file transfer down pat now I have wifi setup claude writes the new page sends it across and with the larger file transfers the shed radio sees some static so I know claude is doing it's job.

Now with the BT work thru the BT pairing page I have got the mouse connected but found a 40 second delay before the BT mouse would work then it worked better than the serial mouse infact where I was very impressed. Now with the K250 BT keyboard I have hammered claude saying we need a 6n so the keyboard can be typed in then hit enter and it should be connected for good and just work.

Now when I do hit scan the keyboard is already connected but without that 6n it won't work so we are working thru and will get there where a BT mouse/keyboard just works along side a song playing on my flip 6.

Claude has said the wifi/BT chip does need 40 seconds to see BT devices I have said this can be done at boot times like the wifi and network are done in main.py then after that 40 seconds before boot a message on the boot screen says BT mouse/keyboard connected.

Now I find as the club.py kept bricking with code changes put in a ram gauge so we can see how the ram is being used. Sure enough the ram was draining with no input in club.py and I timed it to 3 minutes then claude finally did the fix and when a large file is transferred over wifi the ram gauge does drop to the 80's % then pops backup to 91%.

Once I can get all the pages and new pages done in this dashboard style I will make a video where I can go thru each step explaining how club.py works so new users can get the full picture on how this OS is setup.

Now I did buy a 38 pin to 16 pin OBD-2 cable and I need to make up that 2 transistor, 5 resistors and a diode circuit so the pico3 can talk to my C200 Merc and read the codes. What I will probably do once it's all setup get claude to do this first scan of a classic car is on the command line so it can read all the codes then switch to another pin on the OBD-2 and read the next register so I can fully find out which module failed or by reading the fault codes of each.

This will be done with board 1 which is mounted on the back of that 10" lcd I bought and with that $25 power brick I do find I can get a good 6 hours of it out in the sun just doing gps and weather data  

Now for the first time I have been using claude got my first session time out where I do suppose it was actually working instead of going down the rabbit hole where time isn't a factor and patience is for a user so that is a new one for me.

For real Jtag debugging I did mention it to claude and it said any pico setup can be used so my 2040W which did have 1.28 micro python on got that new debugging code so we have Gp2 Gp3 and Gnd and a USB connection to win 10 then OpenOCD is used so claude can see the brake point where the 2350B loses and bricks so the break point in the code is seen.

Also when club.py is used with a keyboard and mouse if a mouse failure happens good old keyboard commands can save the day so the arrow buttons work tab works got copy/paste/cut working too but a long way to go to get this 'just working'

10 minutes away from my claude ban so time to get some music going on board 1 where I saved a few playlist lists until this ban is over.

Now I have been told no one can make a OS out of a pico3 and soon I will release this new version where it will show it really is an OS that just works and does what one asks so that fact can be proven.

Ok 6 minutes to go so time to roll a smoke and grab a beer as this is going to be a good night with claude


Regards Bryan
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4380
Posted: 11:09am 18 Sep 2026
Copy link to clipboard 
Print this post

  Bryan1 said  Now I have been told no one can make a OS out of a pico3

At the least, fuzix?

I haven't looked but likely it's not alone.

John
 
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 2267
Posted: 01:28pm 18 Sep 2026
Copy link to clipboard 
Print this post

So deiced to have a few beers in my shed  and now got BT running a playlist off the usb on board 1 that is has the 10' lcd and got the first 8 song playlist going on with the BT speaker, tried a jtag transfer and with IT it did work so 2040W can now program a pico3  

Now after that 40 sec delay on the BT it did work for a shortime off boot s o getting there so lots of work to go.

Noe got a playlist running on board 1 so this python rocks over unix anyday so will Peter listen I mean can fizix run a BT speaker off the command line to play list off the USB  for the playlist on the command line where a 8 song playlist is done for the first strand.

Well left board 1 playing the whole playlist and claude decided to go off line leaving the whole file list now the flip is got a red signal so this great night is about to end.

Reagrds Bryan
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3881
Posted: 07:16pm 18 Sep 2026
Copy link to clipboard 
Print this post

  Bryan1 said  Sso 2040W can now program a pico3  


I did something similar yesterday. I want to run an ESP32 plugged into a USB port off of a Seagate Dockstar running OpenWrt (The dockstar is always up.). ChatGPT walked me through flashing the ESP32-S2Mini with a Lolin python REPL, then plugging it into the Dockstar, installing mpremote to talk to the ESP32. Chat gave me some examples, so I can do this from the Dockstar Linux prompt:
  mpremote a0 exec "from machine import Pin,PWM; p=PWM (Pin(33),freq=10000,duty_u16=32768); print(p)"
  mpremote a0 exec "from machine import Pin,ADC; a=ADC(Pin(16)); b=ADC(Pin(18)); print('GPIO16',a.read_u16()); print('GPIO18',b.read_u16())"


Or Chat's Powershell codex can do it for me. mpremote can also download a program to the ESP32, and retrieve results and pass them along for processing.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
     Page 2 of 2    
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026