Tuesday 21 May 2024

Lets get car-4 working again ( May 2024)

 Here is the earlier post about it.

https://www.blogger.com/blog/post/edit/preview/5415560036905179298/8810457589872963960


GPIO PIN            Wire colour 

                                  Car                             Test Rig

6                            White                            Pale yellow

12                          Orange                          White

18                         Red                                Blue

19                        Yellow                            Orange

23                        Green                             Yellow

Now I can swap R-Pis and see if there is a problem with the car one. 

swapped boards, and test rig ran the same, except that after analog left, left LED kept flickering and I couldn't stop it. Another software fault.

Also Red forward LED on at startup. 

----------------------

23/8/2024 

HAve rebuilt software using latest RaspIOS and it is different. 

Looking at this to try and figure out how to configure it.

https://bytebeam.io/blog/getting-started-with-mqtt-on-raspberry-pi-using-python/

Problem installing Paho-mqtt. Need to look into it. 

12/10/24 working through this. Got through the update of Setting up Python dependencies and installing MQTT Python Libraries  

NOW! I remember, On boot I have to start the subscriber program.  I'll look in a previous writeup and see if I described the process. 


This goes quickly but gives instructions on how to enable the subscriber. and set the broker to run in the background. 

https://www.youtube.com/watch?v=za-IIZ1xVbA