[PIC] Difficulty in choosing PIC microcontroller

Status
Not open for further replies.

alpha91

Full Member level 3
Joined
Sep 23, 2011
Messages
168
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Visit site
Activity points
2,625
Hi, I am doing my university project recently. The project require to to control the gate with water level sensor. Base on my lecturer guide, i need a ADC in order to connect the sensor to my PIC microcontroller. She also told me that there is some built in ADC in microcontroller. Currently in my list is PIC 18F2420. Is it is a good choice ? The PIC does not need to execute complex task. just get input from few sensor and two output to control gate.

FYI, i had experience on writing simple code for PIC 16F84A.
 

That looks fine. There are lots of PICs that have an ADC, I'm just wondering why you picked that one? Is your gate output analog or digital?
 
Hi,

For sure PIC18 family as starting point. I will suggest PIC18F46K22 for general use in projects. This uC have best balance between price, speed, capabilities, and available resources. For developing DIP40 for final product TQFP case.

PIC18F46K22 Price around $3
https://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en547757



Best regards,
Peter
 
- - - Updated - - -

That looks fine. There are lots of PICs that have an ADC, I'm just wondering why you picked that one? Is your gate output analog or digital?

Hi, thanks for reply. I am using it to control servo motor that controlling the gate.




PIC16F676, 12F683

**broken link removed**

**broken link removed**

Ok, I will consider them. Thanks for your suggestion, i will check if i able to get it in my country. Thanks for helping :-D
 

(almost) any pic have an adc built in.
count the inputs, the outputs you need to choose how many I.O you need
then choose almost any pic (the one your professor has in stock ...)
I would use a 18 pins pic as the pic 12 have too few input pins
 

Dont forget MAPS

sorry, i never heard that before, can you tell more ? sorry...

(almost) any pic have an adc built in.
count the inputs, the outputs you need to choose how many I.O you need
then choose almost any pic (the one your professor has in stock ...)
I would use a 18 pins pic as the pic 12 have too few input pins

oh, actually I just need 3 inputs and 2 outputs only.
 

12F683 has 6 i/o pins. Out of which four can be configured as 10-bit ADCs.

Similarly 16F676 has 12 i/o pins, out of which eight can be conifigured as 10-bit ADCs.
 

when you make a project, you sometimes need one or two more input or output only for example to debug !
so having exactly enought pin is sometimes a dead end
I had this problem once ago with pic 12 !, could even add a single serial output for debug..
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…