- Netduino Forums
- → emg's Content
emg's Content
There have been 62 items by emg (Search limited from 28-April 23)
#46074 Netduino Plus 1 Firmware v4.2.0 (update 1)
Posted by emg on 22 February 2013 - 02:30 PM in Netduino Plus 2 (and Netduino Plus 1)
#50196 Netduino Plus 2 Firmware v4.3.0 (beta 1)
Posted by emg on 02 June 2013 - 04:10 PM in Beta Firmware and Drivers
Now I read this, I am very disappointed in Nettduino Secret Labs.
Have a look at GHI Electronics devices. They are still at 4.2, but this Developer page shows clearly the release status and known issues. It sure beats having to scan hundreds of posts in multiple forums to gain the same knowledge about the Netduino. They also don't appear to be distracted with a kickstarter and a watch.
#53795 Netduino Plus 2 Firmware v4.3.0 (beta 1)
Posted by emg on 03 November 2013 - 10:49 AM in Beta Firmware and Drivers
I echo JoopC's request and [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]neographikal sentiment. [/color]
#46615 Switching deployment/debugging between USB and COM1/COM2
Posted by emg on 04 March 2013 - 03:45 PM in Beta Firmware and Drivers
Kyle,
Welcome! They could probably use your insight into USB over here --> Looking for a few ninja code contributors...
#40247 Netduino Plus 2 Pinout Reference Sheet
Posted by emg on 26 November 2012 - 06:38 PM in Netduino Plus 2 (and Netduino Plus 1)
* Ethernet is 10/100 Mbps
AFAIK it is only 10Mbps...
#40248 Monitor & Control your Garage Door with Android App
Posted by emg on 26 November 2012 - 06:43 PM in Project Showcase
#40325 Monitor & Control your Garage Door with Android App
Posted by emg on 27 November 2012 - 05:59 PM in Project Showcase
#42342 Visual Basic support for Netduino and .NET MF now in beta
Posted by emg on 28 December 2012 - 11:36 AM in Visual Basic Support
I must have missed this too, does VB now implement System.Convert.ToUInt64, Decimal, etc? (try decoding a NTP time byte string in VB only!)
#44186 Netduino Plus 2 Firmware v4.2.2
Posted by emg on 25 January 2013 - 05:30 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi cranberry,Are you looking for 4.3 firmware...or VS2012 support? We're working on both. It's not a big upgrade, feature-wise. But it's a big upgrade, firmware-integration-wise.
Chris, does 4.3 have ethernet unicast/multicast support?
#43880 Library for HC_SR04 Ultrasonic Rangefinder
Posted by emg on 21 January 2013 - 05:27 PM in Netduino 2 (and Netduino 1)
HAH, now that would be a great Netduino video to post
Yes, that's exactly what the internet needs, more cat videos.
#46608 Looking for a few ninja code contributors...
Posted by emg on 04 March 2013 - 09:52 AM in General Discussion
You can browse the code in that CodeProject article...
#42275 Service note: updates to forums
Posted by emg on 27 December 2012 - 05:19 PM in General Discussion
HI Steve,
I used to use Chrome and it worked fairly well, until about a month or so ago when there was an update. Now I get "Unfortunately, Chrome has stopped" when ever I try and start it. Even after a factory reset and re-install!
I just tried Dolphin (recomended by a friend), that does the same as the default browser - half the page disapears when I try and add text to the reply box.
Given the others on this forum who have responded that their browser's are working, I think it must be this tablet that is at fault. I'll have to add "SUMVISION" to the home electronics black list.
Thanks everyone - keep unwrapping those presents.
Have you tried resetting the tablet back to defaults? What about the latest firmware updates like these:
http://www.sum-visio...upportastro.asp
I purchased this for £65 last week:
http://www.ergoelect...tablet-gbt740rs
and it seems OK. I have noticed that it struggles with big websites and can sometimes pause for a few seconds before updating. I plan on using it to control some home automation tasks so it should be sufficient.
Good luck!
#42238 Service note: updates to forums
Posted by emg on 27 December 2012 - 03:53 AM in General Discussion
#42285 Service note: updates to forums
Posted by emg on 27 December 2012 - 08:56 PM in General Discussion
I am plucking up the courage to do the firmware re-install.
On mine there is a button for 'Factory data reset' under Settings|Personal. I've done this already after messing about and it works well. Right back to square one.
#45519 Safely ejecting SD card (and other problems)
Posted by emg on 14 February 2013 - 07:33 PM in Netduino Plus 2 (and Netduino Plus 1)
#44881 New installer is WiX based! Source posted too...
Posted by emg on 04 February 2013 - 02:43 PM in General Discussion
Integrate how, into the VS IDE? No. Be able to load a project and scan all the dependencies, runtime support, GUI/LUA for scripting, templates for common install tasks, yes. Not open source, but worth the money IMHO.
#44872 New installer is WiX based! Source posted too...
Posted by emg on 04 February 2013 - 11:34 AM in General Discussion
I use Setup Factory from Indigo Rose and have found it very easy to work with.
#44023 Memory leak
Posted by emg on 23 January 2013 - 03:27 PM in Netduino Plus 2 (and Netduino Plus 1)
Have looked at any other WiFi options? I have played about with an OpenPicus Flyport and it has lots of configuration options, send data via FTP, email, UDP, etc or has a built in webserver. 49 euros. I've tested mine with sending/receiving UDP packets to my PC via Wifi and it seems solid.
http://wiki.openpicu...le=Flyport_WiFi
#44026 Memory leak
Posted by emg on 23 January 2013 - 05:11 PM in Netduino Plus 2 (and Netduino Plus 1)
It could be either, really. I plan on using mine as a WiFi Ethernet to SPI bridge. I guess it depends how smart your counter devices need to be. If you want to 'process' or manipulate the data, cache it locally onto SD card, etc or just count and send totals. You might get way with just the Flyport if you don't need all the power of a N2+.
Here are some more links to libraries and sample applications:
http://wiki.openpicu...title=Tutorials
http://wiki.openpicu...munity_Projects
http://wiki.openpicu...title=Libraries
#40844 Any ETAs for Netduino Plus 2 Fixes?
Posted by emg on 03 December 2012 - 02:25 PM in Netduino Plus 2 (and Netduino Plus 1)
#44297 DFROBOT Buggy
Posted by emg on 27 January 2013 - 11:23 AM in Project Showcase
Hi Paul,
All you needs it a WiFi access point (that has some spare ethernet ports) or an ethernet switch. Each device connects to your common switch via cable or WiFi. As long as each device has a discreet MAC and IP address, each Netduino and rPi can 'see' and communicate with each other. I assume the rPi is not able to handle having Ethernet port and Wifi USB dongle at the same time.
As for UDP, I choose to use it specifically because it >was< so simple. Using a N+ at 4.2, (with fixed IP address and MAC set) it was easy to communicate via UDP with my PC on the same network. I also have a rPi that I hope to use as a 'controller' using a visual studio application running under Mono (right now Mono only runs under soft float Debian, not Raspbian).
My strategy for using UDP was to use 2 queue's, 2 threads and 2 UDP ports, one for sending, one for receiving.
Private Sub sendUDP() 'looks to contents of dataQ and cmdQ and sends. Priority given to cmdQ items Try sendQ.commands.Clear() sendQ.sensorData.Clear() Dim ep As New IPEndPoint(IPAddress.Parse("192.168.0.9"), 11000) Dim xmitUDP As New Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp) Do SyncLock (sendQ) If sendQ.commands.Count > 0 Then xmitUDP.SendTo(Encoding.UTF8.GetBytes(sendQ.commands.Dequeue.ToString), ep) ElseIf sendQ.sensorData.Count > 0 Then xmitUDP.SendTo(Encoding.UTF8.GetBytes(sendQ.sensorData.Dequeue.ToString), ep) End If 'keep queues to 15/5 If sendQ.commands.Count > 15 Then sendQ.commands.Dequeue() End If If sendQ.sensorData.Count > 5 Then sendQ.sensorData.Dequeue() End If End SyncLock Thread.Sleep(500) Loop Catch ex As Exception rebootNetduino(True, False) End Try End Sub
So in the above example I de-queue and send a string of text that is either parsed out as sensor data or commands.
To Receive:
Private Sub RECVctrl() Try Dim anyEP As New IPEndPoint(IPAddress.Any, 11001) Dim recvUDP As New Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp) Dim recvbuf() As Byte = New [Byte](200) {} 'was 255 Dim sender As New IPEndPoint(IPAddress.Any, 0) Dim senderRemote As EndPoint = CType(sender, EndPoint) recvUDP.Bind(anyEP) Do recvUDP.ReceiveFrom(recvbuf, senderRemote) runCommand(New String(Encoding.UTF8.GetChars(recvbuf, 0, recvbuf.Length))) Array.Clear(recvbuf, 0, 200) Loop Catch ex As Exception sendMSG(MC.ERR, MP.Sub_RECVctrl, MT.REBOOT, ex.Message.ToString) Thread.Sleep(1000) rebootNetduino(True, True) End TryEnd Sub
In the above receive example, I have a 200 byte array as a receive buffer and the received 'commands' are parsed and acted on in another Sub (runCommand).
So in my configuration, I am sending text strings via UDP to IP 192.168.0.9 on port 11000 and I am listening for text string sent from any IP on port 11001. This is done this way as the N+ is sending sensor data to my PC (or rPi eventually when they get HF Mono sorted) and can be commanded from any other device on the same 192.168.0.x network by listening on port 11001. The N+ is used to drive a DHW circulating pump in my house and collect temp readings and pump status.
HTH
#44327 DFROBOT Buggy
Posted by emg on 27 January 2013 - 10:14 PM in Project Showcase
Hi Paul,
Sorry, yes HTH = Hope This Helps
Yes, it looks like you are correct with the rPi running multiple network interfaces. I don't know enough about the rPi to say if the limitation is specific to the rPi hardware or the OS just needs tweaking. I've plugged nothing else except a keyboard/mouse during initial setup (now just use puTTY and VNC) into mine.
My day job is servers, networks, routers, etc I'm used to fixed IP addressing so it's no big deal for me. As for WiFi, I prefer cabled Ethernet over WiFi as it will always be faster and more reliable (less to break/configure), assuming it is convenient to run a cable.
One point though, you mentioned wanting to direct cable devices without using a switch. This requires a crossover cable or NIC's that Auto-MDIX. I would stay away from this configuration and always use an Ethernet switch (4-8 port white box brand 10/100Mbit switch is £10-15). Your home broadband router may already have a few spare open ports. Ethernet switches provide some buffering and seem to work better vs direct cable with modern NIC's. If you have a BT Home hub (or similar WiFi ADSL router that has a few Ethernet ports) you can still run the rPi via WiFi and cable the N+ devices to the same network. You should probably set a DHCP range exclusion so the router DHCP does not hand out an IP you have configured with a fixed IP address. Let me know if you have specific questions on networking and I can be of help.
For testing, I found it very easy to test on my PC to either itself (running 2 copies of the 'client' application) or using the client to talk to the N+. I can test with 2 clients on the same PC as I am using 2 separate ports to send/receive.
As for my examples, sorry it was confusing - I tried to strip out all the non-essential code not directly related to UDP. SendQ is a simple class:
Public Class sendingQ Public sensorData As New Queue Public commands As New QueueEnd Class
I stripped out all of the rest of the code that writes to SendQ - sensor threads, a command thread, etc so it was not shown. SyncLock (sendQ) locks the object while data is being de-queued. BTW, you can run the code though a C#/VB converter and I assume it will be OK.
It has been a while since I wrote the code, but I do remember having issues with Receive vs ReceiveFrom. The MSDN help states that ReceiveFrom is intended for connectionless protocols (UDP) and in the end found it easier to work with. I used IPEndPoint(IPAddress.Any, 0) to specify any sender.
http://msdn.microsof...(v=vs.100).aspx
Like I mentioned above, you can write and test all of this on your PC, pointing back to itself. I remember writing a small testing application with 2 threads when developing the example code and just copied/pasted into my N+ project when done. Run the above code though a VB/C# converter and adjust port, IP address to suit your local PC and queue/dequeue your text to each thread and you should be GTG.
Edit Add: If testing on your PC and if it has a fairly modern OS (Windows 7/8, Server 2008) you will probably need to open the specific ports you using on your firewall or they will get blocked!
#44463 DFROBOT Buggy
Posted by emg on 29 January 2013 - 12:41 AM in Project Showcase
Ahh, I see. I did not read your previous posts up-thread about the vehicle.You are short of GPIO on the N+, that's why you want to try Ethernet between the rPi and N+? That really is a shame about the rPi unable to use 2 network interfaces at the same time - this would have been perfect.
#44917 Rain sensor
Posted by emg on 04 February 2013 - 07:50 PM in General Discussion
look up around the rear view mirror. The ones I've seen are optical and use an IR led and sensor. They work by sensing a change in the amount of light reflected from the windshield, which changes when there are water droplets on the glass over the sensor.
#44997 BTinterface my Android app to control uControllers via Bluetooth
Posted by emg on 06 February 2013 - 02:58 AM in Project Showcase
What did you use to create the Android app, Eclipse?
- Netduino Forums
- → emg's Content
- Privacy Policy