Tags:
view all tags
---++ Exercise 1: Come back to exercise 7 of session 2, where we read out the temperature and relative humidity values from the SHT30 shield. Now replace the dummy data, in exercise 5 of session 3 with the real data and send them to Cayenne. Instead of sending voltages, send temperature and relative humidity. This exercise therefore combines the 2 previous exercises into a new one. Observe the values on Cayenne. Create a gauge for the temperature. Measure for some minutes and then have a look the widget history. ---++ Exercise 2: Connect the push button to the built-in led. Write a callback function which parses the topic and payload, finds out if the command is meant for the LED (check the channel number) from the topic. Extract the value from the payload and interact with the LED correspondingly. The response is sent to Cayenne by the Cayenne client without your intervention. ---++ Exercise 3: Create 3 sliders on Cayenne for each colour component of the WS2812 rgb LED. Find out from the channel transmitted in the topic, which colour component must be acted upon. Set the corresponding LED to the value (0 .. 255) found in the payload. -- %USERSIG{UliRaich - 2019-05-15}% ---++ Comments %COMMENT%
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2019-05-15
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
AFNOG Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback