Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Microcontroller for serial->LCD interface
I have an old LCD screen from an Olivetti M10 (the same screen as the
Tandy M100), which I wish to interface with my PC. It is a 240x64 b/w graphical display, controller by 10 HD44102 ICs. The control signals to the LCD are esentially an unmultiplexed row/column selector for the 44102's, and an 8-bit bus which communicates with the currently selected IC. What I need is a microcontroller that can be programmed to interface the RS232-port on my computer (or, failing that, the LPT port) to the LCD. In it's simplest form, it should accept serial input, and have enough outputs to be able to select the HD44102 (10 bits, or just 4 bits fed to a demultiplexer), and 8 bits data for the IC. The interface doesn't *have* to be bidirectional, since most of the work will be done by the PC and it wouldn't take too much to make the program 'know' what's on the display without reading back display memory. But it would be nice if it was possible. I'm looking for a relatively cheap uC, one with flash or EEPROM for fast reprogramming, and which is not too hard to program. I have only programmed a couple of uCs before, they used ASM which I think will get the job done here. I am thankful for any suggestions, tips, ideas etc. thay any of you might have regarding this project. |
#2
|
|||
|
|||
Microcontroller for serial->LCD interface
If you consider PICs (which would not be a bad choice), do read
http://www.voti.nl/swp Actually nearly all microcontrollers will be able to do this. So to narrow your selection down condsider: - which chips can you actually buy - for which chips can you get help, preferably locally Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
#3
|
|||
|
|||
Microcontroller for serial->LCD interface
(Wouter van Ooijen (www.voti.nl)) wrote in message ...
My primary electronics supplier is ELFA (www.elfa.se). They have got the following Flash/EEPROM PIC families: PIC16F84, PIC16F87X, PIC16C9XX. - Remember that I did not say that a PIC is the only way... Yes, but it seems like a good way. - Forget the F84, a 16C is not flash, so 16F87x is the only choice, and not a bad one, but I would pick a 16F877 - BTW I sell PICs over the 'net, but you might not like buying from far away I saw that after posting, maybe I'll end up buying from you (I live in Sweden). The 16F877 doesn't have an UART, and ELFA doesn't carry this chip either. What is a MSSP, and can it be used to run RS232-communication? I'm new to PIC terminology and a web search didn't explain everything... I would need atleast an UART (for RS-232 communication) and 8-bit parallel I/O plus 4-bit output for LCD adressing, and some (4?) I/O pins for status, R/W etc signals. The whole circuit (RS232-PIC-LCD connector plus other ICs), when completed, should preferrably be possible to build on a piece of veroboard. The 16F874 seems to be the choice out of availability and functions. What do I need to get started programming/testing this PIC? A programmer, power supply, target circuit, and of course a PC with software. The only programmer I could find on ELFA seems to be the ISP-PRO (http://www.basicmicro.com/Products_P...?CategoryID=33) with adapter card. This one supports most 16x PICs and a few others. I've got a 12V power supply from an old laptop, or I may take the power from my computer. I would prefer to use free/open source software, the platform I'll be running on is either DOS or windows XP. And is it a good choice at all? I would prefer a 16F877 (much more memory etc), or if you can get it an 18F, for instance an 18F452. Note that a 16F877A is cheaper than an 16F877, but check whether you programmer supports it. Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting Thanks for the advice. I'll not be able to actually begin the project in a few weeks time, but it helps having a good idea about how to do it. |
#4
|
|||
|
|||
Microcontroller for serial->LCD interface
(Wouter van Ooijen (www.voti.nl)) wrote in message ...
The 16F877 doesn't have an UART, and ELFA doesn't carry this chip either. It does, but it is called USART OK, I only looked on your table of PICs when i tried to select one. What is a MSSP, and can it be used to run RS232-communication? No, it is for SPI and I2C The only programmer I could find on ELFA seems to be the ISP-PRO - if you have plenty of time: try one of the 'trivial' or 'zero-parts' programmers - 16F87x'a can be programmed with LVP - check my Wisp628 - maybe consider using a bootloader (my WLoader, that page has links to other bootloaders) It would be best if I could build a simple programmer myself. The programmer this guy is using looks very simple, would it be possible to build something similiar for the 16F87x? Link: http://www.piclist.com/techref/picli...k_2_1019487432 I would prefer to use free/open source software, the platform I'll be running on is either DOS or windows XP. - wisp628 fimware & software is available for DIY, but not fully free - check ponypog and/or icporg: free but not open source - some programs don't work on DOS, some don't work on protected Windoze (like XP) I got ICPROG (with a win2k driver, should probably work in XP) and MPLab IDE 6.3 from Microchip. Would I need more/other software than that? I am reading up on PICs at http://www.mikroelektronika.co.yu/en...ok/picbook.htm Åke Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
#5
|
|||
|
|||
Microcontroller for serial->LCD interface
Look at http://pp06.sourceforge.net for open source
dos/win9x/winNTetc/linux software that does most 12 and 14 bit pics on a variety of parrallel port programmers. You will likely also find Realterm is useful for debugging the serial comms, or even to run the display. http://realterm.sourceforge.net (Wouter van Ooijen (www.voti.nl)) wrote in message ... The 16F877 doesn't have an UART, and ELFA doesn't carry this chip either. It does, but it is called USART What is a MSSP, and can it be used to run RS232-communication? No, it is for SPI and I2C The only programmer I could find on ELFA seems to be the ISP-PRO - if you have plenty of time: try one of the 'trivial' or 'zero-parts' programmers - 16F87x'a can be programmed with LVP - check my Wisp628 - maybe consider using a bootloader (my WLoader, that page has links to other bootloaders) I would prefer to use free/open source software, the platform I'll be running on is either DOS or windows XP. - wisp628 fimware & software is available for DIY, but not fully free - check ponypog and/or icporg: free but not open source - some programs don't work on DOS, some don't work on protected Windoze (like XP) Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
#6
|
|||
|
|||
Microcontroller for serial->LCD interface
there is a really nice USB ( powered) PIC programmer from these people... I
got one and I'm very pleased with it. http://www.fored.co.uk/Eindex.htm "Wouter van Ooijen (www.voti.nl)" wrote in message ... The 16F877 doesn't have an UART, and ELFA doesn't carry this chip either. It does, but it is called USART What is a MSSP, and can it be used to run RS232-communication? No, it is for SPI and I2C The only programmer I could find on ELFA seems to be the ISP-PRO - if you have plenty of time: try one of the 'trivial' or 'zero-parts' programmers - 16F87x'a can be programmed with LVP - check my Wisp628 - maybe consider using a bootloader (my WLoader, that page has links to other bootloaders) I would prefer to use free/open source software, the platform I'll be running on is either DOS or windows XP. - wisp628 fimware & software is available for DIY, but not fully free - check ponypog and/or icporg: free but not open source - some programs don't work on DOS, some don't work on protected Windoze (like XP) Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
#7
|
|||
|
|||
Microcontroller for serial->LCD interface
there is a really nice USB ( powered) PIC programmer from these people... I
got one and I'm very pleased with it. http://www.fored.co.uk/Eindex.htm Maybe nice, yes, but at 95 Pounds a bit expensive IMHO. Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
#8
|
|||
|
|||
Microcontroller for serial->LCD interface
agreed it is top end, but it is very versatile and with nothing else to do
but plug it in.... "Wouter van Ooijen (www.voti.nl)" wrote in message ... there is a really nice USB ( powered) PIC programmer from these people... I got one and I'm very pleased with it. http://www.fored.co.uk/Eindex.htm Maybe nice, yes, but at 95 Pounds a bit expensive IMHO. Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
#9
|
|||
|
|||
Microcontroller for serial->LCD interface
agreed it is top end, but it is very versatile and with nothing else to do
but plug it in.... That might be true, but you can get a Warp13 or whatsitsname that does the same and costs less, or a PS+ that costs about the same but is the 'official' uChip programmer. Or my programmer, which does less but costs much less . Wouter van Ooijen -- ------------------------------------ http://www.voti.nl PICmicro chips, programmers, consulting |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to Clean Copper (oxides?) Telephone Network Interface Box | Metalworking |