Week 11

My task for the week was to add to the code. This version of the code used manual switches to run the driving motor forwards and backwards. I was able to add basic LCD function and LCD switch control to the code as shown in figure 1. We will not be able to test this code until the new motor driver comes in as the current one has issues with overheating. The issues I am expecting are with the switch voltage values in lines 30 to 34. Those values vary depending on the version of the LCD, but this should not cause any serious issues and will be an easy fix once the version is narrowed down. The code will display text on the LCD depending on which button is pressed and the 'right' button will move the bogie forwards. My goal by next week is to find the version of our LCD and refine the code as it is.

Figure 1. Arduino code in Arduino cloud.

Comments

Popular Posts