News for hackers. Stuff that matters.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by danesparza on Tuesday December 01, 2015 @02:46PM (#10658185)
His parting comments on a portable mesh network are not fiction. Here is some interesting software that already exists: http://www.netlore.co.uk/airmesh/?page=about
Re:Raspberry Pi Zero Hidden in an Xbox Controller by IshKebab on Tuesday December 01, 2015 @02:59PM (#10658281)
Not battery powered though. A battery powered mesh network is still not really doable.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by sdrothrock on Tuesday December 01, 2015 @11:10PM (#10660887)
Depends on the kind of mesh you're talking about. Linear Technologies has a mesh network with motes that can be battery-powered for years.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by awqrre on Tuesday December 01, 2015 @08:18PM (#10660211)
Even if you plug it in your Tesla battery?
Re:Raspberry Pi Zero Hidden in an Xbox Controller by vanderZwan on Wednesday December 02, 2015 @11:16AM (#10663814)
Re:Raspberry Pi Zero Hidden in an Xbox Controller by garrettgrimsley on Tuesday December 01, 2015 @04:13PM (#10658818)
Since the site is beginning to struggle:

https://web.archive.org/web/20151201211146/https://shkspr.mo...

Mirror. Cache.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by logicallee on Tuesday December 01, 2015 @02:50PM (#10658213)
I'll just leave this here - http://yachtpals.com/files/news/boat-wiring-connect.jpg (western union splice, no soldering required.)

I don't normally complain but his splice is painful - it will come undone if anyone is so much as in the same house as it.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by haberman on Tuesday December 01, 2015 @04:24PM (#10658895)
Very cool. Another fun project would be loading up the Pi with speed run controller input so you could pretend to be superhuman at video games.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by grendelt on Tuesday December 01, 2015 @01:20PM (#10657567)
That cable hack job. :twitch:
Re:Raspberry Pi Zero Hidden in an Xbox Controller by edent on Tuesday December 01, 2015 @01:21PM (#10657573)
Hey, it worked! But, yeah, I need to learn how to solder
Re:Raspberry Pi Zero Hidden in an Xbox Controller by hamitron on Tuesday December 01, 2015 @01:54PM (#10657793)
Re:Raspberry Pi Zero Hidden in an Xbox Controller by miahi on Tuesday December 01, 2015 @03:10PM (#10658375)
I saw a lot of this splicing type in old military radio transceivers ("portable" for a given value of portable - usually some kind of backpack weighting ~30Kg - and the batteries were in another backpack).

That splicing works for solid-core conductors, but it doesn't have the same strength on stranded wire, as it is more flexible. It could work on tinned thin stranded wire (as it makes a kindof-solid wire) but if you tin it then you can just solder it and that's it. The referenced standard[1] also contains the splicing for stranded wire, and some requirements about when and how to use each.

[1] http://www.hq.nasa.gov/office/codeq/doctree/87394.pdf

Re:Raspberry Pi Zero Hidden in an Xbox Controller by hatsunearu on Wednesday December 02, 2015 @12:28AM (#10661183)
If you haven't noticed already, you are now aware that the two intertwined wires in the second and third section of that illustration is topologically impossible.

It's a pretty darn good technique though, useful when your wire harness is going through some minor tension. Extensively used during our underwater robot build :)

Re:Raspberry Pi Zero Hidden in an Xbox Controller by Relys on Tuesday December 01, 2015 @01:42PM (#10657706)
If you really don't feel like doing through-hole soldering to the board you could at least use: https://en.wikipedia.org/wiki/Crimp_(joining) https://en.wikipedia.org/wiki/Electrical_tape

I just don't want to see you burn your house down! :p

Re:Raspberry Pi Zero Hidden in an Xbox Controller by electricblue on Tuesday December 01, 2015 @01:40PM (#10657685)
I don't really see a use for this but I agree with your ending point about computers being snuck into all sorts of things for little or no cost is very exciting.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by vlunkr on Tuesday December 01, 2015 @02:06PM (#10657893)
The use is for a super portable game console. As you can see from all his links lots of people are interested in this type of thing.

http://blog.petrockblock.com/retropie/. That's a project that sets up a whole bunch of emulators and stuff to get you started if anyone is interested.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by electricblue on Tuesday December 01, 2015 @02:47PM (#10658195)
I've used retropie but if I still gotta use HDMI TV I'd rather the console be hidden behind the TV. Just my personal preference though.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by bduerst on Tuesday December 01, 2015 @01:47PM (#10657747)
It would be cool if they loaded Android onto the pi zero, and then used chromecast with their apps/games.

Not sure about the USB XBox controller support on Android though.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by edent on Tuesday December 01, 2015 @01:53PM (#10657790)
I briefly plugged it in to an Android to check the cable worked. lsusb detected it, but I didn't have a chance to test any games directly on the phone.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by bduerst on Tuesday December 01, 2015 @05:58PM (#10659558)
I wonder what the latency is on the new chromecasts. I've heard it's about 10ms (just for display) but it would be worth testing with a stop watch app.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by yincrash on Wednesday December 02, 2015 @01:11AM (#10661310)
The android would work with the controller if the xpad kernel module[1] is built with the ROM.

[1] https://www.kernel.org/doc/Documentation/input/xpad.txt

Re:Raspberry Pi Zero Hidden in an Xbox Controller by ryangittins on Tuesday December 01, 2015 @03:46PM (#10658614)
Wow, what a great post! This is just incredible. It makes you realize how much the world has changed and how much more change we're going to see in the near future. Props to you, Terence.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by hayksaakian on Tuesday December 01, 2015 @01:21PM (#10657579)
i know nothing of electronics really, but doesn't the google chromecast get power over hdmi? maybe there's some way to do that with this hack?
Re:Raspberry Pi Zero Hidden in an Xbox Controller by agumonkey on Tuesday December 01, 2015 @01:23PM (#10657586)
AFAIK chromecast and other HDMI dongles have secondary USB port to get power.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by rzzzt on Tuesday December 01, 2015 @01:36PM (#10657657)
According to this Q&A, about 55-150 mA is available on a 5V line: http://www.hdmi.org/learningcenter/kb.aspx?c=13#42
Re:Raspberry Pi Zero Hidden in an Xbox Controller by bduerst on Tuesday December 01, 2015 @01:40PM (#10657690)
Yep - the chromecast pulls too much juice (up to 1A) for the HDMI power spec.

1A would be the sweet spot for future HDMI specs.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by mikepavone on Tuesday December 01, 2015 @06:01PM (#10659569)
That's on source devices, which in this case would be the Pi Zero. AFAIK, sink devices like a TV do not supply power.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by rzzzt on Tuesday December 01, 2015 @07:21PM (#10659964)
I somehow managed to miss the sentence entirely where this is explained (it is used for reading EDID from a connected display). Thanks for the correction!
Re:Raspberry Pi Zero Hidden in an Xbox Controller by agumonkey on Tuesday December 01, 2015 @01:46PM (#10657745)
Oh I didn't know it was in spec. Also, it's just in range for a pi zero. How convenient.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by bduerst on Tuesday December 01, 2015 @02:30PM (#10658048)
The USB-powered XBox controller is going to need another 300 mA.

I also don't think the pi zero has a powerable HDMI adaptor.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by agumonkey on Tuesday December 01, 2015 @02:36PM (#10658088)
I had a pi zero hdmi dongle in mind without a supplementary usb cable.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by MiguelHudnandez on Tuesday December 01, 2015 @03:09PM (#10658367)
An on-board battery or capacitor could help to smooth out brief high power tasks, but I don't think it will be able to sustain video decoding & playback at a constant supply of 150mA. I'm really excited for that to be a possibility though, so I hope I'm wrong.

Of course, some TVs might dump a lot more current over the connection, just like what was common with USB 2.0 going well over 500mA.

Re:Raspberry Pi Zero Hidden in an Xbox Controller by GauntletWizard on Tuesday December 01, 2015 @01:27PM (#10657606)
It's technically possible, but supported on so few devices it's not worth the extra circuitry, I assume.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by johnward on Tuesday December 01, 2015 @01:38PM (#10657667)
Chromecast requires external power. Google's advertising of it is misleading.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by moftz on Tuesday December 01, 2015 @04:03PM (#10658741)
I've never seen any Chromecast advertising that implies it only gets power over HDMI. All of the media on Google's Chromecast site show either both HDMI/Aux and USB plugged in or nothing plugged in. Pretty much any TV now has a USB port whether it be for media playback or for updating the firmware of the TV on older ones so its not a huge deal to have to plug it.

Even the first release of the device clearly mentioned it needing USB power. https://www.youtube.com/watch?v=YRu18f2GRQo&t=41m22s

Re:Raspberry Pi Zero Hidden in an Xbox Controller by johnward on Wednesday December 02, 2015 @10:03AM (#10663309)
All of the screenshots I saw before purchasing the original device clearly showed it plugged into a TV with no power cord attached. It looks like they may have fixed it in the newer marketing.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by Spivak on Tuesday December 01, 2015 @01:52PM (#10657780)
Edit: I'm an idiot. You're right, I must have been thinking of CEC.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by edent on Tuesday December 01, 2015 @01:41PM (#10657699)
Nah. They rely on the fact that most modern TVs have a USB port near the HDMI ports. That usually provides enough juice.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by guyzero on Tuesday December 01, 2015 @03:11PM (#10658383)
Meaning power over HDMI is only provided when the TV supports MHL which most TVs don't support.
Re:Raspberry Pi Zero Hidden in an Xbox Controller by CaptSpify on Wednesday December 02, 2015 @12:10AM (#10661115)
I know the rpi2 gets power over hdmi, not sure about the zero though
Re:Raspberry Pi Zero Hidden in an Xbox Controller by orliesaurus on Tuesday December 01, 2015 @02:29PM (#10658038)
wow Terence has done it again!