Shift838 Posted March 12, 2021 Share Posted March 12, 2021 (edited) I have proven it on a breadboard. This uses a ATTINY85 to control the shutdown along with a Python helper script that runs to monitor. This script can be ran as a service and load up when the Pi boots. I did add some circuitry to allow for the unit to be hooked up to a Arduino Nano if the ATTINY85 ever needs to have it's firmware updated. it doubles as a shutdown and and a power up button. When powers down a simple quick press will power up the Pi. Holding the button down for a few seconds will issue the shutdown command to shut the pi down nicely. Edited March 12, 2021 by Shift838 3 2 Quote Link to comment Share on other sites More sharing options...
+9640News Posted March 12, 2021 Share Posted March 12, 2021 I think I recall you said you had a 3D printer. If you make this available, can you have a box suitable to hold the board, and I guess velcro'd to the side of the PEBox? I would hope something with a long enough cable to come around to the side of the PEBox so the user doesn't have to supply any parts. My 2 cents. Quote Link to comment Share on other sites More sharing options...
Shift838 Posted March 12, 2021 Author Share Posted March 12, 2021 14 minutes ago, 9640News said: I think I recall you said you had a 3D printer. If you make this available, can you have a box suitable to hold the board, and I guess velcro'd to the side of the PEBox? I would hope something with a long enough cable to come around to the side of the PEBox so the user doesn't have to supply any parts. My 2 cents. You are reading my mind. That’s the plan.. 1 Quote Link to comment Share on other sites More sharing options...
jrhodes Posted March 12, 2021 Share Posted March 12, 2021 This will work with both the sidecar tipi, and sidecar 32k+tipi units? Or is this intended for tipi-peb only? 1 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted March 12, 2021 Share Posted March 12, 2021 My understanding was that there was no need to shut down the TIPI, so I never do unless I'm doing some maintenance on the PEB. That said, when I do need to shut down, it can be cumbersome as I have to go in the TIPI Config program or TELNET into it to properly shut it down. Not to mention the times when I accidentally knocked off power to the TIPI. I can see the usefulness of that board from a convenience and safety standpoint to minimize the possibility of SD card corruption. How does it hook up the TIPI? 1 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted March 12, 2021 Author Share Posted March 12, 2021 5 hours ago, jrhodes said: This will work with both the sidecar tipi, and sidecar 32k+tipi units? Or is this intended for tipi-peb only? any raspberry pi it will work with. 2 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted March 12, 2021 Author Share Posted March 12, 2021 (edited) 1 hour ago, Vorticon said: My understanding was that there was no need to shut down the TIPI, so I never do unless I'm doing some maintenance on the PEB. That said, when I do need to shut down, it can be cumbersome as I have to go in the TIPI Config program or TELNET into it to properly shut it down. Not to mention the times when I accidentally knocked off power to the TIPI. I can see the usefulness of that board from a convenience and safety standpoint to minimize the possibility of SD card corruption. How does it hook up the TIPI? the board (JP1 connector) hooks up to certain GPIO pins of the raspberry Pi. The PGM pins are used to update the firmware if needed from a Arduino UNO. Edited March 12, 2021 by Shift838 1 1 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted March 12, 2021 Share Posted March 12, 2021 Would you be willing to post a schematic and BOM by any chance? I like to roll my own PCB's whenever possible 1 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted March 13, 2021 Author Share Posted March 13, 2021 i went ahead and ordered a batch of 3 to test. 2 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted March 25, 2021 Author Share Posted March 25, 2021 I received the protoboards today. Put one together and it works to control the shutdown. Now I have to design a 3D case for it. 6 Quote Link to comment Share on other sites More sharing options...
RXB Posted March 25, 2021 Share Posted March 25, 2021 On 3/12/2021 at 2:18 AM, jrhodes said: This will work with both the sidecar tipi, and sidecar 32k+tipi units? Or is this intended for tipi-peb only? Yea would like one for the PEB TIPI! Quote Link to comment Share on other sites More sharing options...
Shift838 Posted March 25, 2021 Author Share Posted March 25, 2021 On 3/12/2021 at 4:18 AM, jrhodes said: This will work with both the sidecar tipi, and sidecar 32k+tipi units? Or is this intended for tipi-peb only? This will work for any Raspberry Pi. 3 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted April 23, 2021 Author Share Posted April 23, 2021 (edited) I got these in the mail today. I'll be putting one together to test it out. Edited April 23, 2021 by Shift838 2 1 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted April 24, 2021 Author Share Posted April 24, 2021 (edited) put one together and put it in it's case. works great. https://shift838.fwscart.com/product_preview/p5569983_21102470.aspx Edited April 24, 2021 by Shift838 1 Quote Link to comment Share on other sites More sharing options...
Airshack Posted April 24, 2021 Share Posted April 24, 2021 Cool! Just ordered one with case. Thanks! 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted April 24, 2021 Share Posted April 24, 2021 Why the microcontroller? Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted April 24, 2021 Share Posted April 24, 2021 Because, two heads... are better than one! What did one microcontroller, say to the other? Spoiler Shut me down, before I do it myself! 1 Quote Link to comment Share on other sites More sharing options...
RickyDean Posted April 25, 2021 Share Posted April 25, 2021 1 hour ago, HOME AUTOMATION said: Because, two heads... are better than one! What did one microcontroller, say to the other? Hide contents Shut me down, before I do it myself! Is your puter bigger than my puter...? Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted April 25, 2021 Share Posted April 25, 2021 I'm just curious for real.. I've done this with nothing but a push button, resister and LED. And let the PI handle the rest... I also just leave my PI on for years so far... only turn it off in the rare event that I'm updating an SD-Image for you all... But I use my TI every other day on average... which doesn't seem to be that common a use case. 1 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted April 25, 2021 Author Share Posted April 25, 2021 7 hours ago, jedimatt42 said: Why the microcontroller? I have the ATTINY85 actually monitor the RPi for different states like if the unit is powered off, running, shutting down, etc. The LED blinks from the ATTINY85 when it is shutting down or powering up. When the LED goes off then you know it is safe to disconnect the power if you like. 2 1 Quote Link to comment Share on other sites More sharing options...
Shift838 Posted April 27, 2021 Author Share Posted April 27, 2021 Just posted a video of the setup and it working. 3 Quote Link to comment Share on other sites More sharing options...
GDMike Posted April 27, 2021 Share Posted April 27, 2021 10 hours ago, Shift838 said: Just posted a video of the setup and it working. Great job. Another cool pcb 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.