Chrono

(Difference between revisions)
Jump to: navigation, search
(Components)
(Specification)
Line 6: Line 6:
  
 
== Specification ==
 
== Specification ==
 +
 +
=== Minimal system ===
  
 
The basic specification is the following one:
 
The basic specification is the following one:
* On reset, the pointer moves to the start position (12 o'clock), it is given by a Reed sensor.
+
* When the ''restart'' button is pressed, the pointer turns back to the starting position (12 o'clock), which is indicated by a Reed relay.
* When pos 2 button (Start) is pressed, the pointer will start counting seconds.  
+
* When the ''start'' button is pressed, the pointer will move by 1/60<sup>th</sup> of a full turn every second.
* When pos 3 button (Stop) is pressed, the pointer stops and waits at the actual location.
+
* When the ''stop'' button is pressed, the pointer stops and waits at the current location.
* When pos 1 button (Reset) is pressed, the pointer resets to the start position (12 o'clock).
+
 
 +
The minimal system doesn't handle the cases when the user acts erratically,
 +
such as pushing the restart button when the hand is already at 12 o'clock position.
 +
 
 +
=== Options ===
 +
 
 +
The students are given the opportunity to design a more complex system.
 +
Two buttons and 10 LEDs allow to debug or to add functionalities.
  
as optional task a pos4 button (Set) can be pressed in order to halt the pointer, but the stop watch is still counting. By a second push of the set button the pointer moves to the actual stop watch time.
+
Optional functionalities already seen are:
 +
* ''PWM'': when the hand is stopped, the current in the corresponding coil can be reduced using a repetitive pattern
 +
* ''counting minutes'': whilst the hand shows the seconds, the minutes can be displayed on the LEDs
 +
* ''lap time'': when the hand is stopped, a counter still counts the second and a further button press drives the hand as fast as possible to the current time.
  
 
== Components ==
 
== Components ==

Revision as of 10:10, 26 November 2013

Contents

The chrono project is an ElN project done at the end of the first semester. It consists in conrtolling a stepper motor which moves a pointer in a clockwise direction. It will emulate a stop watch.

Chrono in Action

Specification

Minimal system

The basic specification is the following one:

  • When the restart button is pressed, the pointer turns back to the starting position (12 o'clock), which is indicated by a Reed relay.
  • When the start button is pressed, the pointer will move by 1/60th of a full turn every second.
  • When the stop button is pressed, the pointer stops and waits at the current location.

The minimal system doesn't handle the cases when the user acts erratically, such as pushing the restart button when the hand is already at 12 o'clock position.

Options

The students are given the opportunity to design a more complex system. Two buttons and 10 LEDs allow to debug or to add functionalities.

Optional functionalities already seen are:

  • PWM: when the hand is stopped, the current in the corresponding coil can be reduced using a repetitive pattern
  • counting minutes: whilst the hand shows the seconds, the minutes can be displayed on the LEDs
  • lap time: when the hand is stopped, a counter still counts the second and a further button press drives the hand as fast as possible to the current time.

Components

The system consists of

Design

Toplevel Block

Getting started

In order to start the projects you should do the following:

Additional Information

Additional informations for collaborators

Survival guide

Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox