GithubHelp home page GithubHelp logo

codedao360 / esp8266_wifi_tx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidbuzz/esp8266_wifi_tx

0.0 0.0 0.0 827 KB

Make two ESP8266 wifi modules into a RC Transmitter and RC Reciever!

License: GNU General Public License v3.0

Arduino 100.00%

esp8266_wifi_tx's Introduction

esp8266_wifi_tx

Make two ESP8266 wifi modules into a RC Transmitter and RC Reciever!

THis same code can be flashed to BOTH units, with just a 1 line edit to decide which is TX and which is RX. Line ( approx ) 248, where variable AP_OR_STA is hard-coded decides if you are programming for a TX ( WIFI_AP ) or RX ( WIFI_STA)

HARDWARE SETUP:

PPM IN is wired to the esp8266 in the TX, on GPIO13, or ~D7 ( depending on your labels ) see PPMINPIN define in the code.

PPM OUT is wired to the esp8266 in the RX, on GPIO12, or ~D6 ( depending on your labels ) see PPMOUTPIN define in the code.

There's also a debug pin for the oscilloscope called TRIGGERPIN which is GPIO14 or ~D5 ( depending on your labels ) - not used normally.

UDP packet format:

Inline with the KISS principle, I've just allocated 16bits (two bytes) to each channel in the PPM stream, that's it.

So a UDP packet from port 5554 with a 16byte data/payload is used for when we have 8 PPM channels ( 1-8 ). 8 is the MINIMUM supported.

Conversely, If the PPM stream from the TX has 16 channels ( 1-16 ), then the UDP packets it generates will have 32bytes of data payload. 16 is the MAXIMUM supported.

see also TODO file.

Classic ESP8266 module

Example Dev PCB with ESP8266 module

See a video of the prototype here

(c) David "Buzz" Bussenschutt 20 Jan 2016

esp8266_wifi_tx's People

Contributors

davidbuzz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.