Jump to content
Sign in to follow this  
username

DIY Walking Desk (WIP)

Recommended Posts

Use information from this tutorial at your own risk to yourself and your device :tongue:

 

Its no secret that most of us nerds don't get enough exercise. A handy way to get that is exercising while nerding out on the PC which treadmill desk. Or a dog.... http://xkcd.com/1329/ .  The issue is that with most treadmill desk tutorials out there is that there all about building a desk platform on the existing bars/display of the treadmill. This is annoying cause I already got a desk that I like and I don't want to make another one on top of a treadmill. I kinda suck at mechanical stuff anyways so I figured it be easier to hack the controls of the internal controller. Turns out, it wasn't so bad. 

 

I'm using the Gold Gym 420 treadmil from walmart. This thing costs about 380 something USD (ouch!). I couldn't find a good cheapie on cregs list and the beauty of the 420 treadmill is that it doesn't rely on the vertical bars to support the platform thus making it insanely simply to convert to a treadmill desk. One simply skips the assembly and designs a simple control board and presto you are done!

 

http://www.walmart.com/ip/Gold-s-Gym-Trainer-420-Treadmill/27407264

post-664-0-54887800-1393822151_thumb.png

 

Thankfully this treadmill is well designed and consequently is easy to control. It uses a standard 100mil spaced header and only uses 8 wires. See picture:

post-664-0-99125600-1393822253_thumb.png

 

Starting from right to left, here is the pinout:
1. Black --> GND
2. Pink --> 12V
3. Green --> 3.3V (you must source this, ideally get it from the 12V)
4. Blue --> Speed Control, 1.5V Signal, PWM (3.3V IO through 1kohm resistor seems to work)
5. Orange --> Incline Control Drive+
6. Yellow --> Incline Control Drive-
7. Purple --> Incline Control Encoder Feedback
8. Black --> Ground

 

Speed Control

 

The speed control on this device is elegant and simple. It is controlled through a
simple PWM controller where the +%duty cycle correlates to the speed. The frequency
is 20hz and 10ms on correlates to 1mph. The speed then increases by 0.4ms per 0.1mph
increase. Consequently, 3mph = 10ms + (3-1mph)*10*0.4ms = 18ms positive pulse width.
See screenshot below for reference. This screenshot is going at 1.3mph

 

post-664-0-94252000-1393822536_thumb.png

 

Todo

 

Incline control walkthrough

Add distance & Calorie burn support

Add 802.11 support to send exercise information to the cloud / Xlivley

 

Interface Control board

 

Commands will be sent through a NRF24L 2.4 GHz to a dumb controller that will simply pulse width modulate accordingly  to the speed sent. The main controller will be the same controller I designed for my smart Scale. It has 2.2" touch support, 2.4Ghz NRFL24 support, as well as 802.11 support.

 

Controller back

post-664-0-11910600-1393822719_thumb.jpg

 

Controller front

post-664-0-25847400-1393822964_thumb.jpg

^^^ I'm happy with this control board I designed. It can control my reflow oven, works as a lazer power meter, works for my smart scale, and it works for my smart treadmill among many other applications.

 

Driver Board:

This was a small wireless IO board I made in senior design to control my coffee maker. Turns out it works perfectly for the treadmill as well. This device is what communicates through the NRF24L module to my display board. This basically goes inside the treadmill to eliminate wire mess.

 

post-664-0-41768500-1393900194_thumb.jpg

 

 

Desk View (sorry for the mess... haven't quite situated everything yet)

 

post-664-0-64415900-1393824669_thumb.jpg

 

More to come as I have time to post it...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...