Tagged: ATSAMD21G18A, Seeeduino LoRaWAN, Weather station
-
AuthorPosts
-
December 29, 2017 at 10:05 PM #7475kalon33Participant
Hi,
I’ve a Seeeduino LoRaWAN based on ATSAMD21G18 processor, and would like to power down it (or deep sleep it) for 5mins, then wake it up, and power down it again… for weather station and reporting use. I don’t have any external module to wake it up currently.
Is this possible with Low-power library? How can I do that?
Thanks for your help.
January 7, 2018 at 4:20 PM #7534LIM PHANG MOHKeymasterJanuary 11, 2018 at 9:03 PM #7567kalon33Participant@sparky: Does that also work on Seeeduino LoRaWAN (that has ATSAMD21G18A microcontroller)? How?
Thanks for your help
January 12, 2018 at 2:59 PM #7575LIM PHANG MOHKeymasterI don’t think it’s hard to use the same code base for the Seeduino LoRaWAN. It’s basically replacing the LMIC portion (SPI based) with the RHF76-052AM portion (UART based). I have never use that RHF76-052AM module, so I’m not sure.
November 30, 2018 at 11:24 PM #10470tzeethParticipantHi I am reviving this post for asking what part of my code is bad because it doesn’t work.
I am usingconst uint8_t seconds = 0; const uint8_t minutes = 00; const uint8_t hours = 10; const uint8_t day = 20; const uint8_t month = 2; const uint8_t year = 17; void setup rtc.begin(); rtc.setTime(hours, minutes, seconds); rtc.setDate(day, month, year); rtc.setAlarmMinutes(1); rtc.enableAlarm(rtc.MATCH_SS); rtc.attachInterrupt(alarmMatch); USBDevice.detach(); rtc.standbyMode(); void loop rtc.begin(); rtc.setTime(hours, minutes, seconds); rtc.setDate(day, month, year); rtc.setAlarmMinutes(1); rtc.enableAlarm(rtc.MATCH_SS); rtc.attachInterrupt(alarmMatch); USBDevice.detach(); rtc.standbyMode();
My Arduino is MKR1400 GSM and I want to be able to send some sensors reading and then sleep for 10 hours, waking up send again and sleep in a cycle.
Thanks for you effort and your good libraries. -
AuthorPosts
- You must be logged in to reply to this topic.