Friday, May 1, 2015

Week 5 (Outside Lab) - Wiring Relay, Pt. 2

Figure 1. Physical structure of the pump-related components of the relay system.
At this meeting, the pump-related parts of the relay structure were connected using the alligator cables and electrical tape, as shown in Figure 1. This is not the complete relay structure, which will involve the breadboard and Arduino in order to implement the control system.
Davina also experimented with creating a new GUI in Qt to integrate with the blinking LED Arduino serial sketch. She was able to make a GUI very similar to the last, in which a slider supposedly allowed the user to adjust the interval between blinks, but because of the loop structure of the code, only the first integer registered (being 1) went through, so the LED could only blink at intervals of one second. There are still complications on creating a termination button in the GUI, but they should be figured out pretty quickly. Figure 2 shows a snippet of code and some errors in building the application.

Figure 2. Application output issues with the custom Qt application.

No comments:

Post a Comment