No thanks needed, I'm much of a newbie too so ... just saw the diagram and got shivers ... lolThanks Michel for the heads-up.
- Netduino Forums
- → Michel Trahan's Content
Michel Trahan's Content
There have been 155 items by Michel Trahan (Search limited from 29-June 23)
#13238 PanAndTilt
Posted by Michel Trahan on 13 May 2011 - 04:20 PM in Project Showcase
#11521 Recommend a scope or PC card for working with Netduino?
Posted by Michel Trahan on 31 March 2011 - 01:11 PM in General Discussion
#12483 Best way to convert string to number
Posted by Michel Trahan on 25 April 2011 - 03:28 PM in Visual Studio
#12585 Double prescision math lib?
Posted by Michel Trahan on 28 April 2011 - 01:47 PM in Netduino 2 (and Netduino 1)
#12588 Double prescision math lib?
Posted by Michel Trahan on 28 April 2011 - 02:41 PM in Netduino 2 (and Netduino 1)
I propose to build a tutorial that would have a good side effect : show the differences between the math libraries on the netduino and the ones on the PC.Michel, I really can't understand what you are going to propose and for what target...
It would do many simple things :
1- show how to create a web server on the netduino (a sample already exist so we can use that)
2- show how to interact with that web server from a pc (the sample does already show that)
3- show the simplest form of table data display on the pc (i need to learn how to do that)
4- show how to timestamp data results to get processing time on the netduino and on the pc (I also need to learn that)
5- show what math functions are available on the netduino and
6- show the induced errors of those functions in certain input value ranges (needed when doing complex mathematical algorithm) on the netduino
7- show the time cost of using certain mathematical functions with certain input value ranges
Anyone interested in using the complex mathematical functions on the netduino should be made aware of the induced errors with certain input ranges of some functions and the time cost of using those functions in their netduino application.
That is the goal I want to attain. Inform of the errors and cost of each mathematical functions available on the netduino, and teach a thing or two while doing it (like tabular data display on the PC) !
#12592 Double prescision math lib?
Posted by Michel Trahan on 28 April 2011 - 03:35 PM in Netduino 2 (and Netduino 1)
To show the results on a PC ... live !But why do you thinking to a web server?
And the timestamp would mark the begining and end of the call on the netduino to the math function (for the netduino values).
The webserver would receive a function to test and a series of values to use. For each value to test the function with, a timestamp is used to calculate the number of ticks needed to execute it (some input values might take longer to calculate the output than others). It would reply with a table of data to display on the PC side by side the PC calculated equivalent sent to the netduino to compare
We could even show the values graphically (I do need to learn how to do that too, lol)
#12529 Double prescision math lib?
Posted by Michel Trahan on 27 April 2011 - 11:52 AM in Netduino 2 (and Netduino 1)
That was before I got a netduino It would be useful to have one ...I posted firmware builds of my math library to the forums. There seemed to be a huge lack of interest so I did not pursue it any further.
#12623 Double prescision math lib?
Posted by Michel Trahan on 28 April 2011 - 11:18 PM in Netduino 2 (and Netduino 1)
Normal Netduino for me ! Will need the Netduino plus to test it live with the webserver app that Mario put on the forums that I need to modify for this purpose (Thanks Mario)I will have to see if I can get a build cooked up for you. Which Netduino do you have?
#12594 Double prescision math lib?
Posted by Michel Trahan on 28 April 2011 - 03:57 PM in Netduino 2 (and Netduino 1)
I don't have a netduino plus yet nor do I have a ethernet shield but yes, this is exactly what I'm looking for as a frame for this mathematical tutorial ! That would be a great start ! I could probably do the missing code even without ethernet connection (using debug.print lol).At home I have a ready-to-use basis for Netduino Plus (SD+ETH needed) and Silverlight on PC.
The SL page polls the N+ every sec asking for data. The N+ web-server answers back to the page, finally the data is both graphically and tabled.
Is that what you are looking for?
YES ME WANT Please !
Put it in a new project showcase and I'll grab it from there ! Or in the wiki ? Your choice !
Boy do I love this community !
#12987 ADC Reading wrong?
Posted by Michel Trahan on 09 May 2011 - 01:29 AM in Netduino Plus 2 (and Netduino Plus 1)
#12991 ADC Reading wrong?
Posted by Michel Trahan on 09 May 2011 - 02:03 AM in Netduino Plus 2 (and Netduino Plus 1)
Indeed, it was stable when powered by an external 9VAre you powering via USB? I believe it works fine when using external power supply other than USB. I am unsure if this is an issue with certain USB ports or all.
#12983 ADC Reading wrong?
Posted by Michel Trahan on 09 May 2011 - 12:51 AM in Netduino Plus 2 (and Netduino Plus 1)
I found that it takes about 10 seconds for the values to stabilizethe only problem that I am having is that the readings bounce all over the place. From 85-65F after i calculate it or 210-230 ADC value its reading.
Could it be that the current heats things up and it takes a while for everything to stabilize ?Any ideas what could cause this?
#12746 Simple multi-threaded web server
Posted by Michel Trahan on 02 May 2011 - 01:11 PM in Project Showcase
#12660 Simple multi-threaded web server
Posted by Michel Trahan on 30 April 2011 - 03:41 AM in Project Showcase
How do we discriminate the request received ? Where is the command string ? Where are the arguments ... needed ...I don't know if you want to use this, but as your project grows, you might find it easier. Good luck!
I find the other one easier to use ... you declare actions, you switch between the ones you defined ... How do you know which command to call ? Or I missed the whole point
#11786 Simple multi-threaded web server
Posted by Michel Trahan on 08 April 2011 - 01:19 AM in Project Showcase
Imagine a series of netduino mini (as thermostat) using XBee to communicate with a router, then imagine a base station (or multiple with touch screens) that can send command to all the other "sensors" through the router ... you could have all the thermostats in the house connected to a router and a series of control panels also connected to the router and have the computer send preprogrammed sequence to all ... you could even change settings from the office using the internetFor instance, if you would program your Netduino to be a thermostat, you would call
http://192.168.1.100/settemp/livingroom/21to set the temperature in the living room to 21 degrees.
Very good work Jasper ! Thanks !
#11999 I2C Where do I start
Posted by Michel Trahan on 12 April 2011 - 12:41 PM in Netduino 2 (and Netduino 1)
LOL It made my point clear though ! LOLSorry for the confusion.
Did I understand correctly, you ALWAYS need pullup resistors ? or only when there is more than one sensor connected to it ? And using a I2CBus class to encapsulate all this would be nice to have (to clean up the code) ?
#11995 I2C Where do I start
Posted by Michel Trahan on 12 April 2011 - 12:21 PM in Netduino 2 (and Netduino 1)
And if I see only SCL and SDA ... no TWCK nor TWD ... This is why we need a tutorial ... with some diagram using a netduino and some sensors (ex: Accelerometer ADXL345, Magnetometer HMC5843 and Gyroscope ITG3200). Real example with real sensors ...There need to be two pull-up resistors connected between I2C signal lines (TWCK, TWD) and positive voltage (+5V or +3.3V depending on the devices connected). The value can vary from ~1.5 kΩ up to ~47 kΩ, 2.2 kΩ or 10 kΩ will work fine. The exact value would have to be calculated based on the bus characteristics, i.e. capacitance, number of devices connected, speed etc.
I do understand that hardware is hard (pun intended) ... please help the newbies like me with some tutorials with real things connected, not just LEDs I am willing to help but I need input ... hard input !
Mike who wants to play with sensors without burning them !
#12010 I2C Where do I start
Posted by Michel Trahan on 12 April 2011 - 01:17 PM in Netduino 2 (and Netduino 1)
Boy do we need a tutorial LOLHowever, some sensors/devices may have those built-in (e.g. Sparkfun breakout boards).
Sorry, my lack of knowledge ... I didn't know why it was created ! Thanks !what do you mean by 'encapsulate all this'?
#11969 I2C Where do I start
Posted by Michel Trahan on 11 April 2011 - 10:52 PM in Netduino 2 (and Netduino 1)
I agree ! Beginners Tutorial PleaseIt would be nice if there was a beginners tutorial on using I2C with the Netduino. Not just the code but connecting multiple devices to the bus. I know your suppose to use pull up resistors but I can't find any information on when to use them what type or how often. But a short and sweet tutorial would be great to answer these type of question us beginners have. And it would have the added benefit of being easily found.
#12927 Netduino Tutorial - Multithreading (Methods with Parameters)
Posted by Michel Trahan on 07 May 2011 - 04:03 PM in General Discussion
#13250 How to manual read/write internal flash?
Posted by Michel Trahan on 13 May 2011 - 08:27 PM in Netduino Plus 2 (and Netduino Plus 1)
Yes, you'll have 4KB or more of storage space to store data. It only has 10,000 rewrite cycles for flash rewrites...so you won't want to rewrite it frequently...but it'll be awesome for configuration data.
Quite ! specially for very small remote sensors using the mini ! Configuration yes, daily values ... not really since 10,000 cycles (about 27 years if one per day)
And of course, Netduino Plus has MicroSD support...so you can store data there easily too.
Was thinking of the mini or normal ones
#13233 How to manual read/write internal flash?
Posted by Michel Trahan on 13 May 2011 - 02:42 PM in Netduino Plus 2 (and Netduino Plus 1)
Just to see that I understand : lets say you have a normal netduino with XBee but no SD card, you could send info to the netduino that would persist even after power recycling (like encryption key or remote ip address of neighbor sensor or ...) ? That could be interesting.NET MF 4.2 (beta coming by summer) includes a new "simple storage" mechanism for storing data on-chip. We'll be embracing this in the Netduino 4.2 firmware to enable you to read/write data from your Netduino app as well.
#12986 Sleep In Microseconds
Posted by Michel Trahan on 09 May 2011 - 01:19 AM in General Discussion
Sorry, I missread it ...my problem is trying to get it to microsecond accuracy
#12981 Sleep In Microseconds
Posted by Michel Trahan on 09 May 2011 - 12:42 AM in General Discussion
#11587 Anybody interested in a cheap IMU?
Posted by Michel Trahan on 02 April 2011 - 04:47 PM in General Discussion
- Netduino Forums
- → Michel Trahan's Content
- Privacy Policy