This is an old revision of the document!
Combo board is designed to connect external devices to the Robotic Homelab Kit. External devices are conditionally divided into three groups: sensors, motors and communication interfaces. Each group of devices has its own set of connectors, which are separated from each other. For example, connectors for sensors are located in the right part of the module, motors plugs are located on the left and communication interface plugs on top of the module.The plugs for sensors and communication interfaces are connected directly to the controller’s corresponding signal pins, but the connectors of motors are connected to the controller’s pins through the drivers. This allows Combo module to drive more powerful motors which are not drivable to the direct microcontroller pins.
Combo board is able to drive following motors:
Connect following sensors:
Use the following communication interfaces:
The default is installed Bluetooth BTBee Pro wireless communication module.
The Combo module plugs are divided into three major groups. The connectors for sensors are located in the right side of the module, motors plugs are located on the left side and communication interface plugs in the top right of the module. The motor connectors are divided into three groups: DC motor, servo motor, and stepper motor. DC and stepper motor feeds come from the Controller module power cord, servo motors feed comes through 5V voltage regulator also from Controller module power cord. Servo motor connector is also multifunctional, which can optionally be connected to the encoder input, which is often used in conjunction with DC motor. Each connector pin is connected to the specific port, supply or ground on the Controller module. The following diagrams illustrate the position of a specific group of pins, connectors and connections with Controller module.
The group of sensors
The Combo module has 11 ADC input for an analog sensors. The sensor inputs are moved into the left part of the sensors connector, where each sensor has a separate GND, +3.3 V power supply and signal pin. GND connection is lowest.
Combo board has 8 digital pins where to connect digital sensors. The digital inputs are moved into the right part of the sensors connector
In addition, it is possible to measure the supply voltage of the Combo module. In this case a jumber could be added to Vbat. ADC0 pin is then connected to a voltage divider. This option can be useful for robots to monitor the battery voltage while driving.
| Resistor | Value |
|---|---|
| Higher | 6.8k |
| Lower | 1k |
Coder shares pins of the Servo output to be able to use four servo motors, or obtain feedback from four coders, or share the connector halves. The encoder is connected to Servo - Encoder connector.
| AVR pin | Signal |
|---|---|
| PC4(INT0C) | Coder |
| PC5(INT1C) | Coder |
| PD0(INT0D) | Coder |
| PD1(INT1D) | Coder |
DC motors is connected to the DC group of pins. Every pair of pins can control 1 dc motor, thus it's possible to manipulate 4 dc motors. Combo board uses DRV8801 H-bridge to control dc motors. It's possible to manipulate some other device, what can be controlled digitally and it's current is smaller than 1,5 A and voltage does not exceed 16 V, beside dc motor with DC pins (Piezoelectric generator, relay etc).
| AVR pin | Signal | AVR\ pin | Sigaal |
|---|---|---|---|
| PC0(OCC0A) | Motor\ 1A | PJ4 | Motor\ 1B |
| PC1(OCC0B) | Motor 2A | PJ5 | Motor 2B |
| PC2(OCC0C) | Motor 3A | PJ6 | Motor 3B |
| PC3(OCC0D) | Motor 4A | PJ7 | Motor 4B |
Samm-mootorid jagatakse üldjuhul kaheks: unipolaarsed- ja bipolaarsed samm-mootorid. Unipolaarse samm-mootori saab ühendada viikude gruppi Unipolar Stepper, kus toitekaabel peab olema ühendatud Vbat viiku. Ülejäänud 4 viiku on samm-mootori mähiste juhtviigud. Bipolaarset samm-mootorit saab juhtida alalisvoolumootori viikudega, kus ühe bipolaar samm-mootori jaoks on vaja kahe alalisvoolumootori juhtviike.
| AVR viik | Signaal |
|---|---|
| PJ0 | Mähis 1A |
| PJ1 | Mähis 2A |
| PJ2 | Mähis 1B |
| PJ3 | Mähis 2B |
Servomootorid ühendatakse Servo - Encoder viikudesse. Maa kaabel (tavaliselt must või pruun) ühendatakse GND viiguga (alumine viik). Korraga on võimalik kasutada nelja servomootorit. Signaali viigud on ühendatud otse mikrokontrolleri taimeri väljunditega.
| AVR viik | Signaal |
|---|---|
| PC4(OCC1A) | PWM |
| PC5(OCC1B) | PWM |
| PD0(OCD0A) | PWM |
| PD1(OCD0B) | PWM |
Kombomooduliga on võimalik ühendada väliseid UART või SPI seadmeid.
Kombomoodulile on võimalik paigaldada üks järgnevatest moodulitest:
Kõik loetletud moodulid suhtlevad mikrokontrolleriga üle UART liidese. Vaikimisi on Kombomoodulile paigaldatud bluetooth moodul BluetoothBee Pro.
Kombomoodulil on ühendused juhtmevaba mooduli 4 sisend-väljundviigu jaoks, lisaks on XBee DIO4 viiguga ühendatud test LED ning XBee viiku AD5 on ühendatud pingejagur toitepinge mõõtmiseks üle XBee raadiovõrgu.
BluetoothBee Pro module
| Juhtmevaba mooduli viik | Signaal | Pesa |
|---|---|---|
| 20(MODE) | MODE | XBEEADC0 |
| 19(STATUS) | STATUS | XBEEADC1 |
| 17(A_RST) | XADC3 | XBEEADC3 |
XBee module
| Juhtmevaba mooduli viik | Signaal | Pesa |
|---|---|---|
| 20(AD0/DIO0) | XADC0 | XBEEADC0 |
| 19(AD1/DIO1) | XADC1 | XBEEADC1 |
| 18(AD2/DIO2) | XADC2 | XBEEADC2 |
| 17(AD3/DIO3) | XADC3 | XBEEADC3 |
| 11(RF_TX/AD4/DIO4) | DIO4 | test LED (kollane) |
| 15(ASSOC/AD5/DIO5) | PWR | Ühendatud roboti toitega |
| 16(RTS/AD6/DIO6) | RST | Reset viik Kontrollermoodulil |