Home > other >  Some of the demand for help, the arduino related
Some of the demand for help, the arduino related

Time:03-12

Stage 1 - micro controller and sensor interface
Arduino interface to sensors, light-emitting LED display it connects to the
? PIR sensor
? Ultrasonic sensors
Design tasks include:
1. Connect the Arduino to your PC, running LED flashing code, (note: you are using a MKR1300
Single board, so you must add the necessary veneer on the Arduino IDE package)
2. Interface only PIR sensor, displayed on the serial monitor output
3. Next, the only sensor interface DHT, add the necessary libraries and displayed on the serial monitor the results
4. Continuously, only connect the ultrasonic sensor, and display the results on the serial monitor
Stage 2 - serial monitoring results
Now, interface DHT22 with PIR and ultrasonic sensors, and show all three values on serial
Once every 25 seconds monitoring,
Phase 3 - transmission module configuration
At this stage, you will configure the LoRa MKR1300 module, you will use the TTN to transmit data and
Connect the gateway,
1. Access device ID:
To configure the gateway Settings, the only device ID, you need a single
Therefore, you need to use for your group MKR1300 DeviceEUI is determined, the results
Will be displayed on the serial monitor
2. Set the TTN:
A group when you deal with this operation, you will also create your
Please follow these instructions on the TTN application,
All groups should be a TTN website and create an application (1==1
Application),
Follow these instructions:
  • Related