User manual

Click Apps and then ThingTweet. By clicking Link TwitterAccount and entering
your access data, you will connect the two services. If you have no Twitter account
yet, it will pay off to create a test account for working with the learning package.
After Twitter has been successfully linked to ThingSpeak you can enter the API
key under Apps/ThingTweet after the item #define TwitterKEY in in this program.
The program now continually reviews whether the measured brightness increases
over 500. If this is the case, a Twitter message is sent and the alarm is sounded
until the brightness drops below 500 again. The currently measured brightness
values can be tracked via the serial monitor. For the first attempts, I recommend
covering the light sensor to keep the alarm from being triggered early.
The new function in this project is sendTwitterPost(). The only parameters that
need to be entered are the TwitterKEY and the message. The function will then
assemble all necessary parts to turn them into a ThingSpeak-post. You can also
have messages sent by pushing a button or publish measured results. All of this
works thanks to the simple ThingSpeak-API.
5.4 | TalkBack
This project is about another app of the ThingSpeak page, i.e. the TalkBack-App.
This function permits creating a command that is read and executed by the con-
troller. What appears nonsensical with a single controller does make sense when
using two or an entire network of controllers. Some boards can act as sensors
then, e.g. with motion detectors, and send a TalkBack-command. Another module
reads the command from the ThingSpeak-page and then opens the door or re-
ports an alarm.
You need the second button for setting up the
experiment. An LED with a dropping resistor dis-
plays the current condition.
Required parts
1 x pinboard, 1 x NanoESP, 2 x button, 1 x LED (red), 1 x
resistor 1 kOhm (brown-black-red), circuit wire