This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:hardware:homelab:digi [2010/03/29 21:45] – Helen | en:hardware:homelab:digi [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | digital i/o module is designed for simple tasks and basic process control. Module has three push-buttons and three LEDs, which can be used as digital inputs and outputs of microcontroller. Additionally to simple LEDs the module | + | Please select |
| - | Module features: | + | ---- |
| - | * Green, yellow and red LED; | + | Version III 1.0 |
| - | * Three push-button; | + | |
| - | * 7-segment indicator; | + | |
| - | * Alphanumeric LCD connector; | + | |
| - | * Graphical LCD connector; | + | |
| - | * Ultrasonic distance sensor connector. | + | |
| - | {{:examples:digi:digital_io_board.jpg?350|}} | + | [[en: |
| - | ===== electrical connections ===== | ||
| - | [{{ : | + | ---- |
| + | Version 5.3 | ||
| - | Digital i/o module is connected with Controller module by one ribbon cable to port PA/PC/PG, which includes the 8-pin ports PA and PC and 3-pin port PG. The module is also powered by the same cable. If the module is connected correctly the on-board SMD LED //+5V_OK// has to light up. In other case the cable is probably wrongly connected. | + | [[en: |
| - | Digital i/o module is equipped with three buttons S1, S2, S3 which are connected to ports PC0, PC1, PC2 accordingly. The other end of buttons are connected through the resistors to ground (logical 0). LED1, LED2 and LED3 on the module are connected to the ports PC3, PC4, PC5 accordingly. The anodes of LEDs are connected to the supply (logical 1). | ||
| - | [{{ : | + | ---- |
| + | Version 5.0 | ||
| - | ~~CL~~ | + | [[en: |
| - | Digital i/o board is equipped with 7-segment indicator, which is connected with micro controller ports through the driver A6275. Driver data bus (S-IN) is connected to pin PC6, clock signal (CLK) to the pin PC7 and latch signal (LATCH) to pin PG2. | + | ---- |
| - | [{{ : | + | Version 3 |
| - | ~~CL~~ | + | [[en: |
| - | The module has two different connectors for port PA. The port is connected concurrently to separate pinout groups where one of them is connected through the voltage converter enabling to use 3.3 V devices (like graphical LCD). another port PA pinout is connected directly to microcontroller port (5 V level) and is aligned according to standard 2 x 16 alphanumeric LCD. Two unused ports - PG0 and PG1 are grouped on the board together with ground and supply (starting from module version 3.3). Different devices can be connected to this connector, for example ultrasonic distance sensor. However while connecting the ultrasonic sensor great care has to be paid in connecting power supply plug correctly. In case of mixing up the ground and supply the sensor will be permanently damaged. | + | ---- |
| - | For ultrasonic sensor, connect the black wire with ground (marked as GND on the board) and red wire with supply. Signal wires have to be connected with PG0 and PG1 ports. | + | |
| - | [{{ : | ||
| - | ===== Connecting the module ===== | ||
| - | |||
| - | While connecting the module it is suggested to follow the order as described below. Before connecting any cable make sure that the power is removed from Controller board. | ||
| - | |||
| - | - Connect the Digital i/o module with Controller module by using the ribbon cable. | ||
| - | - If needed connect the JTAG programmer with Controller module. | ||
| - | - Connect the power supply with Controller module. | ||
| - | |||
| - | [{{: | ||