paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] i2c silent again


From: SilaS
Subject: Re: [Paparazzi-devel] i2c silent again
Date: Wed, 12 Feb 2014 10:25:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi Michel,

Yes, I know it is difficult, but If You drive me I can do a lot of thinks. I have no oscilloscope and log analyzer, but have everything else. I have logic level converter too.
Now I measure on AP SCL=+1.99v SDA=+0.18v solid and on a separated ESC +5.01v moving on both SCL and SDA.

SilaS

2014-02-12 06:37 keltezéssel, Michel GORRAZ írta:
Hi Silas,
Difficult to fix your board using emails :)
What kind of measurement tool do you have ? Oscilloscope ? Logic analyzer ? Voltmeter ? Swiss army knife ?
The first test you can do is to check the idle logic level : unplug all ESCs and disable I2C communication, logic level on both SDA and SCL lines must be high, so around +3.3v
If you find something else, it means LPC's I2C pin is probably fried.
Let us know the results...

Michel


2014-02-11 23:04 GMT+01:00 Sergey Krukowski <address@hidden>:
The SimonK firmware works with up to 400Hz PWM frequency for each of the motors. Max internal Paparazzi controlling loops frequency is 512Hz - and it is more than enough to control any kind of rotorcraft.

Best Regards,
Sergey

I found this, but can not understand clear!

http://lists.paparazziuav.org/Re-HMC5843-magnetometer-Hector-Garcia-de-Marina-td10180.html#a10182

    On Tue, Jan 24, 2012 at 12:59 PM, Prof. Dr.-Ing. Heinrich Warmers
    <[hidden email]
    <http://lists.paparazziuav.org/user/SendEmail.jtp?type=node&node=10182&i=0>>wrote:

    Hi
    we had also same problems  with the HMC5843 on Sparkefun modules.
    On one we double the capacitance of  5µF to 10uF.
    Then the  module were running.
    The new one with the  HMC5883L runs  without problems.
    It seems that there is a error on the old chip.
    To use the chips with 5V I2c you can use 2 Fets or a level
    translator ic.
    Voltages over 3.3V on the I2c lines can destroy the chip!
    On Mikrokopter there use a 200 Ohm series resistors on the i2c line.
    We destroy the LPC2148 chip as we use the mikrokontroller motor
    controllers (5V I2c) and
    had situations that the LPC power was down and  the motor
    controllers not.
    Also you will destroy the electronic if the ground wire is broken.

Is it possible that the mkk switched to 5V level on I2C, when powered
from 4S and that killed the LPC 3.3V line? How can it happen?! My ground
was connected inside the battery, therefore was only the SDA and SCL
connected.

Sergey. We have to forget the PWM because it is slow, therefore I just
now familiarize with I2C, because it quick. But then what to use?

SilaS

2014-02-11 22:29 keltezéssel, Sergey Krukowski írta:
Hi!
If there is no connection to esc's anymore - it's a sign of probable
damage. Can't really say however what was the particular reason for
it. My only explanation could be the wrong balancer connection for
powering the board.
What you still can try is to connect an i2c level converter to check
if it helps. But I wouldn't really recommend trying to work with mk
esc's and probably damaged bus. Imho I2C bus is generally a bad and
unreliable solution for controlling such kind of devices, especially
in case of probable bus damage.
Best Regards,
Sergey

Hi David,

I am again in trouble. I want to replace my powering from 3S to 4S
because my neutral-hower-throttle was around 80% of throttle.

For to do it: I removed the power from main power distribution board
and made a connector for balancer port of the same battery as feed
the power board. On balancer I connected only the first 3 cell and
therefore I hope that can watch the consumption while i got my atto
sensor.
I powered first the AP over balancer and a few minutes later the main
connectors. The AP started perfect, the I2C ESC-s - what I got also
from You - started as regular, but at the end all show red LED on, so
indocate no signal on I2C0 bus!!!!
So I can not start the motors!!!!

A few minutes later I made everything back to 3S config. But the
problem is the same! What can happen? How can I check the I2C
communiction of AP?

SilaS

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel





--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]