Search
Notices
Electronics, Lighting, & Gadgets HRM, GPS, MP3, HID. Whether it's got an acronym or not, here's where you'll find discussions on all sorts of tools, toys and gadgets.

Man vs. Computer

Thread Tools
 
Search this Thread
 
Old 05-18-19, 09:56 PM
  #1  
UniChris
Senior Member
Thread Starter
 
UniChris's Avatar
 
Join Date: May 2017
Location: Northampton, MA
Posts: 1,909

Bikes: 36" Unicycle, winter knock-around hybrid bike

Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 930 Post(s)
Liked 393 Times in 282 Posts
Man vs. Computer

So I had this little coin cell wired cycle computer, that's always been a bit flaky. Last summer I broke the cable and so the weekend before my first Century I took apart the base and re-wired it, and it seemed to work.

Unfortunately, the next morning when I twisted it into the holder in the 5am dark, the screen cut out. Tried it a few more times, then undid the ties and electric tape, stuffed it in my bag and rode un-instrumented.

Just found all the pieces again tonight, and tried to fix it. Same behavior - works fine, twist it in the base and the screen cuts out.

This was really puzzling. I tried putting tape over the electrical contacts, so it shouldn't even "know" if it's in the base - but same issue.

Squeezing it in various ways couldn't cause the problem.

Re-bent the battery contacts, taped some cereal box cardboard on the foam battery pusher in the coin-screw cover, nope, still has the problem.

Noticed the watch crystal inside might be touching the battery contact, so carefully pushed it out of the way, but no dice.

Finally gave the little spring-contact pins on the back that connect to the base a good solid push individually, and... gotcha! the screen cut out.

Looking through the battery opening, the little springs that push out the nubs sit on the circuit board, and one looked to be just sometimes touching the flat ring that is the base of the battery contact.

Couldn't get anything under the spring through the battery door, so got a knife and cracked the plastic at the mold line all the way around. Put a couple layers of tape between the battery contact and the spring. Re-positioned the spring. Taped the watch crystal, too.

Then I had to spend a good 10-15 minutes trying to find the superglue, that I had just seen last week.

Victory is Mine!

(in all seriousness, I'm sure it will find another way to break tomorrow)
UniChris is offline  
Old 05-19-19, 10:32 AM
  #2  
Aubergine 
Bad example
 
Join Date: Nov 2015
Location: Seattle and Reims
Posts: 3,042

Bikes: Peugeot: AO-8 1973, PA-10 1971, PR-10 1973, Sante 1988; Masi Gran Criterium 1975, Stevenson Tourer 1980, Stevenson Criterium 1981, Schwinn Paramount 1972, Rodriguez 2006, Gitane Federal ~1975, Holdsworth Pro, Follis 172 ~1973, Bianchi '62

Mentioned: 36 Post(s)
Tagged: 0 Thread(s)
Quoted: 816 Post(s)
Liked 175 Times in 83 Posts
Great story!
__________________
Keeping Seattle’s bike shops in business since 1978
Aubergine is offline  
Old 05-19-19, 11:51 AM
  #3  
wphamilton
Senior Member
 
wphamilton's Avatar
 
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280

Bikes: Nashbar Road

Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times in 228 Posts
You win! But it would have taken a minute to buy a new one on Amazon for $12.50 and your time is worth more than that. Clearly, given your troubleshooting skills.
wphamilton is offline  
Old 05-19-19, 02:48 PM
  #4  
UniChris
Senior Member
Thread Starter
 
UniChris's Avatar
 
Join Date: May 2017
Location: Northampton, MA
Posts: 1,909

Bikes: 36" Unicycle, winter knock-around hybrid bike

Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 930 Post(s)
Liked 393 Times in 282 Posts
Originally Posted by wphamilton
You win! But it would have taken a minute to buy a new one on Amazon for $12.50 and your time is worth more than that. Clearly, given your troubleshooting skills.
I actually looked but wasn't finding any wired ones and I've been cautioned against wireless as my wheel to bar distance is larger than usual.

But it was more a draw than a win. I had a speedometer for the first segment of the ride to tell me I've been being lazy, but then it quit and I realized the base had come apart again. Kind of think I should make a new semi permanent mount with the 3d printer which can also make it less of a squeeze between that, the bell, and the brake lever.

I keep meaning to make one from scratch with the software features I want, but then neglect to start the project.
UniChris is offline  
Old 05-19-19, 03:47 PM
  #5  
wphamilton
Senior Member
 
wphamilton's Avatar
 
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280

Bikes: Nashbar Road

Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times in 228 Posts
Originally Posted by UniChris
I actually looked but wasn't finding any wired ones and I've been cautioned against wireless as my wheel to bar distance is larger than usual.

But it was more a draw than a win. I had a speedometer for the first segment of the ride to tell me I've been being lazy, but then it quit and I realized the base had come apart again. Kind of think I should make a new semi permanent mount with the 3d printer which can also make it less of a squeeze between that, the bell, and the brake lever.

I keep meaning to make one from scratch with the software features I want, but then neglect to start the project.
You got me there, because I kept that same project on the back burner for a year (or more ) before finally setting one up. Arduino with a gyro in the wheel, BT to my phone displaying with an Android application. It works, but I've never finished it off because the gyro cannot detect rotational acceleration beyond that corresponding to 26 mph.
wphamilton is offline  
Old 05-19-19, 03:54 PM
  #6  
UniChris
Senior Member
Thread Starter
 
UniChris's Avatar
 
Join Date: May 2017
Location: Northampton, MA
Posts: 1,909

Bikes: 36" Unicycle, winter knock-around hybrid bike

Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 930 Post(s)
Liked 393 Times in 282 Posts
Originally Posted by wphamilton
You got me there, because I kept that same project on the back burner for a year (or more ) before finally setting one up. Arduino with a gyro in the wheel, BT to my phone displaying with an Android application. It works, but I've never finished it off because the gyro cannot detect rotational acceleration beyond that corresponding to 26 mph.
Wow, that's actually pretty close to some of what I was thinking. I was probably going to use an nRF51822 BLE chip for the brains as well as radio. And may well stick with the magnetic reed sensor. But a six axis IMU sensor does give the interesting possibility (for me) of tracking pedal-induced wheel wobble, too. I've sort of toyed with the idea of logging every last wheel revolution in a 16 MB SPI flash, and then post processing to split into riding vs walking vs. stopping.

Topping out at 26 MPH is not personally an issue - as I freak out at about 13. But I wonder, can you switch over to using radial acceleration instead of gyro rotation?

The irony is that this is exactly the kind of stuff I get payed to do, but then I don't get started on the effort to do it for fun, and instead take the slowtime/downtime and go for a ride. Was going to do it over the winter, somehow that didn't happen.
UniChris is offline  
Old 05-19-19, 04:05 PM
  #7  
wphamilton
Senior Member
 
wphamilton's Avatar
 
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280

Bikes: Nashbar Road

Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times in 228 Posts
Originally Posted by UniChris
Wow, that's actually pretty close to some of what I was thinking. I was probably going to use an nRF51822 BLE chip for the brains as well as radio. And may well stick with the magnetic reed sensor. But a six axis IMU sensor does give the interesting possibility (for me) of tracking pedal-induced wheel wobble, too. I've sort of toyed with the idea of logging every last wheel revolution in a 16 MB SPI flash, and then post processing to split into riding vs walking vs. stopping.
You can track some other interesting things also.

Topping out at 26 MPH is not personally an issue - as I freak out at about 13. But I wonder, can you switch over to using radial acceleration instead of gyro rotation?
You can but it's trickier in that you have to subtract other accelerations - in fact I think, going the other way around, I can get instantaneous slope by subtracting the radial acceleration from the accelerometer readings. When you're not turning anyway. But you lose the precision and sampling frequency when you use the radial acceleration (gravity vector flips) for speed which was what I wanted it for, so it's not very exciting to do that.

But if all I want is more-or-less speed, https://www.amazon.com/Bell-Dashboar.../dp/B01BNFZ0H8 I don't know why most of them are wireless on Amazon, which sucks IMO.
wphamilton is offline  
Old 05-19-19, 04:19 PM
  #8  
UniChris
Senior Member
Thread Starter
 
UniChris's Avatar
 
Join Date: May 2017
Location: Northampton, MA
Posts: 1,909

Bikes: 36" Unicycle, winter knock-around hybrid bike

Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 930 Post(s)
Liked 393 Times in 282 Posts
Originally Posted by wphamilton
But if all I want is more-or-less speed, https://www.amazon.com/Bell-Dashboar.../dp/B01BNFZ0H8 I don't know why most of them are wireless on Amazon, which sucks IMO.
Oh, thanks! That's probably going in the "I still won't get my act together before next weekend" order.

I have put some thought into how to do wireless right, specifically counting revolutions and timing recent average intervals at the transmitter and sending that, so it doesn't matter if a packet or two are missed - attaching the wireless remote display to my helmet gets tempting.

Have you considered just adding a reed switch to yours to augment the in-wheel sensing? You could probably even do it backwards, with the magnet on the fork and sensor on the wheel...
UniChris is offline  
Old 05-21-19, 03:43 PM
  #9  
wphamilton
Senior Member
 
wphamilton's Avatar
 
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280

Bikes: Nashbar Road

Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times in 228 Posts
Originally Posted by UniChris
Oh, thanks! That's probably going in the "I still won't get my act together before next weekend" order.

I have put some thought into how to do wireless right, specifically counting revolutions and timing recent average intervals at the transmitter and sending that, so it doesn't matter if a packet or two are missed - attaching the wireless remote display to my helmet gets tempting.

Have you considered just adding a reed switch to yours to augment the in-wheel sensing? You could probably even do it backwards, with the magnet on the fork and sensor on the wheel...
Somehow it's hard to accept adding a reed switch when you're trying to be clever with gyros and accelerometers, but that's a really good idea to get over that last hurdle, and pretty easy compared to the ideas I've been avoiding. I even already have that implemented using a different arduino, that I was just recording to a memory card with and not displaying anything. I could just copy-paste my code, the software de-bounce and smoothing already all worked out, and plug the reed switch in. Thank you for prodding me with that.
wphamilton is offline  
Old 05-21-19, 04:29 PM
  #10  
UniChris
Senior Member
Thread Starter
 
UniChris's Avatar
 
Join Date: May 2017
Location: Northampton, MA
Posts: 1,909

Bikes: 36" Unicycle, winter knock-around hybrid bike

Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 930 Post(s)
Liked 393 Times in 282 Posts
Originally Posted by wphamilton
Somehow it's hard to accept adding a reed switch when you're trying to be clever with gyros and accelerometers, but that's a really good idea to get over that last hurdle, and pretty easy compared to the ideas I've been avoiding. I even already have that implemented using a different arduino, that I was just recording to a memory card with and not displaying anything. I could just copy-paste my code, the software de-bounce and smoothing already all worked out, and plug the reed switch in. Thank you for prodding me with that.
The Bell 150 just arrived - think it is actually the same firmware as the Sunding except without the somewhat convenient backlight. But better physical form.

You've got me thinking Arduino now too, generally I work on things that need to run for half a year, but if I can keep the current under say 20 milliamps I'm willing give it a 400 mAh battery for the present... The display I want to use will probably double that, but I can make it active for 10 seconds at the push of a button or something.

Somewhere around I have a sketch where I just experimented with mocking up what data I wanted to put where on the screen, I should dig it out and see if I can make it actually work...
UniChris is offline  
Old 05-21-19, 05:25 PM
  #11  
79pmooney
Senior Member
 
79pmooney's Avatar
 
Join Date: Oct 2014
Location: Portland, OR
Posts: 12,891

Bikes: (2) ti TiCycles, 2007 w/ triple and 2011 fixed, 1979 Peter Mooney, ~1983 Trek 420 now fixed and ~1973 Raleigh Carlton Competition gravel grinder

Mentioned: 129 Post(s)
Tagged: 0 Thread(s)
Quoted: 4790 Post(s)
Liked 3,918 Times in 2,548 Posts
On topic "man vs. computer" but not bike computers - read in the NY Times today that software is being developed that can look for the trademark markers for lung cancer in the data acquired from CAT scans. Slightly better accuracy than trained human eyes but with the capacity to go through the massive data acquired by the scan that no human could process.

I had my first and second CAT scans in 1977 on a very early machine that allowed the neurosurgeon a view of my brain that not long had never been seen. At the time my dad's company was making full body bone scanners to give much cruder pictures showing cancer in I presume much more developed stages. I owe my CAT scan to my dad's knowledge of them through his work.

Best news I read today.

Ben
79pmooney is offline  
Old 05-21-19, 07:09 PM
  #12  
wphamilton
Senior Member
 
wphamilton's Avatar
 
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280

Bikes: Nashbar Road

Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times in 228 Posts
Originally Posted by UniChris
The Bell 150 just arrived - think it is actually the same firmware as the Sunding except without the somewhat convenient backlight. But better physical form.

You've got me thinking Arduino now too, generally I work on things that need to run for half a year, but if I can keep the current under say 20 milliamps I'm willing give it a 400 mAh battery for the present... The display I want to use will probably double that, but I can make it active for 10 seconds at the push of a button or something.

Somewhere around I have a sketch where I just experimented with mocking up what data I wanted to put where on the screen, I should dig it out and see if I can make it actually work...
I'm just going to buy a $10 android phone and use that for the display. I'd have to charge it up pretty frequently though.
wphamilton is offline  
Old 05-25-19, 11:26 AM
  #13  
fietsbob
Banned
 
Join Date: Jun 2010
Location: NW,Oregon Coast
Posts: 43,598

Bikes: 8

Mentioned: 197 Post(s)
Tagged: 0 Thread(s)
Quoted: 7607 Post(s)
Liked 1,355 Times in 862 Posts
Cool when DNF

The Original Avocet computers were a perfect shape to skip several times ,
across the surface of a pond,

before sinking ..
fietsbob is offline  
Old 05-28-19, 09:59 AM
  #14  
UniChris
Senior Member
Thread Starter
 
UniChris's Avatar
 
Join Date: May 2017
Location: Northampton, MA
Posts: 1,909

Bikes: 36" Unicycle, winter knock-around hybrid bike

Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 930 Post(s)
Liked 393 Times in 282 Posts
Bell computer was fun for the one ride it lasted on Saturday. Come Monday, no registration of rotation. And then I noticed the base that the zip ties goes through had cracked. I'm sure it has nothing to do with my bar ends occasionally impacting the trail, or with the fact that I remove the handlebars for transport, undoing and re-doing the electrical tape holding the cable and sensor to the frame ;-)

So now I have two computers that need re-wiring and re-visioned bases.

Entire span of handlebar to the outsides of the bar ends is under 5" so things are tight (I prefer to go around the bars rather than over them) but mounting the little ding bell upside down cleared some space, now what I think I need to do is fashion something that goes between the bar ends and has the computer sheltered between them in their plane and the bell underneath with lever tab facing forward where I can get it with either fingertip. Also will probably give in and drill a tiny hole in the bar to permit internal routing of the cable.

Last edited by UniChris; 05-28-19 at 10:08 AM.
UniChris is offline  
Old 05-31-19, 12:11 AM
  #15  
ChesterWallace
Junior Member
 
Join Date: May 2019
Posts: 10
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Nice Story.
ChesterWallace is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.