Controlling Electrical Appliances Through Telegram Message Using Raspberry Pi

Controlling Electrical Appliances Through Telegram Message Using Raspberry Pi

INTRODUCTION

Besides using Telegram message to do display on dot matrix, we also can control things, such as relay modules, to on and off. To do that, we need to compare the message received and assign what task to do. In this video tutorial, we will share on how to control electrical appliances using Telegram messages and Raspberry Pi.

Before that, you may need to refer following tutorial first:

  1. Getting Started With Maker pHAT
  2. Displaying Telegram Message on Dot Matrix Using Raspberry Pi

VIDEO

This video will show you on how to control electrical appliances through Telegram message using Raspberry Pi.

 
 

Untuk versi bahasa Melayu, sila rujuk video dibawah.

 

HARDWARE PREPARATION

Item used in the video.

Wiring connection table.

Maker pHATRelay 2 ChannelsAC SocketAC Plug
5VVCC  
GNDGND  
13IN1  
19IN2  
 COM1 Live
 COM2 Live
 NO1Live1 
 NO2Live2 
  Neutral1Neutral
  Neutral2Neutral

Sample Code

This is the sample code used in the video. Anyway it will be updated from time to time.

Thank You

References:

  1. Getting Started With Maker pHAT
  2. Displaying Telegram Message on Dot Matrix Using Raspberry Pi 

Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.

Related Products