Still wondering what my secret project is?
An #opensource bike computer.
After weeks of working behind the scenes, today the first functional prototype was tested on the road. Hello world!
Check out https://jazda.org if you want a prototype too.
@dcz oh sick! I'm very much curious about this - I just just looking last week to see if I could hook up my bangle to zwift for heart rate input.
@dcz I've been trying to get back into shape so just been cycling indoors, but if you'd like someone that thinks they have the correct hardware to go out for a ride, let me know :D
@jonbro Which bangle do you have? This is effectively the same hardware, except we also sell a kit to reflash it.
@dcz banglejs2 from the kickstarter last year - is there a specific hardware edition I need?
and full reflash, exciting!
@jonbro This should be the same hardware, except for the temperature sensor. I could arrange to get you a flashing kit if you're interested.
@dcz sounds good - flashing kit was something that could be done over the existing exposed pins iirc?
yeah, I'm in - let me know.
@kinetix Nope, the community lists my email address. Perhaps I should make it clearer. Feel free to send me a personal message - a shop page is in the works right now.
@dcz Interesting. But even your project pages give very unclear information.
@jirka Oh yes, I put them up in haste, will improve in the next few days. What information should I add?
@dcz Any details are welcome - some more info about the prototype hardware will be the most interesting for now (I think).
From the description at the website I am not sure if it will be a stand-alone device or it will always require to use GPS and other sensor form the smartphone.
@jirka Ah, I see. It's a bit of an open question because it's up to you what apps you write.
But officially, I plan to always keep it useful as a standalone thing.
It has builtin GPS btw.
The hardware is this https://www.espruino.com/Bangle.js2
Thanks for the feedback, I'll try to add the missing info.
@dcz Thanks! Standalone device is very interesting for me! (and I hope that also for many others)
@dcz oh this is awesome!
I would've expected pine64 to take a part in this, but this is fine too!
Good luck! I've bookmarked your site for my future pocket money.
@dcz Looks super cool! I was hoping my (incoming) Librem 5 would double as a bike computer, though I'd currently be terrified to risk it on a bike...
@dcz this is amazing! Using a smartwatch is an ingenious idea. Many of the DIY cycling computers I've seen so far have used things like an rpi or esp32 + some 3d printed case that would barely survive 1 minute on a soggy ride.
@craftyguy I made some test versions based on a different project before. they survived about 10 minutes on a dry ride.
That being said, a smart watch is not so great for iterating on the design, it's pretty much set in stone. I'd really like to have USB access here. And a buzzer.
@dcz by "buzzer" do you mean audio?
@craftyguy Yes. It's not always safe to look at the device, like going downhill or in traffic. But real time information is still important even then. I think beeps might be useful for minimal feedback.
@dcz yeah I agree, I currently have my cycling computer set up to play a loud noise to remind me to drink water 😁
Oh wow, i was searching for something like it a month ago 😮
@dcz Cool, I am also working on building a (Pi Zero) based bike computer.
Can you be bothered to move development to a less hostile platform than GitHub?
I, for one, tend to work with contributors younger than 16 years, who are locked out of GitHub (among many other people).
@codeberg is a really good and open solution!
@Natureshadow @codeberg
I will look for a friendlier platform for the bike computer-specific pieces. Thanks for the recommendation.
As for the core infrastructure like the kernel and flasher, I rely on the #Tock project, and want to be a good citizen by contributing my improvements back to them. So there's not much choice :)
@Natureshadow @codeberg I'm completel open to mirroring, but I don't have the experience. Do you want to help out?
@Natureshadow @codeberg Thanks. I think I might go for some gitlab (Framasoft?) because I want to make heavy use of the builtin CI.
@Natureshadow
Please note that we disabled mirroring https://blog.codeberg.org/mirror-repos-easily-created-consuming-resources-forever.html
So we require users to manually mirror with `git push --mirror`.
But otherwise, pushing back to upstream is possible, we also have our Gitea fork on our server and pushing to a fork on GH if we want to upstream a patch.
@dcz
@Natureshadow
Yes, push-mirrors to a remote are available in the repo settings.
@dcz
@Natureshadow
Yes. We should update the blog post, the push-mirror feature was added later :)
@dcz
@dcz is the hardware open source too? Or just the OS?
If so, I couldn't easily find the repository with the CAD files.
@AgreeableLandscape The only open hardware is the USB breakout board.
I would like to build actual bike computer hardware (bigger screen, dynamo attachment) at some point, but first things first.
@dcz thanks for clarifying. I wish you the best in your ultimate goal!
@dcz Interesting project! If necessary I volunteer to test it from France.
@dcz https://github.com/dcz-self/libtock-rs says: "The library works in principle on most boards, but there is currently the showstopper bug #28 that prevents the generation of relocatable code. This [...] usually means that [applications] must be compiled especially for your board and that there can only be one application written in rust at a time [...]." Does this affect the development of jazda apps?
@underlap Yes, I'm working on a solution. Before then, only one app can be installed. But that's fine for now because there's stilll ots of stuff missing :P
@dcz @icewalker1974 Is that something for you?
@silkevicious I think ANT+ is supported by the chip, but the protocol is proprietary and I don't care about licensing or writing software for it when Bluetooth exists.
@dcz Amazing, and great that you are this far along! I have an odd bike (hub dynamo in front, hub gear in back, lazy rider) so I'd be delighted to help test. Sooo many questions!!
@yetiinabox It's only the beginning!
@yetiinabox @PINE64 It's a cool project, but the display is not sunlight-readable without a backlight, which ensures short battery life.
@dcz ...and what speed sensor are you using/planning to use? My front dynamo hub confuses the hub-mounted Garmin speed sensor...it frequently tells me that I am travelling at 75kph, which would be pretty impressive...
Having hacked on this for an entire week straight – "no cycling before parsing NMEA sentences!" – I think I'm going to take a break tomorrow. On the bike, of course.