S200 Master - Duino Pro v1.0
This document shows the documentation for the Rhomb.io S200 Master - Duino Pro v1.1 (PR). Preliminary version, use only for data updating or corrections.
The S200 Master - Duino Pro is a certified Rhomb.io Module that contains the ATmega328P microcontroller, the IC in which the popular Arduino/Genuino Uno/Pro board is based. This IC is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture.
The module allows to program the microcontroller by using the Arduino IDE as it were a genuine Arduino/Genuino Uno/Pro board. This gives to the user the capability to export easily a project originally made for the Arduino platform and transform it in a modular, tiny, and powerful professional product.
The next figure shows a 3D view for the S200 Master - Duino Pro.
- Industrial automation
The S200 Master - Duino Pro mounts the ATmega328P integrated circuit, a high performance, low power Atmel AVR 8-bit microcontroller. The Module provides 32 KB of in-system programmable flash with read-while-write capabilities, 1 KB of EEPROM and 2 KB of SRAM.
To get the most out of the Module and be able to use the largest number of S200 signals, the S200 Master - Duino Pro includes the following integrated circuits:
- An UART switch allows you to choose the serial interface between UART-A and UART-B from the Rhomb.io connectors. The switching is done by activating the "IOEX_0/UART_SW" signal (from the IO-Expander). You can bypass this analag switch by soldering R8 and R9 resistors. In this case, the communication will be made through UART-A interface (be careful with possible collisions). UART-B and UART-D are connected in this module with R24 and R25 resistors.
- An analog switch allows you to choose between reading the analog signals from the Rhomb.io connectors or having access to the 1WIRE bus and various interruptions like "#NMI", "INT0" and "IOEX_INT" signals. The switching is done by activating the "7/ANSW_CTRL" signal.
- An IO-Expander allows you to use up to 16 more GPIO. The control is done through the I2C-A interface. You can reset this IC by "8/RST_OUT" signal or by "#RESET_IN" signal.
A dual, two input AND gate send an interruption to the microcontroller if "#NMI", "INT0" or "IOEX_INT" goes low.
The S200 Master - Duino Pro mounts an USB to UART bridge to facilitate the connection to a computer and to easily program and debug the module. It is ready to use with the Arduino IDE. That is possible because a bootloader has been installed on the ATmega328P. Then, the user only has to plug the S200 Master - Duino Pro module on the Rhomb.io Master Socket that will be found on the Rhomb.io Class 2 PCB and connect the USB to a computer.
The following figure identifies the main components onboard:
The next figure shows the block diagram for the S200 Master - Duino Pro:
As a summary, the following table indicates the main features:
|S200 Master - Duino Pro features|
|Operating voltage||1.8V, 2.8V and 3.3V|
|Interfaces||I2C, SPI (QSPI, SDIO), UART, USB|
|GPIO||16 (2 PWM)|
The following table indicates the available serial interfaces of the Rhomb.io standard used in this Module. This table relates the interfaces of the Rhomb.io standard with the net names of the schematic and with the components to which they are connected.
|Rhomb.io Interface||Schematic Signal||Component||Component Pin||Arduino IDE||Comments|
|I2C-A||I2C-A_SCL||ATmega328P (U1)||PC5 (ADC5/SCL/PCINT13)||A5||-|
|Crypto Memory (U7)||SCL|
|I2C-A_SDA||ATmega328P (U1)||PC4 (ADC4/SDA/PCINT12)||A4|
|Crypto Memory (U7)||SDA|
|SPI-A||SPI-A_MISO||ATmega328P (U1)||PB4 (PCINT4/MISO)||12||-|
|UART-A||UART-A_RXD||ATmega328P (U1)||PD0 (RXD/PCINT16)||0||UART Switch = LOW|
|USB to UART (U6)||TXD|
|UART-A_TXD||ATmega328P (U1)||PD1 (TXD/PCINT17)||1|
|USB to UART (U6)||RXD|
|UART-B||UART-B_RXD||ATmega328P (U1)||PD0 (RXD/PCINT16)||0||UART Switch = HIGH|
|USB||USB_P||USB to UART (U6)||USBDP||-||-|
- I2C-A: To make the module retrocompatible with old Rhomb.io standards, I2C-A is connected to I2C-B through 27R resistors. Be careful with possible collisions.
- UART-A: In addition to UART-B, is the serial interface of the microcontroller. You can select one or the other usisng the UART switch. This interface can also be translate to USB interface thanks to the USB to UART converter, so you can easily manage the S200 Master - Duino Pro by connecting it directly to your computer. To make the module retrocompatible with old Rhomb.io standards, UART-A is connected to UART-C through 27R resistors. Be careful with possible collisions.
- UART-B: In addition to UART-A, is the serial interface of the microcontroller. You can select one or the other usisng the UART switch. This interface is not connected to USB to UART converter. To make the module retrocompatible with old Rhomb.io standards, UART-B is connected to UART-D through 27R resistors. Be careful with possible collisions.
- USB: Connected to an USB to UART bridge to facilitate the connection to a computer.
- SPI-A: To make the module retrocompatible with old Rhomb.io standards, SPI-A is connected to SPI-B through 27R resistors. Be careful with possible collisions.
- QSPI: This module doesn't have a real QSPI interface, but it is connected to SPI-A signals. QSPI chip select line is connected to "IOEX_14" from the IO-Expander.
- SDIO: This module doesn't have a real SDIO interface, but it is connected to SPI-A signals. SDIO chip select line is connected to "IOEX_15" from the IO-Expander.
Connections between SPI and QSPI/SDIO interfaces.
GPIOs and Control Signals
The following table summarizes the GPIOs and Control Signals used on the S200 Master - Duino Pro. This table relates the signals of the Rhomb.io standard with the net names of the schematic and with the components to which they are connected.
|Rhomb.io Signal||Schematic Signal||Component||Component Pin||Arduino IDE||Comments|
|#NMI||#NMI||Analog Switch (U3)||1Y0||A0||Analog_SW = LOW|
|ATmega328P (U1)||PD2 (INT0/PCINT18)||2||Only input|
|#RESET_IN||#RESET_IN||ATmega328P (U1)||PC6 (#RESET/PCINT14)||-||-|
|USB to UART (U6)||DTR#|
|1WIRE||1WIRE||Analog Switch (U3)||4Y0||A3||Analog_SW = LOW|
|ID Memory (U8)||IO|
|AD2||Analog Switch (U3)||1Y1||A0||Analog_SW = HIGH|
|INT||INT0||Analog Switch (U3)||2Y0||A1||Analog_SW = LOW|
|ATmega328P (U1)||PD2 (INT0/PCINT18)||2||Only input|
|INT1||IO_Expander (U4)||P0_2||-||Controlled by I2C-A|
|IO||IO0||ATmega328P (U1)||PD4 (PCINT20/XCK/T0)||4||-|
|IO3||IO_Expander (U4)||P0_3||-||Controlled by I2C-A|
|PWM||PWM0||ATmega328P (U1)||PB1 (PCINT1/OC1A)||9||-|
|QSPI_CS0||QSPI_CS0||IO_Expander (U4)||P1_6||-||Controlled by I2C-A|
|RESET_OUT||RESET_OUT||ATmega328P (U1)||PB0 (PCINT0/CLKO/ICP1)||8||-|
- #NMI: Causes an interrupt in the microcontroller PD2 (INT0/PCINT18) pin. It is also connected to PC0 (ADC0/PCINT8), but this last connection will open if the analog switch is activated).
- #RESET_IN: Reset the microcontroller and the IO-Expander.
- 1WIRE: This signal can be used to read the ID Memory.
- AD: AD0 and AD1 are directly connected to the microcontroller, but to read the rest of analog signals you must activate the analog switch with the "7/ANSW_CTRL" line.
- INT: INT0 causes an interrupt in the microcontroller PD2 (INT0/PCINT18) pin; it is also connected to PC0 (ADC0/PCINT8), but this last connection will open if the analog switch is activated). INT1 is connected to the IO-Expander.
- IO: IO0, IO1 and IO2 are directly connected to the microcontroller, but the rest of signals must be managed with the IO-Expander.
- PWM: PWM0 can control an on-board LED if the LED solder jumper is closed.
- QSPI_CS0: Conected to IO14 through a 0R0 resistor.
- RESET_OUT: Reset the IO-Expander and the Rhomb.io Slave Modules plugged on the same motherboard.
The S200 Master - Duino Pro can use the 1.8V rail, the 2.8V rail or the 3.3V rail. You can choose the voltage shorting the corresponding Solder Jumper. Make sure this rail is enabled on the motherboard you are going to plug this Module.
The power consumption varies with different power modes/sleep patterns and work statuses of functional modules. See the ATMega328P datasheet to find more information about power consumption.
Bill Of Materials
- Precaution against Electrostatic Discharge. When handling Rhomb.io products, ensure that the environment is protected against static electricity. Follow the next recommendations:
- The users should wear anti-static clothing and use earth band when manipulating the device.
- All objects that come in direct contact with devices should be made of materials that do not produce static electricity that would cause damage.
- Equipment and work table must be earthed.
- Ionizer is recommended to remove electron charge.
- Contamination. Be sure to use semiconductor products in the environment that may not be exposed to dust or dirt adhesion.
- Temperature/Humidity. Semiconductor devices are sensitive to environment temperature and humidity. High temperature or humidity may deteriorate semiconductor devices characteristics. Therefore avoid storage or usage in such conditions.
- Mechanical Shock. Care should be exercised not to apply excessive mechanical shock or force on the connectors and semiconductors devices.
- Chemical. Do not expose semiconductor device to chemical because reaction to chemical may cause deterioration of device characteristics.
- Light Protection. In case of non-EMC (Epoxy Molding Compound) package, do not expose semiconductor IC to strong light. It may cause devices malfunction. Some special products which utilize the light or have security function are excepted from this specification.
- Radioactive, Cosmic and X-ray. Semiconductor devices can be influenced by radioactive, cosmic ray or X-ray. Radioactive, cosmic and X-ray may cause soft error during device operation. Therefore semiconductor devices must be shielded under environment that may be exposed to radioactive, cosmic ray or X-ray.
- EMS (Electromagnetic Susceptibility). Note that semiconductor devices characteristics may be affected by strong electromagnetic waves or magnetic field during operation.
Rhomb.io reserves the right to make corrections, enhancements, improvements and other changes to its products and services, and to discontinue any product or service. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All the hardware products are sold subject to the Rhomb.io terms and conditions of sale supplied at the time of order acknowledgment.
All brand names, trademarks and registered trademarks belong to their respective owners.
We are constantly striving to improve the quality of our technical notes. If you find an error or omission please let us know.
Email us at: firstname.lastname@example.org