Telegram CLI Pi


Any actions and or activities related to the material contained within this Website is solely your responsibility. The misuse of the information in this website can result in criminal charges brought against the persons in question. Cyber Security Associates Limited, will not be held responsible for any criminal charges brought against any individuals misusing the information in these projects to break the law. 


Teacher Overview 

Raspbian is a Debian-based computer operating system for the Raspberry Pi computer. There are several versions of Raspbian including: Raspbian Stretch and Raspbian Jessie. Raspbian was created by Mike Thompson and Peter Green as an independent project, with an initial build completed in June 2012. Since 2015, Raspbian has been officially provided by the Raspberry Pi Foundation as its primary operating system for the family of Raspberry Pi single-board computers and is highly optimized for the Raspberry Pi line's low-performance ARM CPUs. 

The internet of things, or IoT, is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction. 

IoT devices could be a person with a heart monitor implant, a farm animal with a biochip transponder, an automobile that has built-in sensors to alert the driver when tire pressure is low or any other natural or man-made object that can be assigned an IP address and is able to transfer data over a network. Increasingly, organisations in a variety of industries are using IoT to operate more efficiently, better understand customers to deliver enhanced customer service, improve decision-making and increase the value of the business. 

Raspberry Pi has always been fun and easy to build projects. In this project you will learn another interesting way to share data (files/photos/videos/audios/text) between the Raspberry Pi and your Mobile phone through a popular chat application called Telegram. 

For those who are new to Telegram, it is a chat-based application available in play store for Android (also available for iPhone and windows) that is very similar to WhatsApp. One special features of this application is that it can support ‘bots’, which allows the application to be used by both ourselves and machines. In this project the machine will be Raspberry Pi, and once you have trained Raspberry Pi on how to act as a bot, anyone (if you make it public) can chat with your Raspberry Pi. This will be like chatting to any normal person and will allow you to share Photos Pictures Documents and Audio files. 

Suggested Year Group  

The suggested age group is 16+, due to the nature of this project and the skills it is developing.  


Learning Outcomes 

  • Learn the basics of IoT; 

  • Understand the concepts of the Telegram chat application; 

  • Learn how Telegram can be used with a Raspberry Pi. 


Hardware Required

Component Number (Peli Case) 

Slot 4 + 5 

Slot 5 

Slot 9 

Slot 3 

Slot 3 

Slot 5 

Slot 1 

Slot 3 

Slot 3 

Slot 3 

Component Number (Box Case) 

Slot 1 

Slot 10 

Slot 2 

Slot 11 

Slot 11 

Slot 12 

Slot 13 

Slot 10 

Slot 5 

Slot 11 


Raspberry Pi + Case 

Raspbian SD Card 

TFT Screen 


Wireless Keyboard 

Wireless Mouse 

Power Supply Unit 

Assorted Electronics 


Male to Female wires 


Video Guide



This project is designed to introduce you to Telegram capability and the applications it has within IoT.  By configuring the Raspberry Pi using the telegram capability you would have created a bot to share information.  The Telegram Bot can automatically send messages and complete tasks like turning on and off LEDs when certain words/commands are sent to it via the app or browser. Telegram is an extremely powerful tool, and this project is just scratching the surface of what you can achieve with it, there are so many different projects you can build around this.