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.

jrlyman3's Content

There have been 65 items by jrlyman3 (Search limited from 28-April 23)


By content type

See this member's


Sort by                Order  

#55943 HTTPListener class missing from System.Net

Posted by jrlyman3 on 08 February 2014 - 07:50 PM in Netduino Plus 2 (and Netduino Plus 1)

HttpListener is under System.Net.  But, which System.Net would that be ... it's hard to figure out from Object Browser.

 

You need to add a reference to System.HTTP   :-).

 

John




#55940 SD Card Reading with External Power

Posted by jrlyman3 on 08 February 2014 - 07:39 PM in Netduino Plus 2 (and Netduino Plus 1)

I suggest that you get out your voltmeter and see what voltage the Netduino is seeing from the external supply.




#55902 Automated Urban Garden

Posted by jrlyman3 on 06 February 2014 - 02:19 PM in Project Showcase

That is a great project!  I've been working on a similar project, so far I'm just monitoring the moisture level of the plant, but I got the pump this week and hope to get it hooked up soon :-).




#55901 PWM changes?

Posted by jrlyman3 on 06 February 2014 - 02:11 PM in Netduino 2 (and Netduino 1)

I found that most of the examples are for 4.1 and earlier.  I finally found an example for 4.2 and it looked like this:

// This puts a continuous signal on D5 with a 1mS pulse every 3 mS.const uint period = 3; // *1000 * 1000;    // 3 msconst uint duration = 1; // *1000 * 1000;  // 1 msPWM pwm = new PWM(PWMChannels.PWM_PIN_D5, period, duration, PWM.ScaleFactor.Milliseconds, false);pwm.Period = period;pwm.Start();

Hope this helps,

 

John




#55822 Netduino Plus 2 and SerLCD LCD-09067

Posted by jrlyman3 on 03 February 2014 - 02:43 AM in Netduino Plus 2 (and Netduino Plus 1)

I'm glad to hear that the display is not dead. It still sounds like the baudrate to me.

 

Sparkfun says that you can send a control-R ('x12') in the first half second after the display powers up to reset the baudrate to 9600.  I think that the easiest way to do this is to use a continuous loop sending the 0x12 (serialLCD.WriteByte(0x12)).  Cycle power on the display a couple times and hope you get lucky.




#55811 AnalogInput - options when I need more than six?

Posted by jrlyman3 on 02 February 2014 - 05:27 PM in Netduino Plus 2 (and Netduino Plus 1)

You could try a multichannel (16) ADC chip that you can access over I2C like the LTC2498.  It's a 38 pin QFN so that might be a problem for prototyping and hobbyist use, but Digikey does have a $50 eval board.




#55795 Netduino Plus 2 and SerLCD LCD-09067

Posted by jrlyman3 on 01 February 2014 - 10:07 PM in Netduino Plus 2 (and Netduino Plus 1)

I don't think that power is an issue I run a 20x4 parallel display on my NP2 with no problem.  I did some experiments with a logic analyzer and your configuration works to send data out on D3.  The baud rate looks good too.  Note: I used a NP1 for the test but it should be the same :-).

 

According to the Sparkfun web site it should show a banner for half a second on power-up.  Do you see that?  Maybe the display is bad?  Maybe it's a 5V display, you're using the 3.3V pin for Vdd right?  May try 5V and see if you get the banner.




#55768 Netduino Plus 2 and SerLCD LCD-09067

Posted by jrlyman3 on 31 January 2014 - 07:52 PM in Netduino Plus 2 (and Netduino Plus 1)

I assume this is the LCD that Sparkfun is selling which uses 3.3V?  It sounds like a baud rate problem to me.

What code are you using to setup the SerialPort?  Are you setting the baudrate to 9600?  Are you hooked up 

to the right I/O pins?




#55413 How much is 192kb code storage?

Posted by jrlyman3 on 16 January 2014 - 03:23 AM in General Discussion

Btw, Visual Studio has a tool to convert Java to C#.  It takes care of a lot of the stupid stuff, and it works pretty good.  It doesn't convert GUI components though.




#55412 Clean way to interrupt Socket.Accept()?

Posted by jrlyman3 on 16 January 2014 - 03:19 AM in Netduino Plus 2 (and Netduino Plus 1)

Yup.  That's how I do it.




#55411 Future PoE support (Netduino Plus 3?)

Posted by jrlyman3 on 16 January 2014 - 02:53 AM in Netduino Plus 2 (and Netduino Plus 1)

After researching POE options for my Netduino projects I went in a different direction.  You can see in the photos I attached, that I'm using a Passive PoE Injector/Splitter.  Right now I have one Netduino plugged into a gigabit Ethernet switch and the normal 9v power supply, it works great.  Since the Netduino only has 10Mb Ethernet there is no need for the more complex 1Gb PoE.  When I add more Netduino devices in the future I'm going to buy a 9v 4A power supply and use a 4-way splitter to send that power to 4 of these PoE splitter pairs. 

 

PowerOverEthernet-1.jpg   PowerOverEthernet-2.jpg

 

The splitter on the left plugs into the switch and a power supply the Ethernet plugs into the socket.  Then on the right the splitter plugs into the Ethernet and power connectors of the Netduino and the Ethernet cable plugs in the socket.  Simple, cheap ($6), and easy to install.




#55271 Sd Card Using BitBang

Posted by jrlyman3 on 10 January 2014 - 04:48 AM in Netduino Mini

Using enable/select lines is the normal to do multiple devices.  The .NET code will even manage them and synchronize them with the othe signals. Here are a couple links that might help:

http://wiki.netduino...figuration.ashx http://forums.netdui...-netduino-mini/

Enjoy.




#55228 I2C Bus not working

Posted by jrlyman3 on 07 January 2014 - 04:42 AM in Netduino Plus 2 (and Netduino Plus 1)

I compared your code to mine and I don't see much difference, I used a timeout of 1000 on the execute function, but that should not be an issue.  I know that I had a issue when I went back to a NetduinoPlus1 which uses A4/A5, but I don't see how you would mistake the SCL/SDA pins on the NetduinoPlus2 board.  I also ran into a problem with bus contention (I have another microcontroller on the bus) but that doesn't apply to this.  So, other than to say it seems to work for me, I guess I can't be much help.  I did notice one other thing, you're using the Netduino library instead of the NetduinoPlus library you might want to try changing that.

 

Sorry I can't be more help.

 

John




#55123 I2C Bus not working

Posted by jrlyman3 on 02 January 2014 - 03:10 AM in Netduino Plus 2 (and Netduino Plus 1)

Are you sure you're hooked up to the right pins? So which pins are you connecting to?




#54996 USB input from barcode scanner to N2+

Posted by jrlyman3 on 30 December 2013 - 04:35 AM in Netduino Plus 2 (and Netduino Plus 1)

I got the Host USB shield from Sparkfun.  I hooked it up to an Arduino UNO (after installing the appropriate libraries, and adding a wire to the shield as described in the documentation) and it worked great with my generic barcode reader.  I then started to look at the Arduino code in preparation for porting it to the Netduino.  I decided that it was going to be quite a bit of work to port, and I put it on the back burner.

 

If you just want to support the scanner you don't have as much to port ... but, you have to figure out how it all works to know what you need and what you don't.

 

I suggest that you buy an Arduino and hook it up to the Netduino with a serial port.  It's a way to start, and who knows maybe someone will get around to porting the USB host library to C# in 2014 :-).

 

John





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.