March 20. It was working today so I tried it out. I have done a few things to it since last I tried it. Last time things were held on with elastic bands, and it went very fast with the new batteries and threw them off, so it was dragging them behind! Today It eventually turned over and broke the R-Pi posts that I had 3D printed. Left/Right were also interchanged, and it didn't respond very quickly to the commands. I think I'll have to take out some delays.
I have printed some battery holders, and also posts for the Raspberry Pi. See pictures.
These batteries are 16560 types, more powerful than the previous, and I have also changed the connectors to xxxx throughout all my batteries for interchangeability. You can just see the clips in purple around the batteries.
Also now that the Raspberry Pi is attached to the frame, I could put the original car body back on with a bit of work. This of course is just cosmetic except that I have attached batteries on the underside of the body.
I have decided to find some small screws to hold the Raspberry Pi zero in place through the pads that I printed for the pillars.
I edited the Subscriber.py to reduce the delays in the processing from 1 second to 0.1 seconds, and the car responds a great deal faster. I am very pleased. It means that the delay was not in the controller.
A thing to try is to make the forward/backward motion half speed on the first push and then full speed.
I am also going to try and build a controller using the Raspberry Pi PICO microcontroller. I need to fix my 20x4 display: https://www.ebay.co.uk/itm/267217818274?_skw=LCD+Display+20x4&itmmeta=01KMWPNF5JM6KA5FGFK4V8BXYH&hash=item3e376c52a2:g:xncAAOSw8E9i4RFk&itmprp=enc%3AAQALAAAA8GfYFPkwiKCW4ZNSs2u11xAq6P9ME%2BsprdHEOG6zvRM01NwhAgbFR5tYrpFVk2UOM270zFDLeIKMmxX%2FppzMv44kFuKN67qGgeDCzbrFuYLUqQwKYiWDYmR4T2IypX8dqwBcVnZ%2FMOEv8pQoEa4jaVGBcRtsTMNYQtzqAj5DTzPqo5S4oxccE5WAD2RNo5QTntnRlFNNM1q9SR3tw8FYHFErsFTIYdKQ%2Fp9sFw5zfoTg0dOmrdN1i09LuxIz7bMgDIbZIe5nfp1zD%2BWDcmnp8M%2FXWqtfp60VriylnO%2F8d0rWsjl4Ij8hX4bPHPVDbGHL%2BA%3D%3D%7Ctkp%3ABFBM-PLVlqdn
30/3/26 Starting to convert my Arduino C software for the Wemos to Micropython for the PICO
https://randomnerdtutorials.com/raspberry-pi-pico-w-mqtt-micropython/