Hayden Tsui
Published

ToastMeOn - SMS Toaster Oven

A SMS-Controlled Toaster Oven. Text your toaster oven before you work and have your food ready to eat once you come home!

Full instructions provided1,502
ToastMeOn - SMS Toaster Oven

Things used in this project

Hardware components

Spark Core
Particle Spark Core
×1
Relay Board
Buy or make your own
×1
Extension Cord
×1
Toaster Oven
×1
NPN Transistor
2N2222
×1
5V SPDT Relay
×1
Zener or Rectifier Diode
×1
220-1KOhm Resistor
×1

Software apps and online services

SMS Messaging API
Twilio SMS Messaging API
Free trial is sufficient

Story

Read more

Code

file_12194.txt

Curly
curl https://api.spark.io/v1/devices/'your device ID'/digitalWrite \
-d access_token='your access token' -d params=D7,HIGH

file_12195.txt

Curly
D0 was the pin I used to control my relay. Change your params accordingly.
$ch = curl_init("https://api.spark.io/v1/devices/'your device ID'/digitalWrite?access_token='your access token'");
		curl_setopt($ch, CURLOPT_POST, 1);
		curl_setopt($ch, CURLOPT_POSTFIELDS, "params=D0,HIGH");
		$output = curl_exec($ch); 
		curl_close($ch);

Credits

Hayden Tsui

Hayden Tsui

1 project • 1 follower

Comments

Add projectSign up / Login