Chrono
(→Options) |
(→Getting started) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TOC right}} | {{TOC right}} | ||
− | The | + | The Chrono project is an ElN project done at the end of the first semester. |
− | It consists in | + | It consists in controlling a stepper motor which moves a hand in a clockwise direction. |
+ | This emulates a stop watch. | ||
[[File:Chrono.jpg|600px|Chrono in Action]] | [[File:Chrono.jpg|600px|Chrono in Action]] | ||
Line 10: | Line 11: | ||
The basic specification is the following one: | The basic specification is the following one: | ||
− | * When the ''restart'' button is pressed, the | + | * When the ''restart'' button is pressed, the hand turns back to the starting position (12 o'clock), which is signaled by a [https://en.wikipedia.org/wiki/Reed_relay Reed relay]. |
− | * When the ''start'' button is pressed, the | + | * When the ''start'' button is pressed, the hand will move by 1/60<sup>th</sup> of a full turn every second. |
− | * When the ''stop'' button is pressed, the | + | * When the ''stop'' button is pressed, the hand stops and waits at the current location. |
The minimal system doesn't handle the cases when the user acts erratically, | The minimal system doesn't handle the cases when the user acts erratically, | ||
Line 34: | Line 35: | ||
== Components == | == Components == | ||
The system consists of | The system consists of | ||
− | * a [[Media:Chrono.pdf|Chrono assembly]] (not up to date, to be deleted) | + | <!--* a [[Media:Chrono.pdf|Chrono assembly]] (not up to date, to be deleted)--> |
− | * a [[Chrono/assembly| | + | * a [[Chrono/assembly|chronometer assembly]] with a stepper motor, a single hand and a [https://en.wikipedia.org/wiki/Reed_relay Reed relay] to signal position 12 o'clock |
* an [http://wiki.hevs.ch/uit/index.php5/Hardware/FPGAEBS FPGA prototyping board] | * an [http://wiki.hevs.ch/uit/index.php5/Hardware/FPGAEBS FPGA prototyping board] | ||
− | * a user interface board | + | * a user interface board with [http://wiki.hevs.ch/uit/index.php5/Hardware/Parallelport/heb_lcd 4 buttons and 8 LEDs] and an optional LCD |
== Design == | == Design == | ||
Line 45: | Line 46: | ||
* The [[Media:Chrono_Toplevel_Empty.pdf|empty toplevel block]] shows the circuit's inputs and outputs. | * The [[Media:Chrono_Toplevel_Empty.pdf|empty toplevel block]] shows the circuit's inputs and outputs. | ||
− | == Getting started == | + | === Getting started === |
In order to start the projects you should do the following: | In order to start the projects you should do the following: | ||
* Read carefully the specifications above | * Read carefully the specifications above | ||
Line 51: | Line 52: | ||
** [[Chrono/students_fr|Guide en français]] | ** [[Chrono/students_fr|Guide en français]] | ||
** [[Chrono/students_de|Anleitung auf Deutsch]] | ** [[Chrono/students_de|Anleitung auf Deutsch]] | ||
+ | |||
+ | The [[Media:ElN_Tools_Cheatsheet.pdf|EDA tools cheatsheet]] can be a great help for the circuit design and synthesis. | ||
== Additional Information == | == Additional Information == | ||
− | |||
* [[chrono/survival guide|Survival guide]] | * [[chrono/survival guide|Survival guide]] | ||
− | * [[chrono/board combination|Board | + | * [[chrono/board combination|Board combinations]] |
+ | * Additional informations for [[chrono/teachers|teachers]]. | ||
+ | |||
+ | [[Category:Bachelor]] [[Category:ElN]] [[Category:Chrono]] |
Latest revision as of 11:31, 19 November 2020
|
The Chrono project is an ElN project done at the end of the first semester. It consists in controlling a stepper motor which moves a hand in a clockwise direction. This emulates a stop watch.
Specification
Minimal system
The basic specification is the following one:
- When the restart button is pressed, the hand turns back to the starting position (12 o'clock), which is signaled by a Reed relay.
- When the start button is pressed, the hand will move by 1/60th of a full turn every second.
- When the stop button is pressed, the hand 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, 10 LEDs and optionally a 4-line LCD display 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
- smart restart: the direction for moving the hand back to the 12 o'clock position can be chosen in function of its actual position
- lap time: when the hand is stopped, a counter still counts the seconds and a further button press drives the hand as fast as possible to the current time.
- LCD display: the LCD can be used to display information such as the minutes. An LCD IP Core for the display communication is provided.
The LCD comes with a control block to which one can send an ASCII character to. Control characters allow to navigate on the LCD display.
Components
The system consists of
- a chronometer assembly with a stepper motor, a single hand and a Reed relay to signal position 12 o'clock
- an FPGA prototyping board
- a user interface board with 4 buttons and 8 LEDs and an optional LCD
Design
Toplevel Block
- The empty toplevel block shows the circuit's inputs and outputs.
Getting started
In order to start the projects you should do the following:
- Read carefully the specifications above
- Consult the guides for the first steps
The EDA tools cheatsheet can be a great help for the circuit design and synthesis.
Additional Information
- Survival guide
- Board combinations
- Additional informations for teachers.