background preloader

ARDUINO

Facebook Twitter

ARDUINO & RASTMAN. Sensors Kit for Arduino. Sensores Keyes. Workshops:arduino:dxmodulepack [MakeHackVoid] Modules with red circuit boards Including: Microphone sound sensor module KY-038 Hall magnetic sensor module KY-003 Metal touch sensor module KY-036 Infrared emission sensor module KY-005 These boards are all a common pattern, on a red circuit board. They have two outputs, one is a digital output that triggers Low→High based on the sensor level and the other is an analog output that is the exact level of the sensor. The boards have two LEDs - one for power (L1) and one connected to the digital “trigger” output (L2.)

Turn the screw on the potentiometer (blue module) to tune in the level that the digital output triggers on. Sample code Reads the analog and digital outputs and prints them to the serial port. // Arduino pin numbersconst int DO_pin = 2;const int AO_pin = 0; void setup() { pinMode(DO_pin, INPUT); Serial.begin(115200);} void loop() { Serial.print(digitalRead(DO_pin)); Serial.print("-"); Serial.println(analogRead(AO_pin)); delay(5);} Temperature sensor module KY-001 Digital output. Sensors Kit for Arduino. Arduino Referencia.

DIGITAL CALIPER

Arduino + Bluetooth | DIYMakers. En este tutorial vamos a dotar al Arduino de comunicación Bluetooth usando un módulo Bluetooth, veremos cómo configurarlo y cómo enviar y recibir datos desde un dispositivo Android. Material -Arduino Uno Rev 3 -Módulo Bluetooth JY-MCU -Dispositivo Android con Bluetooth -Leds rojo, amarillo y verde -Resistencias 220 ohms x 3, 5K6, 10K Módulo Bluetooth El Bluetooth es un estándar de comunicación inalámbrica que permite la transmisión de datos a través de radiofrecuencia en la banda de 2,4 GHz. Existen dos modelos de módulos Bluetooth: el HC-05 que puede ser maestro/esclavo (master/slave), y el HC-06 que solo puede actuar como esclavo (slave).

Físicamente, los dos módulos son muy parecidos, solo varían algunas conexiones. -Vcc: Alimentación del módulo entre 3,6V y 6V. -GND: La masa del módulo. -TXD: Transmisión de datos. -RXD: Recepción de datos a un voltaje de 3,3V. -KEY: Poner a nivel alto para entrar en modo configuración del módulo (solo el modelo HC-05) Comandos AT Código Arduino. Arduining | Physical Computing Mini-Projects.