Is it possible to add BLE Module to Espruino WiFi?
I could'nt find any tutorial about it.
Is there any aternatives?
There's the HM-10 module that you can add: https://www.espruino.com/Bluetooth+BLE
But it's not desperately well supported - you basically have to send AT commands to configure it. In a similar way you can use the Adafruit Bluefruit LE Friend boards like this one as well (which will be much better documented).
Your other option to get nice Bluetooth and WiFi is to go the other way - add WiFi to an Espruino Bluetooth board. It's trivial to add an ESP8266 onto something like the the Pixl.js or MDBT42 breakout, and you get the same API you'd get with the Espruino WiFi. Only downside is you don't get USB, and you don't have enough RAM to handle HTTPS.
Of course you could also use an Espruino WiFi and a Bluetooth Espruino like the MDBT42 breakout - then you're running Espruino on both devices.
You follow best @Gordon suggestions... Espruino-Wifi is a very strong platform and has the means to do SSL / HTTPS (because it has sufficient memory for handling/holding certificates) - and pair it up with some BLE solution... any Espruino BLE will do excellent, because you have then not to worry to get resource constrained while communicating (3(+) cores). Communication issues are the worst and most difficult to resolve.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem