Skip to content

gimasi/TUINO_ONE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation


**If you are Looking for the onboard HW or GMX Modules libraries for the Tuino 1 navigate into the tuino_libs directory and find them there. Have Fun!**

QUICK SETUP

To start using the Tuino 1 you need to install the Arduino IDE ( >= 1.6.4 ).
Find the latest version on the official Arduino website www.arduino.cc.
Once you have installed the IDE you need to load the board manager file for the Tuino 1. Here the steps:

  1. Launch the Arduino IDE
  2. Open the Menu File, and go to Preferences



  3. Inside the dialog that appears, go to the 'Additional Boards Manager URLs' text box and copy the following URL inside the text box: https://raw.githubusercontent.com/gimasi/TUINO_ONE/master/arduino_ide/package_tuino_index.json



  4. Click Ok.
  5. Now to go to the 'Tools' menu, select the 'Board…'' menu item, another menu will open on the right, select 'Boards Manager'



    The Board Manager dialog box will appear, type in the search text box the word Tuino. The Tuino board files will appear, click on the text to select it and the 'Install' button will appear.



  6. Click Install... Once the installation has finished you can close the dialog.
  7. Reopen the 'Tool' menu, select the 'Board...' menu item, on the menu that opens on the right you should see at the bottom the 'Tuino 1'... Select it



  8. You are now ready to start working with your first examples
  9. Here some initial sketches you can start playing with:
    For the LoRaWAN GMX-LR1 see here
    For the GMX-NBIoT module see here

TUINO 1

TUINO 1 is an Arduino Uno compatible board which has been developed for IoT applications, it has the form factor of the Arduino/Genuino Uno but with a series of additional features:

  • ATMega1284P processor - which has 128K of FLASH and 16Kb of RAM. You can now build much more complex sketches.
  • 5/3.3V switch - use 3.3V sensors without any problem.
  • 4 GROVE connectors - no need for external shields to add sensors.
  • RTC with battery back up - always useful in an IoT application.
  • NFC chip - leverage NFC for enhanced connectivity with smart phones.
  • LiPO charging section with power gauge - you can check the battery level from your sketches.
  • ON/OFF/RESET Power Control. You can switch on, switch off and reset the Tuino 1 all from 1 single button.
  • SD Card slot - fully compatinle with the Arduino SD library. Store your sensor data on SD card

TUINO 1 PINOUT

Here is the pinout of the Tuino 1

TOP

HEADERS

  • J4 - connection for external on/off/reset pushbutton
  • J12 - fitted with header - NFC antenna connection
  • J13 - connection for external +5V power supply
  • J14 - fitted with header - automatic power on. If jumper is fitted the board turns on automatically as soon as power is supplied.
  • J15 - connection for external LiPO battery

BOTTOM

DIFFERENCES WITH ARDUINO UNO

While the Tuino 1 is 100% software compatible with the Arduino Uno, there are two differences in the hardware pinout on the expansion shield connectors, and this could lead with some compatibility problems with some existing shields.

  1. We only have 4 Analog Lines
  • A0
  • A1
  • A2
  • A3

To maintain compatibility with the Arduino Uno shield pinout we added the I2C SDA and SCL on the A4 and A5 pins, but on the ATMega1284P these pins are not analog but only digital, thus we loose two analog inputs and gain two additional digital ones, D14 and D15.

2. Pins D2/INT0 and D3/INT1, again due to the pinout of the AtMega1284P, are shared with the second serial. The second serial is used for the GMX bus, and in case you are using a GMX module that is interfaced via UART, you cannot use these two pins.

But if you aren't using the GMX bus you have a second serial on the expansion shield pinout and this could be convenient for many project!

ATMega1284P Schematic

Here is the ATMega1284P connection on the Tuino 1 board. For reference and for better understanding of its functionalities.

RTC

The RTC clock is based on the M41T62 chip.
Check the Tuino HW section for software drivers.

NFC

The Tunio 1 one has an onboard NFC chip and a header to install an NFC antenna. The NFC chip is the M24SR04.
Check the Tuino HW section for software drivers.

LiPO AND POWER GAUGE

The LiPO charging is driven by the MCP73831. A power gauge chip MAX17048 is present on the I2C bus so that you can always keep under control the charge level of the battery.
Check the Tuino HW section for software drivers.

microSD Card Slot

The Tuino 1 is compatible with the Arduino SD library.

GMX MODULES

The most important feature we have added is the GMX bus - this is an additional bus that exploits the additional I/O pins of the 1284P and with which you can add different RF modules. - leveraging different technologies for your IoT projects.
For a complete description on the GMX bus read here

Different modules are available ( some only as prototypes so please contact us if you are interested ):

ADDING TUINO 1 SUPPORT IN THE ARDUINO IDE

Update your Arduino IDE to the latest version ( >= 1.6.4 ), go to preferences and add the Tuino Board Manager URL:
https://raw.githubusercontent.com/gimasi/TUINO_ONE/master/arduino_ide/package_tuino_index.json

ARDUINO-IDE
You are now ready to add the Tuino 1 to your IDE.
Go to Tools->Board->Board Manager and look for the Tuino board, and finally click on install...

PINS_ARDUINO.H

Here the pin definitions in the Tuino 1 board file.

static const uint8_t SS   = 10;
static const uint8_t MOSI = 11;
static const uint8_t MISO = 12;
static const uint8_t SCK  = 13;

static const uint8_t SCL= 28;
static const uint8_t SDA= 29;

static const uint8_t LED_BUILTIN = 13;

static const uint8_t D0 = 0;
static const uint8_t D1 = 1;
static const uint8_t D2 = 2;
static const uint8_t D3 = 3;
static const uint8_t D4 = 4;
static const uint8_t D5 = 5;
static const uint8_t D6 = 6;
static const uint8_t D7 = 7;
static const uint8_t D8 = 8;
static const uint8_t D9 = 9;
static const uint8_t D10 = 10;
static const uint8_t D11 = 11;
static const uint8_t D12 = 12;
static const uint8_t D13 = 13;

static const uint8_t D14 = 28;
static const uint8_t D15 = 29;

static const uint8_t GMX_GPIO1 = 14;
static const uint8_t GMX_GPIO2 = 15;
static const uint8_t GMX_GPIO3 = 16;
static const uint8_t GMX_GPIO4 = 17;
static const uint8_t GMX_GPIO5 = 18;
static const uint8_t GMX_GPIO6 = 19;
static const uint8_t GMX_GPIO7 = 20;
static const uint8_t GMX_RESET = 21;
static const uint8_t GMX_INT   = 31;

static const uint8_t A0 = 24;
static const uint8_t A1 = 25;
static const uint8_t A2 = 26;
static const uint8_t A3 = 27;

static const uint8_t TUINO_INTERRUPT = 30;
static const uint8_t TUINO_RTC_INTERRUPT = 30;
static const uint8_t TUINO_NFC_INTERRUPT = 22;

If you want to order a Tuino 1 board visit our website http://www.tuino.io

About

The Tuino 1 IoT development board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published