Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

rgavrilov's Content

There have been 4 items by rgavrilov (Search limited from 24-April 23)


By content type

See this member's

Sort by                Order  

#62967 Unique device ID

Posted by rgavrilov on 29 May 2015 - 02:39 PM in Netduino Plus 2 (and Netduino Plus 1)

I can't find the answer to this question. I apologize if I this is a dup.

 

I need to uniquely identify a device, as is often the case.

 

STM32 has a "Device Electronic Signature" feature. Is there a way to read that value?

 

I know I could store a value on the SD card or EEPROM. But it is important that the value would be protected from being changed (or copied) by a user.

 

I could you MAC address (as was suggested somewhere else), but I have seen a thread here on netduino.com about MAC changing. Which is unacceptable.

 

--roman




#62240 Configure TIMER to count pulses.

Posted by rgavrilov on 23 April 2015 - 08:02 PM in Netduino Plus 2 (and Netduino Plus 1)

Is there a way to count number of pulses using a timer? Preferably using a strobe. I want to count number of pulses over a period of time, and get an interrupt at the end.

 

Is there an API for that?

 




#62239 Configure ADC DMA

Posted by rgavrilov on 23 April 2015 - 07:35 PM in Netduino Plus 2 (and Netduino Plus 1)

I need to capture a sine waveform (to determine an amplitude).

 

Is there an API to configure ADC with DMA to capture, let's say 20ms of waveform with 1ms samples?




#62200 Measure 60Hz sine wave amplitude using ADC

Posted by rgavrilov on 20 April 2015 - 06:32 PM in Netduino Plus 2 (and Netduino Plus 1)

Hello,

 

I need to measure an amplitude of a 60Hz sine wave (output from a Hall-effect sensor) using ADC on N+2. I am looking for elegant ways to accomplish this. What are my options?

 

Option 1: Is there a way to configure ADC to collect multiple samples with specified frequency?

 

Option 2: Can I use hardware-timer interrupt to take a sample every 4ms? Is timer implementation reliable (in terms of interrupt triggering accuracy) to rely on it for timing?

 

Option 3: Collect 100 samples over period of time and use histogram to reconstruct the sine wave.

 

Option #1 seem to be the best, but I don't know if Netduino NETMF supports that mode.

 

Any other ideas?





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.