Fabrication industrielle
Internet des objets industriel | Matériaux industriels | Entretien et réparation d'équipement | Programmation industrielle |
home  MfgRobots >> Fabrication industrielle >  >> Manufacturing Technology >> Processus de fabrication

Projet Capteur Température Arduino : Lecture, Conversion et Affichage en Fahrenheit

Composants et fournitures

Composant Quantité
Arduino UNO 1
Écran LCD standard Adafruit 16x2 blanc sur bleu 1
Fils de connexion (jumper wires) 1

Applications et services en ligne

À propos de ce projet

Ce projet détecte la température ambiante, la convertit en tension, puis en degrés Celsius, et enfin en degrés Fahrenheit pour l'afficher.

Projet Capteur Température Arduino : Lecture, Conversion et Affichage en Fahrenheit

Code

temp.ino

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
const int tmp = A0;
const int p = 8;

void setup() {
  lcd.begin(16, 2);
  Serial.begin(9600);
  pinMode(p, OUTPUT);
}

void loop() {
  digitalWrite(p, LOW);
  int Temp = analogRead(tmp);
  float volts = (Temp / 965.0) * 5;
  float c = (volts - 0.5) * 100;
  float f = (c * 9 / 5 + 32);
  
  Serial.println(f);
  lcd.setCursor(5, 0);
  lcd.print(f);
  delay(3000);
}

Schémas

Projet Capteur Température Arduino : Lecture, Conversion et Affichage en Fahrenheit

Projet Capteur Température Arduino : Lecture, Conversion et Affichage en Fahrenheit

Processus de fabrication

  1. Construire un enregistreur de température Raspberry Pi avec capteur I2C à 5 $
  2. Capteur de température infrarouge TMP006 avec Raspberry Pi : bibliothèque Python et guide de configuration
  3. Construire un capteur de température distant avec Raspberry Pi et Python – Guide étape par étape
  4. Comment connecter un capteur de température DS1820 One‑Wire à un Raspberry Pi via GPIO
  5. Comment connecter un thermomètre numérique DS18B20 One-Wire à un Raspberry Pi – Guide étape par étape
  6. Construire un système de surveillance température et lumière multi-capteurs avec Raspberry Pi et DS18B20
  7. Construire un moniteur de température domestique avec Raspberry Pi, MCP9808, InfluxDB et Grafana
  8. Capteur température palier de précision : détection et surveillance précises
  9. Capteur Lab-on-Chip NASA Goddard : surveillance temps réel du débit et de la température