Skip to content

Arduino i MySQL

upload data to DB(MySQL)

jaden

Published November 01, 2022

Original author: Jack · PolandOriginal source (new tab)

Arduino i MySQL

Components

Hardware components

x 1

Project description

In this project,author show to upload the read data to DB and then display it in a website. He used PIR motion sensor(HC-SR501) Arduino monitors the state of the pin to which the motion sensor is connected, the sensor works digitally, so it sends the status 0 or 1. If motion is detected, pin 6 displays high or "1". This is a prerequisite for establishing connection with the server. If the status on pin 6 is low - we do not connect to the server. Thanks to this, we limit the bandwidth and the amount of data sent. Arduino, after establishing a connection with the server, runs the PHP script…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.