Jump to content

Programmable Timer and the PI


newbi3

Recommended Posts

Hello everyone, I have a CD4541B revision E timer chip on a toaster. I am wanting to send the output from this chip to the input of my RPI my only problem is I am a software guy. I am completely lost doing this I have found the data sheet for the chip:http://www.ti.com/lit/ds/symlink/cd4541b.pdf

I have a couple of questions.

How do I tell what the output of the chip is? The data sheet says 5V, 10V, and 15V how do I tell what it actually is?
If the voltage is above 5Vs how do I get it down to 5Vs?
Is there any documentation anywhere about using one of these with the GPIO on the RPI?

Thanks in advance for the help! I am a complete noob when it comes to hardware.

Link to comment
Share on other sites

If you measure between pin 7 and pin 14 of your timer chip with a voltmeter(eg.multimeter) you will find the,,er... voltage.

this much is self evident. The circuit shown will safely translate any of your quoted voltages to the RPi's 3v3 logic.

As it is an inverting level shifter the logic will be inverted which is easily delt with in your software. The transistor can be any general purpose NPN signal transistor eg. BC107, BC108, 109,,,,,BC549C....etc.

inverting-level-shifter.JPG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...