In answer to some of the questions raised in response to part #1 - I present a schematic of the demo PCB, calibrate the 4MHz internal oscillator and talk about clock option pros and cons. And just wait until you see what I do with red insulation tape! (https://www.youtube.com/watch?v=DGrFWP1x7Xo&t=0s)
9.2.5.1 Calibrating the Internal Oscillator:
"Microchip Development
Tools maintain all calibration bits to
factory settings."
You almost read it out in the video 🙂
Struggled for a few hours to get this to work. Had to go to Programmer–>Release from reset before i got it to work.
I owe Daniel a beer. Bloody obvious aswell.
Hi Julian. An easy mod to the PIC board so that the Vpp does nor cause problems, is to isolate capacitor c4 via a diode. So you need to cut the branch track that to C4 R5 and fit a diode with cathode on Vpp track and anode on the cap-resistor junction. Job done and no need for extra wiring under the board.
Great video Julian. And thanks for the schematic… I've ordered a bunch of PIC12F675s and was going to make my own board instead of hacking that crudy board up… so much appreciated!! 😀 Now… how long was it before you read the gray note text under 9.2.5.1 which actually says "Microchip Development Tools maintain all calibration bits to factory settings."?? 😛
Very interesting Julian, well presented. Really love this series.
From the datasheet, the internal oscillator is calibrated at Vdd = 3.5V @ 25C (table 12-2). From figure 13-15 it can be seen that the frequency will drop with higher supply voltages
Julian, I think you need a forum or something where it is much easier for people to ask questions and help out other people with problems.
It would be so useful for these tutorials.
Really nice video!
But careful! Each reprogram reduces one of it's 100000 lives! (Not that big of a problem though)
can I tie more than 1 of these PICs together
Hi Julian, great stuff, takes me back to University days with Z80 and then PIC days with PC. Nice efficient code for a small PIC.