JLCPCB Prototype for $2(Any Color): https://jlcpcb.com
How to Get PCB Cash Coupon: https://bit.ly/2GMCH9w
I've started developing the PIC code to implement a calibration mechanism into my PWM5 solar charge controller.
How to Get PCB Cash Coupon: https://bit.ly/2GMCH9w
I've started developing the PIC code to implement a calibration mechanism into my PWM5 solar charge controller.
Dear what is the compiler has been used here?
hi j,,i have microchip pic16c74b .its program for an inverter ,is there away to MCLR it to power up or need to write code.
instead of a button you can use the microcontroller to set these values. even dynamically. with some trickery the uC can sense its own vcc… a would recommend to not write the value to eeprom instantly and rather use the ram or some register to store the value and only write on power off and read on system boot. if you add a big enough cap across the supply rail you should have enough time to write to eeprom safely in tgese occasions.
I wish there was something like an electronic component that can do that job. can someone try to invent a "voltage reference" or something of that nature?? ๐ค
Maybe add a button lockout switch, to stop accidental pushes.
Fascinating stuff, Julian ! Thank you so much. I've used the 12F683 in some of my projects – it's quite a nice microcontroller. Really looking forward to your solution. AND, I always learn something new from your videos.
That's some interesting software gymnastics! ๐
I have to wonder though what the point of this type of calibration is (for this particular use-case) given that the end user won't have access to the 5v supply anyway?
You'd be better off hard-coding in a value, seeing as only you will be able to calibrate them, and that's even putting the natural drift of the regulator over time as it ages.
i used to use pic all the time, cant believe how they fell behind arduino and esp in the hobby world.
You can use an external precise voltage reference for self-calibration after powered on.
Julian, what about a ATmega328. didn't you do a video about measuring it's own supply voltage, it could calibrate itself. you could also do temperate compensation with the on die sensor, I'm sure you did a video on that also.