chipKIT® Development Platform

Inspired by Arduino™

Remote control with Telegram and RPi + uC32 + IOShied

Created Thu, 23 Apr 2015 12:17:11 +0000 by Tayeb


Tayeb

Thu, 23 Apr 2015 12:17:11 +0000

I have just completed a project that uses Telegram to control remotely a chipKIT uC32 board through Raspberry Pi with Telegram instant messaging.

Telegram is a very versatile instant messaging software that can be used with the same phone number on different devices simultaneously.

I will share here a link with a tutorial on how the project is done and share code.

The image below shows Telegram enquiring status from TCN75A temperature sensor on IOShield connected over chipKIT uC32.

A Lua script for Telegram running in Raspberry Pi is monitoring keywords such as "check". On receiving "check" the script runs a Python program that reads the temperature sketch in uC32. Once temperature with keyword "status" Python program closes down, with only Lua script running continuously waiting for keywords. Effectively one can start a whole a remote control project that can do lots of things and the advantage is that Telegram can run in different devices with the same phone number. Note Alert is activated with a switch on IOShield.

More details to come soon...


majenko

Thu, 23 Apr 2015 23:42:52 +0000

Nice one! Always good to see chipKITs online.


Tayeb

Fri, 24 Apr 2015 10:45:35 +0000

Thank you for your input.

I have just published a full tutorial onhow to do it at my blog. Here's a direct link:

Remote Control with Telegram and chipKIT uC32, Basic I/O shield with Raspberry Pi


Tayeb

Mon, 27 Apr 2015 10:24:53 +0000

Here is a photo of my set up: