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 07-June 23)
.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.
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
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.
I do come from Montreal, province of Quebec, Canada, and a pure bastard (Irish, French, Indian(12th generation lol), and Iberville as a ancestor) (with this mixture bastard was the only appropriate one lol) and I'm proud to be
You should see my smile
And I do pronounce doo-ee-no exactly like dwee-no lol it's just a question of speed ?
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) ?
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.
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 ...
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 !
It 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.
I am having difficulty connecting the LCD through a 74HC595 ...
Problem solved ... usb froze and the potentiometer I was using was too strong ... lol cool !
Is there a reference document or any other resource that has the complete list of these types of functions and there parameters?
Working on it !
There is a bunch of code samples all over the place (and some in the sandbox.netduino.com) but I am working on a series of formal Tutorials (with Fritzing diagrams, documentation and code sample) and, I am also planning to get this list of functions/types available to us in the SecretLabs namespace (Chris I'll need your input for that).
It should be organized and easy to find
In the meantime, search the forums using keywords like SPI or I2C, you should find something that helps
calls to native methods are blocking, so the execution engine has to wait until the native method finishes.
That made me think about how we used to do sampling of brainwaves for consciousness detection under anaesthesia. First capture data and nothing else, then massage it (cumulate to get base wave, filter the 60hz that is everywhere, etc...). Since it is blocking, does it gives you full access to the mcu ? for only one process : capture data. That would be perfect.
So, correct me if I'm wrong, native code would allow you to stop everything else (gc included?) to capture clean data (maximum time allowed ?) and then back to managed code for ease of programming and analysis. I want one
you could load FreeRTOS on your Netduino...
That would be an interesting tutorial for advanced users and what is the language used in FreeRTOS ?
I'll check, thanks for posting
Saw the inside of them a couple of years ago when doing a job interview (6 out of 7 meetings, they usually give you your office key at the 7th ... missed it by that much), and the inside is great ! You should see the cafeteria, with their own chefs (yeah read chefs, with an s) lol
But the best was that on every floor there was softdrink distributor (free that is) with every imaginable kind of softdrink
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 !