Pages: [1]   Go Down
Author Topic: HURRYYY EZ0 STOP WORKING SUDDENLY  (Read 735 times)
0 Members and 1 Guest are viewing this topic.
Buenos Aires, Argentina
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27427
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"any idea why"
Little tough to say without a schematic and code listing ...
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 227
Posts: 14048
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ... smiley-wink
- ....

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
- ...


Logged

Rob Tillaart

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

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27427
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26632
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You forgot the zeroth law: You have to play the game.
Logged

"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.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27427
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes indeed!
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Greenville, IL
Offline Offline
Edison Member
*
Karma: 15
Posts: 1330
Warning Novice on board! 0 to 1 chance of errors!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Logged


Buenos Aires, Argentina
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Pages: [1]   Go Up
Jump to: