Ligne 46 : |
Ligne 46 : |
| | | |
| == Wiring == | | == Wiring == |
− | To use the TMP36, connect the pin 1 (on the left) to a power source (3.3V), the pin 3 (the the right droite) to the ground. Finally, the pin 2 (middle one) is the analogue output to wire on the microcontroler. | + | To use the TMP36, connect: |
| + | * The pin 1 (on the left) to a power source (3.3V), |
| + | * The pin 3 (the the right droite) to the ground/GND. |
| + | * The pin 2 (middle one) to the A3 analogue input. |
| | | |
− | The output voltage would range from 0V @ -50°C to 1.75V @ 125°C. So no risk for our 3V based microcontroler.
| + | [[Fichier:ENG-CANSAT-TMP36-01.png|480px]] |
| | | |
− | [[Fichier:ENG-CANSAT-TMP36-01.png|480px]]
| + | The TMP36 output voltage would range from 0V @ -50°C to 1.75V @ 125°C. So no risk for our 3V based microcontroler. |
| + | |
| + | == The code == |
| | | |
| | | |
| {{ENG-CANSAT-TRAILER}} | | {{ENG-CANSAT-TRAILER}} |