decodeais / Raspi_onoff

Simple solution to make a save Shutdown and Wake-up with one button
0 stars 0 forks source link

Schematic Clarification Please? #1

Open owlyowl opened 1 week ago

owlyowl commented 1 week ago

image

Hi I'm trying to get some clarification on a few things please:

  1. What type of switch are you using there?
  2. Are the two 3.3v sources coming from the Pi GPIO or a separate source?
  3. What is the symbol with the two arrows as it could be an earth or a diode of sorts?
  4. What role do the resistors play in the 3.3v feeds please and why are there two on the one GPIO pin?
decodeais commented 1 week ago

D1 is the power led red green , how you like The normal push button: closed if you press it open when you do not The values of the resistors are not very important. Double or half should work too. Of cause I use the 3.3v from the header. R1 was the pull up. I left it to show the value if you don' use the optional power led. R2 is to limit the Basis current if you put the gpio27 to high level by accident. If you are Shure that you never do it you can connect it directly. For the led you need a lower value. The dammed schematic app had only this sign for ground.

owlyowl commented 1 week ago

D1 is the raspberry Pi's power LED or a separate one please?

So a latching push button like so? https://au.mouser.com/ProductDetail/E-Switch/TL2285EE?qs=7Bi7Dg8SEnxrzf04kzdLHA%3D%3D&mgh=1&vip=1&utm_id=17753636782&gad_source=1&gclid=CjwKCAjw_4S3BhAAEiwA_64Yhp31UdLwBvHMZsaU8Y8-kn1yJJhVytmc03WfOr9H4LwW2G9b10gjPBoCAgAQAvD_BwE

And then where does the D1 led ground itself sorry? Sorry for the newbie questions

decodeais commented 1 week ago

The negativ pin is connected the gpio27. The switch is an double switchover. It is perfekt for the solution on the i2c bus pins. You need only the cheapest version: on contact closed when pressed. You can use the changeover switch to, but then it's a little more difficult to find the to pins which are closed when you press it

decodeais commented 1 week ago

Don' t forget to order the knob for the button. Then it looks much better. It has always to be ordered separately. My englisch so god so it last sometimes to check the vocabulary. Hint for newbies: the led has one longer wire, this is plus. When you already cut it you can see the bottom is not complete roun. The flat edge is minus.

owlyowl commented 1 week ago

Do you have any examples of components for the button/led etc? RaspberryPi-StartUpShutdown.zip

I started a Kicad with both options you outlined, one with LED and one without.

I was wondering if you can use another pin other than 27 and 17 because I'm using them for a screen..

decodeais commented 1 week ago

You can use every pin. But don't forget to change the number in the initialisation. The cheapest way is to buy a kit for arduinolink to example I think you find something similar in the uk.

owlyowl commented 1 week ago

Sorry is the switch type

  1. Momentary?
  2. Latch switch please? - Push and stays in.. push again, springs out? or like this:
decodeais commented 1 week ago

It should close only while you press. For me a push button always close or open directly. The version that stays in the last position would be a switch. A push button has no memory Funktion inside, but I am no native speaker.

owlyowl commented 1 week ago

It should close only while you press. For me a push button always close or open directly. The version that stays in the last position would be a switch. A push button has no memory Funktion inside, but I am no native speaker.

Like an arcade machine button?

decodeais commented 1 week ago

Like a door bell push button.

Tom Fulcher @.***> schrieb am Do., 12. Sep. 2024, 12:24:

It should close only while you press. For me a push button always close or open directly. The version that stays in the last position would be a switch. A push button has no memory Funktion inside, but I am no native speaker.

Like an arcade machine button?

— Reply to this email directly, view it on GitHub https://github.com/decodeais/Raspi_onoff/issues/1#issuecomment-2345862766, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEUKH5LJHS57VVKXXMDB4DZWFTWXAVCNFSM6AAAAABOAU7MRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVHA3DENZWGY . You are receiving this because you commented.Message ID: @.***>

owlyowl commented 1 week ago

Perfect thank you.. thanks for your patience.

Do you have a photo of your setup?

On Thu, 12 Sept 2024, 8:43 pm decodeais, @.***> wrote:

Like a door bell push button.

Tom Fulcher @.***> schrieb am Do., 12. Sep. 2024, 12:24:

It should close only while you press. For me a push button always close or open directly. The version that stays in the last position would be a switch. A push button has no memory Funktion inside, but I am no native speaker.

Like an arcade machine button?

— Reply to this email directly, view it on GitHub < https://github.com/decodeais/Raspi_onoff/issues/1#issuecomment-2345862766>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEEUKH5LJHS57VVKXXMDB4DZWFTWXAVCNFSM6AAAAABOAU7MRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVHA3DENZWGY>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/decodeais/Raspi_onoff/issues/1#issuecomment-2345926216, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOT4CQIMA5AYGDN7WJ5IRTZWFV6FAVCNFSM6AAAAABOAU7MRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVHEZDMMRRGY . You are receiving this because you authored the thread.Message ID: @.***>

decodeais commented 2 days ago

I tested a little change in the schematic. You do not have to use the run test pad. It works with the gpio3 too. I wanted to be Shure that I have a working i2c bus til the end, because I wanted to have access to the display in the shutdown Sequenz to clear the display. If you are interested in my little project you can look to my WebRadio repository .