Don't know much about it, but may be useful with a Plus 1 or 2.
http://www.amazon.co...e/dp/B00E00C70C
http://slickdeals.ne...free-on-amazon?
  | ||||||||||||||
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.
baxter's ContentThere have been 63 items by baxter (Search limited from 28-September 23) #59740 Servers Ultimate Pro Free Android App from AmazonPosted by baxter on 16 August 2014 - 07:15 PM in General Discussion Don't know much about it, but may be useful with a Plus 1 or 2. http://www.amazon.co...e/dp/B00E00C70C #59155 Can anyone recommend a rock-solid LCD display?Posted by baxter on 10 July 2014 - 11:38 PM in Netduino Plus 2 (and Netduino Plus 1) I have been using the BPI-216N/L Serial Text LCD for years. The COM port interface is about as simple as you can get.
I have the older version of this module and it is a very readable display. #58971 Bitconverter class causing crash/irresponsiveness.Posted by baxter on 02 July 2014 - 12:48 AM in Netduino Plus 2 (and Netduino Plus 1) You can also use, byte B = 0xac; String S = B.ToString("X2"); Debug.Print(S); //--> AC #62970 Unique device IDPosted by baxter on 29 May 2015 - 04:27 PM in Netduino Plus 2 (and Netduino Plus 1) See post #8, #59577 Serial port issuesPosted by baxter on 06 August 2014 - 02:29 AM in Netduino 2 (and Netduino 1) You need to add, using System.IO.Ports; #62108 Serial Port read dataPosted by baxter on 14 April 2015 - 05:57 PM in Netduino Plus 2 (and Netduino Plus 1) I was using this with an ESP8266 AT command set driver (since abandonded in favor of the Lua firmware). Just instantiate the port without an event handler and then receive serial in a wait loop. Public Sub New(ByVal ComPort As String, _ Optional ByVal baud As Integer = 9600) Port = New SerialPort(ComPort, baud, Parity.None, 8, StopBits.One) With Port 'note no event handler .Handshake = Handshake.None .WriteTimeout = 200 .ReadTimeout = 200 .Open() End With InputString = String.Empty 'need to change if not 9600 If (baud <> _DefaultBaud) Then '9600 is default baud rate of ESP8266 firmware (0.9.2.2) _Baud = baud End If End Sub --------------- Public Function GetFromESP(Eot As String) As String 'this is the main reader for ESP responses. It will wait for the expected Eot or 'a socket exception will be thrown if the response contains, ERROR or Unlink Dim n As Integer = 0 Dim response As String = String.Empty InputString = String.Empty While (True) If (Port.BytesToRead > 0) Then Dim buff = New Byte(Port.BytesToRead - 1) {} n = Port.Read(buff, 0, Port.BytesToRead) Thread.Sleep(200) InputString &= New String(Encoding.UTF8.GetChars(buff)) 'Debug.Print("Inputstring: " & InputString) If (Contains(InputString, Eot)) Then 'expected return Exit While 'Trap for socket connect to inactive server ElseIf (Contains(InputString, "CIPSTART") And _ (Contains(InputString, "ERROR") _ Or Contains(InputString, "Unlink"))) Then response = InputString InputString = String.Empty Throw (New ESPexception("Socket can't connect: GetFomESP returned ERROR Unlink")) End If Thread.Sleep(50) 'need this delay (maybe more) End If End While response = InputString InputString = String.Empty Return response End Function #60332 Scheme-itPosted by baxter on 03 October 2014 - 12:56 AM in General Discussion There's easyEDA,
It was free when I signed up, but I haven't used it much. Also, LTspice IV, #59081 InterruptPort/Events slow the first timePosted by baxter on 07 July 2014 - 05:26 PM in General Discussion Not VS 2013, but Using C# 2010 Express, MF4.2 and pushing the button on a Plus 2, yields nearly instantaneous debug output and led blink. --> Button interrupt caught. #59416 IE support with this forum software - copy and paste doesn't workPosted by baxter on 27 July 2014 - 04:28 PM in Netduino Plus 2 (and Netduino Plus 1) This has been frustrating for me also. Maybe it is both an IE11 and a Forum problem. If I login with Chrome, pasting this this message from Notepad into a Reply box works just fine. #59340 change ip address netduinoPosted by baxter on 22 July 2014 - 06:57 AM in General Discussion #59332 change ip address netduinoPosted by baxter on 21 July 2014 - 05:48 PM in General Discussion Look under: C:\Program Files(x86)\Microsoft .NET Micro Framework\v4.2\Tools\MFDeploy.exe #59169 New Modules Seen in the WildPosted by baxter on 11 July 2014 - 09:27 PM in Netduino Go
Mine also #59359 How to control netduino plus 2 over the InternetPosted by baxter on 23 July 2014 - 09:19 PM in Netduino Plus 2 (and Netduino Plus 1) What about DynDNS, http://www.tp-link.u...icle/?faqid=297
I don't see that this poses a greater security risk than other traffic coming in through your ISP. #58704 How to 3D print your project a custom case!Posted by baxter on 13 June 2014 - 04:58 PM in General Discussion As someone obviously familiar with 3D printing, what do you think of the Da Vinci 1.0 3D Printer? #58711 How to 3D print your project a custom case!Posted by baxter on 13 June 2014 - 11:36 PM in General Discussion Yes, there is a reason. When the light shines just right you can see the surface roughness. The Da Vinci business model has also received a lot of criticism for the chipped, proprietary filament cartridge. I wish I could afford a Form1 printer. The Da Vinci is cheap enough to play with, but I think I would be disappointed with its results. Thanks for the information about your service.
#60853 Which Micro SD Cards will workPosted by baxter on 03 December 2014 - 06:42 PM in Netduino Plus 2 (and Netduino Plus 1) I recall that Chris recommended a 2GB kingston from Amazon, #58584 Starts in boot mode always after flashPosted by baxter on 06 June 2014 - 03:48 AM in Netduino Mini
Here is the link for Mini firmware 4.2.0.1, both RS232 and TTL #58657 NetDuino Plus 2 + Spark.io ?Posted by baxter on 10 June 2014 - 03:50 AM in Netduino Plus 2 (and Netduino Plus 1) I don't think the Spark Core is Micro Framework compatible. You may have a bit of trouble connecting the hardware to a Netduino Plus 2. Maybe you could talk to it over the serial interface. Or perhaps, give your Netduino a wireless interface with an ethernet to wireless adapter , #58926 NetDuino Plus 2 + Spark.io ?Posted by baxter on 27 June 2014 - 06:53 AM in Netduino Plus 2 (and Netduino Plus 1) I bought a Spark Core and it looks to be a nice companion to provide WiFi capability for a Mini or a Netduino 1 or 2 by talking over the serial port as EnergySmithe noted. There are two serial ports, serial and serial1. The former is the regular Arduino debug port to be used with a serial terminal and the latter would be used to talk to a Netduino. The IDE is cloud based with the same buttons as the Arduino IDE, verify, flash ... They also have an Android App to work with the pins and configure the core for your network. I found the following sample code for a webserver and it works like a charm. The only problem I see with it vs Netduino is shifting gears to program an Arduino. TCPClient webClient; TCPServer webServer = TCPServer(80); char myIpAddress[24]; int LED = D7; void setup() { pinMode(D7,OUTPUT); // Turn on the D7 led so we know it's time digitalWrite(D7,HIGH); // to open the Serial Terminal. Serial.begin(9600); // Now it's ok to open your serial terminal software, and connect to the // available COM port. The following line effectively pauses your // application waiting for a character to be received from the serial // terminal. While it's waiting it processes the background tasks to // keep your Core connected to the Cloud. Press ENTER in your // serial terminal to start your application. while(!Serial.available()) SPARK_WLAN_Loop(); Spark.variable("ipAddress", myIpAddress, STRING); IPAddress myIp = Network.localIP(); sprintf(myIpAddress, "%d.%d.%d.%d", myIp[0], myIp[1], myIp[2], myIp[3]); Serial.print("Spark Core connected to IP: "); Serial.println(myIp); digitalWrite(D7,LOW); // Turn off the D7 led ... your serial is serializing! webServer.begin(); } void loop() { if (webClient.connected() && webClient.available()) { serveWebpage(); } else { webClient = webServer.available(); } } void serveWebpage() { //TODO: read in the request to see what page they want: //TODO: retrieve larger content from flash? webClient.println("<html>Hello I'm serving a webpage!</html>\n\n"); webClient.flush(); webClient.stop(); delay(100); } #60391 I2C issue with multiple sensorsPosted by baxter on 11 October 2014 - 08:34 PM in Netduino Plus 2 (and Netduino Plus 1) Have you looked at this for multiple devices on the I2C bus? #59735 Netduino Mini $10Posted by baxter on 16 August 2014 - 02:02 AM in Netduino Mini Thanks ... Great price, bought one. #58925 convert data types to byte[] and back for streamingPosted by baxter on 27 June 2014 - 05:47 AM in General Discussion I previously confronted this issue and found a couple of references, I copied the structure serialize code (near the bottom of the page) from the second reference and it compiles Imports Microsoft.SPOT Imports Microsoft.SPOT.Hardware Imports SecretLabs.NETMF.Hardware Imports SecretLabs.NETMF.Hardware.NetduinoMini Imports System.Reflection Imports System.Runtime.InteropServices Imports Microsoft.VisualBasic.Constants Imports System.Text Imports System.Threading Imports System.Collections Module Module1 Sub Main() Dim s As Struct = New Struct Dim ms As MyStruct = New MyStruct With {.el1 = 1, .el2 = 2, .el3 = 3} Dim sb() As Byte = Struct.Convert(ms) End Sub <StructLayout(LayoutKind.Sequential, Pack:=1, Size:=12)> Private Structure MyStruct Dim el1 As Byte Dim el2 As Int16 Dim el3 As Byte End Structure Public Class Struct 'Charles Law 'http://bytes.com/topic/visual-basic-net/answers/357098-convert-structure-byte-array Public Shared Function Convert(ByVal MyStruct As Object) As Byte() Dim al As ArrayList Dim Fields As FieldInfo() = MyStruct.GetType.GetFields al = New ArrayList For Each fld As FieldInfo In Fields If fld.FieldType.Equals(GetType(Byte)) Then ' Add byte to array list al.Add(CByte(fld.GetValue(MyStruct))) ElseIf fld.FieldType.Equals(GetType(Int16)) Then ' Add 16-bit value to array list Dim i16 As Int16 i16 = CType(fld.GetValue(MyStruct), Int16) al.Add(CByte(i16 >> 8)) al.Add(CByte(i16 And &HFF)) Else Throw New Exception("Cannot convert type.") End If Next fld Return DirectCast(al.ToArray(GetType(Byte)), Byte()) End Function End Class Public Function PrintArray(title As String, ByVal Arr() As Byte) As String Dim s As String = title & vbCrLf For i = 0 To Arr.Length - 1 s &= "i = " & i.ToString & " " & "Byte = " & Arr(i).ToString("X2") & vbCrLf Next Return s.Trim End Function End Module I didn't run it for this post because my Mini is in storage. I lost interest in this because I found for my purposes it was easier to just convert the data type to a string and then convert the string to bytes and then reverse this to go back to the data type (not too efficient, but it works) #58819 De-Icing, Chickens, and Artificial SunrisePosted by baxter on 21 June 2014 - 04:58 AM in General Discussion Here is a nice automatic chicken door project from the UK, #59272 NP2 Wireless Button/SwitchPosted by baxter on 17 July 2014 - 01:47 AM in Netduino Plus 2 (and Netduino Plus 1) The Ciseco XRF has a 1km max range with the supplied whip antenna (300m with chip antenna). Other models with chip antenna are of the order of 100m (max). Cheap 433 MHz modules typically have 20-100m range (mostly toward the lower end) depending upon the power, antenna and obstructions.
Reading toward the bottom of the page, that Amazon combo has Specifications: Important Note: The remote control does not include battery because of the strict customs inspection. Please prepare a "23A 12V" battery for it. We appreciate your understanding and support.
Edit: While looking at that page, I spotted another remote control (claims 100m), #59260 NP2 Wireless Button/SwitchPosted by baxter on 16 July 2014 - 07:02 PM in Netduino Plus 2 (and Netduino Plus 1) 433 MHz If you need some intelligence at the remote end look at Pololu Wixels I have a pair of these and they work quite well up to about 50 ft. This is a well regarded long range module,
| ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||