MOS-AL162A

Support for MOC/MOS/MOI/MOU/X-Board/MOP

Moderator: Mods

Post Reply
cmancuso
LCD?
Posts: 3
Joined: Sun Jan 25, 2009 9:47 pm

MOS-AL162A

Post by cmancuso » Sun Jan 25, 2009 10:42 pm

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

Raquel
Matrix Orbital
Matrix Orbital
Posts: 689
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel » Mon Jan 26, 2009 9:57 am

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,
Raquel Malinis
Design and Development
Matrix Orbital

cmancuso
LCD?
Posts: 3
Joined: Sun Jan 25, 2009 9:47 pm

Post by cmancuso » Mon Jan 26, 2009 11:36 am

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest