Skip to main content

Team Blog #18

SSST Blog 3/11/2020

Progress for this week:

Controls Team
The stepper motor and the PixyCam are able to work together. After connecting an external power supply to power the stepper motor, the Arduino was able to provide adequate power to activate the PixyCam. When the PixyCam reads a barcode, it sends a signal to the stepper motor to stop. The iPhone application was finally able to get connected to the BLE as shown in Figure 1. The issue with connecting the iOS app to the BLE was due to using the wrong UUID.

Figure 1. iOS app connected to BLE module.

In addition, the second BLE module is being ordered on Amazon to be used for the second bogie.

Guideway Team
The outer loop of the guideway has been laser cut and assembled using washers and nuts as shown in Figure 2. The nuts and washers are used to sandwich each guideway piece together and can be tightened using an adjustable wrench.

Figure 2. Outer loop and smaller inner loop of guideway assembled. 

Initially the team used a spirit level to adjust each guideway piece to be the same height. Since the spirit level measures whether an object is horizontal relative to the ground, the base board needs to be leveled before the guideway can be leveled. Therefore, the team decided to use a tape measure to measure 34 inches from the baseboard to the bottom guideway piece as shown in Figure 3.

Figure 3. Guideway measured to be 34 inches from the base board. 


Bogie Team
The bogie team created designs for mounting the servo motor for the y-switch onto the bogie. Since the servomotor would need to hold the weight of the bogie, the mounting needs to be robust. The bogie platform has been modified to hold the gears. In addition, the snap fit clearance holes for attaching each pod piece has been modified to prevent breaking during disassembly.


Plans for next week
Next up on the agenda for the iOS app is to implement a keyboard feature that allows the BLE to activate the Arduino by entering a number. The bogie team will continue to 3D print more pieces to complete a second pod. The PixyCam will read station numbers using a barcode that will be placed under the pod. The barcode will need to be a specific distance from the PixyCam, too far of a distance won't allow the PixyCam to read the barcode. A snap-on design will be made that goes around the threaded rods on the track and friction tape will be used to prevent the 3D printed snap-on design from breaking. The guideway team will continue to laser cut track pieces for the second inner loop. Furthermore, the third rail and y-switch for the servo motor will be designed and manufactured in the upcoming weeks.


Written By:
Shane Fatehi
March 11, 2020

Comments

Popular posts from this blog

Team Blog #11

SSST Blog 10/17/19 Progress for the week: Controls Team  This week for the controls team, Asmaa continued working on combining the two main Arduino codes which we have so far. One of the codes was the one which implemented the ultrasonic sensor to get the motor to slow down if the ultrasonic sensor detected an object too close to it. This mimics what we want the bogies and pods to do once they are fully operational, it is essentially collision prevention system to where if a pod gets too close to another pod, the ultrasonic sensors will detect the proximity, and get the motor to slow down. The other Arduino code which we have is for the BLE. Using a pre mad app to test if the BLE works, Asmaa wrote a code to enable the Arduino to turn an LED on and off depending on the input of the user on the app. If we typed 1, the LED would turn on and if we typed 0, the LED would turn off. Asmaa combined both of these codes into one, with the slight difference that once we have our own iOS ap

Team Blog #25

SSST Blog 5/13/20 Progress for the week: Since this is essentially the last blog for the 2019/2020 academic year, and the last major thing that was accomplished this week was submitting the report, there is not that much individual subteam work that was completed. Rather, everyone came together to work on the final report throughout the entirety of the last week. The remainder of this blog will be dedicated to showcasing the final results through images of each of the subteams and also of the Small-Scale as a whole. Controls Team  The final design of the controls team was two separate iOS apps, one allowing to connect and to send data to BLEs to activate the master Arduino code and another solely for a pleasant and informative UI experience. Although ultimately a keyboard was not able to be implemented successfully into the BLE testing app, a slider was added so that depending on its position, different 8-bit unsigned integer values (within a range specified in Xcode) can be sent

Team Blog #6

SSST Blog 10/17/19 Progress for the week: Controls Team  This weeks progress was similar to last weeks. The controls team focused on two separate tasks. Lissette and Asmaa continued to develop the test code for the motor and ultrasonic sensors. The purpose of this code is to simulate what would happen if two bogies get too close to one another, in which case the ultrasonic sensors would detect this and slow down the motor of the bogie that is getting too close to the other bogie. There were some issues with the code last week, so this week kinks were continued to be worked out. A snippet of the Arduino code can be seen below in figure 1: Figure 1: Snippet of code to control motor speed using ultrasonic sensor  The space where the small scale team works was also searched for useful components. While Lissette and Asmaa were working on this, I (Julio) was working on the iOS app. So far I am just learning the basics of the programming language Swift by watching courses on YouTub