the price of a basic pic (18Fxxxx) has really gone up since I purchased a year ago. Looking for 18F4320 TQFN PACKAGE need about 10.
Maybe have to bite the bullet?
need to control an LCD which run at 4.5v aprox.
purchased in July 2018 for $2.60 each 18f43K20 but the LCD is an issue as is the price jump.
Then a series with a Q pops up. Need to research if Swordfish and Pickit2 will play together.
Nowadays most popular microcontrollers are working on 3.3V but many liquid crystal displays (LCDs) for them are usually on 5V, because they are centered on Hitachi’s de facto standard LCD controller – the HD44780 chip. […]
Seriously...move to the newer devices. I always do. Keeps the cost down and code portability is very simple. If you know one PIC within a family, you know the entire family. The learning curve across the PIC lines is virtually non-existent.
Even the transition from 16F to 18F was not difficult. The same coding concepts you use on one family carry over to the other family.
if I switch programming language from Swordfish to ?
can use the pibckit2? basically same hardware presently using?
contemplating Adrino or ?
maybe start with a starter kit.
If you can't understand the difference between this example code;
Code:
// program start...
SetAllDigital
Cls
WriteAt(1,1,"Hello World")
and the code as you modified it:
Code:
// program start...
While true
SetAllDigital
Cls
WriteAt(1,1,"Hello World")
Wend
you don't stand a chance with C. Stick with what you (sort of) know. The 18F-series of chips, particularly the K versions, are fine for what you're doing, and the price is decent.
I made changes as suggested but I need to recheck where the CLS is.
added a delay but nothing changed.
I even tested out the chip to see if it is good. All leds I used worked.
going to research the 18f43K22 if it will run on 5v then I can keep the lcds as is.
If you get a TQFP chip it really don't matter if it's 16 pin or 64 the chip is still small
Id buy a 10 or 20 of the same chip 18F45K22 and the 18F26K22 40 pin and 28 pin
get 2 dip's to test on breadboard and then use the smaller TQFP chips on PCB
Then you start with a blink that blinks with setting for OSC keep a lock on that code
Then add LCD using same configure and your life be a lot better.
that's exactly what I have been doing. I just bot my order today for the 18f43k20 in dip and TQFP
this was ordered before the heads up on the 18F43k22 which I plan on ordering tomorrow.