getting_started
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started [2016/08/10 16:21] – romain | getting_started [2020/03/02 11:26] – Wrong spelling of the function enter_operational_mode tvandenbussche | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Getting Started ====== | ||
+ | A simple tutorial that explains the basic setup and command needed to start using the QuimDC. | ||
+ | |||
+ | |||
+ | Requirement : | ||
+ | * QuimDC | ||
+ | * USB/Serial port cable | ||
+ | * DC laboratory power supply | ||
+ | * DC motor | ||
+ | * Two Jumpers | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | |||
+ | ===== Connection ===== | ||
+ | |||
+ | The QuimDC is divided into two parts, the logical one and the power one. In this tutorial we will power the two parts with one laboratory power supply. We need to put two jumper on G_com and V_com like in the picture below. | ||
+ | |||
+ | |||
+ | {{quimdc_tuto_jumper.jpg}} | ||
+ | |||
+ | |||
+ | |||
+ | We connect the serial port. | ||
+ | |||
+ | |||
+ | |||
+ | {{quimdc_tuto_serial.jpg}} | ||
+ | |||
+ | |||
+ | We connect the motor to the Motor R blue connector. | ||
+ | |||
+ | |||
+ | {{quimdc_tuto_motor.jpg}} | ||
+ | |||
+ | |||
+ | Then we will power the QuimDC with a tension between 12 V to 48 V. | ||
+ | |||
+ | |||
+ | |||
+ | {{quimdc_tuto_power.jpg}} | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== Command Line Interface ===== | ||
+ | |||
+ | In order to communicate with the board, we need a terminal connected to the QuimDC serial port (115200bps, 8 data bits, 1 stop bit, no parity). Once your terminal is open, type " | ||
+ | |||
+ | < | ||
+ | > | ||
+ | |||
+ | > | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | </ | ||
+ | |||
+ | The following line ... | ||
+ | |||
+ | < | ||
+ | D: | ||
+ | </ | ||
+ | |||
+ | ... tells us that we are not in operational mode, the motor is disabled for now. | ||
+ | |||
+ | |||
+ | Enter " | ||
+ | |||
+ | < | ||
+ | > | ||
+ | |||
+ | > | ||
+ | |||
+ | > | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | D: | ||
+ | </ | ||
+ | |||
+ | There is now ' | ||
+ | |||
+ | < | ||
+ | > | ||
+ | </ | ||
+ | |||
+ | The PWM send to the motor is now 128 + 40. To stop the motor use : | ||
+ | |||
+ | |||
+ | < | ||
+ | > | ||
+ | </ | ||
+ | |||
+ | The PWM value is somewhere between 0 and 255, with 128 for motor stop. | ||
+ | |||
+ | ---- |
getting_started.txt · Last modified: 2020/03/02 13:36 by tvandenbussche