-
-
-
-
-
So a complete, patient reboot, and being persistent on making the connection gets me here.
The web-serial and ble connection both work, which is ideal. Can't be sure what I did, except the Jlink OB fimrware off the Nordic webpage, and Espruino V2.01 can be made work on Ubuntu 16.04, and the latest Chrome.The web-ble connection seems to be considerably slower than the web-usb, which I did not notice last time.
-
-
Hello,
I've done something silly, I had an older nRF52-DK loaded with Espruino 2.00 (latest that applies) and was delighted that it seemed to discover/connect faultlessly via the Web-IDE link with a recent Chrome browser on my older Ubuntu 16.04 workstation.
Today I did several experiments changing the bootloader (mBed dap) instance on the board, and then upgrading the bootloader via JlinkEXE 6.5x under Ubuntu 16.04. I did a lot of drag and dropping of several pre-compiled BLE apps, again just experimenting.
After, I tried to go back to my initial condition, that is Jlink driver from the Nordic site, and Espruino v. 2.00 the web-serial connection works OK, but my web-ble does not?! Nordic Connect on my MotoE finds the Espruino-DK ble advertisement, and the uart service will connect.
I get a failure to web-ble pair in one instance, and then it refuses to start at all next time. I can't see what I could have changed visa vie my previous Espruino install???
Any ideas what I've done wrong restoring this cool functionality?
Randy
-
-
-
-
-
-
Hi Gordon!
Voila! You sir are a star!
Works like a champ, I just dumped the latest appropriate binary from the Espruino repo onto an Nordic DK-52 and then used the Windows 10 binary IDE to upload the code you suggested in your kind response.
Now I need to think about what I2C peripherals would make sense to evaluate...
Thanks again.
Ps. Your software solution was in conclusion, hand's down the easiest! I tried quite a list of technologies.
-
-
-
This turned out to be quite an adventure.
Can anyone share if a vanilla Micro:Bit running the 16k ram version of the nRF51822, have the horse power to run a simple ble peripheral with a custom UUID, and a couple of characteristics?
I wish my Puck had an accelerometer, to go with the magnetometer. Maybe a IMU is in order for next spin?
-
-
-
Hi Gordon,
I would like Google Science Journal to be able to record sensor data from my Puck.je over BLE.
Can you point me to an example that would be relevant please?
Here are the details, from a user who had a similar problem, visa vi, the Micro:Bit
"As I understand it the Science Journal app is looking for Bluetooth advertising a service with the UUID "555a0001-0aaa-467a-9538-01f0652c74e8" and sends the value of the sensor on a characteristic with the UUID of "555a0003-0aaa-467a-9538-01f0652c74e8.
If you use online tools, such as https://pxt.microbit.org/, to program the micro:bit then it will use the UUIDs as specified in the default micro:bit profile as specified at https://lancaster-university.github.io/microbit-docs/resources/bluetooth/bluetooth_profile.html
You would need to use the mbed platform (https://developer.mbed.org/platforms/Microbit/) to expose the sensors with the right UUIDs."
I'm looking to translate that logic to Espruino code. I guess temperature would be good place to start. Note, I'm not trying to create a BLE temperature sensor with the expected temp sensor profile, but rather this particualr flavor the the Science Journal requires.
Thanks,
R.
-
And to answer your question, yes and no. I'm working with my Puck and Pixl.js to see what the differences are programming and flashing (OTA, etc.) and a bare MDBT42q module, of which I have several varieties. (Electronut HackBLE, Raytac MDBT42q dev board, and a E73-TBB).
I still have an ambition to build something custom, and as cheap as possible to interface with this ...
https://sciencejournal.withgoogle.com/
We discussed this last year I think :) Thinking about doing a demo for the Puck/Pixl in this context I believe. Still a great idea! Espruino and Google Science Journal are the peanut butter and jelly of educational computing.