Difference between revisions of "AT90CAN128 boards"

From ConceptCar
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
==Board Dimensions==
 
==Board Dimensions==
 +
 +
[[image:StackableBoardLayout.png|thumb|200px|Board Dimensions]]
  
 
All boards featuring an AT90CAN128 microcontroller are supposed to fit into any of the 8 spaces at the CAN bus box. Therefore they share the same dimensions, drill holes for mounting and SUB-D jack position.
 
All boards featuring an AT90CAN128 microcontroller are supposed to fit into any of the 8 spaces at the CAN bus box. Therefore they share the same dimensions, drill holes for mounting and SUB-D jack position.
Line 11: Line 13:
 
Since the boards can be stacked, it is a good idea to place all connectors, switches and LEDs near the borders.  
 
Since the boards can be stacked, it is a good idea to place all connectors, switches and LEDs near the borders.  
  
The following picture illustrates the board layout:
 
 
[[image:StackableBoardLayout.png]]
 
  
 
===Schematic===
 
===Schematic===
Line 32: Line 31:
  
 
==Operational Controls==
 
==Operational Controls==
 +
 +
[[image:Actorboard_boardDesignIllustration.png|thumb|350px|An example of good placement of the operational controls and of their labeling.]]
  
 
These are recommendations on what operational controls to use to supply a uniform look&feel (and in some aspects programming) of the sensor- and actor-boards. The placement is not critical, it just looks better this way ...
 
These are recommendations on what operational controls to use to supply a uniform look&feel (and in some aspects programming) of the sensor- and actor-boards. The placement is not critical, it just looks better this way ...
 +
 
* The CAN bus driver is designed to signal the bus state with 2 LEDs (a green one for ''error active'' state and a red one for ''bus off'' state). Those LEDs are attached to I/O-Pins PA7 (red LED) and PA6 (green LED), over a resistor of 220 Ohms to ground each. The LEDs (package: <tt>CHIP-LED0805</tt>) should be placed as follows:
 
* The CAN bus driver is designed to signal the bus state with 2 LEDs (a green one for ''error active'' state and a red one for ''bus off'' state). Those LEDs are attached to I/O-Pins PA7 (red LED) and PA6 (green LED), over a resistor of 220 Ohms to ground each. The LEDs (package: <tt>CHIP-LED0805</tt>) should be placed as follows:
 
** suggested position for green LED: 1250x200mil, parallel to side
 
** suggested position for green LED: 1250x200mil, parallel to side
Line 41: Line 43:
 
* The ISP and JTAG adapters (both <tt>ML10L</tt>) should be placed at 2450x800mil (JTAG) and 2450x1610mil (ISP). ISP is mandatory, but JTAG can be omitted.
 
* The ISP and JTAG adapters (both <tt>ML10L</tt>) should be placed at 2450x800mil (JTAG) and 2450x1610mil (ISP). ISP is mandatory, but JTAG can be omitted.
 
* If any additional LEDs are required, they should be placed at the lower border, like the CAN LEDs 200mil away from it.
 
* If any additional LEDs are required, they should be placed at the lower border, like the CAN LEDs 200mil away from it.
 +
* Connectors to peripheals or other boards must be low enough to avoid trouble with other boards in the stack. Recommended type is for example <tt>L02P</tt>, <tt>L03P</tt>, <tt>L05P</tt> ...
  
[[image:Actorboard_boardDesignIllustration.png]]
 
 
This image illustrates an example of good placement of the operational controls and of their labeling.
 
  
 
==Implemented Boards==
 
==Implemented Boards==

Latest revision as of 09:05, 17 August 2009

The AT90CAN128 boards are the interface between the sensors and actuators (i.e. the environment) and the ConceptCar's CAN bus. Their main purpose is to do low level tasks, like PWM de- and encoding.

They all have the same dimensions to be interchangeable in place.

Board Dimensions

Board Dimensions

All boards featuring an AT90CAN128 microcontroller are supposed to fit into any of the 8 spaces at the CAN bus box. Therefore they share the same dimensions, drill holes for mounting and SUB-D jack position.

This dimensions are precisely the same used for the SensorBoards in the old Hardware Revision 1.0, all Revisions >= 1.2 must comply with these dimensions.

Since the boards can be stacked, it is a good idea to place all connectors, switches and LEDs near the borders.


Schematic

First apply this in the schematic:

  • Add the 4 drill holes as parts MOUNT-HOLE3.0
  • The SUB-D CAN connector must be of type F09H


Board

To get a proper board, follow these steps in eagle (when starting from scratch):

  1. Set the grid to 1mm
  2. Move the edges of the dimension polygon so that it's a square of 73mm x 73mm, with its origin being in the bottom left edge.
  3. Move the drill holes to the positions 4mm apart from each edge
  4. Rotate the SUB-D CAN connector to face upwards and move it to position 37.506mm/60.88mm. MOVE CAN_BUS (37.506mm 60.88mm) would do this.


Operational Controls

An example of good placement of the operational controls and of their labeling.

These are recommendations on what operational controls to use to supply a uniform look&feel (and in some aspects programming) of the sensor- and actor-boards. The placement is not critical, it just looks better this way ...

  • The CAN bus driver is designed to signal the bus state with 2 LEDs (a green one for error active state and a red one for bus off state). Those LEDs are attached to I/O-Pins PA7 (red LED) and PA6 (green LED), over a resistor of 220 Ohms to ground each. The LEDs (package: CHIP-LED0805) should be placed as follows:
    • suggested position for green LED: 1250x200mil, parallel to side
    • suggested position for red LED: 1075x200mil, parallel to side
  • A green power on LED (CHIP-LED0805) that is directly attached to the power supply is recommended. It should be placed at 850x200mil, parallel to side (next to the CAN LEDs), with a resistor of 220 Ohms.
  • The reset switch (10-XX) should be placed near the boarder at 550x275mil.
  • The ISP and JTAG adapters (both ML10L) should be placed at 2450x800mil (JTAG) and 2450x1610mil (ISP). ISP is mandatory, but JTAG can be omitted.
  • If any additional LEDs are required, they should be placed at the lower border, like the CAN LEDs 200mil away from it.
  • Connectors to peripheals or other boards must be low enough to avoid trouble with other boards in the stack. Recommended type is for example L02P, L03P, L05P ...


Implemented Boards

This section refers to the most current board revision, 1.2.