Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi - ESP8266 - SX1276 - LoRa #925

Closed
grahamehorner opened this issue Oct 23, 2015 · 9 comments
Closed

WiFi - ESP8266 - SX1276 - LoRa #925

grahamehorner opened this issue Oct 23, 2015 · 9 comments

Comments

@grahamehorner
Copy link

grahamehorner commented Oct 23, 2015

has anyone see the https://www.lora-alliance.org/ it looks a perfect fit for IoT and using the ESP8266 as a bridging device between LoRa and WiFi see https://hackaday.io/project/4758-sentrifarm/log/20300-brief-update-esp8266-plus-lora and If the community here is interested I would be willing to start R&D and produce a library and circuit for that purpose.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@hallard
Copy link
Contributor

hallard commented Oct 26, 2015

Excellent ;-)

I had in my mind to update the Gateway hardware to support these modules

@grahamehorner
Copy link
Author

@hallard cool maybe we could work together on this; I'm not really a hardware person, but would love to get a LoRa arduino library working specifically with ESP8266.

BTW have you seen http://www.getfreevolt.com I'm looking/hoping to get some development units for testing; in hope that it can power/charge batteries for in the field IoT devices that use ESP8266 and/or SX1276/LoRa for long range communication.

@hallard
Copy link
Contributor

hallard commented Oct 26, 2015

@grahamehorner
Yes, no problem, I've just looked at freevolt, seems impressive ;-) Not sure it would be able to power Wifi module forever, these one are really consuming ...

@marcobrianza
Copy link

Hello, I am testing a LoRa node on www.thethingsnetwork.org in Milano with an RF95 radio and this stack:
https://github.com/matthijskooijman/arduino-lmic/blob/non-avr-printf/examples/ttn/ttn.ino
It builds correctly on the Arduino cores, but not on the ESP8266 :-(
If has these errors:

/var/folders/xt/636gqx4x4hz49yz9xgg79tkw0000gn/T/buildaf3861b8e88663e57f7270134668d526.tmp/libraries/arduino-lmic-non-avr-printf/hal/hal.cpp.o: In function hal_enableIRQs': /Users/marco/Dropbox/Arduino/libraries/arduino-lmic-non-avr-printf/src/hal/hal.cpp:202: undefined reference to_impure_ptr'
/var/folders/xt/636gqx4x4hz49yz9xgg79tkw0000gn/T/buildaf3861b8e88663e57f7270134668d526.tmp/libraries/arduino-lmic-non-avr-printf/hal/hal.cpp.o:(.text._Z15hal_printf_initv+0xc): undefined reference to fopencookie' /var/folders/xt/636gqx4x4hz49yz9xgg79tkw0000gn/T/buildaf3861b8e88663e57f7270134668d526.tmp/libraries/arduino-lmic-non-avr-printf/hal/hal.cpp.o: In functionhal_printf_init()':
/Users/marco/Dropbox/Arduino/libraries/arduino-lmic-non-avr-printf/src/hal/hal.cpp:245: undefined reference to `fopencookie'
collect2: error: ld returned 1 exit status

I really have no idea how to handle such error.

The ESP8266 would be a great platform, on the pro-mini just compiling the example there is a 98% of flash use.

@igrr
Copy link
Member

igrr commented Jul 13, 2016

https://github.com/matthijskooijman/arduino-lmic/blob/non-avr-printf/src/hal/hal.cpp#L231-L247
This won't work with the esp8266 core because it uses newlib, which has no such thing as fopencookie.

@marcobrianza
Copy link

marcobrianza commented Jul 13, 2016

looking closer with you hint I deducted it was just a serial print issue and not a more serious problem. I was using the non-avr-printf branch because the master was not building on the Due. Switching back to the master branch it builds !!!
Next week I'll try to send my first lora packet with the ESP8266 :-)

@hallard
Copy link
Contributor

hallard commented Jul 13, 2016

@marcobrianza
Are you sure you disabled the LMIC_PRINTF_TO constant in config.h

It's strange it should be disabled by default on latest

I'm running this stack mjr branch with no problem on ESP8266

@marcobrianza
Copy link

yes, I will pay attention to this, thank you

@devyte
Copy link
Collaborator

devyte commented Oct 19, 2017

Closing due to age and per #3655 .

@devyte devyte closed this as completed Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants