My Ugly ESP GW Prototype
-
@hek what is the thing the nrf is sitting on? what is the esp for? and if this is ugly, you should see some of my stuff.... it is almost neat....
-
@hek what is the thing the nrf is sitting on? what is the esp for? and if this is ugly, you should see some of my stuff.... it is almost neat....
Te radio is sitting on a (slightly modified) NRF-socket adapter plate as I didn't have any AMS step downs laying around.
http://www.ebay.com/itm/Socket-Adapter-plate-Board-for-8Pin-NRF24L01-Wireless-Transceive-module-51-/200960749614?pt=LH_DefaultDomain_0&hash=item2eca31b02eThe ESP is there to create a wireless connection to the controller (PoC).
-
@Fabien
Yes, I know it can be programmed directly which could be a good option for (none battery) sensor nodes. It is still somewhat more complicated to get started using ESP modules (compared to Arduino). Waiting with interest on results from the community members trying to port MySensors library running natively on ESP.But anyhow, the gateway @tbowmo is designing will running on a ATMega1284 and communicate through serial AT-commands to ESP, so I'd better start developing that code as well. :)
Regarding ESP inputs being 5V tolerant.. When googling around I'm getting mixed results regarding this. Better safe than sorry.
@hek said:
Waiting with interest on results from the community members trying to port MySensors library running natively on ESP.
I'm running the GW sketch (and repeater node) natively on the ESP8266 - however, the porting needs some additional work on EEPROM handling and pointer addressing. Also, a stable power supply is important (>3.1V with ESP8266 and NRF24 attached, no peaks). Will post more as porting progresses.
-
@hek said:
Waiting with interest on results from the community members trying to port MySensors library running natively on ESP.
I'm running the GW sketch (and repeater node) natively on the ESP8266 - however, the porting needs some additional work on EEPROM handling and pointer addressing. Also, a stable power supply is important (>3.1V with ESP8266 and NRF24 attached, no peaks). Will post more as porting progresses.
@tekka said:
@hek said:
Waiting with interest on results from the community members trying to port MySensors library running natively on ESP.
I'm running the GW sketch (and repeater node) natively on the ESP8266 - however, the porting needs some additional work on EEPROM handling and pointer addressing. Also, a stable power supply is important (>3.1V with ESP8266 and NRF24 attached, no peaks). Will post more as porting progresses.
Do you porting it to Arduino environment or using the native esp sdk ?
-
Would also be interested to have MySensors on ESP8266 "native" (without Arduino) using the Arduino IDE. This is what you are planning to do ?
-
-
I already have one, thanx !
guy, I had the same idea, and the photon is a beast (when you make it work for I was an alpha alpha tester...)
-
@BulldogLowell someone already ported the nrf24l library here: https://community.particle.io/t/request-answered-nrf24l01-library/2286
-
Have you guys seen this? http://www.seeedstudio.com/depot/EMW3165-CortexM4-based-WiFi-SoC-Module-p-2488.html
The specs seem almost the same as the Photon's, but it's less than half the price. And, it's in stock.I'm open minded. Is there a reason to prefer the Photon?
-
Looks interesting. However, it's probably a bit more complicated to use for newcommers, as it's not arduino compatible (not yet anyways).
@tbowmo said:
Looks interesting. However, it's probably a bit more complicated to use for newcommers, as it's not arduino compatible (not yet anyways).
Good point. Also, the Photon already has header pins soldered on, and not having that means extra work.
I think I'm persuaded that, at least for now, the Photon can justify its higher price.
What's the best board to dock it into? Or is it simply roll-you-own with female headers on some prototyping board?
Sparkfun will have a Photon redboard, but at $39.95....
-
-
Is Photon compatible with Arduino? (the build eco system). That is one of the key elements of mysensors at the moment, and what makes it accessible for newcommers.
If not then everything needs to be ported to another build system..
@tbowmo said:
Is Photon compatible with Arduino?
It is "Arduino-like" for sure, but a little different in that it's implementation is still developing. I've done a few projects with Photon, including (vera controlled) LED projects and sensors. There are some differences so you may find it rough at first (particularly with the availability of Libraries).
Probably a great add-on to your sensor network if you are more experienced with Arduino.
Like MySensors, they have a terrific forum!
PS, comparable to the EMW3165, the P1 version of photon is $10
-
Is Photon compatible with Arduino? (the build eco system). That is one of the key elements of mysensors at the moment, and what makes it accessible for newcommers.
If not then everything needs to be ported to another build system..
-
@tekka said:
I'm running the GW sketch (and repeater node) natively on the ESP8266 - however, the porting needs some additional work on EEPROM handling and pointer addressing. Also, a stable power supply is important (>3.1V with ESP8266 and NRF24 attached, no peaks). Will post more as porting progresses.
Would mind to share your sketch for the ESP8266 + WiFi+GW + nRF24 ? If I understood correctly --- the ESP can run the mySensors GW + regular Wi-fi, replacing the arduino? Any other downside than the EEPROM ?
Thanks!
-
@tekka said:
I'm running the GW sketch (and repeater node) natively on the ESP8266 - however, the porting needs some additional work on EEPROM handling and pointer addressing. Also, a stable power supply is important (>3.1V with ESP8266 and NRF24 attached, no peaks). Will post more as porting progresses.
Would mind to share your sketch for the ESP8266 + WiFi+GW + nRF24 ? If I understood correctly --- the ESP can run the mySensors GW + regular Wi-fi, replacing the arduino? Any other downside than the EEPROM ?
Thanks!
-
@tekka, ok got it. I just managed to run my serial GW on my media-player computer (using a serial to ethernet program), so I now I finally have my kind of ethernet GW. Thanks!
-
Hi @hek and everyone,
I'm starting to get really interested in knowing more about these ESP8266 litle things but after some "googling" I still didn't figured out one thing. I already saw some projects to use an ESP alone as a GW (with a RF24 module attached) but is it not possible to have a MySensor's network of only ESPs?
One ESP as GE and multiple others as sensor nodes? Why?
Thank you all in advance,
Daniel
