I'm trying to get my LCD display working.
Using:
http://www.amazon.co...ils_o00_s00_i02
Wiring:
http://www.dfrobot.c...ect_DFR0154.png
Also looking for .NET code to run this....
Thanks,
Eric
  | |||||||||||||||||||||||||||
17 replies to this topic
#1Posted 17 January 2013 - 11:16 PM I'm trying to get my LCD display working.
Using: http://www.amazon.co...ils_o00_s00_i02
Wiring: http://www.dfrobot.c...ect_DFR0154.png
Also looking for .NET code to run this....
Thanks, Eric #2Posted 18 January 2013 - 02:24 PM Are you connecting directly to the LCD or using something in between? I have these working on a N+2:
I think it is the same LCD. I will be posting a code sample this weekend and will up date you as to were you can find it.
Also - if you are using I2C as your hookup diagram shows you need to go into the N+2 ports SC and SD. #3Posted 18 January 2013 - 03:03 PM Wiring:
You are connecting wrong input (yellow and green). Try digital pins #4Posted 18 January 2013 - 04:03 PM Hi eschneider999 and welcome to the forums.
First, with the ND+2 you need to use the SDA and SCL pins instead of A4 & A5 pins for I2C, so you cannot use the diagram, it will not work.
One of the best libraries I've found for LCDs is the Microliquidcrystal library at CodePlex. There are good examples in the download for using I2C. If you are still stumped, let us know and we'll get you some example.
Good Luck and Happy Coding. #5Posted 18 January 2013 - 05:01 PM Thanks guys, I will review all this and give it a try.
FYI: I'm a Software Engineer, but seems everything is broke for Netdruino plus 2. Seems I have to fix alot of things, and still can't get some things to build.
Also why didn't my posts show-up yesterday? Very frustrating... #6Posted 18 January 2013 - 10:23 PM Thanks guys, I will review all this and give it a try.
Not sure about the posts. Never had a problem posting here so far and I've posted some 566 times.
What do you mean by "everything is broke for Netduino Plus 2". Most ND+2 stuff is working now. If you describe what you feel is broken perhaps we can point you in the right direction or if it is a real issue with the ND+2, perhaps this will help Chris fix the issues knowing more of your details. #8Posted 19 January 2013 - 03:03 AM Can anyone give me a wiring diagram?
Also; my version is 4.2
All the code points to 4.1 and changing to 4.2 seems to be an issue. Some classes are missing in 4.2 (SecretLabs) #9Posted 19 January 2013 - 03:21 AM Can anyone give me a wiring diagram?
Wiring isn't that hard. 5V goes to 5V, GND to GND, SDA to SD and SCL to SC. #10Posted 19 January 2013 - 05:11 AM Also why didn't my posts show-up yesterday? Very frustrating...
Hi eschneider888 and welcome to the community! I'm sorry to hear you were having some troubles posting. Unfortunately our forums have been hit in the past with a lot of spam bots and so now before anyone can post, their membership has to be approved by a moderator. I suspect that your account was just in the process of being verified and I highly doubt you'll have any future troubles posting.
Cheers, Steve Twiiter: https://twitter.com/Gutworks #11Posted 19 January 2013 - 05:19 AM Can anyone give me a wiring diagram? Yes there have been some changes with the jump from 4.1 to 4.2 but with some small changes you should be able to get your 4.1 examples working after converting them to the 4.2 framework. There was a lot of work done with latest firmware (4.2.2.0) to make the Secret Labs classes more consistent and backwards compatible. If you can provide some examples where you're having some troubles, we'd be more than willing to give you hand and getting your code working again.
Cheers, Steve Twiiter: https://twitter.com/Gutworks #12Posted 19 January 2013 - 05:40 AM Sounds like I have it wired correctly.
Keep getting errors when starting:
A first chance exception of type 'System.IO.IOException' occurred in MicroLiquidCrystal.dll #13Posted 22 January 2013 - 01:49 PM Sounds like I have it wired correctly. What using statements do you have and what is in your references?
Also, I have found it best to NOT use a compiled DLL, but instead to use the source and include it as part of my solution. That way the DLL gets compiled for MY specific project. So, maybe try using the source for MicroLiquidCrystal.dll instead of referencing it directly. #14Posted 31 May 2013 - 09:14 AM Hello All, I get the IO exception error on N+ with 4.2 update. Has anyone tried the code on N+ only?. TIA #15Posted 12 June 2013 - 08:08 PM Hello All,
I had the same error. The compiled DLL has also worked with my N+1, but not on the N+2. I have tried a few things, but now my 16x2-Display is working with both boards. I've simply Re-Compiled the DLL under Micro Framework 4.2 (Change it in the Project-Properties). The Code is available at Codeplex.
Hope it helps. #16 Guest_jessesteinen_*Posted 15 June 2013 - 09:51 PM I keep on struggling getting an 16x2 LCD working myself. Been doing a lot of googling and stuff, but not really getting anywhere other than having 2 lines of blocks on the display and an exception thrown.
My setup: - Netduino Plus 2 (4.2.2.2) - a 20x4 LCD + I2C backpack with a PCF8574T (http://cgi.ebay.nl/w...d=1015602892008) - display connected via 2k2 pull up resistors to the SDA/SCL pins on the Netduino. - MicroLiquidCrystal library with some additional PCF8574 code obtained here http://forums.netdui...-and-a-pcf8574/
I have tried changing the I2C address to various values (back at 0x38 now) but to no avail. I keep getting an "An unhandled exception of type 'System.IO.IOException' occurred in MicroLiquidCrystal.dll" in I2Cbus.cs here: int byteCount = this.Device.Execute(xacts, TimeOut); if(byteCount < WriteBuffer.Length) throw new System.IO.IOException(); Any help would be much appreciated!! #17 Guest_jessesteinen_*Posted 16 June 2013 - 07:11 AM Meh having written the above, I just stumbled upon Bi Qin's post here http://forums.netdui...plus-2/?p=50321 Although it's for 16x2 it does work, I just need to find out how to modify it for 20x4. #18Posted 15 October 2013 - 07:22 PM Has anybody working example code for PCF8574A and 20x4 Display ?
Above is description above resistor on netduinos I2c port ...but i hvae wired it directly to netduino.
is it correct ?
Thanks lot of for all your help Also tagged with one or more of these keywords: LCD
0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | |||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | |||||||||||||||||||||||||||