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.

mohammad

Member Since 24 Jan 2012
Offline Last Active Feb 02 2014 10:37 PM
-----

Posts I've Made

In Topic: Electrit Microphone Sensor

28 May 2013 - 07:05 PM

According to the comments on the Sparkfun page https://www.sparkfun.com/products/9964, [color=#008000;]I could solve the problem[/color]. Somebody recommended to write a tight loop (e.g. 100ms) to get the min and max values. The difference between the two will give us the volume (sound pressure) during that time.


In Topic: Software reset

24 May 2013 - 05:37 PM

I'm sure you can find a watchdog IC that is available in DIP8 - just stick it down the breadboard, connect 2 wires (plus power) and you're good.

 

Thanks for your information. I will try to buy one. Since I am not expert, is there any specific name/ID for the IC your mentioned?


In Topic: Software Reboot for Netduino Plus

23 May 2013 - 07:50 PM

Thanks Khmesmer.

I am working with Netduino Plus (or generally microcontroller programming) since 2012. I recommend you to follow the "getting started with the nternet of Things" book, first. Then, try to implement codes and ask your questions in this forum. To be honest, this forum and its members :) helped me a lot in my projects and learning.

If you have any questions, feel free to let me know.

 

Good Luck


In Topic: Software reset

23 May 2013 - 07:46 PM

The code you attached before would restart the device repeatedly between 10:00 and 11:00 AM, effectively rendering it unusable during that time. Am I right?

 

Yes, you are right :), but by using the Timer class, you can implement it more effectively.

 

Personally, I think there's no such thing as a software watchdog. You can't write software to check if another piece of software has locked up. If I remember correctly it's one of those NP complete problems within the theories of complexity. :)

I partially agree with you ;), you know in multi-threading world, sometimes one thread blocks all its processes (e.g., this problem), and the problem is solved by a simple reboot. At this time, one thread can be in charge of software reboot, and the other threads are doing their tasks. If any fail or error situation occurs, the reboot thread can perform its task :)


In Topic: Hardware watchdog on Netduino Plus

23 May 2013 - 07:39 PM

That's not a watchdog, it's a scheduled reboot.

 You are right, so I should not consider them interchangeably.

 

have you tried out my firmware build?

No, since the firmware of your library was different from mine.

 

 

What are the problems you mention in the other thread ('I had a problem for 1 month to use a Watchdog mechanism in Netduino Plus') ?

The watchdog problem :) to reboot the Netduino Plus after a specific time.


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.