[minima] Re: Testing the digital board

  • From: Thomas Sarlandie <thomas@xxxxxxxxxxxxx>
  • To: "minima@xxxxxxxxxxxxx" <minima@xxxxxxxxxxxxx>
  • Date: Thu, 6 Feb 2014 01:04:45 -0800

Jerry,

The pins listed here are the pins of the arduino used to drive the LCD.

See: http://arduino.cc/en/Reference/LiquidCrystalConstructor
With 6 parameters, this is what is called: LiquidCrystal(rs, enable, d4,
d5, d6, d7)

I tried Mark's code on my board and it worked right away. I can also tell
you that my LCD displays a frequency and I can "scan the bands" although I
do not have the si570 hooked up yet. You do not need to change anything in
Farhan's code to get that part working.

On my first try, the lcd was showing garbage because one of the data line
was not properly connected. I checked them carefully and it worked. I am
sure you are very close to getting yours working too!

Picture of the day:
[image: Inline image 1]

The atmega is under the lcd and I program it with the 6 pins ISP (In-System
Programming) at the bottom.

Next step: 3.3v rail and si570.

I have to say that it is very exciting to not be building this alone! You
guys keep me motivated nights after nights ;)


cheers,
thomas


On Thu, Feb 6, 2014 at 12:30 AM, <jerry@xxxxxxxxxxxxxxxx> wrote:

> I'll try that code Mark, but one thing I don't understand.  In the code
> you say the lcd is
> liquid crystal lcd (13,12,11,10,9,8)My lcd is set up to plug into the
> controller board, I don't use pins 10,11,12,13. I use the first six pins
> and the last six pins on the lcd. Is that wrong? Jerry
>
> K5LRU
> Harwood, Texas
>
> > -------- Original Message --------
> > Subject: [minima] Re: Testing the digital board
> > From: Mark G0MGX <mark.g0mgx@xxxxxxxxx>
> > Date: Thu, February 06, 2014 2:02 am
> > To: minima@xxxxxxxxxxxxx
> >
> >
> > Hi Team
> >
> > The code gets stuck reading and writing data to/from the Si570 without
> > it connected, so without modification you don't actually get anything on
> > the LCD until the interface is working!
> >
> > As others have suggested you can confirm the LCD function first with
> > something simple that uses the same pins:
> >
> >
> >
> > and then, once this code is running, you can load the Minima sketch and
> > simply check that the voltage on the si570 interface pins isn't at 5V
> > with a DMM.
> >
> > Alternatively, you could comment out these in the startup() routine:
> >
> > i2c_write(si570_i2c_address,135,0x01);
> > read_si570();
> > setDCO(26150000L);
> >
> > and this in the loop() routine:
> >
> > setDCO(frequency+ IF_FREQ);
> >
> > Then you should be able to see stuff on the LCD screen and do the
> > voltage checks.
> >
> > Mark
> > G0MGX
> >
> >
> > On 06/02/2014 02:40, jerry@xxxxxxxxxxxxxxxx wrote:
> > > I finished building the Digital board except for soldering in the
> si570.
> > >   I would like to test the radiono code and make sure I made the right
> > > comments in the file so I don't fry the si570. I fired up the board and
> > > all the voltages are good: 4.92 out of the 7805 and 3.24 out of the
> > > LM1117, but I would like to run the code and check the 570's voltage.
>  I
> > > uploaded the radiono sketch to the chip using a Arduino Uno board, and
> > > put the chip in my Digital board, and powered it up.  All that happens
> > > is the LCD backlight lights, but no characters. The contrast pot works.
> > > The circuit draws 24ma but no display. Do I need to do something else.
> > > There is another code file on github, what is that for? Jerry
> > > K5LRU
> > > Harwood, Texas
> > >
> > >
>
>

JPEG image

Other related posts: