We went back to the machine shop to practice soldering and were able to do it despite having a few less tools compared to yesterday. For the first part of the day, we stayed there and kept soldering until we got the hang of it. We became more used to soldering and successfully did a few wires.
For the second part of the day, we returned to the Stem room to work on the robot. In the past, we had to use the serial monitor to see if the robot detected an object or not. This time, we found a 7-segment display to replace the serial monitor. We disconnected the Temperature Humidity sensor, wires, and resistor to create more room for the 7-segment display.
We went back to tronixstuff because it has a tutorial involving a 7-segment display, but the tutorial required 74HC595 shift registers, which we didn't have. Because of this, we searched for a tutorial that did not need those shift registers. Eventually, we found a tutorial that met our needs.
We reused some DetectTurnMove code in a new program called DetectTurnMoveDisplay with some adjustments. Successfully, the 7-segment display lit up as intended when it detected an object or not. Therefore, we don't need the serial monitor anymore for displaying detection.
We reused some DetectTurnMove code in a new program called DetectTurnMoveDisplay with some adjustments. Successfully, the 7-segment display lit up as intended when it detected an object or not. Therefore, we don't need the serial monitor anymore for displaying detection.
Programs written
- DetectTurnMove
- DetectTurnMoveDisplay
Goal
- Practice soldering
- Apply the 7-segment display to the robot
Comments
Post a Comment