Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Rucksikaa Raajkumar
Published © CC BY

Advanced safety band

Poor air quality can cause irritation, respiratory problems and also affect the cardiovascular system. I am going to solve this problem.

AdvancedFull instructions provided6 hours250
Advanced safety band

Things used in this project

Hardware components

nRF5340 Development Kit
Nordic Semiconductor nRF5340 Development Kit
×1
Nordic Semiconductor nRF52840 Dongle
×1
Adafruit 2.8" TFT Touch Shield for Arduino w/Capacitive Touch
×1
Seeed Studio Seeed Grove - Air quality Sensor(MQ-135)
×1
NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
Grove - PIR Motion Sensor
Seeed Studio Grove - PIR Motion Sensor
×1

Software apps and online services

nRF Connect SDK
Nordic Semiconductor nRF Connect SDK
MIT App Inventor 2
MIT App Inventor 2
Arduino IDE
Arduino IDE

Story

Read more

Schematics

Nordic Semiconductor nRF5340

The Adafruit Touch shield can be simply placed onto the nRF5340 board.

NodeMCU ESP8266

Code

Sample code

Arduino
This is the sample code to interface the PIR motion sensor with the NodeMCU ESP8266 development board.
int Sensor = A0;

void setup(){
  Serial.begin(9600);
}

void loop(){
  sensorValue = analogRead(sensor);
  Serial.print("Sensor value= ");
  Serial.print(sensorValue);
  delay(500);
}

Credits

Rucksikaa Raajkumar

Rucksikaa Raajkumar

43 projects • 94 followers
Amateur Arduino Developer. Undergraduate. YouTuber (https://www.youtube.com/c/RucksikaaRaajkumar/videos) and Blogger (Arduino Projects by R)

Comments