Latching power switch to power board on and off via GPIO

Post Reply
tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

I'm running Emuelec on my Odroid-C4 and am able to get the board to shutdown via the birdiging of gnd and whatever pin I set in the config.ini

Is there a way to reverse the logic so when a latching switch is released it initiates the same shutdown script?

I've done something similar before with the Raspberry Pi but that was using a shutdown script I made. Attached is an image of the circuit I made for the pi. Please forgive my non standard wiring scheme.

I wired everything up as I had on the Pi and when I press the latching switch it shuts down the system which is the opposite behaviour I want. I only want it to shutdown when the switch is pressed off.

Image

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

Hi and welcome to the forum,

I think the shutdown pin expects momentary switch action, and not latching switch. More importantly, do you expect the SBC to turn on when you push the switch again? How did it work with RasPi?

Certainly it is possible to modify wiring, so the same switch action will result in reversed logic in electrical sense. I'll draw it for you once I fully understand the problem.
What kind of switch are you using? An exact part number would be helpful but if not, does it have two independent poles?

You may also find interesting two carputer designs from our forum members, @joerg and @zyssai, who both solved problems of reliably turning SBCs on and off.
viewtopic.php?f=206&t=39066&hilit=carputer
viewtopic.php?f=182&t=45350&hilit=gpio%274%27cars
These users thanked the author mctom for the post:
tonberryhunter (Wed Oct 04, 2023 3:42 pm)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

DPDT 6 pin latching switch. Image

I wish these companies would include headers or something for powering things on and off. This is forever a problem when I make anything with SBCs. I understand this may be something handled by the power supply or power circuit in most other devices and SBCs are stripped off this stuff for the sake of versatility, space saving and cost.

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

SBCs are in vast majority of applications parts of bigger systems that has their own on/off switches.
I believe our hobby use is not even close to 50% of market share - hence no power switch. :)
However Odroid M1, for example, has dedicated power button and reset button pins.

The same can be done with C4 and N2, but you will need a different switch for this purpose, a momentary (unistable) switch, just like PCs had since around 1996. ;)
https://wiki.odroid.com/odroid-c4/appli ... key_wakeup

I see you used the same switch to control a fan. Instead of that, I propose doing it right and controlling a fan according to a CPU temperature. You will need a transistor to make it work, but will only turn on when it's needed and as much as it's needed.
Here is a daemon I wrote for this purpose, I can help you make necessary changes to run it on your C4.
https://github.com/tomek-szczesny/gpio-fan-controller
These users thanked the author mctom for the post:
tonberryhunter (Wed Oct 04, 2023 4:27 pm)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

I'm trying to make this thing as close to how a real Dreamcast functions but I guess some sacrifices will have to be made. I wonder if I could use a script to turn the fan and power LED off when that same momentary switch is pressed to shutdown the system? The idea is to at least give the illusion that the power has been cut to the system. I believe this is how most smaller embedded electronics work these days anyway. My Chromecast is never truly off it just gives the illusion that its off.

I like this fan control I usually just run my 5V fans at 3V but that's far from ideal really as the system does heat up especially during emulation.

Ive been designing this Dreamcast Mini in CAD on and off for several years. I'm far from an electrical engineer but have made some circuit boards in the past which I likely should do here as wiring inside this case is getting kinda crazy.

ImageImageImage

Here is a finished slightly smaller one I made in 2018.

ImageImageImageImage
These users thanked the author tonberryhunter for the post (total 2):
L67GS (Wed Oct 04, 2023 8:58 pm) • hominoid (Thu Oct 26, 2023 3:26 am)

User avatar
tobetter
Posts: 12609
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 938 times
Been thanked: 2162 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tobetter »

@tomberryhunter, I like your design and it's amazing...
Would you be able to share the OS image which you are going to run on ODROID-C4?
These users thanked the author tobetter for the post:
tonberryhunter (Wed Oct 04, 2023 4:39 pm)

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Its a modified Emuelec image ive been working on. https://github.com/EmuELEC/EmuELEC/releases

Video of the Dreamcast portion of the theme
https://www.instagram.com/reel/Cx7Q7sYu ... BiNWFlZA==
These users thanked the author tonberryhunter for the post:
odroid (Wed Oct 04, 2023 5:06 pm)

L67GS
Posts: 1144
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: English, Jibberish, Pig Latin
ODROIDs: XU4, M1 8GB, M1S 4GB, C1+, (3) C0's, H3+, N2L 4GB, and a whole big pile of accessories, VU7A Plus,, MIPI-CSI Camera Kit, etc....
Location: Great Lakes Region, U.S.A
Has thanked: 373 times
Been thanked: 151 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by L67GS »

Still a lot of 74XX logic circuits out there to make a one shot out of, or just program a microcontroller to be a one shot.

User avatar
tobetter
Posts: 12609
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 938 times
Been thanked: 2162 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tobetter »

tonberryhunter wrote:
Wed Oct 04, 2023 4:49 pm
Its a modified Emuelec image ive been working on. https://github.com/EmuELEC/EmuELEC/releases

Video of the Dreamcast portion of the theme
https://www.instagram.com/reel/Cx7Q7sYu ... BiNWFlZA==
If you use EmuELEC, there is one variable in boot.ini for GPIO power that you can connect to a momentary switch. Need a verification again for sure.
https://emuelec.discourse.group/t/gpio- ... eroff/1190
https://wiki.odroid.com/odroid-c4/appli ... key_wakeup

If you prefer to go for lock switch, you need to make another power input hole to your case and wire up to the pads on ODROID-C4 through the switch.
https://wiki.odroid.com/odroid-c4/appli ... ower_input
These users thanked the author tobetter for the post:
tonberryhunter (Fri Nov 03, 2023 2:45 pm)

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

tonberryhunter wrote:
Wed Oct 04, 2023 4:23 pm
I'm trying to make this thing as close to how a real Dreamcast functions but I guess some sacrifices will have to be made. I wonder if I could use a script to turn the fan and power LED off when that same momentary switch is pressed to shutdown the system? The idea is to at least give the illusion that the power has been cut to the system. I believe this is how most smaller embedded electronics work these days anyway. My Chromecast is never truly off it just gives the illusion that its off.

I like this fan control I usually just run my 5V fans at 3V but that's far from ideal really as the system does heat up especially during emulation.
You are right, the majority of consumer goods have working microcontroller when they are off.

Unfortunately my youth has been incomplete as I never owned any gaming system in my life. :) So I don't know how Dreamcast behaved.
But @L67GS is right, in the worst case you could add a companion logic chips or microcontroller to do anything you want.
In case of LED that simply glows when C4 is on, you could use any GPIO and write a script that drives it however you like.

Using a simple fan control daemon guarantees your system will be only as loud as it needs to be under given load.

I encourage you to design your own PCB and have it manufactured in one of many companies that make them for a few bucks these days. OSHpark is one of them. Larger components can be selected so it's easier for you to assemble it.
You could implement all the extras you can possibly need, such as a fan control circuit, power button support and more, and make it fit to C4 header directly if you like. The community here will help you design it if you have little experience with electronics engineering. This is an easy project, perfect for a newbie in this field. @zyssai has made excellent designs using Easyeda, I prefer Kicad, it's up to you.

If you want the power button to be operated by bistable switch, this can also be arranged. You could, in fact, just cut the power supply of the whole C4, but only if all mounted filesystems are read only. So, no high scores in games, probably not what you're after.

The case design is mind blowing :shock:
These users thanked the author mctom for the post:
tonberryhunter (Fri Nov 03, 2023 2:45 pm)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Thanks for the info. Ive gone for the lazy solution for now til I have someone help me design a circuit and PCB. Ive made some PCBs in the past but Im just not liking the changes that they made to Fusion 360 in terms of PCB design. I used Eagle in the past but they no longer support it so its changed a bit since I last made a PCB.
Dreamcast-Mini-GPIO-Legend---Odroid-C4.jpg
Dreamcast-Mini-GPIO-Legend---Odroid-C4.jpg (256.25 KiB) Viewed 1141 times
These users thanked the author tonberryhunter for the post:
odroid (Wed Oct 25, 2023 9:59 am)

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

Eagle has always been terrible if you ask me. ;) Last time I used it, that was still a product of a small company (German, I think?). And my workplace was so cheap we worked on the trial version :lol:
Then at some point all electronic component vendors wanted to have "their own" circuit design software, and Eagle was bought by Farnell. LCSC still has EasyEDA, and RS has DesignSpark, and so on.
After a while the short-lived fashion mostly died out, and now you're telling me Autodesk bought Eagle? Wow. I wouldn't ;)

Now to comment on your diagram:
- Pin #1 and #17 are in fact 3V3, or 3.3V
- Surely you didn't mean 220k resistor in series with LED. Perhaps 2.2k, or 220R?
- How do you plan to undervolt a fan to 3V? Maybe you could connect it to pin #1 instead? This depends on the fan current rating though.
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Yeah I meant 220R yeah sorry 3.3v Im not using them anyway. I made some progress in Fusion.
Screenshot 2023-10-25 031247.png
Screenshot 2023-10-25 031247.png (111.37 KiB) Viewed 1113 times
Screenshot 2023-10-25 031316.png
Screenshot 2023-10-25 031316.png (168.78 KiB) Viewed 1113 times
Screenshot 2023-10-25 031401.png
Screenshot 2023-10-25 031401.png (330.28 KiB) Viewed 1113 times
Those JST PH 4 pin jacks will wire into a USB hub board I found on Aliexpress. It would prob be better to design a hub right into the board but thats a bit beyond my technical skills.

I opted for a simple momentary switch which makes sense. Ive tested everything already using wires and it all works as I want. Just would be more slick to make a pcb and simplify the wiring and soldering.

1698218269589.jpg
1698218269589.jpg (481.55 KiB) Viewed 1113 times

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

Uh, it looks great and all, but USB data lines must be routed as differential pairs. On the other hand, on such a short distance, and essentially working as USB low speed device (a game pad), maybe that's alright.

Here's a quite good tutorial how to design a nice USB hub: https://circuitdigest.com/electronic-ci ... t-extender

I would love to design this PCB for you, but I don't have free time slots right now. If this could wait a few weeks I'd donate a weekend to this project.
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Thanks for all the help I ordered a small batch of boards without the usb hub.

I also designed these USB edge connector boards to make connections between the daughter board and the Odroid easier.
download (6).png
download (6).png (22.35 KiB) Viewed 1033 times
download (7).png
download (7).png (19 KiB) Viewed 1033 times
Screenshot 2023-10-25 152252.png
Screenshot 2023-10-25 152252.png (101.68 KiB) Viewed 1033 times
Screenshot 2023-10-25 164057.png
Screenshot 2023-10-25 164057.png (355.43 KiB) Viewed 1033 times
These users thanked the author tonberryhunter for the post:
odroid (Thu Oct 26, 2023 9:52 am)

User avatar
odroid
Site Admin
Posts: 41850
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3427 times
Been thanked: 1915 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by odroid »

It's a truly fun project and I personally really like the Dreamcast design.
These users thanked the author odroid for the post:
tonberryhunter (Mon Oct 30, 2023 12:23 pm)

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Thanks Odroid you make a great board and it emulates Dreamcast very well. <3 Check out my business page when you get a chance.

https://www.instagram.com/robertdunnart/
These users thanked the author tonberryhunter for the post:
odroid (Fri Oct 27, 2023 11:00 am)

User avatar
rooted
Posts: 10481
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 816 times
Been thanked: 694 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by rooted »

You are making these to sell? I thought this was a personal project.

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

rooted wrote:
Mon Oct 30, 2023 11:20 am
You are making these to sell? I thought this was a personal project.
Do you get paid when you work? I've been designing and prototyping this mini system since 2018. This is my job. I actually go weeks at a time without making any money working on this stuff. I don't have a comfy $70,000 a year income and a indispensable amount of mental energy. Im fortunate enough to have a supportive family who gives me a place to live (single bedroom) and work (uninsulated basement). I'm actually on government assistance. Have the cheapest phone plan money can buy and drive an almost broken down 2008 mini van that hasn't passed inspection since 2014.

Get off my back and let me make money off of my skills and time.

User avatar
rooted
Posts: 10481
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 816 times
Been thanked: 694 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by rooted »

tonberryhunter wrote:
rooted wrote:
Mon Oct 30, 2023 11:20 am
You are making these to sell? I thought this was a personal project.
Do you get paid when you work? I've been designing and prototyping this mini system since 2018. This is my job. I actually go weeks at a time without making any money working on this stuff. I don't have a comfy $70,000 a year income and a indispensable amount of mental energy. Im fortunate enough to have a supportive family who gives me a place to live (single bedroom) and work (uninsulated basement). I'm actually on government assistance. Have the cheapest phone plan money can buy and drive an almost broken down 2008 mini van that hasn't passed inspection since 2014.

Get off my back and let me make money off of my skills and time.
I was asking because I was interested, I'm certainly not interested now.
These users thanked the author rooted for the post:
L67GS (Mon Oct 30, 2023 1:44 pm)

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Updates : boards arrived quickly and seem to be working as designed.
Also finished painting and detailing the 3D printed shells with custom made decals.
IMG_20231030_152905.jpg
IMG_20231030_152905.jpg (470.37 KiB) Viewed 912 times
Attachments
IMG_20231030_152815.jpg
IMG_20231030_152815.jpg (281.22 KiB) Viewed 912 times
IMG_20231030_152205.jpg
IMG_20231030_152205.jpg (470.97 KiB) Viewed 912 times

User avatar
odroid
Site Admin
Posts: 41850
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3427 times
Been thanked: 1915 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by odroid »

I think you did a great job recreating the retro colors and feel of the original Dreamcast.
I hope you will upload the completed photos later. I'm curious what the four USB ports will look like with the case.

I wonder if the reason for using the USB device connectors rather than the USB host connectors was to create a natural appearance.

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

odroid wrote:
Tue Oct 31, 2023 9:57 am
I think you did a great job recreating the retro colors and feel of the original Dreamcast.
I hope you will upload the completed photos later. I'm curious what the four USB ports will look like with the case.

I wonder if the reason for using the USB device connectors rather than the USB host connectors was to create a natural appearance.
Yes USB-B because it matched the original Dreamcast controller connectors more closely. I did design a variation with USB-C connectors but felt it didn't look as good.
Dreamcast_Mini_Main_2023-Sep-12_03-37-04AM-000_CustomizedView9907389029.png
Dreamcast_Mini_Main_2023-Sep-12_03-37-04AM-000_CustomizedView9907389029.png (1.52 MiB) Viewed 901 times
Dreamcast_Mini_Main_2023-Sep-12_03-35-51AM-000_CustomizedView9907389029.png
Dreamcast_Mini_Main_2023-Sep-12_03-35-51AM-000_CustomizedView9907389029.png (1.47 MiB) Viewed 901 times

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

And this will require illegal USB cables according to the standard specification..
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

User avatar
odroid
Site Admin
Posts: 41850
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3427 times
Been thanked: 1915 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by odroid »

I fully agree that Type-B receptacle connector is looks much better.
But I have a concern as mctom does.

Since this great retro gaming console is not a generic consumer product, your decision is quite reasonable too.
These users thanked the author odroid for the post:
tonberryhunter (Wed Nov 01, 2023 3:02 pm)

User avatar
mctom
Posts: 3518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S
Location: Gdańsk, Poland
Has thanked: 496 times
Been thanked: 668 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by mctom »

I think this would be legal to release as a product, but the USB trademark cannot be even mentioned in any promotional materials.
Pretty much like Pine64 used a term "Digital video output" instead of HDMI.

And of course availability of such illegal cables will be limited to shady aliexpress sellers only.
These users thanked the author mctom for the post:
tonberryhunter (Wed Nov 01, 2023 3:02 pm)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

mctom wrote:
Tue Oct 31, 2023 7:50 pm
I think this would be legal to release as a product, but the USB trademark cannot be even mentioned in any promotional materials.
Pretty much like Pine64 used a term "Digital video output" instead of HDMI.

And of course availability of such illegal cables will be limited to shady aliexpress sellers only.
It would be easy enough to switch it to USB-C input if I ever did sell it on the mass market. I've not had much luck mass producing in the past. You need friends with deep pockets and a good understanding of the Chinese language. I planned on including adapters with these limited units Im making.

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Demo video

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Also made a Dreamcast Controller to USB adapter.
1698899474351.jpg
1698899474351.jpg (590.29 KiB) Viewed 797 times
1698899474342.jpg
1698899474342.jpg (459.51 KiB) Viewed 797 times
1698899474334.jpg
1698899474334.jpg (483.45 KiB) Viewed 797 times
These users thanked the author tonberryhunter for the post:
odroid (Fri Nov 03, 2023 9:19 am)

User avatar
odroid
Site Admin
Posts: 41850
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3427 times
Been thanked: 1915 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by odroid »

I think it's really cool.
Congratulations as the long development project appears to be almost complete.
I hope that the opening angle of the DVD lid can be made larger to make it easier to remove/install the SD card.

By the way, where did you buy the Dreamcast controller?
I am inquiring because I would like to have one for my collection.
These users thanked the author odroid for the post:
tonberryhunter (Thu Nov 02, 2023 3:53 pm)

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Yes Im gonna try to increase the angle of the CD lid. The controller I found on eBay but this was before the pandemic so prices may have been cheaper then.
These users thanked the author tonberryhunter for the post:
odroid (Thu Nov 02, 2023 4:01 pm)

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

More pictures. Its tricky getting the hinged door aligned properly especially with the spring pulling on one side. I had to modify the spring assembly after the fact since the original spring was not strong enough.
1698890599152.jpg
1698890599152.jpg (290.22 KiB) Viewed 765 times
1698890599129.jpg
1698890599129.jpg (274.44 KiB) Viewed 765 times
1698890599112.jpg
1698890599112.jpg (273.27 KiB) Viewed 765 times
1698890599094.jpg
1698890599094.jpg (261.45 KiB) Viewed 765 times
1698890599077.jpg
1698890599077.jpg (347.86 KiB) Viewed 765 times
1698890599062.jpg
1698890599062.jpg (314.77 KiB) Viewed 765 times
1698890599036.jpg
1698890599036.jpg (443.99 KiB) Viewed 765 times
These users thanked the author tonberryhunter for the post:
odroid (Fri Nov 03, 2023 9:20 am)

tonberryhunter
Posts: 18
Joined: Tue May 16, 2023 2:13 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Latching power switch to power board on and off via GPIO

Post by tonberryhunter »

Im now working on a kit version for those interested in building and playing around with one of my Dreamcast Mini builds.
P1020702.jpg
P1020702.jpg (563.66 KiB) Viewed 416 times
Attachments
P1020707.jpg
P1020707.jpg (384.46 KiB) Viewed 416 times
P1020706.jpg
P1020706.jpg (350.77 KiB) Viewed 416 times
P1020705.jpg
P1020705.jpg (398.01 KiB) Viewed 416 times
P1020704.jpg
P1020704.jpg (341.13 KiB) Viewed 416 times
P1020703.jpg
P1020703.jpg (374.16 KiB) Viewed 416 times
These users thanked the author tonberryhunter for the post:
odroid (Tue Nov 21, 2023 9:19 am)

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest