News:

;) This forum is the property of Proton software developers

Main Menu

Looking for a recommendation for a very simple task

Started by JohnB, Jun 28, 2025, 12:54 PM

Previous topic - Next topic

JohnB

Can you recommend a suitable PIC which is both currently available and not expensive to do this task:
Take in a servo drive signal i.e pulse between 1mSec and 2mSec every 20mS and use fixed values of the pulse between 1 and 2mS to determin the On/Off state of 5 output lines. The outputs will be latching i.e. first pulse switches on the second pulse switches off. 
Very simple, could be done with most devices I guess 8 pin QFN packge, size is critical.
JohnB

trastikata

Check the enhanced mid-range family i.e. 16f1 ... but make sure they are supported by Positron, just few examples.

PIC16F15324 in 4x4 QFN or PIC16F18014 in 3x3 QFN

JohnB

Thanks @trastikata Both available and less than £1.  I'm going to try for the UDFN packase and hope I can hand solder it. I have very little clearance where the PCB is going to sit.   
JohnB

trastikata

Quote from: JohnB on Jun 28, 2025, 07:55 PMThanks @trastikata Both available and less than £1.  I'm going to try for the UDFN packase and hope I can hand solder it. I have very little clearance where the PCB is going to sit. 

Happy to help.

Soldering is the least of your troubles IMO :D - tin both PCB and the chip, some paste and the heat gun - all self aligned perfectly. 

Developing and debugging the firmware in such small chips can be unpleasant experience, I had to solder some very tiny wires to 0402 passives that were connected to the PIC pins. 

Then to flash those chips before soldering I made this PCB, power is generated by the PICkit tool, simply place the MCU, orient it a bit and press it with finger ... goot toll for small prototyping projects:

CIMG2730.JPG

midali

When dimensions are critical ,I use 12F1572 in MS case . The price is under 1 pounds/pcs. Its the same with SO8 with side pins, but it have a small dimensions ( 3,1x2,4 mm ) . Example : PIC12F1572-I/MS from Mouser . Sometime, when I need a more pins but very small PIC size , I use 16F1703 in the same case MS