DIY Standing Desk

If you work at your desk all day without getting up and moving around regularly, you’re not doing your body any favors! In the last couple years, I’ve tried moving around more while on conference calls and sitting in different locations (which is really easy at home, but in our new collaboration spaces at work it’s super easy too). Last year, while in the office, I used one of the sit/stand desks. I was surprised that after using it for an hour in stand position, I was still standing without a desire to sit (from my feet or my brain). I felt more focused standing, and when my feet and back told me it was time for the chair, I did it long enough to feel rested and did more standing. I didn’t like that the sit/stand desk had no keyboard tray, but it did go pretty low, so it wasn’t an ergonomic disaster-just not quite optimal.

The next day, I started researching buying a desk for home and found it’s pretty easy to spend between $600-900. I’m a person that always likes to make things my own, whether that involves customizing them or building them. I started looking for options to build a desk from a frame, and it turns out a few companies offer their desks without the top for people like me. I searched quite a bit to find a desk that could handle a decent weight, had good reviews online, and more than a 90-day warranty. After a lot of searching, I found a deal on Amazon. It was the… It was on sale for $279 and had an extra 20% cash back. I ordered it Friday and it appeared Sunday morning! I wasn’t ready with a top, so I cut a bit off a piece of plywood in my leftover stack in the garage to use in the meantime.

IMG_1508

IKEA Top with four coats of wipe-on poly

For the top, I wanted to go big. My current desk in my home office was a standard computer desk, about 4 feet wide and 20 or so inches deep. Most the ones online offered a 30×60 size which sounded amazing. I wanted a nice clean look – something with some nice grain patterns, not dark. I found my local IKEA store sold an unfinished solid wood butcher block top. I put three coats of poly on it to make the wood colors pop without a glassy finish. It was simple to mount (like < 30 minutes) and then I just had to attach the controls to the front of the desk. I found a great standing pad that I stick under the desk when standing and it’s worked out great. I found generally I like to stand 2-4 times a day for 45-60 minutes. I think that’s a great compromise for an information worker and I think the look turned out great.

IMG_1509

Since the picture above, I 3D printed some cable management guides, mounted the power supply, and printed an under mount hook for my over the ear headphones (I call them the focus-phones)

Here are the parts I went with if you want to follow my path. The total for everything was under $400.

Using OctoPi with USB Camera

OctoPrint is an amazing little app with a simple web interface that controls your 3D printer. It has the ability to manage your gcode files or even take STL files and “slice” them into gcode files (which I’d never use since I like to visualize the layering in a tool first). OctoPi is a Raspberry Pi distribution of the tool that runs on the Pi. I had an older Raspberry Pi B that was perfect to throw at my need to remote control/monitor my longer 3D prints.

FullSizeRender 17

View of interface on iPhone

Disclaimer: I know the Raspberry Pi camera using the camera interface is “the way to go”. But an older camera you have (or $5 Playstation Eye camera) is worth a try right? No way, CPU will be too high, you won’t have enough USB ports, system will run too hot, will cause printing to pause … or will it?

The way OctoPrint integrates with a camera is by pulling into its page a video stream from mjpg_streamer (a web server running on a different port). This tool takes content from your web camera and creates a web video stream.  This software is distributed with the OctoPi build, no extra install required. Building the stream is a much more efficient if your camera is newer and has support for MJPG – otherwise you’re using YUYV encoding and the Pi has to do a lot of extra work. Nevertheless you can make this work. I use the following options to run the streamer:

./mjpg_streamer -i "input_uvc.so -f 1 -q 50 -y -r 640x480" -o "output_http.so -w ./www"

The important parameters above is the “-f 1” which says do one frame per second (I’m not looking for high quality video – I just want to see if print has lifted and get a feel of progress). The “-q 50″ controls quality of the result compression.

You can update settings in /boot/octopi.txt so these are used by default. This can be done by ssh to your machine or shut the machine down and edit the file on your computer after putting in the SD card.

camera_usb_options=”-f 1 -q 75 -y”

The advantage of changing the settings in the boot config file is every time you unplug the camera the process dies, and when it starts it will use this setting (there is a background process called “webcam” that handles this).

I tried changing the resolution and surprisingly  didn’t find a change in CPU usage so opted to keep it. As far as CPU, the system is running high at 85% and most of that usage is from the mjpg_streamer process.

Command to check temperature:
vcgencmd measure_temp

So yes, it runs the CPU pretty high (80%+) and the temperatures run a few degrees higher (but at 54’C well below limits), and the initial OctoPrint interface loads a bit slower. If you don’t want to spend money on a $30 Pi camera or a more expensive USB camera I think you can make it work.

Useful Documentation Page on Settings per Camera

Monoprice Select Mini 3D Printer Experience

IMG_0578I’ll admit, when I bought the Monoprice Mini Select 3D printer, I knew almost nothing about 3D printing. That won’t get you very far after you unbox the printer. There are some basics you need to learn to get good prints.

Once you have a 3D model in a print file format like STL you still need to put it in a program to tweak for your printer settings that has a slicer that creates a file usable by your printer. Beyond that, many prints require extra work to determine the thickness of walls that will look nice, supports for prints that have large overhangs, and more. It’s not rocket science; you just need to learn how the process works.

Thankfully, this printer has a lot of online help from owners on G+, Facebook, and especially YouTube.

Here’s a print session for a Pi Zero W case I found on thingiverse.com.

Tuning PID for Better Temp Control

Apparently, the out of the box temperatures for printing for this printer can fluctuate a lot. Most control systems use a PID controller to constantly measure the target values and use specific values for this (specified by the letters PID in the acronym). The good news is that you can tweak this printer’s values to get better results. I did this before my first print. Resources below:

While you can probably put these commands in a.gcode file and print them, I used this software to set the values. http://www.pronterface.com/

Printing Hints I’ve Discovered

  • Skip using the SD card and printing from the printer menu. Sometimes prints hang if you don’t upgrade the firmware (wanted to stay out of the box initially). Print from a computer with Pronterface (above) or even better, use Octopi (what I do now). Don’t use Cura on Mac to print; it just pauses every 10 seconds.
  • Use a good “slicer” application to create your print files. I do like Cura, and it’s available on Mac and Windows. If longer items can fit sideways, they’ll print faster. Have an item too large for the bed? You might be able to rotate it slightly to fit diagonally.
  • Print the first layer SLOW-half speed-on anything long or with quick angle changes.
  • Watch the printer. It can go bad. Octopi supports a camera!
  • Prints don’t stick without some help. Use a “raft” with your print if it doesn’t cover much surface area, and generally always use a light layer of glue stick on the tape on the bed.

The Octopi interface is great and works from any device anywhere. Why be tethered when you can watch remotely?

My Impressions

While I got some great prints with a little tweaking, I’m a bit concerned that this printer could be a black hole of my time doing mods. Apparently, Monoprice has a new model coming out in a few weeks that has many of these community mods built in, and most importantly, a replaceable hotend. I can already tell I’ll need to reroute the cables under the print bed (not attached correctly), install a stabilizer, and a couple other items. I may take advantage of Monoprice’s 30 day satisfaction guarantee and wait for the upgraded version to save me some time (and money in the long run).

Good luck!

My Nashville Visit

My wife and I had a few days to getaway and decided to checkout Nashville. I put together a few notes of what was great for us in case you are considering a visit Nashville is fun even if you aren’t a hard core country music fan (we aren’t), however if you detest country music that may lessen some of the fun I’ll recommend.
photo 1Where to Stay…
If you don’t mind dumping $200 a night the Opryland Hotel is very nice, has beautiful indoor gardens (but overpriced food).  If you plan (and you should) on visiting the Opryland theater it’s practically in walking distance (they have buses or you can drive). The hotel even with conferences going on and the CMA music festival starting didn’t feel overwhelming – probably due to the size. It is the largest non-casino hotel in the Continental United States outside of Las Vegas.  Rooms were immaculate and nice, service great. It was nice to get away from the city and have a place to hang out – if you prefer to spend most your hangout time in a honkeytonk bar stay downtown Nashville for sure. If we went back we’d probably stay downtown or at a B&B near the city (but we liked Opryland).

Coffee…
If you like coffee you must visit Barista’s Parlor. It’s in an area outside downtown in an old commercial garage. Don’t let the location or lack of signage from the road deter you – it’s one of the few coffee shops I’ve ever visited where all the employees were passionate about coffee and I’ve never witnessed such meticulous preparation (even in my own kitchen). The espressos are sweet and flowery and the coffees are not dark and full bodied but I think anyone would enjoy them. The strawberry waffles were quite good (both times!). I tried to visit Crema but they were closed … looks like a must-try. photo 4

What to See…
I’d start my trip to Nashville with a tour, and I’d HIGHLY recommend the …. Walkin’ Nashville Tour I’d facebook message Bill after you sign up and ask him for any great local shows going on – he knows the best (and sometimes free) unique shows. There is a segway tour also but a lot more pricey and probably not as colorful as Bill’s tour. If you have time get a tour of the famous Rayman auditorium – it’s a corner piece of the town and country music (Bill takes you there but not IN on his tour). The replica of the Parthenon in Millennium Park is worth checking out. It’s $6 to go inside but well worth it IMHO. A wide angle lens would be nice for the inside. We saw the famous “Grand Ole Opry” show and it was quite a fun experience. Go ahead and bring your flash camera and check StubHub for tickets if sold out.

Food….
I’d try Puckett’s and go about 7ish so you can catch live music that starts at 7:30. We hoped to try Loveless Cafe (outside city) but was too far and heard of long waits – maybe next time. We had a lunch at Jack’s BBQ which was a local “dive” which was just “ok”. It can be hard to get into places that are popular so I’d recommend not flying it by the seat of the pants (which we did). Try for reservations and ask when live music starts.
photo 3
It seems a lot of things have activity Tuesday, Fri, Sat night. Many places in Nashville seemed closed Monday. I probably wouldn’t do a Wed/Thursday visit personally. We did a Mon-Wed visit and it was good we had Tuesday!