debug2 raises without sensors connected
debug2 raises without sensors connected
Hi,
I have a weird prob: i connected all sensors (bma020,wmp,baro,mag) and got debug2 running up.
Then i disconnected the sensors, just the Arduino on the board: still counting up(and down).
Any idea what could be wrong? checked the pins for shortcircuits with a multimeter, nothing.
Its this board:
I have a weird prob: i connected all sensors (bma020,wmp,baro,mag) and got debug2 running up.
Then i disconnected the sensors, just the Arduino on the board: still counting up(and down).
Any idea what could be wrong? checked the pins for shortcircuits with a multimeter, nothing.
Its this board:
Re: debug2 raises without sensors connected
debug2 shows I2C errors!
If there is no devices anwering on the calls there will be errors....
If there is no devices anwering on the calls there will be errors....
Re: debug2 raises without sensors connected
Ahhhh, thanks to make that clear.
I thought I found the problem, but doesnt seems like. I get the I²C errors also if I connect the sensors....
I thought I found the problem, but doesnt seems like. I get the I²C errors also if I connect the sensors....
Re: debug2 raises without sensors connected
Here some pictures, maybe somebody else can see my big fail on this...
Re: debug2 raises without sensors connected
Can't see any images but:
Try to connect 2k2 resistors from SDA and SCL to 5V and disable internal pull-ups.
viewtopic.php?f=8&t=986
Had the same problem:
viewtopic.php?f=15&t=1066
Try to connect 2k2 resistors from SDA and SCL to 5V and disable internal pull-ups.
viewtopic.php?f=8&t=986
Had the same problem:
viewtopic.php?f=15&t=1066
Re: debug2 raises without sensors connected
Some of the pics are blurred and don#T help.
The wiring can not be seen clearly.
By the way, were are the sensors connected to the shield? I don't see the connection.
The wiring can not be seen clearly.
By the way, were are the sensors connected to the shield? I don't see the connection.
Re: debug2 raises without sensors connected
Yeah I know, phonecamera sucks. Need to load the DSLR-battery.
The connection to the MWC-board is done via a cable + plug and can be seen on the right side of:
The connection to the MWC-board is done via a cable + plug and can be seen on the right side of:
Re: debug2 raises without sensors connected
Maybe somebody knows a convinient way to check those sensors?
Re: debug2 raises without sensors connected
Connect one by one and if it's stop working you will know the problem.
Re: debug2 raises without sensors connected
I desoldered everything now and just connected the WMP to the Arduino and it still counts up and down on debug2
checked that I got the 2 2k2 resistors between 5V and SDA/SCL, too
cycletime is between 4900 and 6000
EDIT: oh man, can it be that the dev-version was the fault?
checked that I got the 2 2k2 resistors between 5V and SDA/SCL, too
cycletime is between 4900 and 6000
EDIT: oh man, can it be that the dev-version was the fault?
Re: debug2 raises without sensors connected
Download latest dev.
Comment all other sensors in config.
Start with only wmp.
If it works add a new sensor. solder and enable in config.
Add one sensor at a time.
Comment all other sensors in config.
Start with only wmp.
If it works add a new sensor. solder and enable in config.
Add one sensor at a time.
Re: debug2 raises without sensors connected
No, I used the latest dev-version and the debug2 counted up. I image that I could save all the soldering if I would have used the 1.9 from the beginning
Now I try to calibrate the mag, but it still shows north at 90° (east)
Now I try to calibrate the mag, but it still shows north at 90° (east)
Re: debug2 raises without sensors connected
I told you yesterday in the German forum.
Take your "Dummylove" (Duemilanove)
Connect ONE sensor at a time to it. Look for a test sketch for checking that sensor.
(Like that one for the BARO http://www.ladyada.net/learn/sensors/bmp085.html )
After that, you know, that sensor is working or not.
Then, as PatrikE wrote, Start with only wmp.
Take your "Dummylove" (Duemilanove)
Connect ONE sensor at a time to it. Look for a test sketch for checking that sensor.
(Like that one for the BARO http://www.ladyada.net/learn/sensors/bmp085.html )
After that, you know, that sensor is working or not.
Then, as PatrikE wrote, Start with only wmp.
Re: debug2 raises without sensors connected
For testing the MAG, take your Duemilanove,
and connect the MAG sensor.
Here you find a small sketch.
http://www.timzaman.nl/?p=970&lang=en
You have to install the HMC library first.
and connect the MAG sensor.
Here you find a small sketch.
http://www.timzaman.nl/?p=970&lang=en
You have to install the HMC library first.
Re: debug2 raises without sensors connected
As I just found here
http://fpv-community.de/forum/showthrea ... &page=last
the problems are solved.
Would be nice, if you would tell it on all places, where you asked for advice!!
http://fpv-community.de/forum/showthrea ... &page=last
the problems are solved.
Would be nice, if you would tell it on all places, where you asked for advice!!
Re: debug2 raises without sensors connected
As I mentioned earlier it looks like it was no hardware-failure, the latest dev-release was the fault...
Re: debug2 raises without sensors connected
kalle123 wrote:As I just found here
http://fpv-community.de/forum/showthrea ... &page=last
the problems are solved.
Would be nice, if you would tell it on all places, where you asked for advice!!
yes. But then that would take precious time...
we live and learn - different things