80 likes | 191 Vues
This report outlines the progress made in the Webtrain project focusing on resolving timing issues, changing resistor values, and beginning coding for automatic decoupling. Challenges with Timer 0 and Timer 2 are discussed, along with plans for the next steps in coding and testing. The project aims to enhance the functionality of decoupling cars on the track layout.
E N D
Webtrain Decoupling Adam Kadolph EE451 Bradley University Advisors: Dr. Irwin, Dr. Schertz Week 13 Monday 3/12
Outline • Last Week • Current Week • Timing Issue • The Next Step
Last Week • Fixed timing issue with program to send DCC signals based of the voltage reading from the photocell • Use of NOPs for signal timing • Mounted two photocells in the webtrain layout • On Bypass track
Current Week • Change the resistor values for the sensors • Different lighting conditions on layout • Begin coding for automatic decoupling • Code program to accept user car request for decoupling • Then have routine to count cars and stop after requested car
Timing Issues • My fixed made use of NOPs instead of Timer 0 • Further testing on use of Timer 0 before ruling it out • Same with Timer 2
The Next Step • Code the Automatic Decoupling Function • Code modular routines • Code in small steps to reduce complexity • Improve on existing code • Possibly code in C
Questions? The End