Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
infosmick
Published

Smick

Smick's goal is to put IoT technology in everyone's hands.

BeginnerProtip1 hour703
Smick

Things used in this project

Hardware components

Smick
×1
DHT11 Temperature & Humidity Sensor (4 pins)
DHT11 Temperature & Humidity Sensor (4 pins)
×1
RobotGeek Relay
RobotGeek Relay
×1

Story

Read more

Schematics

Smick pinout

Code

control.k

C/C++
Example of code written in K language. The K interpreter is written in C++ language.
--- /e22_controllo.k
--- Pin connections
Temp :: D3   
relay :: d8   
--- Variables
max = 25
min = 12
--- Events
Cold = Temp<min   
Hot = Temp>max   
--- Commands
off = [relay=0]   
on = [relay=1]   
--- Rules
Cold -> on   
Hot -> off  

Credits

infosmick
0 projects • 4 followers
Our goal is to put IoT technology in everyone's hands. Smick is designed for anyone who wants to build interconnected objects.
Contact

Comments

Please log in or sign up to comment.