• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

WOW!! been awhile but $$$

MrDEB

Well-Known Member
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?
 

MrDEB

Well-Known Member
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.
 

Visitor

Member
According to Octopart, an 18F43K20 is about two bucks.

An 18F4320 (notice the lack of a "K") is over six bucks.

I think you're comparing apples and oranges.
 

MrDEB

Well-Known Member
found another better hack description
will look at links suggested for a pic THANKS
 

MrDEB

Well-Known Member
I looked a the Microchip site but Pommie found a different page than I did.
now to look for the max7660 or the max660
 

Jon Wilder

Active Member
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.
 
Last edited:

MrDEB

Well-Known Member
so your suggesting switching from Swordfish to C then use the 16f chips? seems like going backwards?
 

MrDEB

Well-Known Member
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.
 

Visitor

Member
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.
 

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
so your suggesting switching from Swordfish to C then use the 16f chips? seems like going backwards?
NO!! Please don't... You are sort of okay with swordfish... Your example is fine... either do what burt said or move the cls to before the while...
 

Pommie

Well-Known Member
Most Helpful Member
so your suggesting switching from Swordfish to C then use the 16f chips? seems like going backwards?
You can use any chip you like with C. However, as others have pointed out, better sticking with what you know.

Mike.
 

MrDEB

Well-Known Member
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.
 

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
going to research the 18f43K22 if it will run on 5v then I can keep the lcds as is.
No need to... I already did... I bought 10 pic18f45k20's found I couldn't use them.. Bought pic18f45k22's... All's good..
 

MrDEB

Well-Known Member
going to place an order for some 18F45K22's as well. in the TQFP as well as the dip.
 

be80be

Well-Known Member
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.

Use a LCD guide like this
be80be_IRreader.png

And have fun
 

MrDEB

Well-Known Member
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.
 

be80be

Well-Known Member
And here a pic of a easy way to use a LCD with 3 volts posed on microchips forum
15 years ago I think
 

Latest threads

EE World Online Articles

Loading

 
Top