Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:49 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : Picaxe 28X1 to LCD display connection

Author Message
Norbert Guérard

Newbie

Joined: 01/01/2008
Location: Belgium
Posts: 2
Posted: 11:23am 01 Jan 2008
Copy link to clipboard 
Print this post

Hello,

Based on the diagram "Gizmo's Windmill Charge Controller Ver.1.2 24/10/2005", I tried to make one but I have some problem with the LCD display.

Could you please tell me if the following interface connections between the picaxe 28X1 and the LCD display (LED008 from www.tech-supplies.co.uk) are ok or not?

Picaxe 28X1---connected through---to LCD(LED008)display-
pin n°-------------------------------pin n°-------------
----------------------0V-------------1 Vss--------------
----------------------+5V------------2 Vdd--------------
---------contrast adjust 10k pot-----3 V0---------------
23(out2)--------------330R-----------4 RS---------------
----------------------0V-------------5 R/W--------------
24(out3)--------------330R-----------6 SE---------------
-----------------------0V------------7 DB0--------------
-----------------------0V------------8 DB1--------------
-----------------------0V------------9 DB2--------------
-----------------------0V------------10 DB3-------------
25(out4)--------------330R-----------11 DB4-------------
26(out5)--------------330R-----------12 DB5-------------
27(out6)--------------330R-----------13 DB6-------------
28(out7)--------------330R-----------14 DB7-------------

Reason for my doubt: in the picaxe manual 3.pdf page 35 "Connecting the LCD option 3",
LCD pin 14 is indicated DB4
while on the LCD (LED008) display,
pin 14 is marked DB7

Which is correct?

b) second problem

When the file "picaxe_code.txt is opened with the "Picaxe Programing Editor Version 5.1.5" and the Picaxe Syntax checked, the following Compile Error appear: Error: Syntax error in this line
(line 11 : SYMBOL get = b11)

Should the SYMBOL "get" be changed to solve the problem?

Kind regards and happy new year.
Norbert
Norbert
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 05:29am 02 Jan 2008
Copy link to clipboard 
Print this post

Hi Norbert

As far as I can the the wiring diagram on my site is correct. I dont have the latest 3.pdf manual from Picaxe, I'll download it tonight to have a look. But the circuit diagram has been used by a couple of visitors and has worked OK.

The "Get" may now be a reserved keyword with the latest PicAxe compiler. When I wrote the program Get was a valid variable name, but this may have changed since then. Renaming it should fix your problem, dont forget to change it where ever you see "Get".

Hope that helps

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
sPuDd

Senior Member

Joined: 10/07/2007
Location: Australia
Posts: 251
Posted: 01:58pm 02 Jan 2008
Copy link to clipboard 
Print this post

Norbert,

The PICAXE forum is the best place for this kind of info: PICAXE Forum UK

sPuDd..
It should work ...in theory
 
Norbert Guérard

Newbie

Joined: 01/01/2008
Location: Belgium
Posts: 2
Posted: 01:54pm 06 Jan 2008
Copy link to clipboard 
Print this post

Thank you for your help

The problem is solved simply by adjusting the contrast potentiometer of the LCD display to a lower voltage.
I had also to do a reset of the picaxe.

Best regards,
Norbert

Norbert
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024