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
Lisaks on võimalik Kombomooduli toitepinget mõõta. Selleks tuleb sillata Kombomoodulil asuv sildühendus (inglise keeles jumper) VBat. ADC0 viik on sellisel juhul ühendatud plaadil oleva pingejaguriga. Seda võimalust võib näiteks kasutada roboti akupinge monitoorimiseks sõidu ajal.
| Takisti | Väärtus |
|---|---|
| Ülemine | 6.8k |
| Alumine | 1k |
Kooder jagab viike Servo väljundiga, et oleks võimalik kasutada, kas nelja servomootorit või saada tagasisidet neljalt koodrilt või jagada pistik pooleks. Kooder ühendatakse Servo - Encoder pistikusse.
| AVR viik | Signaal |
|---|---|
| PC4(INT0C) | Kooder |
| PC5(INT1C) | Kooder |
| PD0(INT0D) | Kooder |
| PD1(INT1D) | Kooder |
Alalisvoolumootorid ühendatakse DC viikude gruppi. Iga paar suudab hakkama saada ühe mootoriga - kokku 4 alalisvoolumootorit. Mootorite juhtimiseks kasutatakse DRV8801 H-silda. Mootoreid on võimalik asendada ka mõne muu seadmega, mida on võimalik digitaalselt juhtida ning mille poolt tarbitav vool ei ületa 1,5 A ja pinge 16 V (piesogeneraator, relee vms).
| AVR viik | Signaal | AVR\ viik | Signaal |
|---|---|---|---|
| PC0(OCC0A) | Mootor\ 1A | PJ4 | Mootor\ 1B |
| PC1(OCC0B) | Mootor 2A | PJ5 | Mootor 2B |
| PC2(OCC0C) | Mootor 3A | PJ6 | Mootor 3B |
| PC3(OCC0D) | Mootor 4A | PJ7 | Mootor 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 |