Page 1 of 1

Need help with a project idea

Posted: Mon Aug 19, 2019 8:44 pm
by Celeryjack
I'm new to the forums so besr with me. I'm also on mobile so sorry if the formatting is bad. So I got a cool idea for a raspberry pi project that I'll probably be posting when I have it all sorted, but I'm stuck with one detail.
The mini HDMI cable I have for my pi zero sticks out too far, so I can't get it to fit in with the project.
IMG_20190819_133357.jpg
IMG_20190819_133357.jpg (2.72 MiB) Viewed 8909 times
IMG_20190819_133306.jpg
IMG_20190819_133306.jpg (2.65 MiB) Viewed 8909 times
I want the HDMI cable sticking out the middle, but obviously there's no headroom to move the pi over. I'm thinking of using a ribbon cable with one of these connectable ends on it
Screenshot_20190819-221236.png
Screenshot_20190819-221236.png (1.08 MiB) Viewed 8909 times
Kinda in this configuration
IMG_20190819_221924.jpg
IMG_20190819_221924.jpg (1.81 MiB) Viewed 8909 times
To fold it over at a 45 degree angle so the mini HDMI would plug in sideways and I could route the wire around and up the middle. So in essence, I want the cable to plug in internally and stick out the controller like it's a normal wired controller, but be an HDMI cable instead of a usb one. This seems like a pretty horrible idea for a permanent solution, but it's the best I could come up with on the spot, and I would love some ideas if anyone's got one. If I need to explain it better, just let me know. Also sorry for my awful drawing skills. Thanks in advance.

Re: Need help with a project idea

Posted: Tue Aug 20, 2019 5:37 am
by infinitLoop
Is that an Xbox controller? Pretty neat

.

You can also just wire up an hdmi cable. it’s like 13 wires so it’s a bit of a pain, but definitely easier to work into tight spaces.

Check this out: https://www.zeroboy.eu/tutorial-self-ma ... l/?lang=en

.

Re: Need help with a project idea

Posted: Tue Aug 20, 2019 4:16 pm
by Celeryjack
infinitLoop wrote:
Tue Aug 20, 2019 5:37 am
Is that an Xbox controller? Pretty neat

.

You can also just wire up an hdmi cable. it’s like 13 wires so it’s a bit of a pain, but definitely easier to work into tight spaces.

Check this out: https://www.zeroboy.eu/tutorial-self-ma ... l/?lang=en

.
Huh... I never would've thought of that. What I'm first gonna try and cutting that big piece of plastic around the connector off and seeing if it'll let me bend it closer to the connector. If not, that's what I'll get to doing. And yes, it's an Xbox 360 controller, generic as can be. I got it off Amazon for $15 just to try and stuff a raspberry pi into because why the hell not. I couldn't find anyone on else on the internet that's done it.

Re: Need help with a project idea

Posted: Tue Aug 20, 2019 4:31 pm
by infinitLoop
when you get to powering the pi, check out the snes zero project, for doing it over the hdmi: https://www.sudomod.com/forum/viewtopic.php?f=22&t=2753

Re: Need help with a project idea

Posted: Tue Aug 20, 2019 11:15 pm
by Celeryjack
infinitLoop wrote:
Tue Aug 20, 2019 4:31 pm
when you get to powering the pi, check out the snes zero project, for doing it over the hdmi: https://www.sudomod.com/forum/viewtopic.php?f=22&t=2753
Well I might not even need to because I managed to cut away all the plastic around the HDMI connector and am trying to bend it sideways. It's held together by a lot of hot glue but I used a lighter to soften it and flex it.
IMG_20190821_011415.jpg
IMG_20190821_011415.jpg (2.88 MiB) Viewed 8875 times
I'm gonna add more hot glue to reinforce it but all in all, seems to be just fine.

Re: Need help with a project idea

Posted: Thu Sep 19, 2019 4:33 pm
by Dawilson123
infinitLoop wrote:
Tue Aug 20, 2019 4:31 pm
when you get to powering the pi, check out the snes zero project, for doing it over the hdmi: https://www.sudomod.com/forum/viewtopic.php?f=22&t=2753
Hi,

Could this be powered by a lipo battery including the controller?

I have a query whether the whole lot including the controller can be powered from 3.7V?

Re: Need help with a project idea

Posted: Thu Sep 19, 2019 5:34 pm
by infinitLoop
Dawilson123 wrote:
Thu Sep 19, 2019 4:33 pm
infinitLoop wrote:
Tue Aug 20, 2019 4:31 pm
when you get to powering the pi, check out the snes zero project, for doing it over the hdmi: https://www.sudomod.com/forum/viewtopic.php?f=22&t=2753
Hi,

Could this be powered by a lipo battery including the controller?

I have a query whether the whole lot including the controller can be powered from 3.7V?
well... the pi0 should run on 3.7v just fine. it's typically other components like the screen that require a boost to 5v (a few people have done GBZs and other handhelds, using 3.3v SPI screens, without having to boost the power). if you wanted a (digital) controller, and used the gpio inputs for the buttons, that would work just fine.

however, if you wanted to include a microcontroller like an arduino or teensy to handle the controls (and/or support analog sticks), then i think you'd need to boost to 5v to do it. i don't think those can run on less than 5v (but i could be mistaken - i know there are ways to do it with more than 5v, but i don't think it would work on less).


.

Re: Need help with a project idea

Posted: Fri Sep 20, 2019 3:35 pm
by Dawilson123
infinitLoop wrote:
Thu Sep 19, 2019 5:34 pm
Dawilson123 wrote:
Thu Sep 19, 2019 4:33 pm
infinitLoop wrote:
Tue Aug 20, 2019 4:31 pm
when you get to powering the pi, check out the snes zero project, for doing it over the hdmi: https://www.sudomod.com/forum/viewtopic.php?f=22&t=2753
Hi,

Could this be powered by a lipo battery including the controller?

I have a query whether the whole lot including the controller can be powered from 3.7V?
well... the pi0 should run on 3.7v just fine. it's typically other components like the screen that require a boost to 5v (a few people have done GBZs and other handhelds, using 3.3v SPI screens, without having to boost the power). if you wanted a (digital) controller, and used the gpio inputs for the buttons, that would work just fine.

however, if you wanted to include a microcontroller like an arduino or teensy to handle the controls (and/or support analog sticks), then i think you'd need to boost to 5v to do it. i don't think those can run on less than 5v (but i could be mistaken - i know there are ways to do it with more than 5v, but i don't think it would work on less).


.

Thanks, I'm going to give it a try tomorrow - wire it up and see what happens. I'll let you how I get on.

Re: Need help with a project idea

Posted: Sat Sep 21, 2019 9:32 am
by Dawilson123
Well, spot the obvious mistake in my wiring to the pi.

Anyway spotted it, sorted it out, wired and put everything together and the USB is not detected so definitely needs 5v. I've got a power boost on order.

Fitment is pretty good otherwise considering everything I managed to squeeze into there.

Re: Need help with a project idea

Posted: Sat Sep 21, 2019 12:57 pm
by Dawilson123
I'm swapping out the charging board with this one...

It can charge a lipo battery and power boost from 3.7V to 5V

https://rover.ebay.com/rover/0/0/0?mpre ... 3724111207