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.

Michel Trahan's Content

There have been 155 items by Michel Trahan (Search limited from 29-April 23)


By content type

See this member's


Sort by                Order  

#12684 Code Contracts

Posted by Michel Trahan on 30 April 2011 - 12:19 PM in General Discussion

We might consider to study a special "good-practice" guidance for tiny boards like Netduino.

That would be perfect for a tutorial :) Perfect for newbies like me that want to learn the best practice on MF :)



#12660 Simple multi-threaded web server

Posted by Michel Trahan on 30 April 2011 - 03:41 AM in Project Showcase

I don't know if you want to use this, but as your project grows, you might find it easier. Good luck!

How do we discriminate the request received ? Where is the command string ? Where are the arguments ... needed ...

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



#12640 Newbie question: Reef Tank Controller?

Posted by Michel Trahan on 29 April 2011 - 01:23 PM in General Discussion

I see another type of usage ... hydroponics :)



#12624 HT1632 interface (alpha)

Posted by Michel Trahan on 28 April 2011 - 11:24 PM in Netduino 2 (and Netduino 1)

I'll have to try this out :)



#12623 Double prescision math lib?

Posted by Michel Trahan on 28 April 2011 - 11:18 PM in Netduino 2 (and Netduino 1)

I will have to see if I can get a build cooked up for you. Which Netduino do you have?

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)



#12622 NetduinoPlus Silverlight Server (preview)

Posted by Michel Trahan on 28 April 2011 - 10:59 PM in Project Showcase

Got it Thanks !



#12596 Parking Sensor

Posted by Michel Trahan on 28 April 2011 - 04:03 PM in Netduino 2 (and Netduino 1)

Add a yellow for the right position you want (hardcoded since no interface) and a red when you go beyond the right position. That would be a perfect solution. (human factor specialist in me had to comment) Besides that good work and Welcome to the community :)



#12594 Double prescision math lib?

Posted by Michel Trahan on 28 April 2011 - 03:57 PM in Netduino 2 (and Netduino 1)

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?

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).

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 !



#12592 Double prescision math lib?

Posted by Michel Trahan on 28 April 2011 - 03:35 PM in Netduino 2 (and Netduino 1)

But why do you thinking to a web server?

To show the results on a PC ... live !

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)



#12588 Double prescision math lib?

Posted by Michel Trahan on 28 April 2011 - 02:41 PM in Netduino 2 (and Netduino 1)

Michel, I really can't understand what you are going to propose and for what target...

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.

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) !



#12585 Double prescision math lib?

Posted by Michel Trahan on 28 April 2011 - 01:47 PM in Netduino 2 (and Netduino 1)

It got me thinking ... We should have an application that is PC based, that talks to a netduino through IP. The PC version would display the difference (3 columns, one for the selected function PC result, one for the Netduino result and one for the differences) for input many values for a selected function (have a combobox with all the available function) (2 more columns for the time it took ?) The PC application would poll the netduino for a series of results from a given function and a given series of input values, and then display them on screen. This would allow to show the valid ranges of some functions (we do that in physics) and the cost of using them (FFT you need something fast no ?). It would also allow the library coders see the results of their implementation on the spot :) Web server on the netduino plus, PC app that talks to the netduino server showing columns (I need to learn how to do all that lol) It would be a great application for anyone that wants to use the netduino for science ... they would know right there and then what would be the cost and errors induced by using the netduino. I vote for this as a tutorial :) Anyone interested ?



#12582 Happy Birthday boobytrap

Posted by Michel Trahan on 28 April 2011 - 01:32 PM in Project Showcase

Forgot to say, VERY COOL PROJECT ! A definite must have on a tutorial site :) Great work Stefan !



#12581 Happy Birthday boobytrap

Posted by Michel Trahan on 28 April 2011 - 01:30 PM in Project Showcase

If so, it's like throwing 300Eur in the can...

How many netduino minis does that make ?



#12580 High Speed Photography

Posted by Michel Trahan on 28 April 2011 - 01:20 PM in General Discussion

Did you remember the "ancient" PC-XT @ 4.77MHz, with 640K ram???

Hey, I bought a co-processor for one of those to make my galaxy creation simulation work in a week instead of a month :)

However, there are many friends that don't know how to build even a simple circuit with a 555.

I'll have to learn about those :)

Secondly, perhaps they are attracted by this board and would build a very simple application.

Yeap, that is me, simply learning .net in an interesting way (.net in all forms, normal, phone and MF, cool and having fun)

Thirdly, such a context is very useful because it shows clearly some lacks of a Netduino/MF board.

This is the goal of this experiment. Find out what works and what is missing, all for the ease of programming whatever we get our hands on :)

I'm looking at a 3D Printer right now and it is because I played with a netduino that I might have on in a few months :)

It is not a problem of our lack of knowledge about what to use when ... it is a question of finding out how we can adapt our tools to help even more :)

I Love This Community (ILTC)



#12579 Driverless PC<->Netduino communication using USB

Posted by Michel Trahan on 28 April 2011 - 12:52 PM in Beta Firmware and Drivers

You can also erase your Netduino using the erase pad...and then redeploy the bootloader using Atmel SAM-BA and the firmware using MFDeploy...all using USB.

Great News everyone, Terry Massey found a new way to get out of this mess. FOLLOW THIS PROCEDURE TO THE LETTER :

Prepare everything since time is of the essence.

1- Have your netduino with the mini usb connected to it but not to the computer (leave the usb connection near the ports)
2- Start MFDeploy.exe, select USB as the transport (the combobox will be empty, and that is ok)
3- Put the mouse over the "erase" button on MFDeploy.exe

Once you are ready do this :

1- Press and hold the push button on the netduino for the whole procedure (leave it pushed at all times)
2- Plug the USB to the computer
3- You should see the combobox in MFDeploy.exe contain your usb port
4- Press as fast as you can the "erase" button on MFDeploy.exe
5- You can now release the push button on the netduino

If it worked, you should get a message asking if you are sure you want to erase the software on the netduino. This will only delete de software, not the bootloader :)

You can now deploy some other application while waiting for you RS232 shield and try the HID again :)

THANKS TERRY !



#12547 Driverless PC<->Netduino communication using USB

Posted by Michel Trahan on 28 April 2011 - 02:10 AM in Beta Firmware and Drivers

You can also erase your Netduino using the erase pad...and then redeploy the bootloader using Atmel SAM-BA and the firmware using MFDeploy...all using USB.

Should I install v4.1.1 beta firmware even if I only have an ordinary netduino ?



#12542 Driverless PC<->Netduino communication using USB

Posted by Michel Trahan on 27 April 2011 - 09:33 PM in Beta Firmware and Drivers

You know ... this is dangerous for someone who reads too fast ... I tried it without having a rs232 shield for the netduino and now it won't communicate with the pc ... What are the steps ? 1- Buy the RS232 Shield 2- Place it on top and connect usb-rs232 cable to it and the computer 3- ReDeploy something else using serial 4- then everything should be back ok ? Mike and his errors ...



#12529 Double prescision math lib?

Posted by Michel Trahan on 27 April 2011 - 11:52 AM in Netduino 2 (and Netduino 1)

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.

That was before I got a netduino :) It would be useful to have one ...



#12516 Slightly off topic - HID device to Windows

Posted by Michel Trahan on 26 April 2011 - 11:59 PM in General Discussion

Early USB HID support is built into the v4.1.1 beta firmware. We posted a sample for a driverless HID communication channel.

But I will need to have a RS232 Shield to be able to deploy using RS232 (and then remove the RS232 Shield ?). Then I can connect to a pc using usb and communicate with the pc using the usb ? (do I need to give the netduino power with an external source?)

You could certainly do these sorts of things natively on Netduino. The benefit of using an external component, I suppose, is that a lot of the software work may already be done for you.

Was not thinking of using an external one. Was looking at the echo code which would be perfect for me ... except for the RS232, my portable does not have one ... but simple enough for transfering sensor data to a full graphical application !



#12508 Slightly off topic - HID device to Windows

Posted by Michel Trahan on 26 April 2011 - 07:00 PM in General Discussion

Do I understand this correctly, it would allow a PC Software to communicate with sensors connected to the netduino using the usb cable ? Like showing the results of the accel, gyro, compas on the computer screen ? Is something missing on the netduino to do what I just described ? This would be a great tool to work with :)



#12486 More RAM

Posted by Michel Trahan on 25 April 2011 - 05:33 PM in Netduino 2 (and Netduino 1)

you may take a look at the GHI's boards: they already offer something you are dreaming for!

Might have to when I start to really build the quadcopter, might need the speed ... but for now, I have to much fun here, this community is too great !

Be free and happy :)



#12484 More RAM

Posted by Michel Trahan on 25 April 2011 - 03:37 PM in Netduino 2 (and Netduino 1)

Pity :( What about a netduino mega version ? speedier ARM9 with a lots of memory ? Just dreaming I know :)



#12483 Best way to convert string to number

Posted by Michel Trahan on 25 April 2011 - 03:28 PM in Visual Studio

using System; ActualReading = Convert.ToUInt16(sActualReading);



#12471 Netduino to windows phone 7 ? Can it work ?

Posted by Michel Trahan on 24 April 2011 - 06:03 PM in General Discussion

Whilst the Bluetooth is not there the WiFi is but not as an API.

Do I understand correctly, the phone through Silverlight, can talk wifi to a wifi webserver (on the netduino equiped with a wifi shield and driver) ?



#12465 Speaker class and Netduino Keyboard

Posted by Michel Trahan on 24 April 2011 - 02:51 PM in Project Showcase

You have cool friends :)




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.