555 timer formula's

kd7jur

New Member
Ok so i tried posting this in the Theory forum, but the forum wouldn't let me...


So i need to know the formula's for a 555 timer for my C programming final project. the problem states:

"Create a program that will provide all 555 timer components necessary based upon the required frequency and pulse width."

so now the question is, what is this formula, i'm assuming it's set up in astable configuration, because of the frequency part.

Thanks for any help
 
The formula you are looking for is on the 555 data sheet.
 
Hi,

here they are.

Boncuk
 

Attachments

  • NE555.gif
    7.4 KB · Views: 1,301
Last edited:
test test test ignore
 
Can you make some reasonable assumptions based on what sort of components are available. eg: spec'ing a 434 uF cap or a 1.72 k Ohm resitor would be difficult to actually implement anyways.

Your teacher wants you to take in Freq and pulse width. I would interpret that as enter Hz, then enter a number representing pulse time high. Of which the easiest way I am aware of is as a percentage where 0 % is always low and 100% is always on. So for 0 > pulse width < 100 would represent what percentage of the period is on.

Something like this for pulse width per cycle:

10% -_________

20% --________

30 ---_________
.
.
.
90 % ---------_
 
Can you provide some more of the constraints for your design? Is your teacher requiring that your program provide component values for a specific 555 chip or generic values. Can you use integer frequency or will you also need to provide values for decimal freq and integer or decimal duty cycle?
 
GOT IT!!!. I built the program, and it works.

File Attached, check it out.

Thanks for all your help. with a lil help from one of my insturctors, i found on the data sheet more info to help me.
 

Attachments

Cookies are required to use this site. You must accept them to continue using the site. Learn more…