Badcaps.net Forum
Go Back   Badcaps Forums > Troubleshooting Hardware & Devices and Electronics Theory > Troubleshooting Printers, Copiers, Scanners and other Imaging & Printing Devices
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
Old 12-30-2018, 02:40 PM   #1
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Nikon D40X : hacking a power supply?

I recently acquired a Nikon D40X body, and it didn't come with a battery. I tried hooking up a power supply to the contacts and got the dreaded "Can't use this battery" because of the counterfeit battery security code on the firmware.

Is this defeatable so I could use a power supply? I'd hate to buy a battery and find out this body is broken some other way, plus I already have a D5100 which has the same problem: I cannot power via AC adapter, have to use batteries. But yeah hopefully the D40X won't blow up my D5100's lenses, though they should be compatible...
eccerr0r is offline   Reply With Quote
Old 12-30-2018, 03:04 PM   #2
Per Hansson
Super Moderator
 
Per Hansson's Avatar
 
Join Date: Jul 2005
City & State: ----
My Country: Sweden
Line Voltage: 230v 50Hz
I'm a: Knowledge Seeker
Posts: 4,259
Default Re: Nikon D40X : hacking a power supply?

Why not take it to a camera store that deals in used equipment?
They should have a battery available to test it with...
__________________
"The one who says it cannot be done should never interrupt the one who is doing it."
Per Hansson is offline   Reply With Quote
Old 12-30-2018, 03:26 PM   #3
R_J
Badcaps Veteran
 
Join Date: Jun 2012
City & State: ☻
My Country: Canada
I'm a: Professional Tech
Posts: 4,096
Default Re: Nikon D40X : hacking a power supply?

Do what Like Per Hansson said
When its connected to the power supply try doing a reset
To reset the camera. Hold down the menu button and the info button at the same time. Hold it down for a couple of seconds. Camera will turn off then on
some people using after market batteries have said this can work
Looks like this can happen with nikon batteries also if the camera is left in storage for a while.

Last edited by R_J; 12-30-2018 at 03:44 PM..
R_J is offline   Reply With Quote
Old 12-30-2018, 03:28 PM   #4
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

Well, that would at least tell me if the body is viable, but I still would like to power it by AC long term. And I'm definitely too cheap to buy a cable for the D5100. (Both of these cameras are not happy with DC, because they serial number check the batteries for authenticity.)

The D40X is expendable I suppose, it was cheap so I could do some toying with it, unlike the D5100...
eccerr0r is offline   Reply With Quote
Old 12-30-2018, 03:40 PM   #5
CapLeaker
Leaking Member
 
CapLeaker's Avatar
 
Join Date: Dec 2014
City & State: Atlantic Canada
My Country: Canada
Line Voltage: Ground, 0Hz
I'm a: Hobbyist Tech
Posts: 3,968
Default Re: Nikon D40X : hacking a power supply?

these do have an adapter available so one could use it on a PSU.
CapLeaker is offline   Reply With Quote
Old 12-30-2018, 03:41 PM   #6
CapLeaker
Leaking Member
 
CapLeaker's Avatar
 
Join Date: Dec 2014
City & State: Atlantic Canada
My Country: Canada
Line Voltage: Ground, 0Hz
I'm a: Hobbyist Tech
Posts: 3,968
Default Re: Nikon D40X : hacking a power supply?

... or steal the circuit board from an original battery
CapLeaker is offline   Reply With Quote
Old 12-30-2018, 03:57 PM   #7
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

Quote:
Originally Posted by CapLeaker View Post
... or steal the circuit board from an original battery
The hope that it does not come down to this. The cheapest option is if I could get a free, expended battery and hack that, alas it would mean I have to locate such...

I despise chip protection of addons and consumables... *sigh*
eccerr0r is offline   Reply With Quote
Old 12-30-2018, 05:09 PM   #8
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 20,730
Default Re: Nikon D40X : hacking a power supply?

security??
could just be reading a missing thermocouple/thermister and deciding it's too cold/hot to run.
nokia phones did that.
stj is offline   Reply With Quote
Old 12-30-2018, 05:32 PM   #9
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

Yes, "security" for their bank coffers. Unfortunately Nikon has been doing this crap for ages, at least I know that the D5100 does it, and it appears the older D40X also requires it. The "security" has been reverse engineered and thus there are some third party batteries out there that trick the camera...which is what I need...

There is a bit of worry that if it thinks it's a battery it may kick into power save mode, which is also an unfortunate side effect of using a gutted battery pack to trick it into staying on, but I'll cross that bridge when I get there...
eccerr0r is offline   Reply With Quote
Old 12-30-2018, 05:43 PM   #10
RJARRRPCGP
Badcaps Veteran
 
Join Date: Jul 2004
City & State: North Springfield, Vermont
My Country: USA
Line Voltage: 123-127V 61.5-63.5 Hz
I'm a: Knowledge Seeker
Posts: 4,684
Default Re: Nikon D40X : hacking a power supply?

Starkly reminds me of Motorola in the flip-phone-era and their "Unauthorized charger" message, just because of a poor connection, LOL. I think I saw that one in 2009, the early-2010s or 2008.

I have a late-2010s Kodak bridge camera, which don't have that kind of bullshit! (The JK-Imaging-Ltd.-era)

The batteries are double-As, just like an old skool digital Canon!
__________________
Asus P6T Deluxe

Core i7 Extreme "Bloomfield" 965

PNY GeForce GTX 960

Windows 7 SP1

SoundBlaster ZXR

Corsair TX850M PSU


"There's nothing more unattractive than a chick smoking a cigarette" -Topcat

"Don't eat yellow snow!" -Salem

"did I see a chair fly? I think I did! Time for popcorn!" -ratdude747

Last edited by RJARRRPCGP; 12-30-2018 at 05:50 PM..
RJARRRPCGP is offline   Reply With Quote
Old 12-30-2018, 06:53 PM   #11
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

I also have an old Kodak bridge camera that uses the somewhat annoying KLIC-8000 battery, though this cell doesn't have the silliness and it can be swapped with two AA's. Alas it has its problems. It has a scratch on the lens, which is a bit annoying. It also uses a custom USB cable that look like the D5100 but they aren't compatible. But the camera was also a cheaply acquired unit likewise the D40X, so I can't complain about them.

Incidentally the D40X uses a more sane mini-USB which I really look forward to using. Not sure if I'll opt to using it instead of the D5100 or not, but the scratch on the Kodak makes me look for it in the photo each time... Grr... wish I could replace that front element...

My Nikon lenses on the other hand are still in good shape and if I need a good picture, I'll have to use them instead.
eccerr0r is offline   Reply With Quote
Old 12-30-2018, 07:38 PM   #12
dmill89
Badcaps Veteran
 
Join Date: Dec 2011
City & State: Harrisburg, PA
My Country: USA
Line Voltage: 120VAC 60Hz
Posts: 1,617
Default Re: Nikon D40X : hacking a power supply?

Quote:
Originally Posted by CapLeaker View Post
... or steal the circuit board from an original battery
Note: the Nikon EP-5 ( and various knock-offs) are essentially that, a dummy battery-pack with an adaptor cord attached if you want a "plug and play" solution.
dmill89 is offline   Reply With Quote
Old 12-30-2018, 09:47 PM   #13
stevo1210
Badcaps Veteran
 
stevo1210's Avatar
 
Join Date: Oct 2006
City & State: Eastern coast
My Country: Australia
Line Voltage: 240V 50Hz
I'm a: Student Tech
Posts: 4,006
Default Re: Nikon D40X : hacking a power supply?

Quote:
Originally Posted by eccerr0r View Post
Not sure if I'll opt to using it instead of the D5100 or not
You don't want to be using a D40X for anything except as a backup camera. The ISO performance on it is pretty low for 2018 standards. In addition to this the DR is also quite... behind at about 10 stops or so. Your D5100 is still a superior camera in many ways...

As for your battery question, just get an eBay battery. I paid $10 for a generic EN-EL9 battery. This same battery is also used in my D3000 and D5000 cameras (which I haven't touched for years - currently on a Nikon D4s and D750) saves you the hassle of hacking DC cables etc. Alternatively like the others have said - go to your local camera store and find a battery there to test.

I believe Nikon also sells a DC coupler for this camera, but research this as I am unsure.
__________________
Don't find love, let love find you. That's why its called falling in love, because you don't force yourself to fall, you just fall. - Anonymous

Last edited by stevo1210; 12-30-2018 at 09:49 PM..
stevo1210 is offline   Reply With Quote
Old 12-30-2018, 10:14 PM   #14
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

Yeah I was hoping to use this D40X as a burner, or use in environments that I'd like to keep the D5100 out of, one of which is electrical experimentation including figuring out how to run it off of AC, which was the thread topic. I'll also need to find a burner lens for it too from a thrift shop or something, and don't even care if it won't AF.

Indeed the D5100 is a better body, no question about it, hence wanting to keep it out of places where I may need to worry about it.

I just have holds on buying an EN-EL9 as I need EN-EL14/EP-5. And the hope was that I spent little or nothing on this particular body minus lenses, of which I'm not necessarily buying for this body anyway.
eccerr0r is offline   Reply With Quote
Old 01-01-2019, 01:48 AM   #15
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

^^ Correction...
EP-5A is the EN-EL14 corresponding cable.
EP-5 is for the EN-EL9... So obscure...

I might have to end up ordering a battery... sigh. I *really* hate firmware locks.

OH... AND PURE BS... it looks like sometimes Nikon changes firmware to detect poorly reverse engineered packs and disables the camera when detecting those batteries after a firmware update!!! WTF.

Last edited by eccerr0r; 01-01-2019 at 01:57 AM..
eccerr0r is offline   Reply With Quote
Old 03-29-2019, 06:37 PM   #16
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,132
Default Re: Nikon D40X : hacking a power supply?

Well, for closure, I fleabayed a "Sure it's got more ampere-hours than physically possible" battery. Not like I cared that much, just need it to get past the stupid "security" chip that prevents Nikon from stealing more profit (then again, I despise companies that try to label their phonies as the real thing. At least make your own brand if you want to make a clone.)

The camera body appears to work just fine. Yay for interchangeable lenses, yay it didn't fry my lenses. I can start seeing the limitations of the D40X - definitely would rather use the D5100, but maybe the D40X battery will hold charge longer than the D5100 packs I have...
eccerr0r is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums 2003 - 2019
Powered by vBulletin ®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 02:11 PM.
Did you find this forum helpful?