Hardware:BUGduino Module
From BUGwiki
Contents |
Overview
The BUGduino was designed and built to make the development of custom hardware for your bug as painless as possible! It's an open ended platform upon which you can build whatever you want, using the common Arduino tools and Shields that many people are accustom to. The BUGduino makes it eaisier to innovate, leverage existing modules and code into a new project, by using Arduino Shields from inventors across the world to interact with your own Bug based projects and applications.
Product Specifications
- Arduino compatible, based on Seeeduino
- BUG connector
- USB to Uart: FT232RL
- ATmega328 microcontroller
- Input voltage - 7-12V
- 14 Digital I/O Pins (6 PWM outputs)
- 8 Analog Inputs
- 32k Flash Memory
- 16Mhz Clock Speed
| Microprocessor | Atmega328 |
|---|---|
| PCB size | 60.2cm x 60.2cm |
| Indicators | POWER,Green LED. LEDs for Txd, Rxd, Rst |
| Power supply | 5V DC |
| Interface | Mini-B USB, 2.54mm pitch pin header |
| Connectivity | USB |
| Communication Protocol | UART, Bit Bang I/O, SPI, I2C |
| ROHS | YES |
Hardware Documentation
Software Documentation
For details on how to program the BUGduino quickly and easily, see Programming the BUGduino.
TODO: Insert Diagram Here.
Drivers
All Bug Drivers can be found in the BugLabs Github repo.
The Bugduino module is kernel module (bmi_bugduino) and includes a terminal (aka TTY or Serial) connection directly to the module, which is accessible via /dev/ttyBMI<X> where <X> is the slot the bugduino is plugged into. The bugduino module also generates a device node at /dev/bmi_bugduino<X> for direct IO control of the bug device.
The key ioctl commands for the bugduino are:
- BMI_BUGDUINO_RESET - reset the Bugdunio module using this.
- BMI_BUGDUINO_IOX_CTRL, BMI_BUGDUINO_IOX_WRITE, BMI_BUGDUINO_IOX_READ - direct control of the i2c IO Expander
- BMI_BUGDUINO_I2C_WRITE, BMI_BUGDUINO_I2C_READ - send direct i2c commands to devices on the BUGduino
- BMI_BUGDUINO_SPI_XFER - send SPI commands to devices on the BUGduino base
OSGi Services
The initial release of the BUGdunio module does not include OSGi services. Please contact us via the Fourms if you would like us to add that feature.
Web Services
The initial release of the Bugduino does not export or run any Web services. Please leave a message in the Forums if you want a Web Service for bugduino interaction.