ทางบริษัทขอเรียนแจ้งให้ทราบว่า จะมีการลดราคาบอร์ด Raspberry Pi ในวันที่ 24 กันยายนนี้ หลังจากที่ธนาคารกลางสหรัฐฯ มีมติลดอัตราดอกเบี้ย โปรดติดตามราคาใหม่เร็วๆนี้!
Displaying Telegram Message on Dot Matrix Using Raspberry Pi

Displaying Telegram Message on Dot Matrix Using Raspberry Pi

INTRODUCTION

Continue from the previous tutorial Displaying On MAX7219 Dot Matrix Using Raspberry Pi. In this video we will show you how to display Telegram message on 4 In 1 MAX7219 Dot Matrix Display Module Using Raspberry Pi.

VIDEO

In this video we will show you how to display Telegram message on 4 In 1 MAX7219 Dot Matrix Display Module Using Raspberry Pi.

HARDWARE PREPARATION

 

 

Wiring Connections

4 In 1 MAX7219 Dot Matrix Display ModuleMaker pHAT
VCC5V
GNDGND
DINMOSI
CSCE0
CLKSCK

Software Preparation

Install Telegram Bot library for Python. Open Terminal and write following command.

sudo apt-get install python-pip

sudo pip install telepot

Sample Code

Write this code to display Telegram message on dot matrix. Please edit and put your Telegram Bot token in the code.

[gist https://gist.github.com/IdrisCytron/03423782af34fe31f51aa59efd05c3a2/]

Thank you

References

  1. Luma.LED_Matrix, credit to Richard Hull.
  2. Telegram Bot Python Library 

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

สินค้าที่เกี่ยวข้อง

Maker pHAT: Simplifying Raspberry Pi for {Educa...

ไม่สามารถใช้ได้

x 1 หน่วย

4 In 1 MAX7219 Dot Matrix Display Module

ไม่สามารถใช้ได้

x 1 หน่วย