Week 6: 6/13/22 - 6/19/22
- Neil Bishop
- Jun 20, 2022
- 2 min read
Our project will require a designed software application that will be installed on the computer and then connect via Bluetooth to the Arduino. This software will have a graphic user interface that will allow the user to move the base of the mic stand, rotate the arm, move the arm up and down, and also tilt the microphone. This will be implemented by the following logic.

This flowchart shows that the program is constantly “listening” for inputs from the user. Once a button is pressed the program will send its respective data via Bluetooth to the Arduino. In the case that the user presses one of the forward/backward/left/right buttons the program will detect this and continue to send a true signal to the Arduino which will activate the appropriate motors. For example, if forward is pressed the program will send a true signal which will actuate the motors to move the wheels in a forward direction.
If the user presses any of the arm or microphone tilt movements, the program will increment a respective variable from 0-180 which represents the degrees of rotation of the servos. These values will be sent to the Arduino and written to their corresponding servo motor. Also, the GUI will also contain a reset button that will set all of the motors to
To implement the “Preset” functionality, the user must activate a “Record Mode” and then press one of the 5 available preset buttons. Once pressed, the program will record the current values of rotation of the up/down, tilt, and arm rotation variables. Once the user is done recording the preset, a “Done” button must be pressed to exit the “Record Mode”. then the user can simply press one of the preset buttons and the program will send the saved data to the Arduino to actuate the motors.
In the next figure, the flowchart shows the logic used by the Arduino to actuate the motors. The Arduino will constantly listen for new inputs from the program and adjust the motors accordingly. Since most of the logic is handled by the program, the logic of the Arduino is very simple.

Comentarios