yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Accessories] RicoTheWanderer:
I have an LD nexus 7 that I want to use USB OTG and charge at the same time. That's how I found this thread.

I powered the pogo pads from a bench power supply and found that it draws about 1A at 5V. If the tablet is running, it takes up around 330ma (under light load) and 700ma goes to the battery.

I applied +5V to the pin closest to the USB connector end of the tablet and GND to the pin farthest from +5. There seems to be a protection diode in the circuit because I accidentally applied reverse polarity and didn't kill anything.

I'm running Lineage OS which is at android 7.1.2

Best of luck to anyone repurposing old hardware!
[Nexus 7 Accessories] marce002:
Hi all

can anyone give us pinout for NEXUS 10 , they are 6 pins! and I do not want to ruin it feeding 5v at pin1 and gnd on pin 4 like the nexus 7 without first confirming!!

thnaks in advance

Attach files
[Nexus 7 Accessories] marce002:
Found the info, pins 1 left most or 6 right most is gnd and 5v is pin 4 from left to right with screen facing up.
[Nexus 7 Accessories] acme64:
needs more video out :/
[Nexus 7 Accessories] krelvinaz:
NO DATA... they are for charging and audio out only. Just look at the "official" docks that are coming out soon, they have a MicroUSB charge port and an audio out. No data, no video.

Video out will be via a wireless solution, coming ...
[Nexus 7 Accessories] curveconcepts:
However, while the official dock may not have data, does not mean the pins are not usb data. Since the Nexus 7 supports the USB Audio standard, it could still be a usb port, we just need to figure out if a pulse is needed to even get the usb data working. Yes it could be just charging and normal audio out, but we cannot rule it out until we hack open a dock and see whats up. Or find kernel source that has some indication on if they need a pulse, or what it needs to enable the pins. Also, while the dock may not have data, it does not mean other accessories that may come in the future wont have it.
[Nexus 7 Accessories] nbrennan:
Just curious, since the pogo pins are near the magnetic sensor, and it would be easy to build one into a dock, did you try applying a magnet while charging?
[Nexus 7 Accessories] gleds:
Just some more ideas

Just re-reading the specs of the dock (link available above) and it specifically says, "The details also say that a 3.5mm jack plugs into active speakers and that you can also use a micro USB to charge it as it’s used." Could be some bad news.

I may have to change my charging method... I'm thinking wireless
[Nexus 7 Accessories] peterpressure:
Well, No updates really other than I may have fried something on my regular USB port on my N7!

Currently I can only charge via the POGO pins and only when the device is turned off. I can no longer charge via normal routes... :(
[Nexus 7 Accessories] merchant2112:
:good:

hey looks promising. did you figure them out ( know what each in dose i mean) im handy with a soldering iron and im a wood worker. i would love to make a few docks out of exotic woods for my self. i even found a few sites that lit pogo connectors. i just need to know what pin dose what....
[Nexus 7 Accessories] Mach3.2:
Wrong, gnex does not use Bluetooth to transfer audio, it's proven already, someone dismantled the official dock already.

Beamed from Maguro
[Nexus 7 Accessories] Sengir:
Any news about charging the N7 via pogo pins while turned on?
[Nexus 7 Accessories] umans:
pogi pin 1 and 4 has direct connection with power lines of micro usb port
[Nexus 7 Accessories] mrsatan:
What about wirless charging like the Galaxy Nexus has.
[Nexus 7 Accessories] SchwassKIN:
OK so I think we might be able to apply the concepts from this thread.

http://xdaforums.com/showthread.php?t=1823377

Maybe it is charging while on through pogo pins, but it just doesn't report as such.
[Nexus 7 Accessories] SchwassKIN:
Ok I confirmed my suspicion. I soldered in a prong internally to the poetive and negative pogo connection.

Then I hooked it to a usb cable plugged into my computer. Here is my time table.

9:49 pm 38% battery

10:07pm 39% battery

10:31pm 41% battery

11:09 pm 44% battery.

So it didn't charge fast, but im assuming that is because I had it hooked to my pc instead of plugged into the wall. But it did indead charge the device while it was powered on. :)
[Nexus 7 Accessories] Mach3.2:
Time to get fast charge mod on the N7.

Beamed from my Grouper.
[Nexus 7 Accessories] Sengir:
Awesome..did you try even with the audio out? I didn't get if it's a digital USB out or an analog one
[Nexus 7 Accessories] darkmatthew:
:(

no video out?
[Nexus 7 Accessories] Mach3.2:
Asus is not a MHL provider, so not possible IMO.

Beamed from Maguro
[Nexus 7 Accessories] gavanw:
Your USB cable will provide max of 5v at .5 amps (2.5 watts), unless a special USB port like on a mac or Gigabyte motherboard. The charger provides 5v at 2 amps (10 watts), so it will charge significantly faster. Anyways, cool find - I suspected it would charge through these pins without notification...
[Nexus 7 Accessories] basketor:
Padfone 2 should have MHL.

If the leaked box right
[Nexus 7 Accessories] Mechanio:
Looking at the schematics, it is interesting to see that the pogo pins were originally going to be a normal USB port - on Sheet 14 the pins for port USB3 are marked as such, then crossed out. I suspect it was a 'nice-to-have-if-we-have-time' thing, unlike many of the bits that got crossed out during Google's design review... those bits usually correspond to traces that are still actually on the boards, with pads for components that were no longer needed.

Sheet 28 is most interesting... it shows that the middle two pins are basically the same signals sent down the ribbon cable to the speakers/headphone (HPOUTR2, HPOUTL2), with the same LINOUT_DET signal telling the Tegra that headphones or a dock with speakers are being used, so don't play through the internal speakers.

When power is applied to DOCK_5V (pogo pin 1) it gates through to DOCK_IN#, which says (in a note) that it hooks to GPIO_PU5 on the Tegra but it really hooks to GPIO_PU4, where it is also labeled as MB_DET_DOCK#. That whole block of GPIO pins has a string of z's running past it in a note, denoting 'sleep'; the other pins include BT_EN, BT_WAKEUP, GPS_PWRON, AP_CHARGING#, and BT_IRQ#.

The middle two pogo pins are interesting as well... in addition to stereo signals, HPOUTL2 & HPOUTR2 are connected to UART_DEBUG_(T|R)XD lines on sheets 12 and 24. Sheet 24 shows that those signals are brought to the JTAG port (makes sense, since it is right there); Sheet 12 shows that they become UART1_(T|R)XD (and, prior to Google's review, which removed the bridging resistors, UART4_(T|R)XD), which are marked as DEBUG_GPIO(0|1) with a big "Debug??" note next to them from the earlier review.

All told it looks like the Dock was intended to be more than just a way to get power in and noise out... having the middle pins route through to the JTAG port and to diagnostic pins on the Tegra implies that they intended to use the pogo pins to get data out as well... but perhaps that is just for testing new boards or something, I don't know.

- M
[Nexus 7 Accessories] SchwassKIN:
I soldered some wires to the pos and neg pogo, I wasnt really using my nexus a whole lot but love it and im doing a dash install in my pickup truck. Its all in there just gotta make it look good and i'll post it on this forum somewhere, I think there is already a thread. I soldered the wires directly to the board because those BS contacts were getting jacked up from the heat of the iron so the kinda melted :) lol oh well it still works fine.
[Nexus 7 Accessories] Mechanio:
Excellent.

Have you check to see if OTG devices (card reader, for instance) work while you are charging this way?

- M
[Nexus 7 Accessories] SchwassKIN:
I have not. Yet. I am still waiting on my OTG from china.
[Nexus 7 Accessories] kasemodz:
Hey Mechanico, where did you find the schematics for these pogo connectors? I can't seem to find them on this forum. I would like to read through them as well. Thanks.
[Nexus 7 Accessories] Merckle:
Perfect timing as I am installing my n7 in my truck!!! And would like to take advantage of my otg cable so awesome on this great work! Write up maybe?
[Nexus 7 Accessories] prestige777:
Power

Where would be the best place to pull power for a blower http://www.mouser.com/Search/m_Prod...=sGAEpiMZZMvuXzJ9NcThasneuecwHdgzSYeQfuP8M9U= The battery? Or would that cause problems?
[Nexus 7 Accessories] DJDexta:
I also would like to see some schematics. I'm installing mine into a 99 Mitsubishi Eclipse GSX for a number of reasons and want to fiberglass me a price that will fit in the dash and I can install a set of pogo pins. Has anyone tried to two wires to an amp yet? If not I'll try this probably in the next day or two. Just need to get back home.
[Nexus 7 Accessories] lazynok:
I soldered my connections. It charges... but is there any way for it to register that it is charging? So the screen can stay on cause it's charging. Maybe software fix? Thanks.
[Nexus 7 Accessories] Mach3.2:
Maybe we need some signaling for it to register as charging.

Beamed from my Grouper.
[Nexus 7 Accessories] lazynok:
From the other "charging" thread... it says that I can short the 2 data pins to get it to register as charging. If I short the middle 2 pogos, would that be the same? Maybe somebody actually could answer before I actually try and mess something up (i'm learning as I go..)

Maybe I can use tasker to determine if it is "Discharging" or "Not charging" (the pogo charging state)
[Nexus 7 Accessories] Sengir:
I want to do the same..I'll test the middle pogo asap..please update us!
[Nexus 7 Accessories] bigbop:
The middle pins on the dock connector are audio out only.
[Nexus 7 Accessories] Sengir:
Exactly what I'm looking for,but I don't know how to enable them...
[Nexus 7 Accessories] Tom Fagerland:
Is there any way I can just strip the cable from a cheap charger, place it at the correct place on a wooden "stand" and just lay the tablet down in the right place to charge it?

That's all I want right now, charging without having to diddle with the cable.
[Nexus 7 Accessories] Mach3.2:
Not going to work really well, you need something that will hold the weight, seen people use thumbtacks.

Will the next nexus have a longer screen?
[Nexus 7 Accessories] Martyx23:
+1

would be great to have this possibility...
[Nexus 7 Accessories] Wilks3y:
I think they are for the charging of the dock (x2 of them)

The audio output from the dock (x1)

And the orientation, so the device knows its in a dock and goes landscape (x1)

That = 4 :P
[Nexus 7 Accessories] Flowyk:
tablet can charge from custom source when turned off ... so I think thats the case ... that means its casual USB and is avaiting charger signal on pin 2 + 3 ... somewhere in forum I found its 1,8-1,9V

... try to connect original charger just skip pin 4 from microusb and connect pin 5 in last pin on tablet
[Nexus 7 Accessories] lazynok:
it Changes When Turned On It just doesn't Show As Charging. Could You Clarify What You Meant With Pin 4 And 5 Please? Maybe It Can Help My Problem... I Want It To Register As Charging. Mine Charges Fine... And Wouldn't Mind An Audio Out ;D
[Nexus 7 Accessories] Mach3.2:
Now this is not a matter of connecting the 2 middle pins to something, it's more complex, probably will need a IC to send signals to ID what the pogo pins are connected to.

Beamed from my Grouper.
[Nexus 7 Accessories] Flowyk:
try to connect it this way to a charger and jack ... ignore the 4th pin on image

https://docs.google.com/open?id=0B6eopmrJpxRhM0oxRmRlRUVMYlU
[Nexus 7 Accessories] NicoGa:
Which one do you call the "4th pin" ? ID pin ?

Does this setup works when connected to the micro usb ?
[Nexus 7 Accessories] Flowyk:
That's the setup for car dock connecting to microusb on sgs2. But microusb is standard and I can't imagine another pins to use. I'm going to create that 'dock' and will try it on n7 but don't know how to connect to POGO and don't want to open the device

edit: it seems that nexus dont contains chip like sgs2 (at least not connected to microusb) - the dock with resistive ID pins dont work (365K/619K/1M) at least it dont export sound without charging

but if the news about dock http://www.androidcentral.com/nexus...ogo-dock-and-premium-leather-case-coming-soon was true (the fact that it would exist with charging and stereo out) or if the pins are realy for dock then there should be combination to connect it in "custom" way

if you have connected top and bottom pin to charger did it charge? doest it change something in interface? did it goes into horizontal or dock mode? the other two pins must be for stereo and the bottom for ground of jack
[Nexus 7 Accessories] zenvent:
It works!

I can confirm that connecting Ground (black wire) from a USB cable to the top pin (nearest to the camera), and a +5 VDC (red wire) to the bottom pin (nearest the micro USB connector) will in fact charge the device.

You do not have to turn off the screen. My device is charging whether or not the screen is on, I'm watching the battery percentage increase live. However- it does not report charging. It says "Not Charging" with the POGO pins applied, though it does appear to charge faster when the screen is off.

I'm looking into designing a dock just for this type of charging, and perhaps will try to make one tomorrow morning. I just wanted to report in that this does in fact work.

I am curious though- is the device still charging normally? Will it trickle charge when the battery reaches 100%? Is it okay to leave the device on the POGO charger even after the device is fully charged?

If anyone has the answers to the above questions I'd be greatful.

Here's a pic of my setup:

i.imgur.com/0tutU.jpg
[Nexus 7 Accessories] kadolf:
Have you tried something like CatLog or LogcatReader?

On all devices I ever used BATTD will report some status information while charging. Would be interesting to see, if there are any status updates while charging through the pogo pins.
[Nexus 7 Accessories] Flowyk:
Hmm I thought the top pin is +5V. Make it good the 2A charger is enough to burn connector. The phone will not use energy if it don't need to. Try to meter current it should be about 0,8A
[Nexus 7 Accessories] mariolouis:
I don't think there is a connection for landscape mode and the pogo pins, now that the 4.1.2 update does that automatically already. Even the lockscreen rotates wonderfully now.

I think Asus just waited for this update for them to release the official dock. :p
[Nexus 7 Accessories] Alejandrissimo:
did someone test if OTG capabilities work when pogo charging is active?

I'm very interested in this particular scenario.
[Nexus 7 Accessories] vivanshah:
the usb charging spec calls for a 200ohm resistance between d+ and d- when +5v/gnd is applied to pins 1/4. Maybe you could try putting a resistor between the 2 middle pins while applying power to the outer 2?

this might be what android needs to report "charging" instead of "not charging"
[Nexus 7 Accessories] Flowyk:
yes it "might" be it ... but only on microusb and its 0ohm (shorted) in ideal world (try the charger - its shorted too) ...

the 4 pins are not a standard ... top is gnd bottom is +5V and hopefully the middle ones will be left+right audio
[Nexus 7 Accessories] 808HD2:
Hi everyone' I recently got my nexus 7 16 GB C80 and love it. Anyways I was reading up on this thread, and since I had extra pogo pins from when I did a dock for my MT4G awhile back, thought I would make something for my nexus.

Since there is no official dock yet, I was looking up/bought the Xoom HD speaker dock since audio goes through the usb, I was thinking of cutting the wires and hooking it up to the pins. Fist I tried hooking the USB to see if it would play music through the USB but nothing...

Here are pic's
[Nexus 7 Accessories] ummmimrob:
pogo pins

Just curious where you purchased your pogo pins. The ones I get from jameco are much longer.

Thanks
[Nexus 7 Accessories] 808HD2:
I got it from alliance electronics...
[Nexus 7 Accessories] uncleswoop:
So I could implement an external battery and connection into a folio case, then attatch a slim tri/bi fold bluetooth keyboard and BAM... We got ourselves a perfect little carrying case.
[Nexus 7 Accessories] Alejandrissimo:
Hello, did you test if OTG works while charging via pogo pins?

Thanks
[Nexus 7 Accessories] 808HD2:
No sorry, I don't have a OTG cable so I could test that. I was mainly looking to get charge and audio out from the pins..
[Nexus 7 Accessories] Mach3.2:
I believe it's not as simple as connecting the wirings, I believe a microchip that will send signals through the 2 middle pins will be needed, just like the Galaxy Nexus.

Beamed from my Grouper.
[Nexus 7 Accessories] b22ri22an:
rather then figure out what the pins are currently used for,

heres a thought,

how about isolating the pins from the board and wiring the pins to the micro usb port, thus making the pins an alternative usb connection that could be used with a otg + charging solution, my thought for this is to not only charge while docked but also hooked to a hub to have usb dac audio and storage solution for a vehicle mount
[Nexus 7 Accessories] MetalMan2:
Only downside to this concept is that OTG requires 5 pins since there is an extra 5th pin used for sensing OTG status. I suppose you could make a special small micro USB connector/plug (with shorted sense pin) to plug into the USB port, just for this method you're describing. It certainly sounds handy, at least.
[Nexus 7 Accessories] alfeuss:
delete

---------- Post added at 02:46 PM ---------- Previous post was at 02:36 PM ----------

Are you using stock or custom kernel?
[Nexus 7 Accessories] SLUSHIE:
I wish they would just release some specifics for the pins. Being able to use them would make a custom car dock so much easier.
[Nexus 7 Accessories] bigbop:
Download the device schematics that are on this forum and you'll see that the two middle pins are l&r audio out. The other two outside pins are +5v and gnd.

If you look further in the schematics you will see that the +5v in from the side pins feed a separate input to the charge circuit. This means, you should be able to use the otg cable for data at the same time a you power the tablet from the side pins.

Of course the magic word here is 'should'. I wanted to set up a test for this but have not had the time to do so yet. Shouldn't be that difficult.
[Nexus 7 Accessories] Flowyk:
How are the charging and audio out connected - I tried to use it and connected mic mic and ground but it played only with speaker ... is it needed to connect charging too?
[Nexus 7 Accessories] myphone12345:
Just thought I should mention... looking at the Nexus 10, it has 6 pogo pins compared to the 7's 4 pins. One would think Google would standardize this stuff but I guess they want to make things more interesting for everyone.
[Nexus 7 Accessories] R3SiEViL:
Using that speaker dock, a few posts back, why not just hack a otg host inside of it, adding a regular usb out. Maybe even add in a hub in there..

Of course that is if pogo changing/audio and usb host will both work at the same time.
[Nexus 7 Accessories] bigbop:
I picked up an N7 with a cracked digitizer on eBay last week for $50 to play with and I should get it in about a week. There are a number of things I want to do with it - test the battery charging via the side pins, add a rear camera (picked up a 5mp tf101 camera) and figure out the headset wiring on the earphone jack.
[Nexus 7 Accessories] andy o:
There is no headset wiring. The jack doesn't take a mic, it's just a regular stereo headphone output. I wish this was mentioned in all the reviews. Nobody had mentioned it until someone opened a thread here.
[Nexus 7 Accessories] Techie2012:
perhaps this time we finally got USB? :laugh:
[Nexus 7 Accessories] ummmimrob:
magnet

Just a thought. I'm in nj with no power now so I don't really want t try this yet. But has anyone tried just hooking up the wires to the pins power and audio while applying a magnet over the sensor?
[Nexus 7 Accessories] 808HD2:
I am going to try that this weekend, see if that does anything.. but will see.
[Nexus 7 Accessories] bpye:
Right. Let's stop the guessing.

I checked out the LATEST branch of the tegra android kernel, it's called android-tegra3-grouper-3.1-jb-mr1-fr at this point in time and you will have to get it from androidsource.com I think. This branch may have bugs but it also fully supports the docking functionality. Upon applying 5V to the bottom pin and ground to the top you enable "dock mode". This shows as AC charging and cuts out the speaker. This also enabled the audio pins on the side, and though I didn't use a pair of powered speakers, I used a piezo element to confirm there is output, there was. Pin 2 is the right audio channel and pin 3 is the left. In this mode if you have headphones plugged in too they will be used over the dock connector output.

This branch also contains a "bach" and "nakasi_3g" variant, which appear to be more or less the same. The nakasi_3g variant is also called ME370TG. The bach and nakasi_3g variants appear to be identical as in the enum they are listed as the same. It would appear this kernel supports the ril fully as upon boot it attempts to initialize it, but doesn't since we have the wrong variant.

Finally the sound driver references a UART mode though I am yet to find how to trigger it. It appears to rely on having a Nexus 7 using the TI PMIC however I don't quite see why, I think it may be to stop it enabling normally. It's commit references a "line-out" pin, I'm not quite sure what they are referring to. If anyone knows I'll be happy to hear.

I've posted my compiled kernel at http://www.mediafire.com/?9yw1qq52ql0ns0x . It is a stock kernel other than the branch it's taken from and so it has no special modifications or optimizations. I have provided it as an initrd.img and zImage suitable for starting with fastboot boot. The initrd.img is taken straight from the latest CM10 nightly and will not work with most other ROMs. You can always take their initrd.img from their boot.img. It's to do with the class path.
[Nexus 7 Accessories] wave_is:
Good day. I want to insert my N7 8GB in the car. I want to apply constant 5V POGO PIN, and USB to connect a USB flash drive through the OTG cable. Will this scheme work? Do I need to change the firmware? Now - root stock. If the firmware needs to be changed, then tell me which version?
[Nexus 7 Accessories] ce-4:
Here are some pointers to relevant commits:

Add dock in detect function. android.googlesource.com/kernel/tegra/+/314fb40eadf4a3fcad50bb886d1a770df2da0edf

ASoC: codecs: rt5640: add audio dock support. android.googlesource.com/kernel/tegra/+/d69f7af8ff66ec1378c7992a8a1775aec7d69fe6
[Nexus 7 Accessories] bossman137:
Lol I think there is a HUGE potential for custom docks if we can just replicate the dock, meaning audio jack and effective charging. OTG capabilities would be great. But can anyone of you Ele Eng minded folks make just those two happen.
[Nexus 7 Accessories] NotablyNice:
I find it incredibly sad that ASUS/Google puts these pins in but don't release a dock let alone announce one for a future date.
[Nexus 7 Accessories] serchend:
I notice the description for the nexus 10 has this "Magnetic Pogo pin charger"
[Nexus 7 Accessories] Tom Fagerland:
Yes, it's a different layout, six pins and magnets on either side recessed into the body:

http://nexus10keyboard.com/wp-content/uploads/2012/11/pogoconnector.png