LowPowerLab Forum

Hardware support => Moteino => Topic started by: stern0m1 on February 18, 2016, 11:34:10 PM

Title: Moteino wifi ethernet
Post by: stern0m1 on February 18, 2016, 11:34:10 PM
If i connect a wifi or ethernet module to a moteino would i be able to send emails directly from the moteino?

is there a good wifi or ethernet module out there with good documentation?

(I dont see any modules being sold @lowpowerlab)

Thanks

Title: Re: Moteino wifi ethernet
Post by: Felix on February 19, 2016, 08:58:04 AM
If I had to I would probably go with ESP8266 to add wifi.

Email from moteino via wifi module?

How about this instructable (http://www.instructables.com/id/Send-email-with-ESP8266-and-Arduino-UNO/?ALLSTEPS) or this video:
https://www.youtube.com/watch?v=n5WZ_BNRvRY

A simple web search of "send email with ESP8266 and arduino" reveals many more similar results.
Title: Re: Moteino wifi ethernet
Post by: stern0m1 on February 22, 2016, 01:11:23 PM
I cant figure out how to program the esp8266 from a moteino.

This is the error i get:

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"



         Using Port                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding


Im not sure if im supposed to use an esp8266 board, but i tried that and i get:

Arduino: 1.6.7 (Windows 10), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 9600, 512K (64K SPIFFS), ck"



In file included from C:\Users\Hirsch\Documents\Arduino\send_email_smtp1\send_email_smtp1.ino:23:0:

C:\Users\Hirsch\Documents\Arduino\libraries\Adafruit_ESP8266-master/Adafruit_ESP8266.h:28:35: error: section attribute not allowed for 'Pchr'

typedef const PROGMEM char        Pchr; // Ditto, kindasorta

                                   ^

Using library Adafruit_ESP8266-master in folder: C:\Users\Hirsch\Documents\Arduino\libraries\Adafruit_ESP8266-master (legacy)
Using library SoftwareSerial at version 1.0 in folder: C:\Users\Hirsch\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\SoftwareSerial
exit status 1
Error compiling.


Any help will be greatly appreciated.
thanks


Title: Re: Moteino wifi ethernet
Post by: stern0m1 on February 22, 2016, 01:37:02 PM
Where could I find good information for programming OTA?