Well I finally finished building a new quad and put APM 2.0 on it, have to say I was very impressed, no PID changes needed, and very solid Alt hold. Did several test flights, everything on the board seemed to be functioning ok until I fitted an Attopilot current sensor to the board, after which I ended up with magic smoke from under the GPS sheild :( I have since found out that the sensor I attached is dodgy and supplied full battery voltage to the boards input. After close inspection of the board, after removing the sheild I can see one chip visibly burnt. It is marked with the leters JBR See photo:
So, what chip is this? is it easily available? and what are the chances of recovering this board?
When powered by USB all LEDs will light up, but the board is not recognised via USB
The other problem I have spotted on the board is another small chip marked G33 128 just next to the UART2 pads (this is probably not relevant now given the damage to the board)but it seems to have been misaligned on the board during assembly
So have I turned it into a desk ornament? or is it recoverable?
If i didn't make mistakes reading schemas the upper photo fried component is TS5A23157 which is "dual single-pole double-throw (SPDT) analog switch"
And component in the lower photo is MIC5219 which seems to be Voltage regulator
Maybe Jordi or other developer can confirm this and give info what you can do with the board. Hope you will get it fixed.
Is there a voltage divider on the ADC pins on APM2? I couldn't see one on the Eagle files....
Keen to avoid the same mistake, as I'm setting up my APM2. For now, I'm tempted to feed in the voltage and current readings as scaled by the Attopilot, albeit to just 3.3volts, its better than blowing things up!
Hope you get your board sorted.
I'm using the AttoPilot 90A unit. I plugged it in before reading your post. Luckily my board didn't take a smoke break :)
Anyway I'm using APM Planner 1.1.23 and have installed the latest quadcopter firmware on the new APM2 board. It's not on a copter yet because I'm waiting for a replacement transmitter but I've started setting it up to put on a quad and put the battery monitor to test it out.
It doesn't seem though that the code supports it because I get a NOT AVAILALBLE dialog when I try to choose that as my sensor. Actually I get it no matter what sensor I choose. If I try to put in APM Input voltage, it doesn't let me either.
Is voltage and current sensing working in the current multicopter code or is it a problem with new APM board?
BTW, I see it reading values in the other fields so it seems to be working except for the above problems. With a 3s BATTERY I'm getting these values:
2 - Measured battery voltage 11.805
3 - Battery Voltage Calced 11.409
4 - Voltage Divider Calced 15.70
5 - Amperese per volt 54.64
I didn't find anything in the wiki about it.
Battery monitoring on APM2 was only enabled very recently - after the V2.2b2 firmware was cut it seems, so you'd need to be pulling from git and compiling your own to get it working. It does work - but its just '3' (Volts) and '4' (Volts & Current) using the Attopilot sensor.
I can confirm does work - I'm using it (had spun my own before, but am back using the repo code now the devs have committed it).