- Netduino Forums
- → Viewing Profile: Topics: Flores
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
- Group Members
- Active Posts 64
- Profile Views 7868
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
1
Neutral
User Tools
Friends
Flores hasn't added any friends yet.
Topics I've Started
Ideas onexpanding analog ports
19 October 2010 - 09:33 PM
I want to make a system that monitors battery levels of as much batteries as possible.
This doesn't have to happen constant.. it's okay to have some sort of loop.. check bat 1, check bat 2, check bat 3, and so on. So I want to have some sort of digital switch that can be controlled with digital outs, for switching between analog levels of the batteries.
Any thoughts on which component I could use for that?
Thanks
Wrong network addressing breaks netduino plus
25 September 2010 - 07:48 AM
I'm experimenting with the code I posted earlier:
This works.. I'v got IIS running on my notebook, and i'm seeing this in my logfiles:
2010-09-25 07:39:58 192.168.5.150 4098 192.168.5.111 80 - Hallo Netduino 400 - BadRequest -
Which is expected.
However, if I change the ip address in the code above to a non existant address (like 192.168.5.10)..just to test what happens.. this totally crashes the netduino plus and VS 2010. Only way to recover is to reset the netduino with the reset button.
Am I just the wrong code? or is this a bug?
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using Microsoft.SPOT.Net.NetworkInformation; using Microsoft.SPOT.Net; using System.Net.Sockets; using System.Net; using System.Text; namespace NetduinoApplication2 { public class Program { public static void Main() { using (System.Net.Sockets.Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) { IPHostEntry entry = Dns.GetHostEntry("192.168.5.111"); IPAddress address = entry.AddressList[0]; IPEndPoint endpoint = new IPEndPoint(address, 80); socket.Connect(endpoint); socket.Send(Encoding.UTF8.GetBytes("Hallo Netduino plus")); } } } }
This works.. I'v got IIS running on my notebook, and i'm seeing this in my logfiles:
2010-09-25 07:39:58 192.168.5.150 4098 192.168.5.111 80 - Hallo Netduino 400 - BadRequest -
Which is expected.
However, if I change the ip address in the code above to a non existant address (like 192.168.5.10)..just to test what happens.. this totally crashes the netduino plus and VS 2010. Only way to recover is to reset the netduino with the reset button.
Am I just the wrong code? or is this a bug?
Default behaviour
25 September 2010 - 07:37 AM
I've just found out that by default the netduino plus is responding to icmp(ping) requests..
Is this the only default behaviour of the network stack? or are there more services that run?
And.. can I disable this behaviour?
How to use the new functionalities
24 September 2010 - 07:07 PM
Hi,
I've got my Netduino Plus in today.
And i'm wondering how to use the new functionality... I guess I must include some new assemblies? if so where can I find them?
Can I use this? Beta assmblies for SD card
And this one? Beta assmblies for ethernet
Thanks
I've got my Netduino Plus in today.
And i'm wondering how to use the new functionality... I guess I must include some new assemblies? if so where can I find them?
Can I use this? Beta assmblies for SD card
And this one? Beta assmblies for ethernet
Thanks
Communication between 2 or more duino's
23 August 2010 - 07:47 PM
Any thoughts experiances on connecting 2 or more netduino's over a 5 meter distance?
I have no idea, and was thinking of an ethernet shield, is that a good idea? Is there something better/cheaper?
Thanks
- Netduino Forums
- → Viewing Profile: Topics: Flores
- Privacy Policy