This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:hardware:arm-can:controller [2010/05/26 17:01] – mikk.leini | en:hardware:arm-can:controller [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Controller ====== | ====== Controller ====== | ||
| + | [{{ : | ||
| + | /* | ||
| [{{ : | [{{ : | ||
| [{{ : | [{{ : | ||
| + | */ | ||
| + | |||
| + | ===== Features ===== | ||
| **MCU** | **MCU** | ||
| Line 21: | Line 26: | ||
| * 1 x USB device / host (Micro-AB) | * 1 x USB device / host (Micro-AB) | ||
| | | ||
| - | Every pin has IO functionality (except PWM) | + | Every pin has I/O functionality (except PWM) |
| ADC and PWM have 3 pin headers with ground and +5 V | ADC and PWM have 3 pin headers with ground and +5 V | ||
| **On-board features** | **On-board features** | ||
| - | * 1 x Power LED indicator | ||
| * 1 x 350 mW RGB LED | * 1 x 350 mW RGB LED | ||
| * 1 x Push-button | * 1 x Push-button | ||
| - | * ZigBee expansion board | + | * ZigBee expansion board (optional) |
| **Electrical** | **Electrical** | ||
| - | * Supply voltage 5 ± 0.25 V | + | * Supply voltage 5 ± 0,25 V |
| * Powered from CAN bus, DC jack or USB device port | * Powered from CAN bus, DC jack or USB device port | ||
| - | * Reverse voltage and overcurrent (3 A) protection | + | |
| + | | ||
| **Physical** | **Physical** | ||
| - | * Dimensions | + | * Dimensions |
| * Weight ~18 g | * Weight ~18 g | ||
| * Optional housing (increases height) | * Optional housing (increases height) | ||
| Line 44: | Line 49: | ||
| ===== Connectors ===== | ===== Connectors ===== | ||
| - | {{: | + | [{{ : |
| + | |||
| + | The following chapters describe each of the connectors on ARM-CAN Controller module. To recognize the connectors the Controller has to be held as shown on the picture. | ||
| ~~CL~~ | ~~CL~~ | ||
| - | {{: | + | |
| - | {{ : | + | ==== PWM ==== |
| + | |||
| + | [{{ : | ||
| + | [{{ : | ||
| + | |||
| + | PWM1/2 connector has standard RC-servo compatible pinout. In both connectors there are two vertically placed RC-servo pinouts (signal, supply, ground) therefore up to 4 RC-servos can be driven. Controller board supplies up to 2 A total (not counting other consumers) from PWM supply pins. PWM1/2 connector can also be used to drive DC motor which should be connected between leftmost PWM signal pins. Those signals are driven by 5V 600 mA MOSFET half-bridges and can form a full H-bridge. Because of transistors PWM signals can only be used as output. | ||
| ~~CL~~ | ~~CL~~ | ||
| - | {{: | + | |
| - | {{ : | + | ==== ADC==== |
| + | |||
| + | [{{ : | ||
| + | [{{ : | ||
| + | |||
| + | Both ADC1 and ADC2 connectors have two RC-servo like pinouts. There are ground, supply and input-output pins. It is easy to connect simple sensors like potentiometer, | ||
| ~~CL~~ | ~~CL~~ | ||
| - | {{: | ||
| - | {{: | ||
| - | ===== Connecting modules ===== | + | ==== COMM==== |
| - | - Connect modules over the CAN bus with ribbon-cable | + | [{{: |
| - | - Connect peripheral devices with boards (servo motor, sensor, user interface, ...) | + | |
| - | - Connect USB cable with PC and programmable CAN board | + | |
| - | - Connect power supply (only with one board) | + | |
| - | {{: | + | |
| + | COMM connector is a combination of UART, SPI and I2C interfaces. Beside the +5 V supply it contains +3.3 V supply which supplies up to 700 mA. COMM connector is intended to connect with ARM-CAN User Interface and that is why it also features 2 ADC and 1 PWM pins, which are used by the joystick and speaker. | ||
| + | |||
| + | ==== JTAG ==== | ||
| + | |||
| + | [{{: | ||
| + | |||
| + | ARM-CAN Controller board has a standard 20-pin JTAG connector with essential pins for programming and debugging. Although the kit contains ARM-CAN programmer, other standard ARM debuggers can be used. | ||
| + | |||
| + | ==== CAN ==== | ||
| + | |||
| + | [{{ : | ||
| + | |||
| + | ARM-CAN Controller board contains two identical CAN 10-pin header connectors. Both of the connectors are on the same bus, therefore CAN network can be formed by daisy-chaining several Controllers. There is no CAN signal terminator on the Controller board so external terminators should be used. | ||
| + | |||
| + | Microcontroller CAN RX and TX pins which connect to the on-board CAN translator are marked with orange color on the image. | ||
| + | |||
| + | ~~CL~~ | ||
| + | |||
| + | ==== USB ==== | ||
| + | |||
| + | [{{: | ||
| + | |||
| + | ~~CL~~ | ||
| + | |||
| + | The controller board incorporates the USB micro-AB connector on the right side. Although micro-AB is intended for OTG applications the same connector can be used for device-only and host-only applications. USB inteface has ESD protection on bus and 750 mA fuse on supply line. USB power supply is bi-directional. When the controller acts as a USB device, current from the USB bus to controller board flows through a Schottky diode, when the controller is used as a host, external power switch to USB bus can be opened with USB_EPEN high signal. | ||
| + | |||
| + | ~~CL~~ | ||
| + | |||
| + | ==== RGB LED ==== | ||
| + | |||
| + | [{{ : | ||
| + | |||
| + | In the middle of the controller board there is a 350 mW RGB LED. Each of the three colors are driven by separate signal. Green LED has a pull-up resistor which lights up green led by default. It can be turned off when microcontroller pin is configured as output with low signal. | ||
| + | |||
| + | ~~CL~~ | ||
| + | |||
| + | ==== Buttons ==== | ||
| + | |||
| + | [{{ : | ||
| + | |||
| + | There are two buttons on board. The left one resets microcontroller when pressed; the right one is used as a custom button for user application. The button has an RC filter which filters button bounces. | ||
| + | |||
| + | ~~CL~~ | ||
| + | /* | ||
| + | ===== Schematics ===== | ||
| + | * {{: | ||
| + | */ | ||