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.

monewwq1's Content

There have been 104 items by monewwq1 (Search limited from 13-May 23)


By content type

See this member's


Sort by                Order  

#17277 Input Debounce

Posted by monewwq1 on 30 August 2011 - 03:34 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi, I have a wall switch connected to D4 and Ground on my Netduino Plus. I am using the internal pull-up resistor and I set the glitch filter to true. The input still bounces a lot. I also tried just using jumper wires as the switch and it is still very bouncy. My code is simple. I set an Interrupt to listen for EdgeDetectBoth and in the interrupt I am just printing the status to the debug window. Any thoughts as to why it would be so bouncy? I tried putting a .1uF capacitor across the connection and that helped, but is a cap connected across D4 to Ground an Ok method to use or will this cause problems with the Netduino? Is it better to set up a software debounce?



#17108 Booting Linux from Netduino Plus microSD card?

Posted by monewwq1 on 26 August 2011 - 02:36 PM in Netduino Plus 2 (and Netduino Plus 1)

Is it possible to boot an install of Linux with the on-board microSD card? Can I "auto-boot" Linux when the SD card powers up? I want to be able to run Linux on the microSD card so that the Netduino would basically become an MCU running Linux and I could then communicate to the Linux install from C#. Is this possible?



#16998 Netduino - WiFi

Posted by monewwq1 on 24 August 2011 - 02:45 AM in Project Showcase

Hi Nick,

I ordered a GainSpan module from SparkFun, and thanks to your code was up and running quickly. I haven't done any systematic measurements yet, but got the impression that the module's throughput is rather low.

I thought of using bulk mode transfers, which may be faster, but the documentation (Serial_to_WiFi_Adapter_Guide ver 5_3.pdf) appears inconsistent. I tried the command AT+BDATA=1 to enable bulk mode, and then ESC 'Z' for sending data, but got error messages. My module's firmware version is 2.2.4, btw.

Do you have experience regarding the module's throughput?

Thanks and best regards

Cuno


Hi Cuno,

I am glad to hear you were able to get the Gainspan module communicating. To enable bulk data mode, you need version 2.3.1 of the Gainspan firmware. To obtain version 2.3.1, you would need to sign an NDA with Gainspan for the firmware update. When you say the throughput is low, do you mean the Wi-Fi to serial conversion? You might try adjusting the Baud Rate of the serial connection. Please update me on how you're doing with it. Good luck.



#16807 SQLite

Posted by monewwq1 on 18 August 2011 - 12:27 AM in Netduino Plus 2 (and Netduino Plus 1)

So how about this: could I run Puppy Linux (http://puppylinux.org) headless on the microSD card, along with a LAMP stack and then somehow query the LAMP stack from the Netduino using C# code? I'm thinking of having the Netduino make a port 80 request to a php page running on the Apache web server on the Linux install, querying the MySQL database via php and then returning the results as a string to the Netduino. :) If anyone knows how to do this or thinks it would work, please let me know.



#16806 Two Netduinos connected to single PC via USB

Posted by monewwq1 on 18 August 2011 - 12:14 AM in General Discussion

Yes, exactly. You can also rename one of them to something more permanent by using the Target > Configuration > USB option in MFDeploy.

For instance, you could name one "NetduinoPlus_PeanutButter" and the other "NetduinoPlus_Jelly". [Bonus: if they ever become sentient, they'll already be friends...]

Naming them is probably the best option...because them it won't matter which order they're plugged in...Visual Studio will always recognize them by their custom names.

Chris


Excellent. Thanks again, Chris.



#16802 Two Netduinos connected to single PC via USB

Posted by monewwq1 on 17 August 2011 - 10:27 PM in General Discussion

I guess I'm going to be forced to try this on my own. I will let you know the outcome. :)



#16777 Two Netduinos connected to single PC via USB

Posted by monewwq1 on 16 August 2011 - 11:18 PM in General Discussion

I need to deploy some C# code onto two Netduinos but each Netduino requires different code. Is it possible to connect both Netduino's, at the same time, to a single laptop via two USB ports on the laptop? In C#, will the device name change from "NetduinoPlus_NetduinoPlus" to NetduinoPlus_NetduinoPlus_1" or something so that I can select which Netduino to target?



#16676 Lithium batteries

Posted by monewwq1 on 13 August 2011 - 12:21 AM in General Discussion

Looks like you can.


Chris- yes, this setup works great.



#16391 Diffusing LEDs

Posted by monewwq1 on 06 August 2011 - 04:03 PM in General Discussion

Hi all, I am using some small LEDs for a project, and the goal is to create a small light fixture. I am trying to find a good material to use to diffuse the light from the LEDs. I have looked at theatrical gel filters, but these are flimsy and impermanent. Is there a way to use a piece of Lexan and coat it with diffusion material? If so, what diffusion material would work best? Or is there some kind of plastic like Lexan that already has a suitable diffusion coating? Any help is greatly appreciated! Thanks!



#16327 SQLite

Posted by monewwq1 on 04 August 2011 - 01:35 PM in Netduino Plus 2 (and Netduino Plus 1)

Well unfortunately it didn't work. I tried using this: http://system.data.s.../www/index.wiki, and it looked like it was going to work, but because .Net MF doesn't provide access to System.Data.*, the code doesn't actually load onto the Netduino. Mario, protocol-buffers is an interesting idea, although I'd really like to get Sqlite working. But it sounds like I would have to work a miracle. :D



#16292 SQLite

Posted by monewwq1 on 04 August 2011 - 01:33 AM in Netduino Plus 2 (and Netduino Plus 1)

Hmmm, I think I just figured it out. :D



#16291 SQLite

Posted by monewwq1 on 04 August 2011 - 01:24 AM in Netduino Plus 2 (and Netduino Plus 1)

There's also this little reference to 32-bit MCU's and Sqlite: http://www.microchip...ms/m469667.aspx



#16290 SQLite

Posted by monewwq1 on 04 August 2011 - 01:20 AM in Netduino Plus 2 (and Netduino Plus 1)

This ChipworX module has built-in Sqlite support: http://www.saelig.com/NMFP/NMF010.htm I bet the Netduino doesn't have enough processing power to handle database access.



#16289 SQLite

Posted by monewwq1 on 04 August 2011 - 01:04 AM in Netduino Plus 2 (and Netduino Plus 1)

Would it? :) If I figure it out I'll let you know. I've done extensive searches and don't see any reference to this, but maybe there's someone out there who knows.



#16280 SQLite

Posted by monewwq1 on 03 August 2011 - 10:28 PM in Netduino Plus 2 (and Netduino Plus 1)

Does anyone know if it is possible to install SQLite on a microSD card and then access the database engine using the .NET Micro Framework from my Netduino Plus? I need to add a database to my Netduino Plus project and I do not want to have to run a web server/database on a separate computer. I need the database access to be self-contained on the MCU's SD card. If there is any way to do this, even if it is not using SQLite but some other database engine, please let me know. I would rather not use flat files for storage.



#16279 LiPo batteries

Posted by monewwq1 on 03 August 2011 - 10:23 PM in General Discussion

Thanks CW2!!



#16219 LiPo batteries

Posted by monewwq1 on 03 August 2011 - 03:03 AM in General Discussion

Hi! I bought a 3.7v 1000mAh single cell LiPo battery and a LiPo charger/boost converter (http://www.sparkfun.com/products/10300), but I don't understand how I can wire the LiPo battery to my Netduino Plus. Can I connect the LiPo battery to VIN and GND? Since I am only getting 5V from the battery, I don't think VIN and GND will work. Where do I plug in the battery to power my Netduino? Thanks! Nick



#16132 Netduino - WiFi

Posted by monewwq1 on 01 August 2011 - 01:09 AM in Project Showcase

Hi all, For those interested, just an update on this Gainspan module- please note that in order to obtain the newest firmware and future updates, you will need to sign a mutual Non-Disclosure Agreement with Gainspan. I wasn't real happy about having to do this, but it was relatively painless and the new firmware opened up a world of more possibilities. It took me 8 days to get my NDA approved.



#16130 Lithium batteries

Posted by monewwq1 on 01 August 2011 - 01:00 AM in General Discussion

I actually bought this the other day: http://www.sparkfun.com/products/10300, along with this cell: http://www.sparkfun.com/products/339. Do you know if the Power Cell - LiPo Charger/Booster will allow me to keep my project plugged in while also charging the lithium battery? I couldn't find a clear answer on that. I don't want to have to remove the battery and unplug my Netduino in order to charge it.



#16129 2gb microSD card read speed

Posted by monewwq1 on 01 August 2011 - 12:54 AM in Project Showcase

Could be a problem with the SD card... I'm re-formatting it now. I don't have a second one around to try. Perhaps the issue is more related to my code and what I am doing. I am reading a file off of the SD card via a Filestream, and then I am sending the data out onto the Netduino's UART to another device. I am sending it at 1024 bytes at a time, but I wonder if I am running into speed issues because of the fact that I'm re-assembling it for transport onto the UART. The other device also then has to process it. I'm not sure where the bottleneck is. I'd like to think it isn't my code, but that's also possible.



#16125 Lithium batteries

Posted by monewwq1 on 31 July 2011 - 11:41 PM in General Discussion

What is the best way to add Lithium batteries to a Netduino project? I need to be able to power the Netduino and connected devices via the Lithium battery and also recharge the Lithium battery via USB. I want it to all be self-contained, so that I will be able to simply plug a USB cable into the interface and charge the battery while also powering the Netduino and connected devices. What should I use?



#16124 2gb microSD card read speed

Posted by monewwq1 on 31 July 2011 - 11:37 PM in Project Showcase

I have a 2gb microSD card that I pulled from my Blackberry and I plugged it into my Netduino Plus, and I noticed that it is very slow to read files. It is even slow when using a USB-to-microSD card reader. I am comparing to the speed of a standard USB drive. Are USB read times normally faster than microSD, or am I doing something wrong? Is there a way to read USB drives with a Netduino, i.e. with a compatible USB shield or something? I need faster read times somehow. Even a 20kb file takes too long.



#15965 Netduino - WiFi

Posted by monewwq1 on 27 July 2011 - 12:52 PM in Project Showcase

Dumb question. Can this be used with a regular Netduino (not Plus)?


Yes, this can be used with the regular Netduino as well.



#15840 Netduino - WiFi

Posted by monewwq1 on 24 July 2011 - 12:01 AM in Project Showcase

Hi, I re-factored the code today. There were issues with the DataReceived event and commands processed way too slowly. Now the commands are near-instantaneous to respond. This also adds the ability for multiple clients to control the LED, and I also added a small PC fan to the circuit, controllable via one of the PWM outputs on the Netduino Plus. The code update is attached.



#15804 Netduino - WiFi

Posted by monewwq1 on 23 July 2011 - 03:18 AM in Project Showcase

Hi all,

The project files are attached. There are comments in the project indicating how to connect the Gainspan module to the Netduino. The code contains very little error handling, as this is currently in the experimental stage.

Here are links to the documents I consulted to put this together:





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.