Post on 19-Dec-2015
Archimedes
Tha X-Roaderz
KEVIN – Team Leader / Website
AMY – Sensors / Lights / Sounds
TIO – Speed Controller / Crossing Gate / PPTs
MOUSSA – Speed Controller / Track Switching
Archimedes
Overview of the Project
The overview of the project is to design a train set so that it can be utilized by those with special needs / disabilities.
Archimedes
Design StructureUser Interface:
Flex Sensor >>
Motor Controller:
H-Bridge >>
Gas Pedal:
User Interface >>
Archimedes
Sample Speed Control Coding'Train Speed Controlhigh 0low 1setint %00000100,%00000100
main:readadc10 1,w1let w2 = w1 'set w2 equal to w1debugif w1 <= 280 then stopdriveif w2<w1 then rampupif w2>=w1 then rampdown
rampup:w2=w1 'increment w2 valuegoto drive
rampdown:w2=w1 'decelerate immediatelygoto drive
drive:pwmout 3,125,w2goto main
stopdrive:pwmout 3,0,w2goto main
interrupt:if pin2 = 1 then interrupttoggle 0toggle 1setint %00000100,%00000100return
Archimedes
Sensors
We changed from using the reed relay to infrared sensor. Reed relay didn’t work to well because we had a hard time finding magnates that would fit under the train to make the connection. If we used a strong
magnates the train might not be able to move because is would stuck to the reed relay.
Archimedes
Sensors
The magnets would make an effect on the train motor. By using the infrared sensor, would detect the train better. It is a lot easier to implement because we don’t have to put the reed relay at the bottom of the tracks. The infrared just need to put next to the track with out doing anything to the track.
Archimedes
Sensors
One of the problems we had with the inferred was the way we have to put it. We couldn’t just put it across from each other because the gap between each car would not break the infrared light going to the sensor. So we had to put it in an angle instead of perpendicular to the track.
Archimedes
Problems
• Power Supply over 5V
• Smoked PICAXE’s (SORRY SANDY!!)• PICAXE ≠ OPAMP!! (Moussa, get your moneys back!)
• Train Stopping Randomly
• Time Management / Team Availability
Archimedes
Time-Line
• 21 Jan 06 – Basic Electronic Tutorial
• 28 Jan 06 – Solder Technique Tutorial
• 20 Mar 06 – Completion of Sensors / Controllers
• 08 Apr 06 – Lights / Interfacing Completion
• 10 Apr 06 – Project Completion
• 9 May 06 – GAME DAY
Archimedes THE END
THA X-ROADERZ!
MOUSSATIO
AMY KEVIN
http://www2.hawaii.edu/~kahing/
Roaderz’ Website: