peter howarth
New Member
Which is the best picaxe to use to connect to and program an lcd display unit?
Thankyou, I just want to connect a fairly common type of lcd 16 x 2 character, the hitachi 44780 i think is the common regular type, (available over here in australia,) to a picaxe device, be it the 14m, the 20m or the 28m, but prefferably a picaxe device that can run the lcd ok and with a few input pins spare to allow different messages from different inputs/events ..The type of lcd that I can end up using isnt dictated by cost or size, even if its similar to what appears to be a common type like what flenser has sent thru a photo of..Hi,
ANY PICaxe (including 08M2 and 18M) can (be made to) drive SOME LCDs, but until you tell us which "LCD Display" it is, we can't possibly say which PICaxe is "Best". Conversely, some LCDs can't be driven adequately by ANY PICaxe. And how do you define "Best" : Fastest, Simplest/Smallest Hardware, Easiest to use, Lowest Cost, etc..?
Cheers, Alan.
Thankyou Flenser, whereabouts are you emailing from in the world, also how doPeter
"the program code listing doesn't even get to the downloading stage before there is a hiccup ie syntax errors"
You must post the code you are trying to download so that we can inspect it to identify what is going wrong and/or attempt to download exactly the same program to a chip using PE to see the errors for ourselves. When including code in a post pls use the "Insert </> Code" option.
Most importantly, do not despair. Keep in mind that there are a _lot_ of people who have been using PE and the PICAXE chips and successfully downloading programs over many years so I'm very certain that people in the forum will be able to identify what is going wrong for you.
My suggestion is that we first solve what is preventing you downloading a program.
Once we are past that hurdle we can certainly point to to a program and circuit to use with one of the 14m, 20M and/or 28X2 chips that you have on hand.
Thankyou Flenser, whereabouts are you emailing from in the world, also how do i send any photos to the picaxe forum, so at to better explain the problems I am having with the program code listings , even before the downloading stage to the picaxe device? I am using the picaxe pe6 platform version 6.0.8.6, or should I be using a later version that I dont even know about, yet
I used to be able to send photos of screen shots to picaxe support, but picaxe support no longer operates, thanks to covid 19..
Does anyone in australia sell the OLED display , if not , then I am back to square one..
; main program loop, runs at 16MHz
main:
serin RX,baud,b1 ; wait for the next byte
; NB keep character mode test as first item in this list to optimise speed
if b1 < 253 then
let pinsB = b1 ; output the data
pulsout enable,1 ; pulse the enable pin to send data.
goto main ; quickly loop back to top
Sorry if I sound vague, but where do i find these 2 options, to be able to paste photos etc on the forumPeter,
Instead of emailing this stuff just to me it's a better idea to put the code and any pictures into a post using these two options. This will enable everyone in the forum to see them and help you if I can't see what is wrong.
View attachment 24385
When you paste your code using this option it will appear in your post properly formatted in a "Code" section like this which makes it easy to everyone to read:
Code:; main program loop, runs at 16MHz main: serin RX,baud,b1 ; wait for the next byte ; NB keep character mode test as first item in this list to optimise speed if b1 < 253 then let pinsB = b1 ; output the data pulsout enable,1 ; pulse the enable pin to send data. goto main ; quickly loop back to top