SODAQ ONE

Overview LoRaONE

This board is based on our succesful Autonomo, a proven 32 bits Arduino compatible platform. It has a solar charge controller and runs on a LiPo or permanent battery.

Next we added a GPS module. We chose the Ublox Eva 7M. It’s not only very small, but with it’s assisted GPS feature it can get a fix in just seconds.

We also included a low power Accelerometer/Magnetometer chip. This means we can keep the board in sleep until it moves or has a change in magnetic field. This is crucial for developing low power devices.

Say you want to develop a bicycle tracker. You would like know the position of the bike, but only when it has moved. So keep the device in deep sleep until you detect motion. If the motion continues for a while, the bicycle may have changed position so you only then switch on the GPS to get a new reading and send this new location over the LoRa network. This way you make most efficient use of you battery capacity by only using the GPS when really needed.

The Magnetometer extends the range of possibilities. You could now use the board to develop a parking sensor (fit the device in the street, if a car is parked this changes the magnetic field).
Or you can mount it to a fence and use the compass direction to determine if the gate is open or not.

The board is so small (40×25 mm) you can fit it inside alsmost anything. To ease the development we have fitted two rows of headers so you can use it on a breadboard. Why? Well it has 14 free I/O lines that you can use for your own purpose. Whether you want to build a weather station, control street lights or get a signal when you have received (snail) mail. It’s all possible with the SODAQ ONE.

Here’s an overview of the features:

Microcontroller  ATSAMD21G18, 32-Bit ARM Cortex M0+
Compatibility Arduino M0 Compatible
Size 40 x 25 mm
Operating Voltage 3.3V
I/O Pins 14, All can be used for digital and analog with PWM, UART, SPI and TWI (I2C)
Analog Output Pin 10-bit DAC
External Interrupts Available on all pins
DC Current per I/O pin 7 mA
Flash Memory 256 KB
SRAM 32KB
EEPROM Up to 16KB by emulation
Clock Speed 48 MHz
Power 5V USB power and/or 3.7 LiPo battery
Charging Solar charge controller, up to 500mA charge current
LED RGB LED
LoRa Microchip RN2483 Module
GPS uBlox EVA 7M
Accelerometer/Magneto LSM303D
USB MicroUSB Port

Getting started with the SODAQ ONE

To start you off, here are the external pin descriptions of the SODAQ ONE. Every header pin will be described here, so you know exactly how to address the pin in the Arduino IDE. (click to open in a new window)

LoRaONE external connections

External pin descriptions will get you started with the basics, but to fully utilize the board, take a look at the internal pin descriptions. These will allow you to use all the functions that are built into the SODAQ ONE. (click to open in a new window)

 

LoRaONE internal connections

Setting up your Arduino IDE

In order to start programming for the LoRaONE, make sure you have the latest Arduino IDE. Click here to go to the Arduino downloads page.

When your Arduino IDE is installed, it might be necessary to restart your computer. In some cases, if you don’t restart your computer, the IDE will not launch.

When your IDE is all started, we should install the LoRaONE board files. Click on File > Preferences and at the bottom you should see ‘Additional Boards Manager URLs’. This is where you need to paste the following URL:  http://downloads.sodaq.net/test/package_sodaq_index.json

arduino_prefs

When you have pasted the URL, click ‘OK’ and you’re ready for the next step.

Click on Tools > Board > Boards Manager…

Scroll all the way to the bottom, you should see SODAQ SAMD Boards. Click on it, and install the latest version. It should now download some files and install the required board files for the SODAQ ONE.

boards

We’re almost there! Now go to Tools > Board again and select the SODAQ ONE at the bottom. You’re now set up to start programming with the SODAQ ONE!


Handy pin definitions!

Now that you’re using the SODAQ ONE board files, you’ll be able to use our handy pin definitions. Let’s say you want to use the red LED, but you forgot that pesky pin number, you can just address the led with LED_RED inside your Arduino IDE. Our pin definitions allow you to address by name instead of pin number.

Here are all the pin definitions for the SODAQ ONE:

Pin description Pin number Definition
Red LED D14 LED_RED
Green LED D15 LED_GREEN
Blue LED D16 LED_BLUE
Power Enable D22 ENABLE_PIN_IO
GPS Enable D18 GPS_ENABLE
External Switch Sense D23 SWITCH_SENS
Push Button D19 BUTTON
GPS Timepulse D17 GPS_TIMEPULSE

Base Orientation and antenna connection

sodaq one base and antenna