Discussion in "Project Addition or Changes" started by    dvlee    May 18, 2012.
Fri May 18 2012, 09:19 pm
#1
Hi,
I'm trying to get a noritake itronVFD (model#: CU20045-UW5A) to come to life with the Atmega 328P uno board. I followed the LCD example 12.1 in assembly from Mazidi's AVR microcontroller's text, having read up on all the requirements to get a 14-pin LCD to work, which is very similar to the 14-pin vfd I'm using. I had to alter the code a bit for it to compile in avrstudio5. I have a number of questions:
1) I previously had a simple blinking program on the board from arduino.cc, yet when I try to upload the hex file for eg 12.1 onto the board using tools>arduino upload in avrstudio5, and getting the avrdude verification with a thank you note, I still see the blinking program I had on.
2) I then successfully uploaded example 12.6 in C using arduino.cc IDE (from www.microdigitaled.com) which is a modified version from the text in that it uses PortC for control and data and in 4-bit mode. In terms of the port pins and there locations on the chip, what would be there equivalent locations on the header slots on the board?
3) the vfd does not have pins for backlights and backlight ground; all this is supposed to be activated by the code, so I take it the code downloaded should cater for this fact and any part of the code with backlight pins called out (as in some sketches in arduino.cc) be eliminated.
4) Having done extensive comparisons with the code in the text egs and the corresponding egs as given in microdigitaled, discovered that if portA is used at all as given in the egs, the code does not compile in Arduinocc but only for either all of PortB or PortC in single port 4bit mode or single or double port 8bit mode. Why is this?
5) Another thing I discovered is that using all of port B or C in the 4 bit mode eg12.6, the program compiles. Was wondering what is the difference between this format and the single port 4 bit mode for eg12.7 which also compiles only for B or C?
6) If I go with the 8bit mode 2 port program or the single port program, what should the connections to the board from the vfd be?



[ Edited Fri May 18 2012, 09:58 pm ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Michailqfh
Fri Mar 29 2024, 01:53 am
Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm