First order passive circuits (RC and LC)

First order networks are passive networks which includes a single element capable to store the energy (C or L). Let me try to derive the equations which will help us to understand the I/V characteristics with time.

RC and LC first order circuits
Continue reading

Low VDD detector

I have added a small additional pcb for my diy amp project, which is dedicated to detect the drop of VDD voltage level and saving the data to EEPROM at reaching of the certain threshold. All how I described here, I used the built-in comparator from PIC168f877a.

additional pcb on top of main diy amp pcb

It is a pity that I have not added this feature to the main pcb, so now all solutions looks unaesthetic.

Continue reading

Pic Lab, PIC16, Experiment #23: Saving data to EEPROM before the power off event

I guess, that sooner or later any developer has a question in his head – how do I save the data if the supply shut down?

There are some solutions listed:

  • The reserve battery (the RTC clock, the motherboard);
  • The constant saving to the memory – not nice, the EEPROM has limited cycles;
  • Saving to the external memory – the complication of the PCB and the code;
  • Saving when the lowering of the vdd level is detected – that what I need!
The voltage detector
Continue reading