cosmosuave Posted September 13, 2007 Report Posted September 13, 2007 All right I managed to upload the latest MIOS version and (main LCD hex) to the core and all went well as far as I can tell... Connected my 2x24 LCD and nothing... First off one end of the LCD is hardwired to the core the other end is connected via ribbon connector... Wiggled the ribbon connector and had bars appear on the LCD then they dissappeared wiggled a few more times they appreared and disappeared... Now several minutes later of intermittent wiggling I am getting no bars.... Try'd the LCD debug in MIOS Studio and config'd the LCD for 2x24 but nothing... Could I have possible burned out the LCD or may I have a flaky ribbon connector... I suspect a flaky connector because it was epoxy'd to the LCD but I managed to get it apart with some brute force and ignorance... Thanks...cosmosuave. Quote
/tilted/ Posted September 13, 2007 Report Posted September 13, 2007 Wiggled the ribbon connector and had bars appear on the LCD then they dissappeared wiggled a few more times they appreared and disappeared... Now several minutes later of intermittent wiggling I am getting no bars.... This statement alone created a large, red, flashing neon sign that says "check your connections"I would hasten to suspect a bad solder joint, or possibly a short.Are you using the new PIC with the new MIOS and the new connection (ie 4 bit)? Quote
stryd_one Posted September 13, 2007 Report Posted September 13, 2007 Wiggled the ribbon connector.... wiggled a few more times .... Now several minutes later of intermittent wigglingWhat's that urban myth mangled Einstein quote about the definition of insanity?Now you're a mad scientist... welcome to the fray. Quote
Goblinz Posted September 13, 2007 Report Posted September 13, 2007 All right I managed to upload the latest MIOS version and (main LCD hex) to the core and all went well as far as I can tell... Connected my 2x24 LCD and nothing... First off one end of the LCD is hardwired to the core the other end is connected via ribbon connector... Wiggled the ribbon connector and had bars appear on the LCD then they dissappeared wiggled a few more times they appreared and disappeared... Now several minutes later of intermittent wiggling I am getting no bars.... Try'd the LCD debug in MIOS Studio and config'd the LCD for 2x24 but nothing... Could I have possible burned out the LCD or may I have a flaky ribbon connector... I suspect a flaky connector because it was epoxy'd to the LCD but I managed to get it apart with some brute force and ignorance... Thanks...cosmosuave. I would definitely recheck all the solder joints to the LCD on both the Core module and the LCD end. If wiggling the connector caused the screen to intermittantly work then there's is a good chance that you've wiggled it too much and the connection has being completely lost/shorted. GobzZziE Quote
cosmosuave Posted September 13, 2007 Author Report Posted September 13, 2007 Okay I'll check the connections.... I am using the latest MIOS and the latest PIC form smashtv.... 4bit I have no idea? So I should not be rushing out to buy a new LCD just yet.... Quote
/tilted/ Posted September 14, 2007 Report Posted September 14, 2007 4bit I have no idea?Assuming you're talking about a MidiBox SID V2 (which, given the location of the post, you are?)- Then you should connect the LCD using 4 bit mode. This means not all 16 pins of the LCD are conected to the core. More details at uCApps.de or the wikiSo I should not be rushing out to buy a new LCD just yet....No. The LCD should be fine. The interface is pretty tough (and believe me, I've done some dumb things to LCDs!!) Quote
cosmosuave Posted September 14, 2007 Author Report Posted September 14, 2007 Assuming you're talking about a MidiBox SID V2 (which, given the location of the post, you are?)- Then you should connect the LCD using 4 bit mode. This means not all 16 pins of the LCD are conected to the core. More details at uCApps.de or the wikiThe LCD only has 14 pins from the LCD spec sheet I matched pin for pin to the core... Spec sheet here... http://www.serialwombat.com/parts/LCD-107.pdfUpon noticing on the spec sheet I see this... 4 BIT/8BIT Selectable4 BIT: DB4 - DB78 BIT: DB0 - DB7I have DB0 - DB7 connected from the core to the LCD so I should ditch DB0 - DB3 connections... Thanks for mentioning 4 Bit this would of taken me awhile to figure out... Quote
/tilted/ Posted September 14, 2007 Report Posted September 14, 2007 Off hand, I'm not sure if you need to change anything in the app to select 4 bit mode. I would imagine that since those pins have been re-located for the CAN bus, you have no option but to use 4 bit mode.The CAN bus may also explain why your LCD is not quite functional... The LCD would have difficulty understanding the ramblings of the CAN bus, I imagine.Perhaps someone can jump in here? Someone who's built a V2? Quote
Wilba Posted September 14, 2007 Report Posted September 14, 2007 If using PIC18F4685 (MB-SID V2) you must leave D0-D3 open for 4-bit mode to work.This is best done at the LCD end, and leaving the IDC connector attached to all 16 wires of the ribbon cable where it connects to J15. But you've done the opposite, so leave them open at the Core end. Make sure there's no bare wires that can touch each other or anything else (but in case you still need them for an 8-bit workaround mode later, just tape them up individually. Quote
NorthernLightX Posted September 14, 2007 Report Posted September 14, 2007 If using PIC18F4685 (MB-SID V2) you must leave D0-D3 open for 4-bit mode to work.This is best done at the LCD end, and leaving the IDC connector attached to all 16 wires of the ribbon cable where it connects to J15. But you've done the opposite, so leave them open at the Core end. Make sure there's no bare wires that can touch each other or anything else (but in case you still need them for an 8-bit workaround mode later, just tape them up individually.Actually, I've left out the D0-D3 wires of my LCD cable entirely and grounded pins D0-D3 on my LCD, that works fine. That way it was easier for me to wire up a CAN bus on my older PCB's. Of course I had already confirmed the LCD is working fine in 4-bit mode, else such a cable would not be the smartest thing to construct. Quote
Wilba Posted September 14, 2007 Report Posted September 14, 2007 I found grounding D0-D3 on one of my displays didn't work for me, but leaving them open worked. Quote
/tilted/ Posted September 14, 2007 Report Posted September 14, 2007 Oh! another thing...Check the resistance between pins 15 and 16, to the EL traces for the backlight supply. (I'm looking at the data sheet, and it mentions an EL option?...) You just want to be really sure you don't connect the 100v AC from your EL inverter, to the core module, as this would make smoke happen... :-\That said, if the lcd is not EL backlit, none of this matters...Edit It seems you already said it is a 14 pin connection.Any way you look at things, there's not going to be a pin 15 or 16... Quote
cosmosuave Posted September 16, 2007 Author Report Posted September 16, 2007 Still can't get the LCD to work... Just gonna buy another one... When I apply power to the core and then power off I'll get a blip on the LCD... Plus from the spec sheet I'll need 100V to power the back light... It was only $10... Quote
cosmosuave Posted September 21, 2007 Author Report Posted September 21, 2007 Still having issues... Purchased a 16x2 LCD and have discovered that I need to get the contrast working in order to view anything... Currently I have tested the contrast control and only the 1/2 of the LCD is working which is the left half so the char readout is 8x2... I am testing the LCD on it's own not attached to the core...Setup for the contrast...Supply Voltage 9 volts...25k potWiper connected to Vo (LCD)Pos connected to Vdd (LCD)Neg connected to Vss (LCD)The former LCD 2x24 I amanged to illuminate with the above method but now I think I burnt it out as one of the chips was too hot to touch... This is starting to get exspensive and frustrating... Some have mentioned to ground Vo but where do you ground it exactly? The outputs Vdd Vss Vo supply voltage but will not illuminate the LCD... What is the easy way to do this? Quote
stryd_one Posted September 21, 2007 Report Posted September 21, 2007 What is the easy way to do this?Stop buying weird LCDs! ;D Quote
nILS Posted September 21, 2007 Report Posted September 21, 2007 stryd: I so tried not to say it... Quote
stryd_one Posted September 21, 2007 Report Posted September 21, 2007 Yeh, restraint is not one of my strong points ;DNo offense was intended of course! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.