Sensor de Temperatura MCP9700 - LilyPad
Detetar mudanças de temperatura nunca foi tão fácil! O MCP9700 é um pequeno Sensor de Temperatura.
(SEM IVA 1.28€)
Sonorizador Piezo eléctrico 2cm. Este sensor transforma vibrações em sinais eléctricos.
Os sensores piezo electricos são úteis quando precisamos detectar vibrações ou batidas. Podem ser utilizados como sensores de toque pois convertem a vibração num sinal eléctrico ou podem ser usados como transdutores de audio e funcionar como um pequeno buzzer.
Documentação:
→ Datasheet
→ Tutorial Arduino
Inclui:
• 1 x Sensor Piezo Elétrico 2cm.
Esquema de Ligação:
Código Exemplo:
*/
// these constants won't change:
const int ledPin = 13; // led connected to digital pin 13
const int knockSensor = A0; // the piezo is connected to analog pin 0
const int threshold = 100; // threshold value to decide when the detected sound is a knock or not
// these variables will change:
int sensorReading = 0; // variable to store the value read from the sensor pin
int ledState = LOW; // variable used to store the last LED status, to toggle the light
void setup() {
pinMode(ledPin, OUTPUT); // declare the ledPin as as OUTPUT
Serial.begin(9600); // use the serial port
}
void loop() {
// read the sensor and store it in the variable sensorReading:
sensorReading = analogRead(knockSensor);
// if the sensor reading is greater than the threshold:
if (sensorReading >= threshold) {
// toggle the status of the ledPin:
ledState = !ledState;
// update the LED pin itself:
digitalWrite(ledPin, ledState);
// send the string "Knock!" back to the computer, followed by newline
Serial.println("Knock!");
}
delay(100); // delay to avoid overloading the serial port buffer
}
Detetar mudanças de temperatura nunca foi tão fácil! O MCP9700 é um pequeno Sensor de Temperatura.
Kit 45 Módulos Sensores para Arduino ou Raspberry Pi.
The W5500 Ethernet Shield v1.0 can be used to provide your projects with internet connectivity.W5500 enables users to have the Internet connectivity in their applications just by using the single chip in which TCP/IP stack, 10/100 Ethernet MAC and PHY embedded. The shield also have two Grove connectors and a microSD card socket to support projects which require storing large amounts of data from Grove sensor. The RJ45 port (Where the Ethernet cable is connected to) is low enough to allow you to stack more shields on top of this one if needed.
Interruptor Controlador de Temperatura Digital de Alta Precisão XH-W1209 com display de 7 segmentos 3 dígitos.