Coder Social home page Coder Social logo

wio_extension_rtc's Introduction

Wio Extension - RTC

The Wio Extension - RTC is an extension board for Wio LTE. With Wio Extension - RTC, you can extend runtime of battery operated ( Internet of ) Things so easily.

Wio Extension - RTC has NXP PCF8523 Real-Time Clock (RTC), and PCF8523 control the power supply for the USB connector. When the power supply to Wio boards ( 1. USB in the picture above ), the standby current of whole system is less than 1 uA.

Sample code

The sample code for Wio Extension - RTC works on Wio LTE and its Seeed Japan office software library for Arduino.

Pre Requirements

Board Support

Open your Arudino IDE, click on File > Preferences, and copy below url to Additional Boards Manager URLs.
http://www.seeed.co.jp/package_SeeedJP_index.json

Click on Toos > Board > Board Manager, and enter Wio to the text box.

Click Seeed STM32F4 Board(JP mirror) by Seeed K.K. then an Install button appear, click on it to finish the step, this process takes about 5 minutes to half an hour, which depend on the speed of your network.

Library for Wio LTE

Click on Tools > Manage Libraries, and enter Wio to the text box.

Click Wio LTE for Arduino by Seeed K.K. then an Install button appear, click on it to finish the step.

Grove modules

Connect Grove - Buzzer or Grove - Red LED to D38 of Wio LTE.

Sample sketch

Unzip the sample sketch, and open wiortc-sample.ino with Arduino IDE. As you can read from the sample sketch, Wio Extension - RTC set to shut down the system for 30 sec on

RTC.SetWakeupPeriod(BOOT_INTERVAL);

and then set to shut down the whole system on

RTC.Shutdown();

Tips

Power source

When you use mobile battery as the power source of the system, you need to choose non smart power bank. Typical mobile battery have automatic power off function. And the battery shut off the power supply itself when Wio Entension - RTC enters stand-by, since its stand-by current less than 1 uA and it's too weak for the threshold of the battery.

For non Wio LTE Boards

Since Wio Extension - RTC just controlling USB power supply set from I2C, you can use this board to manage the power supply almost for every MCU boards powering from USB.

wio_extension_rtc's People

Contributors

ytsuboi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.