-
Writing the report
04/11/2019 at 12:46 • 0 commentsWriting the report took up approximately 6 hours of our time. Spread out over multiple weeks whenever we had time.
-
20-2-2019
02/20/2019 at 20:55 • 0 commentsFinalised the arduino script for the tower, combining all the previous test scripts.
Time: 55 minutes
-
17-2-2019
02/17/2019 at 16:55 • 0 commentsUsed Autodesk Tinkercad to create an adapter for the shaft of the stepper motor.
Time: 20 minutes
-
13-2-2019
02/13/2019 at 19:17 • 0 commentsAll the parts for the stepper assembly arrived.
1 hour: Setup and soldering
30 minutes: Connecting the parts and running a simple test script
//Test script // defines pins numbers const int stepPin = 3; const int dirPin = 4; void setup() { // Sets the two pins as Outputs pinMode(stepPin,OUTPUT); pinMode(dirPin,OUTPUT); } void loop() { digitalWrite(dirPin,HIGH); // Enables the motor to move in a particular direction // 200 pulses = full rotation for(int x = 0; x < 200; x++) { digitalWrite(stepPin,HIGH); delayMicroseconds(1000); digitalWrite(stepPin,LOW); delayMicroseconds(1000); } delay(1000); digitalWrite(dirPin,LOW); //Changes the rotations direction // 400 pulses == 2 rotations for(int x = 0; x < 400; x++) { digitalWrite(stepPin,HIGH); delayMicroseconds(1000); digitalWrite(stepPin,LOW); delayMicroseconds(1000); } delay(1000); }
The correct color order left to right with the pot on the left side is: Red-Green-
-
Bringing the log up to speed
02/11/2019 at 15:53 • 0 commentsThe project was started before I added it to hackaday, this is our progress thus far:
4-2-2019, Marco & Vincent, 2 uur, Building distance to coordinate mapping algorithm
7-2-2019, Vincent, 2 uur 45 min, Converting the algorithm to C++ for the arduino
8-2-2019, Marco & Vincent, 50 min, Testing the Ultrasone sensor
9-2-2019, Vincent, 1 uur 30 minuten, Writing a script to make the ultrasone sensor more usable
10-2-2019, Vincent, 1 uur, Research into stepper motors