Page 1 of 1

MOS-AL162A

Posted: Sun Jan 25, 2009 10:42 pm
by cmancuso
I have a problem with a MOS-AL-162A and the same problem with a MOS-AL-202C. The problem is I get the screen to boot-up, but then when I attempt to send characters over a microcontroller's USART bus, all I get are junk characters. I have the USART bus and the jumpers on the back of the screens set up correctly. The microcontroller I am using is a PIC18F452. Anyone have any advice to getting this to work?

--
Chris

Posted: Mon Jan 26, 2009 9:57 am
by Raquel
Hello Chris,

Thank you for posting on the forum.

Whenever I see garbage characters on the screen, I can almost for certain say that the problem is baud rate. Please make sure that you are running both your mcu and the MOS in the same baud rate.

Or, what I'd like to suggest as well is to sort things out first. Please try and connect the MOS display to your PC; you will need to make sure that you have the jumps on RS232. See if you can communicate with it, with the jumpered baud rate (you might even want to try both 9600 and 19200).

Also, connect your mcu (PIC18F452) to the PC as another test (this will need an RS232 transceiver). See if you are sending the data as expected.

I hope this helps. Let me know how it turns out.

Best Regards,

Posted: Mon Jan 26, 2009 11:36 am
by cmancuso
So, I did ask you suggested and I hooked up uProject, and I couldn't get a read out on uProject by any means at all, but I did manage to get the screen to print out "Hello World!", and only have 1 junk character at the end, which I can live with.

Settings:

8-bit USART mode
No Interrupts
ASYNCHRONOUS ON
Baud Rate: 19200
TTL Voltage Level @ 5V

I will work on why my computer is having trouble outputting characters a little later in the week, but thank you for the help.

--
Chris