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.
I costs about $25 (sometimes $20 on sale) and fits perfectly on a proto-shield. I use a 6" flat cat5 patch cable to connect it to the Plus or Plus 2. Once configured and connected to your network it works transparently. Your Netduino is IP addressable just as if you were connected directly the network with an ethernet cable; no drivers necessary.
I costs about $25 (sometimes $20 on sale) and fits perfectly on a proto-shield. I use a 6" flat cat5 patch cable to connect it to the Plus or Plus 2. Once configured and connected to your network it works transparently. Your Netduino is IP addressable just as if you were connected directly the network with an ethernet cable; no drivers necessary.
So just to make sure I understand it correctly, I'm going to fix that nano router on my robot and plug it in the ethernet port.
Yes, but make sure you configure the nano first so that it attaches to your router.
Regarding the battery, I have one similar (6600 mAh). These batteries are ubiquitous and the marketed capacity vs. the real capacity is questionable. The RAVpower brand seems to be the most reliable in meeting advertised capacity.
I would use a boost converter for 9V and run off of your main battery if these 1A/2.1A mobile device chargers can supply enough current for your motors,
Well, my battery puts out 5V at 1 or 2.1A depending on the port. Power supplied to the Plus2 (via USB) is 5v with current draw < 500mA. The current draw of the Nano is of the order of 300 mA (at 5V). It would seem that you could get a regular USB-to-micro cable, splice in another micro cable and power both the Nano and Plus 2 from the 1A battery port. The 2.1A port is then free for your motor requirements. I don't know where the 9V requirement comes from. All I was suggesting is that if you do in fact need 9V, you can get it with a boost up-converter between the 5V battery and your 9V device.
that's a nice battery you linked; a bit pricey, however.
man thats so nice. I didnt think about the USB y-cable. The whole 9 volt thing is because I had in mind the netduino needed a 7.5 to 9 volt input. but with the micro usb, its 5 volt so were fine. the 9 volt thing is when you power it from the vin ( its called vin, right ?)
we plug a a USB A in the 5 volt 1A side of the battery, take the USB A and we plug it in the nano router, we take the micro B and we plug it in the netduino.
Then, we plug USB in the 2A plug, and somehow skin it to get off the positive and negative wires (yea?), and wire it in the DF Robot Shield.
the df robot shield says
Motor Driven Voltage?6.5~12v(VIN Power Supply),4.8~35V (External Power Source)
and this is ok because we are setuped as an external power source, right?
[color=rgb(255,0,0);]No, that cable from Amazon is wrong[/color][color=rgb(0,0,0);]. You want a regular USB cable that splits into two micro USB connectors, one goes to the Netduino micro USB port, the other goes to the Nano micro USB port. I am pretty sure the Nano has a micro and not a mini USB, but you better check. Look at the USB Y-cable I linked.[/color]
it says in this and some other web sites that the usb only output 500mA ?
but the battery says it outputs 2A ? how does this work ?
A regular USB port on a computer can supply a maximum current of 500mA. This has nothing to do with your application. You are supplying 5V from the battery. The Netduino and Nano require 5V on their USB ports. They will draw whatever current they need and it will be less than 1A.
[color=rgb(0,0,0);]Green It uses extremely low power, and can run completely wireless using power from an USB port. The included power adapter is optional.[/color]
but from here it says micro usb. (i think its another model tho but looks similar to the other)
Well, with the Nano you simply have two options for supplying power. It comes supplied with a regular USB male to micro male cable and a wall power adapter with a USB female. You can plug the cable into a PC USB port or into the wall adapter. The micro end plugs into the Nano. The Nano draws about 300mA so it is within the PC USB port spec. (e.g. can supply up to 500mA). So, with your micro terminated y-cable you are good to go. The 1A battery port can supply plenty of power for both the Netduino and the Nano. I ran the Nano for about 10 hours on a 6600 mAH battery.
Here is what I do to make a USB power cable for use with a phone or tablet charger to supply power to a breadboard or a female header:
(1) cut off one end of the cable
(2) expose the wires
(3) take red and black breadboard jumper wires and cut them to your required length (I use about 2")
(4) solder the red to cable red and black to cable black
(5) trim the other cable wires so no possibility of shorting
(6) encase the solder joints with small diameter heat shrink tubing
(7) finally, use a larger diameter heat shrink tube to cover a small portion of the cable and the heat shrinked joints for reinforcement.
I really can't give any advice on the motor shield. i have never used one. All I know is that if you use your modified cable it will deliver up to 2 mA at 5V from the battery port with red = +5V and black = gnd.
I tryed to configure the edimax... but can't get it to work.
I configured it with the pdf instructions but I think I should have entered an ip address at the end of the configuration, even if they didnt say it.
Now, I can't get back to the configure page. It looks like I can't reset it too ?
It's plugged into my pc, with the lan port, I try to get to the page with 192.168.2.1 ....
I also tryed to plug it into my router and access to the configure page but it didnt work.
edit: looks like i can reset it by holding the button 10 seconds. im gonna try that and see what happens.
Also, it says somewhere that clicking that "pressthis button forlessthan 10 secondsto activate
WPS function)" .... Could it be that when I pluged the router to my netduino, and put the power on, the netduino tryed to go to the web before the wps function was actived which caused my program to fail...
ninja edit: hm. by powering it via my pc instead of the same batterie as netduino, i finally got my netduino to ping my log web site. ( so the problem was indeed that my main program was trying to get to internet before the edimax was ready. )
I used to log the ip that my netduino acquired, but it says 0.0.0.0