author
1Instructables48,033Views8CommentsJoined February 13th, 2014

Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • sam2b made the instructable Using Zwift With Nearly Any Fitness Device4 weeks ago
    Using Zwift With Nearly Any Fitness Device

    Hi! This was a very fun project to do, except when I encountered bugs in the ant-plus library. When I found this Elliptical machine free on Craig's List I suddenly had a large motivation to use it on Zwift. There are several things I did differently, and make some modifications to a few code files. I had best results with node.js version 6.0.0, and had to perform other commands to finally make it all work. I'm glad you provided what resistors to use, because I have no knowledge of that sort of stuff; I just connected it as you instructed. Using a bread board, jumpers, and hook-up wire is much better. I also found that I needed to experiment with the magnet orientation and distance from the reed switch to avoid double or tripple switching.With time, patience, and some digging, I n...

    see more »

    Hi! This was a very fun project to do, except when I encountered bugs in the ant-plus library. When I found this Elliptical machine free on Craig's List I suddenly had a large motivation to use it on Zwift. There are several things I did differently, and make some modifications to a few code files. I had best results with node.js version 6.0.0, and had to perform other commands to finally make it all work. I'm glad you provided what resistors to use, because I have no knowledge of that sort of stuff; I just connected it as you instructed. Using a bread board, jumpers, and hook-up wire is much better. I also found that I needed to experiment with the magnet orientation and distance from the reed switch to avoid double or tripple switching.With time, patience, and some digging, I now have a lot of fun on Zwift. The included power meter chart feels very close to my ElliptiGo 8C bike, and is close to the speed too. I love riding my ElliptiGo, but during inclimate weather I can still have fun and an excellent workout.In the near future, I would like to publish a different version of this project and give credit to you. Thanks!

    View Instructable »
  • sam2b commented on AndreasO1's instructable Using Zwift With Nearly Any Fitness Device4 weeks ago
    Using Zwift With Nearly Any Fitness Device

    Hi, I solved the problem. This error was because of a bug in ant-plus.js missing this line in the module.exports = { } block:Messages: Ant.Messages,There were other specific setup stuff I had to do differently than this document, so a little later I will send you the suggested corrections.

    View Instructable »
  • sam2b followed AndreasO15 weeks ago
      • Zwift Ambilight and Heart Rate Zone Smartbulb Lamp
      • Extension Sensors Nodemcu ESP8266 for Weewx
      • Using Zwift With Nearly Any Fitness Device
  • sam2b commented on AndreasO1's instructable Using Zwift With Nearly Any Fitness Device5 weeks ago
    Using Zwift With Nearly Any Fitness Device

    I have problems with the code and libraries. I hope you can guide me to the source of the issue, please. I'm using a CYCPLUS U1 usb ant+ stick on a Raspberry Pi 3, and latest Raspbian version and updates.Installed node.js 8.1.1 with these lines: sudo su - apt-get remove nodered -y apt-get remove nodejs nodejs-legacy -y apt-get remove npm -y # if you installed npm curl -sL https://deb.nodesource.com/setup_7.x | sudo bash - apt-get install nodejs -y node -v v7.10.1 npm -v 4.2.0Then I copied the code to my raspberry pi 3:1) Cloned ant-cycling-power2) Copied SpeedMeter.js into that folder.3) npm install rpi-gpio4) npm link rpi-gpio5) npm install ant-plus6) npm link ant-plus7) Finally, I run sudo node test.jsMy errors are this:pi@raspberrypi:~/ant-cycling-power $ sud...

    see more »

    I have problems with the code and libraries. I hope you can guide me to the source of the issue, please. I'm using a CYCPLUS U1 usb ant+ stick on a Raspberry Pi 3, and latest Raspbian version and updates.Installed node.js 8.1.1 with these lines: sudo su - apt-get remove nodered -y apt-get remove nodejs nodejs-legacy -y apt-get remove npm -y # if you installed npm curl -sL https://deb.nodesource.com/setup_7.x | sudo bash - apt-get install nodejs -y node -v v7.10.1 npm -v 4.2.0Then I copied the code to my raspberry pi 3:1) Cloned ant-cycling-power2) Copied SpeedMeter.js into that folder.3) npm install rpi-gpio4) npm link rpi-gpio5) npm install ant-plus6) npm link ant-plus7) Finally, I run sudo node test.jsMy errors are this:pi@raspberrypi:~/ant-cycling-power $ sudo node test.jsstartupMax channels: 8/home/pi/ant-cycling-power/power-meter.js:15 stick.write(Ant.Messages.assignChannel(channel, 'transmit')); ^TypeError: Cannot read property 'assignChannel' of undefined at GarminStick2.<anonymous> (/home/pi/ant-cycling-power/power-meter.js:15:30) at emitOne (events.js:116:13) at GarminStick2.emit (events.js:211:7) at GarminStick2.USBDriver.read (/home/pi/.nvm/versions/node/v8.11.1/lib/node_modules/ant-plus/build/ant.js:527:18) at InEndpoint.<anonymous> (/home/pi/.nvm/versions/node/v8.11.1/lib/node_modules/ant-plus/build/ant.js:374:23) at emitOne (events.js:116:13) at InEndpoint.emit (events.js:211:7) at Transfer.transferDone (/home/pi/.nvm/versions/node/v8.11.1/lib/node_modules/ant-plus/node_modules/usb/usb.js:328:9)I tried to investigate, but I cannot figure this out. :-(

    View Instructable »
  • sam2b commented on AndreasO1's instructable Using Zwift With Nearly Any Fitness Device5 weeks ago
    Using Zwift With Nearly Any Fitness Device

    Hi, Andreas. Thanks. I made this project recently (thanks to you), however I struggled with understanding your English and grammar. I request your permission to re-write the instructions, diagrams, and code, or your permission for me to publish a new version this document while giving credit to you? I found there are some key things in this document that should be a lot more clear and specific. Fortunately I was able to overcome obstacles through intuition and some experience, but other people might not have success without clarification and better words and pictures. I also modified the code a little. I'm also hoping to add support for automatically changing the level based on the the % grade incline of the road if possible. Please let me know. Thanks! :-)

    View Instructable »
  • sam2b commented on AndreasO1's instructable Using Zwift With Nearly Any Fitness Device5 weeks ago
    Using Zwift With Nearly Any Fitness Device

    What voltage should I see on a voltmeter after I used the voltage divider circuit? In your case, you say you need it because your Elliptical machine's voltage is 5.5v. So what voltage are you hoping to have by "dividing" it?

    View Instructable »