Bonjour,
environnement : carte Mega 2560 + ds1307 (dfRobot) + DHT11 capteur humidité et temp.
Programme : "Scanner I2C" du site Arduino
Je lance le programme de scan I2C et je vois afficher les adresses i2c de mon DS1307 (0x50 et 0x68). Tout est donc OK.
Si je connecte sur n'importe quelle pin digitale le fil data d'un capteur humidité-température DHT11, le programme n'affiche plus l'adresse 0x68 de la clock de mon DS1307. Il affiche seulement l'adresse 0x50 (eeprom).
Cela se produit aussi si je branche une sonde de température LM35 sur n'importe quel port analogique.
Ce n'est pas une question de librairie, a ce stade je n'en déclare aucune hormis "Wire.h"
Puis-je avoir svp une info sur ce dysfonctionement ? Merci.
I translate my question in english :
First, I plug on a mega2560 a dfrobot"ds1307" clock on pins 20 and 21 (sda & scl)
When i start the i2cScanner program (from Arduino site), i can see in the serial window the two adress of my ds1307 (ie: 0x50 and 0x68). All work fine.
BUT, when I connect on any digital pin the data wire of an dht11 humidity sensor, the only adress which is found by the program is now 0x50. The adress 0x68 is no more found. The same trouble happen also with an lm35 sensor pinned on any analog pin.
Why the clock i2c adress is not found in this case ? I think it is not a library problem because only the Wire.h is declared in the program.
Does anybody have an idea about this problem ? Overall all work fine on an UNO rev3 (with appropriates pins).
Thank you for your help. :-))