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/04/05 09:54] – removed mikk.leini | en:hardware:avr-can:controller [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Figure 1.1: Parts | ||
+ | |||
+ | To solder the parts onto the board in the most efficient manner, parts with smaller | ||
+ | height should be added first. Use the part list for reference. The first parts to be | ||
+ | soldered on to the board are the resistors and diodes. | ||
+ | |||
+ | {{: | ||
+ | {{ : | ||
+ | |||
+ | Figure 1.2: Step 1+2 | ||
+ | |||
+ | 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. |