DEV Community

coyla
coyla

Posted on

2 1

Testing arduino + wifi card project ๐Ÿ“Ÿ

๐ŸŽฏ Goal

Goal: Simulate a system that prevents someone his is too close to some place or device by turning on a LED.

At a later stage, user will be able to turn on/off the system remotely via a web server.

use case can be used to prevent your child of dangerous place or device, like a hotplate ?

Steps

I divide the system into 3 separate system

  • LED sys
  • Presence/Distance sensor
  • Web server

Use tinkercad to simulate the project. Please try it, you will love it.
https://www.tinkercad.com/

LED device

diagram (tinkercad)

Distance sensor

Diagram

Web server + Wifi CARD

Testing server.

Final stage

In order to connect/plug PINS of the wifi card i used this diagram below.

LED + Distance sensor + Wifi card

I set up a range distance of 40cm to active the LED.

Test

Logs show that the server can get the distance from our system.

Issues

Libs

Distance sensor HCSR04
https://github.com/jeremylindsayni/Bifrost.Arduino.Sensors.HCSR04

Wifi card
https://fr.macerobotics.com/developpeur/tutoriels/esp8266-controle-dune-led-par-wifi/

Top comments (0)

Image of Docusign

๐Ÿ› ๏ธ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more