/atmega4809-cnano-ble-aws

Fast Prototyping of BLE Sensors for AWS Cloud This repository contains the project source code for the CNANO ATmega4809 board together with the Lambda used by the gateway to read characteristics and publish the data to the Amazon Web Services cloud.

Primary LanguagePythonOtherNOASSERTION

MCHP

Sending Weather Info to AWS Using BLE and ATmega4809

This project describes how to connect a MikroElektronika™ Weather Click™ sensor to the AWS cloud through a RN4870 BLE module from an ATmega4809 microcontroller.

In this example we will use a Curiosity Nano ATmega4809 board on a Curiosity Nano Adapter board with the RN4870 Click and Weather Click boards. A Raspberry Pi 3 Model B+ board will be used as the gateway for pushing the data to the AWS cloud.

The Lambda function that needs to be deployed on the gateway is also found here.

The app note that explains this application in detail can be found here is AN3406 - Fast Prototyping of BLE Sensors for AWS Cloud Using the ATmega4809 Curiosity Nano Development Platform. A tutorial that provides the steps needed to setup this functionality can be found here: https://www.hackster.io/ble-weather-aws/connect-ble-weather-sensor-to-the-cloud-e79d9d

Related Documentation

Software Used

Hardware Used

  • ATmega4809 Curiosity Nano DM320115
  • Curiosity Nano Base for Click boards™ AC164162
  • Raspberry Pi 3 Model B+
  • MikroElektronika™ Weather Click™ MIKROE-1978
  • MikroElektronika™ RN4870 Click™ MIKROE-2543

Setup


MCC Settings

Here are the settings used for USART, TWI, TCA and the Weather Click.

System Settings


USART Settings



TWI Settings


TCA Settings


Weather Click settings


PIN Grid


PIN Module