Author Topic: Analog Input Voltage  (Read 349 times)

SK

  • Newbie
  • *
  • Posts: 18
    • View Profile
Analog Input Voltage
« on: December 06, 2016, 09:56:36 pm »
Hi,

I was wondering if there was a way to only wake up the MCDEMO205 when it receives a analog input of 300mV or above?
I would like it to wake up only then and continuously send data to Sigfox every 2 seconds until the input voltage is no longer 300mV+.

Cheers

Share on Facebook Share on Twitter


mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Analog Input Voltage
« Reply #1 on: December 07, 2016, 08:34:22 am »
It is not possible to wake up on an analog value. There are two ways to overcome this. The simple way is to wake-up every x seconds and measure to see if it is >300mV. The other way is to use an external compactor and use the output to control an digital pin. You can code an event based on the change of a digital pin.
You cannot send every 2 seconds a message to Sigfox. It takes several seconds to send the maximum message of 12 bytes. Also the number of messages you can send is limited by Sigfox

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Analog Input Voltage
« Reply #2 on: December 07, 2016, 09:58:04 am »
Just to add to mc-John's note, SIGFOX itself has certain limitations that you will want to keep in mind:
- You can only send a message every 20 seconds
- You can only send a maximum of 140 messages per day per device on the SIGFOX network
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB

SK

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Analog Input Voltage
« Reply #3 on: December 07, 2016, 08:51:48 pm »
Thank you all for the feedback.
Are there any other MC-Things devices that can wake up at a certain voltage input?

Cheers

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Analog Input Voltage
« Reply #4 on: December 08, 2016, 09:45:54 am »
Hi SK!

Just to touch base on the SIGFOX stuff again, you may want to check out their website to learn more about the network and how it operates. You can check out http://ask.sigfox.com/

In regards to your question,
What are you looking to do exactly? As mc-John mentioned, you could have the device wake up (raise event every X amount of time) to measure the voltage and then 'do something' if the voltage is at a specific level.
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB