I've written a basic driver for this here
It's basically a direct port of the supplied driver for the arduino
- VBWorld likes this
  | ||||||||||||||
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.
Community Stats
#58610 Disk Drive Storage ProjectPosted by wendo on 06 June 2014 - 11:13 PM I'm exceedingly doubtful you could do this with a netduino at any sort of decent speed.
Initially you need to get another USB port from somewhere at minimum, but likely 2 as they need to be host ports. Either these would have dedicated controllers of their own, which you interface with over SPI or I2C or something, or you'd need to bit-bash them, the second likely isn't possible at all due to timing issues, the first would severely limit your speed.
Secondly you don't have the sort of memory available for to do any sort of decent read caching. Assuming you can pull that off, you then need to be able to decode the partition table and file system, read the data from it and and write the data to the new file system at ~30MB/sec whicih is all you can get from USB2 anyway. I don't know of any way you could push that sort of speed through a netduino alas.
You dismiss the software as easy, but being able to read and write to NTFS partitions and file systems is no small feat for something on this scale.
For something like that you'd probably want to look at something like an FPGA board, but even that would be pretty painful as while you'd get the hardware side done fairly easily at decent speed, you still need the whole filesystem and partition layer to be able to write to the second drive.
#58447 Browser problem: Firefox spell checker not working in edit boxPosted by wendo on 28 May 2014 - 07:57 AM What _do_ you get when you right click in the edit box? Websites can replace the right click menu, but working around that is pretty simple with add-ons, but before you go down that road you'd want to confirm that's whats going on
#55016 SMS/TxT controlled mains power socketsPosted by wendo on 31 December 2013 - 12:17 AM Hi All
My first real project after having my Netduino for 2 weeks is pretty much complete, at least based on the original specs I had in mind. It's an SMS controlled mains power switch, switching up to 4 sockets independently.
You can send it SMS commands to turn on, turn off, or return the current state of each of the relays/sockets.
It consists of
I hope to eventually fit this all into a 4 socket power board, although I'm not sure at the moment exactly how I'm going to do that.
The GPRS shield is on COM1 and the LCD on COM2 with the relays connected from D4 - D7.
The code is heavily based on Jair's code here but translated to English (thanks Google!) and some bugs caught. The biggest being I had to add a delay to the eventhandler for incoming messages or I wouldn't always get actual message text, only the header. I'm not sure if this is expected of the event handler (to fire before the buffer has finished writing) but once I caught that everything else was pretty straight forward. I did add some code to pull the date/time from the cell network.
The LCD code is basically a direct port of the Seeedstudio Arduino driver and would obviously need to be replaced anyway since the LCD is now discontinued.
One thing I'd still like to add is a timer or event to automatically turn the back-light of the LCD off after 5 seconds of inactivity to save power, however the initial attempt didn't go great so that's still on the to-do list. Since I'm brand new to C# it'll probably take some time.
If you're looking for a driver for a SIM900 based shield, the version I've used it probably the best one available at the moment. All the previous ones I looked at either didn't do SMS at all, or only did sending. Jair's driver was a godsend in that regard.
Full code is here
Questions and comments welcome. This was my first experience with .NETMF, C# and Netduino so it's likley I've done a lot of things wrong, but it works
Edited: Changed Repo and made code modular so LCD code can be disabled
| ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||