Show Posts
Pages: [1]
1  Using Arduino / Displays / Re: Problem with 4x20 Char Display on: June 30, 2012, 07:21:54 pm
Code:
Display pin 4 => Arduino pin 12
Display pin 6 => Arduino pin 11

That's not what I see in your photograph or your video.


Don
WOW! yeah!

thanks!
that was the problem!

i <3 you!
2  Using Arduino / Displays / Re: Problem with 4x20 Char Display on: June 30, 2012, 07:12:39 pm
I've made a video:


duration: 14s

The Display displays nonsense :s
3  Using Arduino / Displays / Re: Problem with 4x20 Char Display on: June 30, 2012, 07:01:08 pm
i've resoldered all pins - still not working.
do you have one of the blue wires in the tx pin?  looks like maybe you do
the RX & TX Pins are unused.

i've wired the data-pins:
Display pin 7 => Arduino pin 9
...
Display pin 14 => Arduino pin 2

other pins:
Display pin 1 => GND
Display pin 2 => 5V
Display pin 3 => Poti (Contrast, works)
Display pin 4 => Arduino pin 12
Display pin 5 => GND
Display pin 6 => Arduino pin 11

Display pin 15 => 5V
Display pin 16 => GND (with resistor for LED Backlight, works)

my code:

Code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 9, 8, 7, 6, 5, 4, 3, 2);

void setup() {
   // set up the LCD's number of columns and rows:
   lcd.begin(20, 4);
   // Print a message to the LCD.
   lcd.print("hello, world!");
}

void loop() {
   lcd.setCursor(0, 1);
   // print the number of seconds since reset:
//   lcd.print(millis()/1000);
}
4  Using Arduino / Displays / Re: Problem with 4x20 Char Display on: June 30, 2012, 05:55:21 pm
Quote
What do you mean exactly?
I mean that the other poster is wrong and that you do have a 20x4 display.

If you really want to get your display working you should consider my reply #3?


Don
okay, i resolder all pins and try it again. Is there another reason for this error? - i've copy & pasted the code from the tutorial and changed the constructor for the 8 bit mode, cause it wont work in the 4 bit mode. Should it work in 4 bit mode too?
5  Using Arduino / Displays / Re: Problem with 4x20 Char Display on: June 30, 2012, 05:32:03 pm
Did you remember to change lcd.begin(16,2) to lcd.begin(20,4)?
Yes
are you certain it's a 20x4 display and not a 12864 display
No
Where can i find out?
Quote
are you certain it's a 20x4 display and not a 12864 display

There are not enough pins for a GLCD, and the screen has the wrong proportions for a 128x64.

Don
What do you mean exactly?


Thanks for your help!
6  Using Arduino / Displays / Problem with 4x20 Char Display on: June 30, 2012, 11:13:20 am
Hi,
i've bought a display and wired all up like there:

http://arduino.cc/en/Tutorial/LiquidCrystal

this won't work and i tried the 8 Bit mode. dont work.

here is my wiring:
http://www.abload.de/img/2012-06-30_18-02-25_6ajau1.jpg

can you see what i've done wrong?

here is a shot, while it should display "Hello World":

http://www.abload.de/img/2012-06-30_18-12-03_4x9zra.jpg


Thanks!
7  Using Arduino / Microcontrollers / Re: Arduino Bootloader on Atmega328P-PU on: June 05, 2012, 02:03:56 am
omg you're right.
big fail at my side!
Thanks!
8  Using Arduino / Microcontrollers / Arduino Bootloader on Atmega328P-PU on: June 04, 2012, 04:48:16 pm
Hi,
i want to to burn the arduino bootloader to an atmega328 chip. - with no success.
I've already spent much hours in searching, etc with no result.

Here is my wiring:

http://www.abload.de/img/img_20120604_233617hojep.jpg

What i've done at the software side:

at first i've added this to my devices.txt:

Code:
atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600

atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino

after that i've uploaded the File > Examples > ArduinoISP to my Arduino Duemilanove successfully.

after that i've choosen the "ATmega328 on a breadboard (8 MHz internal clock)" on the Tools > Boards menu.

now i've pressed Tools > Burn Bootloader.

Thats the error:

Code:
avrdude: stk500_getsync(): not in sync: resp=0x15

I have no idea how to fix it.
Btw: my atmel chip on the breadboard gets really hot!
Pages: [1]