I wanted to add that I have tried it on IR remotes of various devices, TCL TV, Samsung TV, Philips TV, Sony and Kenwood receivers and many other IR remotes, it works ok. Look at the code and there you can experiment with IR packet decoding variables if necessary.
the program code is here.
Using the miniature 8-pin PIC12F1840, I created a universal IR remote decoder that stores the codes of 4 remote control buttons. The outputs of this code operate in a momentary mode - as long as the button is pressed, the output is active. In the attached code, the 4 buttons drive 2 outputs using OR logic. In my case, I wanted to be able to control an RGBW LED controller using 2 remote controls, each using 2 buttons. However, the code can easily be connected to another microcontroller that has more...
Super!
I am very sad to hear that such a special person has passed away....
Yess. Thanks! Everything is fine. I fixed the problem. I added C5 = 0.1uF , see the attached electrical diagram. There is C2 = 47uF, I left it. I first tried to change C2 to 0.1uF , then I don't get the result as good as this solution. So far, everything seems to work fine. There will be a test period with max loads.
Hello! However, disturbances appear when the battery starts to be charged with a higher current - over 10A, that is, at the load of the switching power supply unit. Again, the voltage measurement ADC does not work as it should, the values jump. Then maybe these noises come from the transformer of the switching power supply unit? Roger suggested the idea: You can use the internal voltage reference (in the PIC) for its ADC, then it will not be sensitive to noise from the power supplying as if using...
Anobium, good idea. I'd be happy to share the entire project, as there's still a gerber file, etc. But first, you need to put everything in a box and test it in real life, as there are still many nuances that need to be worked on - transistor/diode cooling radiators, ventilation, power supply operation at max load, etc. After the test period, I'll let you know when everything works perfectly, okay?