electricpy.ic_555_astable

electricpy.ic_555_astable(R=None, C=None, freq=None, t_high=None, t_low=None)[source]

555 Integrated Circuit Calculator.

Evaluate a number of common attributes related to the common 555 integrated circuit including time period, frequency, duty cycle, time spent low during each cycle, time spent high during each cycle.

TODO: This function should be broken into multiple smaller functions.

Parameters:
R : list[float, float] or tuple(float, float), optional

List of 2 resistor which are need in configuring IC 555.

C : float, optional

Capacitance between Threshold Pin and ground

f : float, optional

Electrical system frequency in Hertz.

t_high : float, optional

ON time of IC 555

t_low : float, optional

OFF time of IC 555

Returns:

dict – “frequency”: frequency of oscilation of IC 555 “duty_cycle”: ration between ON time and total time “t_low”: ON time of IC 555 “t_high”: OFF time of IC 555

Return type:

“time_period”: Time period of oscillating IC 555