Jump to content
Sign in to follow this  

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!





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:



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






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



Controller front


^^^ 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.





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




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.

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...