Posts

Showing posts from July, 2017

Show Temperate and Humidity on an OLED screen 128x64 pi

Image
Show Temperate and  Umidity on an OLED screen 128x64 pi Show Temperate and  Umidity on an OLED screen 128x64 pi Living on an island I'm used to a fairly high humidity rate, especially in summer, the evening is almost unbearable. I was curious to know how much moisture saturation (%) was in my house, then in the future logging data on an SD card to compare the data with the dehumidifier switched on and not ..... but we will talk about this later on! Today we talk about how to display data on an OLED screen of the smallest size of just 0.96 " Let's Prepare the Soup What you need: Arduino nano  (or any other you have available) OLED Screen 0.96" DHT11  module Cables  F-F  type (or M-M in case on Arduino UNO) Wiring Up Now let's connect the modules with our Arduino Nano. Having Male Pin on Arduino and Modules I do not need a Breadboard as the links will be direct. If in your case it is different a

Use a Telegram Bot to receive data from a Thingspeak channel

Image
Use a Telegram Bot to receive data from a Thingspeak channel Use a Telegram Bot to receive data from a Thingspeak channel Lately I've been playing around Telegram and its infinite functions, as, the very interesting one of the Bots. Having, in the past, linked an Arduino UNO to a Thingspeak channel, I wanted to write a script on my RPI Zero to program a Telegram Bot to allow it to respond some simple commands.  Not finding any guide around (or at least that I seen) I decided to post a little guide on my own here. ASSUMPTIONS: That you have a Public or Private channel on Thingspeak where to retrieve data from. That you have a machine where Python 3 runs Ex RPI What You Need:  A Telegram Account and a Bot on it Thingspeak  Account Raspberry Pi  To create a bot you'll need to add "@BotFather" to Telegram and send him a message "/newbot", once all data needed is inserted (it is very easy just follow BotFather&#