Bukit Mertajam, Penang

Controlling Electrical Appliances Through Telegram Message Using Rapsberry 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 pHAT Relay 2 Channels AC Socket AC Plug
5V VCC
GND GND
13 IN1
19 IN2
COM1 Live
COM2 Live
NO1 Live1
NO2 Live2
Neutral1 Neutral
Neutral2 Neutral

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 Posts

Comments (2)

thank you for this tutorial,
i’m hoping in the future cytron can also make any tutorial in PDF format with picture or tutorial in summary with pdf format

Hi, thanks for your suggestion.

Leave a comment