Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re:Tiny2313

2007-02-19 by sm5glc

Mark,
I have used BASCOM with great success when dealing with LCD's! Sounds
like you missed something when setting up the stuff. Try to modify the
sample file for LCD i.e. lcd4.bas!

The simulator is pretty nifty, and do test the code there first! Once
you have the LCD working in simulator mode, remove the $sim switch and
compile the code again (very easy to forget) and if you have it wired
ok, it will work..... or should work!

You might find good help at the BASCOM forum (http://www.mcselec.com),
ppl here seems more into C and assembler.

Cheers
Lasse

--- In AVR-Chat@yahoogroups.com, Mark Weston <weston54@...> wrote:
>
> Thank you everyone for your responses.  As it happens I have a 10mhz
crystal across 4 and 5 on the PCB already, with attendant 18pf caps to
GND.  I'm going to remove the crystal and try the AVRDUDE command line
fix, that looks like the best at this point.  If that doesn't work,
I'll try the signal injector.  Thanks again, and have a great day.
> 
> Say, the cause of this whole nightmare was my attempt at getting an
LCD working correctly from the 2313.  Sadly though, when I plug in the
LCD I just get the first line showing as a set of 16 black squares.  
> 
> My connections are RS @PB2, E @ PB3, DB4 @ PB4, DB5 @ PB5, etc.  I'm
using Bascom to program and I've used the Config LCDPIN statement to
set up how the LCD is connected, but I get the dark line stuff right
from the start, even before I programmed the chip, so I suspect
there's something else afoot here.  GND is connected, VCC is 5v, 
contrast runs to a 2.2K to GND.  Pin 5 to GND.  
> 
> Any thoughts on where to look here. Oh yes, the LCD is a 5v 44780
standard 16x2 LCD with a 5v contrast.
> 
> Mark Weston
>  		
> ---------------------------------
> Now you can have a huge leap forward in email: get the new Yahoo! Mail. 
> 
> [Non-text portions of this message have been removed]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.