This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:hardware:avr-can:controller [2010/02/12 12:17] – created raivo.sell | en:hardware:avr-can:controller [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | FIXME! Replace correct data according | + | ==== 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** | + | {{ : |
- | * AVR | + | |
- | * 8-bit | + | |
- | * 128 KB flash, 32 KB SRAM | + | |
- | * CAN 2.0 controller | + | |
- | * USB 2.0 device controller | + | |
- | **Ports** | + | Figure |
- | * 4 x ADC input (0-3 V measuring range) | + | |
- | * 4 x PWM output (drives up to 600 mA load) | + | |
- | * 2 x CAN connector on 1 bus (10 pin header) | + | |
- | * 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 and +5 V | + | |
- | **On-board features** | + | To solder the parts onto the board in the most efficient manner, parts with smaller |
- | * 1 x Power LED indicator | + | height should be added first. Use the part list for reference. The first parts to be |
- | * 1 x 350 mW RGB LED | + | soldered on to the board are the resistors and diodes. |
- | * 1 x Push-button | + | |
- | **Electrical** | + | {{: |
- | | + | {{ : |
- | * Powered from CAN bus, DC jack or USB device port | + | |
- | * Reverse voltage and overcurrent (3 A) protection | + | |
- | **Physical** | + | Figure 1.2: Step 1+2 |
- | * Dimensions 60 x 50 x 12 mm | + | |
- | * Weight ~50g | + | |
- | * Optional housing (increases height) | + | |
+ | After that, solder the oscillators (Q1, Q2), small capacitors (C1-C4) and the IC | ||
+ | sockets onto the board. | ||
+ | socket’s notched ends have to match with the labels on the PCB. Buttons (KEY1, | ||
+ | KEY2, KEY3, RESET) and LED (LED1, LED2, LED3, PWR-LED) are the next | ||
+ | parts to be added subsequently. | ||
+ | |||
+ | {{: | ||
+ | {{ : | ||
+ | |||
+ | Figure 1.3: Step 3 + 4 | ||
+ | |||
+ | Solder pin headers, electrolytic capacitor (C5), DC jack and USB jack onto the | ||
+ | board. | ||
+ | |||
+ | {{: | ||
+ | {{ : | ||
+ | |||
+ | 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. |