Skip to content

Jcrash29/Tweet8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This code base provides firmware and an API for directly connecting an ESP8266 to the twitter API.

API

Connect to Wi-Fi

  • Wi-Fi uid
  • Wi-Fi password

Connect to twitter

  • twitter key

Post

  • standard message ending in newline (\n)

PostOnGpio

  • standard message to post when gpio is transitioned

Errors

  • NotSetup - if initalizatons were incomplete
  • notConnectedToWifi
  • notConnectedToTwitter
  • unrecognizedCommand

ToDo

  • Create method for storing credentials on device
  • Create software for uploading credentials

Getting Started

Hardware

Software

CH341/CH340 driver NodeMCU-flasher

Programming Firmware to the board

Thanks to Bradon for showing the proper way to connect the ESP8266

Programming the Firmware

Using a linux system (oracle VM) build the nodeMCU Firmware. Be sure to set the user_modules.h to turn on LUA_USE_MODULES_ENDUSER_SETUP.

Copy the bin files from /bin/ folder.

Open NodeMCU-Flasher and select 'QIO' flash mode. While holding down the button we installed on the ESP8266 insert the device into your computer. Use Flash NodeMCU to program the device.

Putting code on the board

Install ESPlorer NOTE Requires JAVA (the page has a link)

Connecting to twitter

We are using ThingTweet to post messages use this to get your API key.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published