This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:hardware:avr-can:controller [2010/03/13 19:39] – mikk.leini | en:hardware:avr-can:controller [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Controller ====== | ====== Controller ====== | ||
- | [{{ : | + | ==== Soldering Parts to the PCB ==== |
- | [{{ : | + | |
- | [{{ : | + | |
+ | Use the parts list (see appendix) to check if you have all the necessary parts to | ||
+ | build the Autostudy CAN board. | ||
+ | overview of all the needed parts: | ||
+ | {{ : | ||
- | **MCU** | + | Figure 1.1: Parts |
- | * Texas Instruments (former Luminary Micro) LM3S5632 | + | |
- | * 32-bit 50Mhz ARM Cortex-M3 | + | |
- | * 128 KB flash, 32 KB SRAM | + | |
- | * CAN 2.0 controller | + | |
- | * USB 2.0 host/device controller | + | |
- | **Ports** | + | To solder the parts onto the board in the most efficient manner, parts with smaller |
- | * 4 x ADC input (0-3 V measuring range) | + | height should be added first. Use the part list for reference. The first parts to be |
- | * 4 x PWM output (drives up to 600 mA load) | + | soldered |
- | * 2 x CAN connector | + | |
- | * 1 x SPI | + | |
- | * 1 x I2C | + | |
- | * 1 x UART | + | |
- | * 1 x JTAG (20 pin header) | + | |
- | * 1 x USB device / host (Micro-AB) | + | |
- | + | ||
- | Every pin has IO functionality (except PWM) | + | |
- | ADC and PWM have 3 pin headers with ground | + | |
- | **On-board features** | + | {{: |
- | * 1 x Power LED indicator | + | {{ : |
- | * 1 x 350 mW RGB LED | + | |
- | | + | |
- | **Electrical** | + | Figure 1.2: Step 1+2 |
- | * Supply voltage 5 ± 0.25 V | + | |
- | * Powered from CAN bus, DC jack or USB device port | + | |
- | * Reverse voltage and overcurrent (3 A) protection | + | |
- | **Physical** | + | After that, solder the oscillators (Q1, Q2), small capacitors (C1-C4) and the IC |
- | | + | sockets onto the board. |
- | * Weight ~18g | + | socket’s notched ends have to match with the labels on the PCB. Buttons (KEY1, |
- | * Optional housing | + | KEY2, KEY3, RESET) and LED (LED1, LED2, LED3, PWR-LED) are the next |
+ | parts to be added subsequently. | ||
+ | {{: | ||
+ | {{ : | ||
+ | Figure 1.3: Step 3 + 4 | ||
- | ===== Connecting modules ===== | + | Solder pin headers, electrolytic capacitor (C5), DC jack and USB jack onto the |
+ | board. | ||
- | | + | {{: |
- | - Connect peripheral devices with boards (servo motor, sensor, user interface, ...) | + | {{ :en: |
- | - Connect USB cable with PC and programmable CAN board | + | |
- | - Connect power supply (only with one board) | + | |
- | {{:images: | + | |
+ | Figure 1.4: Step 5 + 6 | ||
+ | In the last step, put the 4 IC (voltage regulator, Atmega32, CAN controller, CAN | ||
+ | transceiver) into their corresponding sockets. The orientation of the IC has to | ||
+ | match the orientation of the IC sockets (see the IC’s notched ends). | ||
+ | JP1, JP2, TERM are to be placed on the pin headers (2x1). | ||
+ | jumpers TERM and JP1 will not be used until later. Therefore, they must not (!) | ||
+ | connect the two pins of their pin headers (see below). The soldering process is | ||
+ | now complete and the board should be tested. | ||
+ | {{ : | ||
+ | Figure 1.5: Step 7 | ||
+ | |||
+ | ==== Testing the Board ==== | ||
+ | |||
+ | Warning: The device can be powered by 3 different means: (1) through the use | ||
+ | of the provided AC/ | ||
+ | from another CAN board that is being powered by one of the above mentioned | ||
+ | means. The USB cable and the AC/ | ||
+ | taneously (!). If 2 boards are connected via CAN, jumper JP1 can be used to | ||
+ | power one board while the other board is powered by either (1) or (2). In this | ||
+ | case, don not connect the secondary board to any other power source (!) | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Figure 1.6: Structure | ||
+ | |||
+ | Example of three CAN-boards connected with ribbon cables, one powered by | ||
+ | USB and the other two boards indirectly powered via CAN Connect the provided AC/ | ||
+ | LED doesn’t work, unplug the AC/ | ||
+ | voltage regulator IC first. If the IC is positioned correctly, plug the adaptor back | ||
+ | in and use a multimeter to confirm the correct voltage output of 5V between the | ||
+ | voltage regulator’s ouput pins 1 and 4 (FB and GND, respectively). Unplug the | ||
+ | AC/ | ||
+ | PWR-LED indicates that the device is functioning. |