-
-
-
Hi, I did something stupid, I have a .bootrst file that disables BT on startup, so the "hold the button" failsafe is not working, I am locked out.
Is there a way to erase flash storage using dfu upload?
solved I took the flash pages down to 20, flashed the image, it caused a storage erase due to corruption, victory :)
-
-
I used some dsd6's and some very bright cob led lights from aliexpress, to make some smart tail lights for the euc, they auto connect to the wheel and monitor breaking action, auto daisy chain to one another, I really like them.
So this is a feature request, please make something like this available for order. :)
-
-
we have that already??
I was looking at swipe event, it only has left/right. and then there is drag event with yz but not the action id, but it is not a problem really, I used the drag event with the i2c.writeTo(0x15,0xFA,17);
so now I get no Arbitration error, it actually works very nice.On the reset issue, I think we are not talking about the same one.
There is one that resets the watch on a 10sec hold, handles the dfu mode, this is very nice.but there is another one as well, it fires at 1.5-2 sec in, and it issues an E.reboot() and the screen displays "loading".
I have noticed that it is only started after I call the Bangle.getOptions() or set an option, or set a event. If I do not, I can bypass it, so I guess I could work around it.I also tried calling E.kickWatchdog() , it doesn't seem to work, I guess it is not the watchdog, because I get a message from E.kill event, and the manual says this should not work on a watchdog timer reset.
-
I guess in a way a neat longer-term solution would be to add touchRd/touchWr functions like we have for the other sensors on the watch.
that would be nice, or maybe info on swipe event for up/dn and x,y.
One last question that is a bit irrelevant, is there an easy way to bypass/set longer timeout on the side button's long press action?
It restarts the watch on long press, is there a way to customize that? -
-
-
-
-
Hello, I just gt my bangle.js 2, thanks a lot.
I am trying to play with the touch controller, I read at your info on hackaday on the smaq3, that the interups is D36,b ut it does not work for me, this reports nothing on touch.
lala=setWatch(function(s){
print("lala");
},D36,{repeat:true, edge:0});this is my info, any idea as to what I may be missing?
VERSION: "2v11",
GIT_COMMIT: "531080858",
BOARD: "BANGLEJS2",ps. also, I get this message when tryin to run a watch on pin D39:
WARNING: No free GPIOTE for watch
I have seen that before on fanoush's builds for the rock/magic when over 4 watches are running. -
-
Hi, I am using the p8 watch as a dash for electric unicycles, not very similar to the bangle.js, no gps or compass, and a monopole for the antenna, not very precise in shape or length like Fanoush said . I was too having signal problems when in open space (less reflections, more environment/motor noise).
The p8 has good bt signal, some 10 meters indoors, yet I wanted more to keep a solid connection outdoors, so I played a bit with the monopole length. It is possible to get it to a phone level signal, the best way is trial and error, start with the longest length you can fit in a nice shape and trim off mm by mm, till you get the results you need.
I looked at the disassembly video of the bangle.js. and I cannot see the bt antenna.
https://www.espruino.com/Bangle.js+Disassembly
I also see it has a metal bottom cap, this may explain the bt range problems. I thing it is worth the trouble to try and find the antenna, and maybe change it to a monopole and move it to the front somehow, it may help others too.this is a p8 in action :)
https://www.youtube.com/watch?v=mjdcSiPKgE4
-
It's funny how things just fall in place with this project, the solution to the bridge puzzle was in front of my eyes. :)
One of the wheels, the segway/xiaomi/ninebot Z, uses the nordic chipset with the default serial service. So by emulating this wheel, I can now have any program connect, no changes to the app or espruino needed :)
-
I also want to thank @Fanoush, we have not finished the inmotionV11 client yet, this is why I haven't already posted about it, but the image is stable with a 59 bytes long mtu.
Thank you both very much.
-
-
yes, your software is super, it is updating a bit slow but that is me. :)
I will continue with the bridge, it will be useful for adding say a dsd6 inside the helmet only for receiving alarms from its buzzer. Later it will be really nice if I could add those characteristics so that the the phone app can connect without changes.
this is a small video of the wheels settings menu, garage and all. :D
-
I did it my self on wheelllog since it is open source. But the eucWorld app, which is based on wheelllog is not open source, and it it the only that I care about having because of its logging and online maps features. Also I think darkness bot, the dominant iphone app, has the same checks.
But in any case, it is more of a "wanting to do" thing, I wanted to make the bridge work, and it drove me mad that I couldn't. Now that I know why it did't work I am feeling much better.
I will continue working on it and when it is finished with the menus and all, I may ask for some more help.
-
Thank you @fanoush, it's good to know that it can be done. :)
Espruino is only missing 0x2A02 0x2A03 and 0x2A05, their value is not used, just their existence.
Hello again, just wanted to share an idea, this is based of the dsd6 I got sometime back from @fanoush, using espruino of course. The ball is a flower pot from Italian maker bama, it is a bit small, 40cm diameter, but otherwise very nice for a cat bed or litter box, and well priced, so it gave me the motivation to make it automatic. Everything else is paper, resin and some polyester coating. The servo is one from AliExpress, 30 euro, 12volt 150kg, I am running it at 5volts, only using a max of 5watts for moving 3.6 litters of sand.
I will upload the code later, but it is not the strong point, I believe it is very cleaning friendly, very simple on using and maintaining.
I uploaded my endeavours in this Greek version of channel4 forum, in Greek but there are some photos, If anyone cares on the how to, I will be happy to share my problems and solutions.
https://www.phorum.com.gr/viewtopic.php?f=43&t=50568
this a simple demo run, is is designed to allow for as simple ball placement/removal as I could think of.
https://www.youtube.com/watch?v=u9RIlObnvNE
this shows how the scoop is removed and the sand emptied, for deep cleaning.
https://www.youtube.com/watch?v=7z5zREmaqtM
and this is an not so happy to be on yt cat, but she did go while I was filming the demo, so here she is.
https://www.youtube.com/watch?v=D4g8feknsxU