Hacking the Nikon WU-1a....

Wifi, USB, GPS, Grips, Mics, Ext Power, Lens, Flash

Re: Hacking the Nikon WU-1a....

Postby jvnega » Mon Dec 17, 2012 1:25 am

First of all, this is some nice work Joe! I've signed up for the forum, because of this project, and how much I want to explore it! I have a D3100, and I'm pretty confident, that it should work on that as well (or am I completely wrong?).

thefool wrote:Fascinated by Joes work, I ordered a WU-1b, to hack.
I got it yesterday, and immediatly cracked it open.
It's practically identical (will try to get some good photos) inside, except for the plug, which is now a standard mini-usb plug.

I used the WMUA app for the iphone in my testing.

I can confirm that the WU-1b also works with the D800, with the same modifications joe described.
basically I only had to supply power (5V) to pin 1 to both the camera and the WU-1b, as well as 3V on pin 4 of the WU-1b.
Unfortunately I did not get it to work reliably with my D300.
At some point I did get some kind of connection, but most the times, the WU-1b only blinks red.
Will try with more cameras soon.

By the way: when you have live-view, you can focus the camera at any focus point by simply tapping on the part of the liveview image you want to focus on!

thefool


Would it be possible to do an annotated picture of the wiring that need to be done? I've read the Wiki-page as well as Joe's slides, but find it somehow hard to understand exactly what needs to be rewired to give have the appropriate power supplied.
jvnega
 

Re: Hacking the Nikon WU-1a....

Postby JonHob » Mon Dec 17, 2012 3:06 pm

I know it's a daft question but do you think this could work with the D3S?
JonHob
 

Re: Hacking the Nikon WU-1a....

Postby joefitz » Wed Dec 19, 2012 12:05 am

Hey everyone, sorry for being asleep at the wheel for the past few weeks, i have been busy wrapping up 8 years of work and taking some much-needed vacation, and I guess i wasn't subscribed to the post.

Thanks gittela for the photos, and thanks thefool for testing out the 1b and other cameras.

To answer a few questions:
-yes, it's a pretty dumb adapter. I haven't tried glitching it to bypass the firmware protection to dump and reverse it, but it appears to only work with nikon SLR cameras in PTP mode. When i get around to soldering up my facedancer i'll see what i can find out about whether it actually has a whitelist/blacklist or not.
-I'm almost certain the limitation for the D7000 and others is the ability to output 3v and 5v on the usb port. My guess is that there's hardware limitations preventing that and they used some sort of intermediate power supply for all their development and testing. Perhaps though they had a custom firmware or a debug/modified D7000, but who knows.
-thefool and a few others are working on better interface hardware; i haven't yet been in touch with anyone about making a better app. Anyone know anyone? It should be easier to port a USB-PTP app to WIFI-PTP/IP than to build one from scratch. I've been enjoying DslrDashboard for android and might contact the author. I don't have/use any apple hardware.
-I haven't encountered anything yet to indicate that this won't work for anything as far back as D2x or so, which was the first to support PTP. I'd bet the reliablity is probably much lower the older you get though.

I hesitate to make promises cause i know how bad i am at following through, but i do really totally intend to, in the next week:
-post python scripts to test and control liveview
-post a legible schematic for my board
-answer all the nikon-related email i've received recently.
joefitz
 
Posts: 3
Joined: Thu Nov 01, 2012 10:32 am
Been thanked: 1 time

Re: Hacking the Nikon WU-1a....

Postby plroberto » Fri Jan 11, 2013 8:12 am

thefool wrote:Fascinated by Joes work, I ordered a WU-1b, to hack.
I got it yesterday, and immediatly cracked it open.
It's practically identical (will try to get some good photos) inside, except for the plug, which is now a standard mini-usb plug.

I used the WMUA app for the iphone in my testing.

I can confirm that the WU-1b also works with the D800, with the same modifications joe described.
basically I only had to supply power (5V) to pin 1 to both the camera and the WU-1b, as well as 3V on pin 4 of the WU-1b.
Unfortunately I did not get it to work reliably with my D300.
At some point I did get some kind of connection, but most the times, the WU-1b only blinks red.
Will try with more cameras soon.

By the way: when you have live-view, you can focus the camera at any focus point by simply tapping on the part of the liveview image you want to focus on!

thefool


Hi everybody,
first of all, thanks to Joe for his very interesting work.
I'm about to buy a D7000 (just waiting that for the D7200 and the subsequent D7000 price drop), and I am really interested in this topic.
Has anyone tried this with a D7000?
My concern is about pushing 5V directly into the camera: is this really necessary? I am afraid that this could somehow damage the camera.
Would it be enough to supply 5V and 3V just to the WU-1B adapter? Or maybe using a diode to prevent the current to flow into the camera.

By the way, I guess that to correctly power the adapter and (if needed) the camera, it would be possible to use one of those cheap USB battery used as emergency phone charger (just google for "usb pocket charger" to see some examples): they should have standard 5V and 3V outputs on mini USB. This way, one would only need a simple (custom) USB Y cable/box.

Thank you all.
Roberto
plroberto
 

Re: Hacking the Nikon WU-1a....

Postby emsi » Tue Jan 22, 2013 6:40 am

I believe you need 5v to camera to activate the USB device part (host is about to supply +5v to the device and the camera is a usb device) so it sounds safe to me.
The Y cable sounds like a viable idea to me.
emsi
 
Posts: 4
Joined: Tue Jan 22, 2013 6:35 am
Been thanked: 0 time

Re: Hacking the Nikon WU-1a....

Postby thefool » Tue Feb 05, 2013 7:37 am

@roberto: I have tested with the D7000, it works very well!
I also believe what emsi wrote - the 5V is needed for the camera to know that it needs to listen for PTP commands via the usb port. but I have not tested this on the D7000. I just did a test on the D300 though, I used an application that communicates with the camera via PTP (very similar to what the WU-1a/b is doing), and used a usb cable where i cut the 5v wire. Nothing happened. neither the camera, nor the application knew that a cable was connected...

There is no risk involved in "pushing 5V directly into the camera" - you do that every time you connect a USB cable to the camera! I did my tests with a usb cable, and got my 5v from a usb port on my macbook air. So there's really no difference to normal usb usage...

BTW - I've come up with a really nice idea for the hardware, but have to do some more tests before I'll be able to show it!

thefool
thefool
 
Posts: 3
Joined: Wed Nov 28, 2012 6:08 am
Been thanked: 0 time

Re: Hacking the Nikon WU-1a....

Postby emsi » Tue Feb 05, 2013 1:48 pm

...and the 3V seems to be to activate the host on the WU-1a (aka OTG).
emsi
 
Posts: 4
Joined: Tue Jan 22, 2013 6:35 am
Been thanked: 0 time

Re: Hacking the Nikon WU-1a....

Postby emsi » Wed Feb 06, 2013 4:19 am

Today I found a time to finalize soldering for my WU-1b.
I booted it up properly, the WIFI part is working (slow green blink, ready to connect). I was able to connect to the WiFi.
Unfortunately when plugged to Nikon D70S as well as D200 the red fast blink starts (connection error according to manual). I tried different connection sequences but with no luck.
It seems the firmware does not like to talk to my camera for whatever reason (either it checks product ID or something else is going on).

Any ideas how to dig it up?
emsi
 
Posts: 4
Joined: Tue Jan 22, 2013 6:35 am
Been thanked: 0 time

Re: Hacking the Nikon WU-1a....

Postby thefool » Thu Feb 21, 2013 5:44 pm

@emsi
If I recall correctly, I could also not get it to work with my D200. I can't check right now as I lent it to a friend...
Make sure you set the camera to USB mode PTP or MTP and not MSC (Mass Storage).
http://support.nikonusa.com/app/answers ... al-cameras.
Maybe the WU-1a/b require the MTP protocol, but the D200 (and D100 -> and therefore probably also the D70(s)) only support PTP, which causes the problem?
thefool
 
Posts: 3
Joined: Wed Nov 28, 2012 6:08 am
Been thanked: 0 time

Re: Hacking the Nikon WU-1a....

Postby emsi » Fri Feb 22, 2013 5:44 am

thefool: thx but D200 is definitely a PTP camera. PTP is the only mode I use on my cameras since I developer the Linux PTP driver back in early 2000's :)

Seem like the WU-1b is somehow refusing to talk to my camera. The only option is to snoop the USB communication and identify the cause or even better reverse its firmware and "fix" this little imperfection.
emsi
 
Posts: 4
Joined: Tue Jan 22, 2013 6:35 am
Been thanked: 0 time

PreviousNext

Return to External Hacks

Who is online

Users browsing this forum: No registered users and 2 guests