IoT with ATmega8, ESP8266 and Telegram BOT

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello
My English language is poor, so I'm sorry.
I want to make a remote control using ESP8266 and Telegram BOT.
I work with the codevision AVR, but all the resources available for Arduino.
Please guide me how to do this using AT Command.

I can connect to Telegram server in SERIAL_PORT_TERMINAL and send GET/POST request but I do not receive an answer

Please teach me the correct process

Thanks

Last Edited: Mon. Oct 2, 2017 - 09:10 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

askhorshid wrote:
all the resources available for Arduino

So why not use Arduino, then?

 

At least to start with - and learn from there ... 

 

Telegram BOT

You mean this: https://telegram.org/blog/bot-revolution ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you for responding
I design and build my hardware and I've used atmega8a in this project.
I have built a Telegram BOT and receive/send messages through the Windows Internet Browser
But the use of AT Commands to open and read web pages is principled.
I do not know these principles correctly
I can connect to the server. With the command:

          AT+CIPSTART="TCP","https://api.telegram.org",443

I set the length of the sent link.

          AT+CIPSEND=61

And finally send the link

          GET /botxxxxx/getme

"xxxxx" is my TOKEN and 45 characters.

The link contains my TOKEN and my requested method
But only the answer SEND OK is received.

 

my terminal software is SERIAL_PORT_TERMINAL

 

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nothing to do with the AVR then. You be better off asking on the telegram bot forum methinks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to get the result first in a hyper terminal
The name of my terminal application is Lunch SERIAL_PORT_TERMINAL or ARDUINO Terminal monitor.
My hardware is made and its microcontroller is ATMEGA8A.
But in the first step, I want to get the result with a terminal and AT Commands
Then I'll do coding in Codevision
The goal is to see the correct output of the ESP8266 module for coding.

 

Thnaks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So that still has nothing to do with the AVR - does it?

 

Connect your terminal to the ESP8266 module; send commands to it; view the results - no AVR needed.

 

For ESP8266 support, go to http://www.esp8266.com/