2:33 pm
May 10, 2016
Hello
I would like to use the ADC Noise Reduction mode on a project, has anyone tried to do this? Is it possible? The idea is to make a low power remote data logger for home automation. If i understand correctly the ADC can be acquiring data at a very low power. I can then wake up the micro fully and send data out wireless my wireless module. I will be using the Arduino pro mini 3.3v 8MHz platform.
Thanks
11:10 pm
March 12, 2015
Tj said
HelloI would like to use the ADC Noise Reduction mode on a project, has anyone tried to do this? Is it possible? The idea is to make a low power remote data logger for home automation. If i understand correctly the ADC can be acquiring data at a very low power. I can then wake up the micro fully and send data out wireless my wireless module. I will be using the Arduino pro mini 3.3v 8MHz platform.
Thanks
Tj said
Actually I was thinking about my project, I could just put it to sleep as well. But I need to wake up on a timer interrupt. Has anybody ported some sleep functions that can do this?
For both of these you could definitely create a custom library. Refer to the user manual section "Porting and Arduino Library to LabVIEW" on how to do this. I recall someone on this forum talking about a sleep function library. Not sure if someone else has something that might work for you. By default the included sleep API will only wake on an external pin interrupt. For a timer interrupt wake you have to set the mode to Sleep Idle I believe to keep the clock running.
4:42 am
January 28, 2017
Here's another version with most of the additional sleep functions ported. I didn't port the idle functions which let you selectively turn off various peripherals. Also, the compilation was throwing some error regarding the usart3 functions and I didn't have time to look into it, so I commented out the two related lines in the cpp file. Haven't tested any of the new functions on hardware, but it's a straightforward port.
9
1 Guest(s)