arduino bram node
This commit is contained in:
@@ -23,3 +23,30 @@ After the wifi is connected it sends a print to indicate a connection and pings
|
|||||||
The websocket connection which was then made is made using the uri, port, and type of connection.
|
The websocket connection which was then made is made using the uri, port, and type of connection.
|
||||||
In case of websocket events it gets sent.
|
In case of websocket events it gets sent.
|
||||||
In case of connection failiure, try this.
|
In case of connection failiure, try this.
|
||||||
|
|
||||||
|
#### The loop
|
||||||
|
We start with setting a timer because a "delay" function would break the connection with the websocket resulting in an error.
|
||||||
|
|
||||||
|
This relates back to some some variables that were made in the beginning.
|
||||||
|
|
||||||
|
We make variables for the different results we are gathering, so these can be used later.
|
||||||
|
|
||||||
|
Then the variables get printed for overview.
|
||||||
|
|
||||||
|
To ensure the websocket connection , the process gets looped.
|
||||||
|
|
||||||
|
#### Update File.
|
||||||
|
Here the text thathas te be sent to the websocket gets sent.
|
||||||
|
|
||||||
|
### The fysical product.
|
||||||
|
it is shown here:
|
||||||
|

|
||||||
|
It also turns on:
|
||||||
|

|
||||||
|
|
||||||
|
Here are my fritzing and wireframe, the components used are shown but The DHT11 is replaced by a DHT22.
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
### The code.
|
||||||
|
Here the c++ code is shown:
|
||||||
|
BIN
docs/LearningProcessBram/ArduinoExperience/image.png
Normal file
BIN
docs/LearningProcessBram/ArduinoExperience/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
Reference in New Issue
Block a user