Need help with rs232 & LCD board
Posted: Mon Apr 11, 2011 9:58 am
Hello,
i am a student and unfortunately a beginner working with flowcode and eblocks, but it is very important for a project.
I am using an Atmel8 16 PU, the EP019 – Atmel AVR Board and the EP005 – ECD Board, for programming FLowcode4
There are two questions:
• LCD Board:
I only try to start it and write a string and it does not work …. Unbelievable (it looks like activated but is only dark).
My settings:
- Data1 Port B Pin0
- Data2 PortB Pin1
- Data3 PortB Pin2
- Data3 PortB Pin3
- RS PortB Pin4
- Enable PortB Pin4
In flowcode i only use two macros for starting the LCD and write a String.
I don’t know what I am doing wrong??!
• Rs232
I try to make a simply connections between the programming board and the computer (Hyperterminal). I also use a “usb to uart – bridge” (pc don’t have a seriel interface) and I think there must be the problem, but don’t know why.
When I send a character it still reach the computer, but when I want to send a character from the computer to my processor, nothing is happening. I only use the macro “receivers232char (nTimeout=50)”.
(Boudrate = 9600, 1 Stopbit, External crystal with 20MHz)
I hope somebody is able to help me!
Any ideas please!?
Thanks Barny
i am a student and unfortunately a beginner working with flowcode and eblocks, but it is very important for a project.
I am using an Atmel8 16 PU, the EP019 – Atmel AVR Board and the EP005 – ECD Board, for programming FLowcode4
There are two questions:
• LCD Board:
I only try to start it and write a string and it does not work …. Unbelievable (it looks like activated but is only dark).
My settings:
- Data1 Port B Pin0
- Data2 PortB Pin1
- Data3 PortB Pin2
- Data3 PortB Pin3
- RS PortB Pin4
- Enable PortB Pin4
In flowcode i only use two macros for starting the LCD and write a String.
I don’t know what I am doing wrong??!
• Rs232
I try to make a simply connections between the programming board and the computer (Hyperterminal). I also use a “usb to uart – bridge” (pc don’t have a seriel interface) and I think there must be the problem, but don’t know why.
When I send a character it still reach the computer, but when I want to send a character from the computer to my processor, nothing is happening. I only use the macro “receivers232char (nTimeout=50)”.
(Boudrate = 9600, 1 Stopbit, External crystal with 20MHz)
I hope somebody is able to help me!
Any ideas please!?
Thanks Barny