- Netduino Forums
- → Scott Green's Content
Scott Green's Content
There have been 34 items by Scott Green (Search limited from 27-June 23)
#17175 Netduino+ WeatherStation / Environment Monitor / Webserver
Posted by Scott Green on 28 August 2011 - 04:18 AM in Project Showcase
#18093 UPDATE: Fixed for RC3 -- New Bug discovered in Socket.Connect Method!
Posted by Scott Green on 16 September 2011 - 04:58 PM in Beta Firmware and Drivers
Michael, Dan:
You are precisely correct. The RTM was scheduled to ship on Monday of this week so we decided it wouldn't make sense to have an RC2 for a week only to replace it by the RTM version. Also, the new AnalogPort/AnalogInput class was still being changed post-RC2 and we wanted that to settle before we integrated in the SAM7X-specific code.
We're going to build an "RC3" firmware to match the .NET MF 4.2 firmware...to make sure that users don't experience any BSOD issues. This should be the first "release-quality" 4.2 firmware. From there, we'll take input from users and get things ready for an official 4.2 firmware release (and pull in the new PWM and AnalogInput objects). We may do a few RCs until the community tells us that we're good to go--but that process should go pretty quickly.
I'm excited about 4.2. In addition to VB support and GC bugfixes, there are also new features and networking enhancements. Thanks to the testing and feedback of the NETMF community, this will likely be the highest quality NETMF release to date.
Chris
Have they fixed the "unplug the USB / replug the USB" everytime you want to deploy bug?
Scott...
#21274 Web Based Temperature Logger
Posted by Scott Green on 02 December 2011 - 09:23 PM in Project Showcase
#18100 Sparkfun Serial LCD Backpack
Posted by Scott Green on 17 September 2011 - 12:20 AM in General Discussion
#18092 Sparkfun Serial LCD Backpack
Posted by Scott Green on 16 September 2011 - 04:54 PM in General Discussion
#17131 Error Deploying Solution
Posted by Scott Green on 26 August 2011 - 09:34 PM in Netduino Plus 2 (and Netduino Plus 1)
#17129 Error Deploying Solution
Posted by Scott Green on 26 August 2011 - 09:18 PM in Netduino Plus 2 (and Netduino Plus 1)
#18787 Power Supply Noise
Posted by Scott Green on 04 October 2011 - 04:31 PM in Netduino Plus 2 (and Netduino Plus 1)
Using a Tektronics MSO 2012 (100 MHz) scope, I observed over 1 volt of noise on the 5 volt supply, all of it negative going. I am assuming the actual noise is greater than what I observed due to the limitations of my scope's bandwidth. Also the MAX chip should ignore the noise unless it is greater than that. I observed that the noise disappears if the reset button is held down, indicating to me that the CPU and/or the Ethernet/PHY chip is creating the noise by requiring different current draws as it runs.
I am assuming the 10uF caps on the Netduino Plus's linear supplies are not large enough to handle the short term spikes in current demand. What noise levels have you seen?
Robert,
I saw the same thing with both my 5V and 3.3V lines coming from my netduino+. I switched over to powering the netduino with a wall wart, and added dedicated 5V and 3.3V regulators to my circuit supplied from the VIN line on the netduino. Smoothed the supply voltage right out.
Scott...
#17935 Reading and storing data
Posted by Scott Green on 13 September 2011 - 05:24 PM in General Discussion
I want to read and store data from an accelerometer and I'm just wondering what the best practice is, or what the limitations are.
I have this accelerometer, and this is (hopefully soon) on it's way.
I'm just wondering what to do. I could:
I believe the first method would be best for analysis. I can run some tests and find the best algorithm for reating the data afterwards. However, can it be too much for the SD card, perhaps? Or how fast can the Netduino Plus sample data?
- Try to write data to the SD-card as fast as possible directly from the x, y and z axis.
- Average the data using one or three threads and store the average value every second or so.
- Just pull a sample every second or so and store that.
Method three is the easiest to implement, but I could be missing information I'm interessted in.
Method two is the one I'll use eventually, I believe, as it shouldn't be necessary to keep that much data.
If this had been a Windows application, I'd say just store the data and process them later. But on a little more limited hardware I'd like to know what I should do.
I am doing this exact same thing with my weatherstation project. http://forums.netdui...itor-webserver/
I use the netduino+ to sample the sensors. I have a single "stats" class that contains the values for each of the readings I am taking. So, the main program just calls a class to sample a sensor, gets that reading, and calls a stats class method to update the value for that sensor. In that method, I check to see if the value is higher or lower than my min/max values I have stored. If so, the class updates min and max, and saves a timestamp for min and max.
Every 1 second a thread wakes up and sends the values (via xml) over a socket to a server running on another PC. This server has the same stats class implemented, and it keeps averages every 1 minute, day, hour, week, month, year, and since inception. Every 1 minute a thread in the server wakes up and saves the 1 minute average to an XML log file that I can later pull into excel to do all of the trending that I want.
So, in a nutshell, isolate the main program from the statistical work via a stats class. Have the stats class summarize the data and write it where ever you want to. I chose to do this on a separate PC/Server because I was running low on memory on the netduino, and I want to write a web interface to the weatherstation. Too much work for the netduino+ IMHO.
Hope that helps,
Scott...
- Netduino Forums
- → Scott Green's Content
- Privacy Policy