esp8266 native mode with multiwii

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
c128
Posts: 17
Joined: Tue Apr 07, 2015 2:34 pm

esp8266 native mode with multiwii

Post by c128 »

my question for experts: is possible to compile multiwii with native mode for esp8266?

I see this module is compatible with arduino IDE https://github.com/esp8266/Arduino and have GPIO, I2C, ADC, SPI, PWM ports

Very small dimension and more more power
80MHz
64KBytes of instruction RAM
96KBytes of data RAM
64KBytes boot ROM
and with Wi-Fi
Attachments
ESP8266-ESP-201-pin-reference-v01.png

c128
Posts: 17
Joined: Tue Apr 07, 2015 2:34 pm

Re: esp8266 native mode with multiwii

Post by c128 »

for example, easy blink compiled with arduino ide and esp8266


Sketch uses 201,082 bytes (46%) of program storage space. Maximum is 434,160 bytes. (leaving 233,078 byte for program)
Global variables use 44,592 bytes (54%) of dynamic memory, leaving 37,328 bytes for local variables. Maximum is 81,920 bytes.

c128
Posts: 17
Joined: Tue Apr 07, 2015 2:34 pm

Re: esp8266 native mode with multiwii

Post by c128 »

esp not have i2c hardware, this is very bad missing option

c128
Posts: 17
Joined: Tue Apr 07, 2015 2:34 pm

Re: esp8266 native mode with multiwii

Post by c128 »

c128 wrote:esp not have i2c hardware, this is very bad missing option


or have hardware i2c :?:

https://www.youtube.com/watch?v=-w1QLGGXjZM

QuadBow
Posts: 532
Joined: Fri Jan 04, 2013 10:06 am

Re: esp8266 native mode with multiwii

Post by QuadBow »

Multiwii does not support that 32Bit board. For 32Bit delevopment, ask in the 32Bit section of this forum.

c128
Posts: 17
Joined: Tue Apr 07, 2015 2:34 pm

Re: esp8266 native mode with multiwii

Post by c128 »

QuadBow wrote:Multiwii does not support that 32Bit board. For 32Bit delevopment, ask in the 32Bit section of this forum.


ok but this is only generic question for this board: if is possible or not compiling multiwii with esp? (exluding 32bit problem)

QuadBow
Posts: 532
Joined: Fri Jan 04, 2013 10:06 am

Re: esp8266 native mode with multiwii

Post by QuadBow »

c128 wrote:if is possible or not compiling multiwii with esp?
I understood that you can use ESP8266 in two senarios.
1. Compile the sketch and let it run directly by the ESP8266. No additional microcontroller (e.g. Arduino) is required. https://github.com/esp8266/Arduino
2. Or you use the ESP8266 only as a serial interface to Arduino. http://ecetracker.com/wp-content/uploads/2015/07/arduino-interface.png

What is your intention?

In case 1 you had to rewrite a significant part of the multiwii software. Ask within the 32Bit section for some support how to deal with the ESP8266 in order to build the related drivers.
In case 2 things are easier, since you only have to add a routine for the control of the ESP8266.

So, for both cases I would answer your question as follows:
Yes, multiiwi can be compiled with ESP8266. But, you have to do it by your own, since nobody has done it before...

Post Reply