Open gfwilliams opened 4 years ago
Partially done with https://www.espruino.com/Bangle.js+Disassembly
It would be great to see a tutorial on how to capture IMU (accelerometer, gyro) values over Bluetooth LE to the Web IDE or a smartphone app.
edit by gfwilliams: I have just added one for you
I have not received my Bangle.js yet, but one of my first ideas is to read the accelerometer and the magnetometer together to accurately calculate position. Any hints on the calculations would be appreciated.
edit by gfwilliams It would be better to ask on the forum for this at the moment. You mean 'dead reckoning' using the two sensors? Generally that's quite difficult without a gyro too, which bangle.js doesn't have
use case would be reading ebooks while in the bath, taking advantage of bangle's waterresistance :)
GET/POST to a HTTP JSON endpoint via the forthcoming 'bridge' app?
Document the IOS app : how to read/cancel/remove notifications on the watch.
Using MQTT client on the watch to be used with an MQTT Bluetooth bridge such as a phone/tablet (iPHone in my case) or an MQTT bridge (separate hardware such as this GL-S10 bridge @ https://store.gl-inet.com/products/gl-s10-bluetooth-iot-gateway?variant=39514685145182
Using IFTTT on the Bangle2 watch (?possible?)
"Remote Control" for the camera app on the smartphone. A simple "release button" for selfies, so we can take pictures from a distance would even do. Sometimes our arms are just not long enough ;-)
How to add a settings menu to a widget or app, with all the various ways of presenting the options. I have been trying to add a multiple choice picker, and have had to resort to copying other apps implementations, with varying levels of success.
@Razoxane have you seen https://www.espruino.com/Bangle.js+App+Settings ?
But is the issue more that it should cover how to do multiple choice?
@Razoxane have you seen https://www.espruino.com/Bangle.js+App+Settings ?
But is the issue more that it should cover how to do multiple choice?
More how to do multiple choice, and also where that link is included in the docs. That link doesn't appear in the https://www.espruino.com/Tutorials page, which was where I'd first checked.
Now that I know of its existence, after going hunting to find what information I'd come across that was inadequate, I can see that https://www.espruino.com/Bangle.js#tutorials has a link to the Settings tutorial. I can also see that the site search (rather than browser search) returns the Settings Tutorial page.
Ahh - thanks. Looks like I hadn't updated the Tutorials page - I'll do that. I'd definitely recommend looking on https://www.espruino.com/Bangle.js2#tutorials - as those should be tailored specifically for the watch
Is there a tutorial on how to add to the Bangle library? I just made a PR but didn't know how to test the code I wrote. That sort of development tutorial would be very useful :)
@splch Ahh - you mean extending Espruino itself? eg your PR https://github.com/espruino/Espruino/pull/2264 ? there is something that may help you (http://www.espruino.com/Extending+Espruino+1), but in this case I think making a simple JS library will be easiest. I'll explain in the PR and will add an example.
This is a list I'll use to prioritise which tutorials get written first.
Please vote on each entry here with the 'smiley face' icon, thumbs up or thumbs down.
If you want to add a suggestion, please add one suggestion per reply so they can be voted on. Just write
- [ ] Tutorial Idea
so we can have a checkbox to see what has been done already.WHEN DONE, TUTORIALS IDEAS ARE CHECKED AND MADE INTO A LINK TO THE TUTORIAL