Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:hardware:avr-can:controller [2010/03/13 19:39] mikk.leinien:hardware:avr-can:controller [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Controller ====== ====== Controller ======
  
-[{{  :images:hardware:arm-can:main_board_1.jpg?250|Board front view}}] +==== Soldering Parts to the PCB ====
-[{{  :images:hardware:arm-can:main_board_2.jpg?250|Board back view}}] +
-[{{  :images:hardware:arm-can:main_board_ports.png?250|Overview}}]+
  
 +Use the parts list (see appendix) to check if you have all the necessary parts to
 +build the Autostudy CAN board.  Alternatively, the following picture gives an
 +overview of all the needed parts:
  
 +{{  :en:hardware:arm-can:can-v4_parts_1.jpg?500  |Figure 1.1: 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 on to the board are the resistors and diodes.
-  * 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** +{{:en:hardware:arm-can:can-v4_1.jpg?250|Figure 1.2: Step 1}} 
-  * x Power LED indicator +{{  :en:hardware:arm-can:can-v4_2.jpg?250|Figure 1.2: Step 2}}
-  * x 350 mW RGB LED +
-  x Push-button+
  
-**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 
-  * Dimensions 60 x 50 x 12 mm +sockets onto the board.  When soldering the IC sockets, the location of the IC 
-  * Weight ~18g +socket’s notched ends have to match with the labels on the PCB. Buttons (KEY1, 
-  * Optional housing (increases height)+KEY2, KEY3, RESET) and LED (LED1, LED2, LED3, PWR-LEDare the next 
 +parts to be added subsequently.
  
 +{{:en:hardware:arm-can:can-v4_3.jpg?250|Figure 1.3: Step 3}}
 +{{  :en:hardware:arm-can:can-v4_4.jpg?250|Figure 1.3: Step 4}}
  
 +Figure 1.3: Step 3 + 4
  
-===== Connecting modules =====+Solder pin headers, electrolytic capacitor (C5), DC jack and USB jack onto the 
 +board.
  
-  Connect modules over the CAN bus with ribbon-cable +{{:en:hardware:arm-can:can-v4_5.jpg?250|Figure 1.4: Step 5}} 
-  - Connect peripheral devices with boards (servo motor, sensor, user interface, ...+{{  :en:hardware:arm-can:can-v4_6.jpg?250|Figure 1.4: Step 6}}
-  - Connect USB cable with PC and programmable CAN board +
-  - Connect power supply (only with one board) +
-{{:images:hardware:arm-can::arm-can_connection.jpg?500|}}+
  
 +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).  Jumpers
 +JP1, JP2, TERM are to be placed on the pin headers (2x1).  Please note that the
 +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.
  
 +{{  :en:hardware:arm-can:can-v4_7.jpg?250  |Figure 1.5: Step 7}}
  
 +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/DC-adaptor (2) from the PC over USB (3) over the CAN Bus
 +from another CAN board that is being powered by one of the above mentioned
 +means. The USB cable and the AC/DC-adaptor should not be plugged in simul-
 +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 (!)
 +
 +{{  :en:hardware:arm-can:aufbau1.jpg?500  |Figure 1.6: Structure}}
 +
 +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/DC-adaptor to the board’s DC jack. If the red PWR-
 +LED doesn’t work, unplug the AC/DC-adaptor and check the orientation of the
 +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/DC-adaptor and use the USB cable to connect the board to the PC. The red
 +PWR-LED indicates that the device is functioning.
en/hardware/avr-can/controller.1268509141.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0