Posts | Comments

Planet Arduino

Archive for the ‘MKR WAN 1300’ Category

The scourge of air pollution claims several million lives globally each year, with industrial processes and energy production accounting for much of it. Because of its harmful nature, governments often set up air quality monitoring stations, although they have to cover large areas and yield low resolution data. To monitor his own community’s air quality, Guillermo Perez Guillen created a small, portable toolkit that can record data from almost anywhere and send it to the cloud.

Guillermo’s system relies on two Arduino MKR WAN 1300 boards, which communicate with each other over the LoRaWAN long-range network, along with a Nano 33 IoT for sending the received data to a web API endpoint over WiFi. The transmitting MKR WAN 1300 is connected to a suite of sensors that measure temperature, humidity, carbon dioxide, carbon monoxide, and volatile organic compounds (VOCs) in the air. Then, at preset intervals, each sensor is read and the resulting measurements are sent to an awaiting receiver MKR WAN 1300 board.

Once the data packets have arrived, they are decoded and displayed on an attached 20×4 character LCD, as well as being sent over UART to a Nano 33 IoT. From here, values are written to a Thingspeak channel so they can be tracked over time. More information about this project can be found on Instructables.

The post Monitoring environmental pollution with the Arduino MKR WAN 1300 appeared first on Arduino Blog.

Arduino Cloud works with LoRaWAN on The Things Stack

The Things Stack (TTS) and Arduino Cloud are now fully interfaced and open up a world of connected opportunities. When you configure a LoRaWAN device now, it’ll automatically be registered on The Things Stack platform, too.

Arduino Cloud Goes Long Range

Let’s have a quick crash course in LoRaWAN, before we go any further.

An abbreviation of long range wide area network, LoRaWAN is a very low power wireless connectivity system, much like Wi-Fi. But it operates on a different (unlicensed) frequency that’s able to transmit and receive signals a lot further. It boasts distances that are measured in kilometers, rather than meters, as with WiFi or Bluetooth.

LoRa isn’t new to Arduino, of course. But now your devices can make use of over 22,000 public gateways around the world that are connected to the TTS service. In a very over-simplified way, these gateways translate radio packets into internet packets. A radio signal effectively becomes data sent over the internet, and vice versa. This vastly extends wireless internet coverage and connects remote IoT devices to your Arduino Cloud.

It’s not just about putting sensors, devices or projects in remote or rural locations, though. It’s about connecting to the internet where there is no Wi-Fi, and without the need for a costly cellular data connection. And it’s power consumption is very low. So a lot of these far distant devices can run on batteries or solar power.

Set up LoRaWAN and The Things Stack on Arduino Cloud

Things, Things and More Things

When you configure a new LoRaWAN compatible device in your Arduino Cloud, such as a MKR WAN 1300, it’s now automatically registered as a device on The Things Stack.

You’ll automatically see a new menu during setup, which lets you select your region. This is important, as different regions and countries use different LoRaWAN frequency bands.

And that’s it! No need for you to do anything else. Easily the simplest and fastest way to connect to LoRa devices in an Arduino project. Or any electronics project, for that matter, since Arduino Cloud lets you seamlessly connect all kinds of different devices.

Arduino MKR WAN 1300 Arduino Cloud  LoRaWAN on The Things Stack

Complete the setup just as you would with any other device on Arduino Cloud. Sync your variables, connect your devices, build your dashboards. As long as your board is in range of a TTS-connected gateway, it’s part of your Arduino Cloud. Just as if it was sitting next to you on your Wi-Fi network, even though it might be 15 kilometers away! Or you could set up your very own LoRaWAN gateway that supports TTS, if you don’t have one in range.

There’s a more detailed tutorial over on Arduino Docs, although it’s not a complex procedure by any means. It’s got some excellent advice on setting up and accessing The Things Console, which LoRa fans will find very useful. Then there’s a quick and easy test project to make sure everything’s working as you want it to.

It’s still early days for LoRa. But any Arduino lover who takes an interest in this exciting technology will quickly get hooked on it, and the possibilities it offers. Tell us all about your LoRa projects over on social media, and how you’re building them on Arduino Cloud.

The post Connect to Arduino Cloud from far away with LoRaWAN and The Things Stack appeared first on Arduino Blog.

The COVID-19 pandemic has changed the way we interact with people, things, and the world around us. We’re calling on the community to use an Arduino Nano or MKR board to build solutions that can help us practice better social distancing, improve queue management, or enable touch-free technologies.

Stepping out from our homes, to go to schools, factories, offices and pursue leisure pastimes all these will need to change as lockdown restrictions are eased. With terms like social distancing, remote learning and remote working becoming the norm, let’s see how your ideas can help the world move forward and rebuild everyday life based on a project in one of these two categories.

Hackster-Touch-Free.png

Category 1: Touch-Free

Create a solution that can be applied to devices that currently rely upon manually pushing a button e.g. elevators, pedestrian crossings, door entry systems, sanitizer dispensers, etc.

Hackster-Social-Dist.png

Category 2: Social Distance Enablement and Tracking

Create a solution that will allow individuals to maintain the recommended distance apart (1m to 2m) to safely work in the office, factory, commute to work on public transport, or socially interact in cafes and parks. The time people spend within close proximity to each other may also be a factor considered within the design.

N.B. The purpose of the competition is to create products and solutions that are ready to help people around the world to move forward with their lives and safely emerge from lockdown restrictions, rather than developing medical devices.

Contest Scope and Schedule

As any potential solution may be required to operate in a variety of environments, important factors to consider as part of the design process are reliability, durability, connectivity, and power management — hence the option to base your project on any Arduino Nano or MKR board.

The Arduino MKR Family represents the ideal solution for emerging battery powered IoT edge applications. All of the MKR boards share a common pinout for developers to easily shift between wireless communication protocols with minimal software changes, and in a cost efficient manner.

The Arduino Nano Family offers a tiny format, powerful processors and excellent reliability. All of the Nano boards can run embedded machine learning (AI).

The challenge is organized in two phases:

Phase 1: Apply for hardware — Deadline June 16th, 2020: Submit your idea and have the opportunity to receive a free Arduino MKR WiFi 1010.

Phase 2: Submit your project — Deadline July 14th, 2020: Submit your project for a chance to win up to $10,000 worth of prizes!

Prizes

We are giving away tens of thousands of dollars in prizes to the top five projects, including product assessment and marketing support to bring your project to market! Our judges are going to pick the best qualifying projects based on the judging criteria outlined in the rules section.

Grand Prize

$5,000 voucher for hardware on the Newark online store
$750 of pre-manufacturing assessment with Dragon Innovation
$5,000 towards product marketing with Hackster.io

Touch-Free

1st Place — Touch-Free

$1,500 voucher for hardware on the Newark online store
$750 of pre-manufacturing assessment with Dragon Innovation
$3,000 towards product marketing with Hackster.io

2nd Place — Touch-Free

$500 voucher for hardware on the Newark online store
$750
of pre-manufacturing assessment with Dragon Innovation
$2,000
towards product marketing with Hackster.io

Social Distance Enablement & Tracking

1st Place — Social Distance Enablement & Tracking

$1,500 voucher for hardware on the Newark online store
$750 of pre-manufacturing assessment with Dragon Innovation
$3,000 towards product marketing with Hackster.io

2nd Place — Social Distance Enablement & Tracking

$500 voucher for hardware on the Newark online store
$750
of pre-manufacturing assessment with Dragon Innovation
$2,000
towards product marketing with Hackster.io

How will you help change the world? Join the contest now!

We’re excited to announce the launch of the Arduino MKR WAN 1310, which offers a practical and cost-effective solution for those looking to add LoRa connectivity to their projects. 

The new MKR WAN 1310 enables you to connect your sensors and actuators over long distances harnessing the power of the LoRa wireless protocol or throughout LoRaWAN networks.

This open source board can be connected to:

  • Arduino Create
  • To your own LoRa network using the Arduino Pro Gateway for LoRa 
  • To existing LoRaWAN infrastructure like The Things Network 
  • Or even to other boards using the direct connectivity mode

The latest low-power architecture has considerably improved the battery life on the MKR WAN 1310. When properly configured, the power consumption is now as low as 104uA!  It is also possible to use the USB port to supply power (5V) to the board; run the board with or without batteries – the choice is yours.

Based on the Microchip SAM D21 low-power processor and a Murata CMWX1ZZABZ LoRa module, the MKR WAN 1310 comes complete with an ECC508 crypto chip, a battery charger and 2MByte SPI Flash, as well as improved control of the board’s power consumption. 

Data logging and other OTA (Over-the-Air) functions are now possible since the inclusion of the on board 2MByte Flash. This new exciting feature will let you transfer configuration files from the infrastructure onto the board, create your own scripting commands, or simply store data locally to send it whenever the connectivity is best. While the MKR WAN 1310’s crypto chip adds further security by storing credentials and certificates in the embedded secure element.

These features make it the perfect IoT node and building block for low-power wide area IoT devices. 

The MKR WAN 1310 is available on the Arduino Store, where you’ll find complete specs and more information.

Security cameras are a great way to deter theft and vandalism, but what if the camera is out of WiFi range, or otherwise would need long cables to transmit pictures? As explained here, Tegwyn Twmffat has an interesting solution–taking advantage of neural network processing to recognize moving objects, along with a LoRa connection to sound the alarm when there is a potential problem.

Images are captured by a Raspberry Pi and camera, then processed with the help of an Intel Movidius Neural Compute Stick for identification. If it’s something of interest—a human, for example—a relatively small amount of data is transmitted to a MKR WAN 1300 base station, beeping faster and faster as the person approaches. 

As seen in the video below, it’s able to properly ignore the ‘test dog,’ while it beeps away when a person approaches! 

After deploying a remote weather station over two years ago, self-proclaimed ugly pirate Tecwyn Twmffat needed a better wireless communication solution. 

Originally, his installation used a GPRS modem to transmit data over the cellular network, and while this normally worked quite well, the module would get booted off the network during updates. Additionally, its solar panel power supply couldn’t keep up with the system during the darker months of December and January.

To solve both problems, he turned to a MKR WAN 1300 board to transmit data to a base station within range of WiFi and mains power. The base station then takes care of placing these readings on the wider Internet, which can be seen here as a series of gauges.

Now in its third version and having been tested for over two years, my weather station gets upgraded for better low power performance and data transfer reliability.

Power consumption – not a problem in the months other than December and January, but in these very dark months the solar panel, although rated at 40 Watts, was unable to keep up with the demand of the system … and most of the demand came from the 2G FONA GPRS module which transmits the data directly to the interwebs.

The next problem was with the FONA GPRS module itself, or more probably the cell phone network. The device would work perfectly for weeks / months, but then suddenly stop for no apparent reason. Apparently the network does try to send some kind of ‘system update info’ which, if not accepted, causes the device to get booted off the network, so GPRS is not really a maintenance free solution for data transmission. It’s a shame because when it did work, it worked really nicely.

This upgrade uses the low power LoRa protocol to send the data to a Raspberry Pi local server, which then will sends it on to the interwebs. In this way, the weather station itself can be low power on a solar panel and the ‘heavy lifting’ part of the process, done somewhere within WIFI range on mains power. Of course, if you have a public LoRa gateway within range, the Raspberry Pi would not be required.

Building up the weather station PCB is easy as the SMD components are all quite large (1206) and everything on the PCB works 100%. Some of the components, namely the wind instruments, are quite expensive but can sometimes be found secondhand on eBay.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook