Go Down

Topic: HURRYYY EZ0 STOP WORKING SUDDENLY (Read 786 times) previous topic - next topic

Pitu

I was working with 3 MaxSonic range finders and arduino duemilanove, getting a good quality ranging, and suddenly stop working, I mean is reading unsense reading.

I`m in a bit a a hury... any idea why or most important how to solve this...

URGENT....

thanks in advence


CrossRoads

"any idea why"
Little tough to say without a schematic and code listing ...
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

robtillaart

Quote
any idea why



Quote
suddenly stop working

- battery empty
- too much voltage for sensors
- loose wiring, wrong wiring
- forgotten resistor, pull up or current restriction
- MCU overloaded
- shortcut
- timing error
- micros() overflow
- reentrant IRQ
- exploding stack due to recursion
- out of SRAM
- ignoring arraybounds
- integer, byte etc overflow
- float rounding errors
- uninitialized variable
- bug in libraries used
- deadlock,
- starvation
- sorcerers apprentice syndrome
- sensor internal protection
- dirt in the sensor -> no range to detect
- interference with * washing machine, coffeemaker, mixer, boy next door RC car, ...
- EMP, lightning, cosmic ray bitflip,
- sensors strike ... ;)
- ....

Quote
I mean is reading unsense reading

Maybe the readings are correct but we don't understand the meaning. Some rangefinders have a curve that allows you to operate in 2 different distance ranges. You expect to work in one but get the other.
- ...

An interpretation of the second law of thermodynamics states: "there are far more ways to go wrong than to go right"

Quote
URGENT....

If it is really urgent you should provide far more information than you did. The chance of finding causes is proportional to the amount of information provided.

- goal of the project, what do you want to accomplish
- type of rangefinders sensors,
- why are there 3 sensors,
- are there other sensors/actuators?
- link to datasheets of devices involved
- schematic, photo of wiring,
- code
- power supply description, battery vs wall wart
- what output did you expect
- what output did you get
- what causes you investigated with which result
- ...


Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

CrossRoads

Quote
An interpretation of the second law of thermodynamics states: "there are far more ways to go wrong than to go right


I thought the 2nd law was "you can't break even"

As in -
1st law: you can't win,
2nd law: you can't break even,
3rd law: you can't get out of the game!
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

AWOL

You forgot the zeroth law: You have to play the game.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

cyclegadget


  Addendum: You don't want to be the game when they are hunting for game.

Good links: Eagle tutorial= http://www.youtube.com/playlist?list=PLDE1858BD83D19C70
General Arduion tutorials = http://tronixstuff.wordpress.com
http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=123

Pitu

CrossRoads, robtillaart, AWOL, cyclegadget thanks to all for the replys, just now I´m be able to response and thanks all for the tips. I agree with the lack of info that I posted, I was in a hurry. Finally I solved the problem, it was a bad wire thats was affecting the hole connection.

Thanks again for the quick replys, always great support from the arduino forum.


Go Up