Auteur Simone Ferrecchia DIGIJEUNES | Dernière modification 9/12/2019 par Clementflipo
Internetofthings, adafruit.io, ESP32, Facebook, Arduino Create_a_wooden_pet_that_connects_with_Facebook_italiano.PNG en none Creation 0
Once you ve set up an account on adafruit.io, go on creating a new Feed.
Create a new feed and name it, for example, “touchsensor”.
Follow the instructions provided on github for your OS
If you have troubles following the instructions for windows, you may find some help below.
To find the Sketch directory, click File > Preferences, on arduino IDE.
The process of cloning existing repository may take a tomatically.
Sketch > Include Library > Manage Libraries…
To upload the code on Arduino IDE, click on the “copy arduino code into clipboard” button.
Then paste the code onto Arduino IDE, and upload it to the ESP32.
if you click on Serial Monitor (top right of the Arduino IDE screen), you should see the value recorded by the touch sensor (see image below).
It means that your ESP32 is connected to the internet, and that it’s sending the value recorded by the internal touch sensor on-line, on adafruit.io
Click on My Applets.
Choose New Applet.
Click on THIS (see image below).
Search for Adafruit.
Choose Monitor a feed on Adafruit IO.
Configure it as follows (see image below)
And Click on Create trigger.
Click on THAT
Choose Facebook.
Choose Create a status message.
Type your message and click on Create action.
In this case, the message that will be posted on your Facebook timeline is “Don’t touch my tail!”
This tutorial has been developed as part of the I TECH project, co-financed by the Erasmus + program of the European Commission. For more info contact us on info@digijeunes.com.
Published
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #