Previous posts for this project:
- [AirCare] InTheAir - Project Description
- [AirCare] InTheAir - Week 1: Getting a Launchpad to Blink
- [AirCare] InTheAir - Week 2: Preparing the Beaglebone Black
- [AirCare] InTheAir - Week 3: Fuel Tank Testing
- [AirCare] InTheAir - Week 4: Using the CC3200
- [AirCare] InTheAir - Week 5: openHAB and MQTT
- [AirCare] InTheAir - Week 6: Accessing Fuel Tank's Data
- [AirCare] InTheAir - Week 7: Dust sensor
- [AirCare] InTheAir - Week 8: MSP430FR5969 with Energia14
- [AirCare] InTheAir - Week 11: CC3200, Energia and analogRead()
- [AirCare] InTheAir - Week 12: Automatically starting some things
- [AirCare] InTheAir - Week 13: GP2Y10 BoosterPack
- [AirCare] InTheAir - Week 14: Ordering Parts and PCBs
Introduction
I missed last week's post, and I'm sorry. I was trying to get the wireless control of the fan using dimmable sockets to work, but just didn't manage crack the coder. You can expect a post about it this week.
For this post, I have something completely different in mind! It's been a while since I used my ShapeOko2 CNC milling machine and since my wife's not home, I can make all the noise and dust I want (I'll have to clean up before she gets home though ...)! The goal was to make a simple panel/enclosure to which I could mount the BB View touchscreen to give it a more finished look.
Waste board
Before getting to the actual milling, I completed a modification to the stock waste board of the ShapeOko2.
I drilled a whole bunch of holes (totally overdid it!) in the waste board and screwed in threaded insert. This will help me clamp down the work piece when milling, instead of using tape like I did until now ... There were about 200 inserts to screw in, so I ended up with a few blisters on my fingers. I'll survive, and I'll spare you the pictures
Inkscape & Makercam
The first thing to do was making the measurements of the screen. The BB View is not symmetrical, a bit annoying but not a problem. Once I had the measurements done and verified, I ported them to inkscape.
The flow is as such:
- a line drawing is made in Inkscape and exported as *.svg
- the *.svg is imported in Makercam
- a milling operation is associated to a line or area
- gcode of the milling operations is exported from Makercam
- the gcode file is interpreted by the GcodeSender application
- GcodeSender passes the commands to an Arduino UNO which controls the stepper motors
Everything went well in Inkscape, but once I imported it in Makercam, the rounded edges caused a glitch:
Errr, right. I tried various things to get that fixed but nothing helped. So instead, I used rounded corners. I wanted to try something different, but as it didn't work, I had to move on and not waste too much time.
That's when I realized I forgot to mirror my design, as the milling will happen on the back side of the panel. And of course, there had to be another glitch ...
What is it today with things going wrong ?? I removed the outer shape and redrew it unmirrored. That did the trick.
Milling
With the drawing finally properly imported in Makercam, I started associating milling operations to the lines.
The inner rectangle needs to be cut out completely. To do this, I used the "follow path" operation which will mill the rectangle for the entire thickness of the piece of MDF.
The second rectangle needs to clear an area for the screen to slide in. This calls for the "pocket" operation.
Finally, the outer edge uses the "follow path" operation to cut out the piece completely.
Makercam visualizes the operations by means of arrows, taking into account the width of the drill bit to determine how many passes are required. With the operations calculated, the gcode was exported and imported in GcodeSender. A simulation can be run to confirm everything is as intended.
All ready to go, I clamped down a piece of MDF to cut out the shape from, set the Dremel in position and hit the "send" button.
By the way: when working with a CNC or any other power tool for that matter, wear protection and be careful! Safety first!
Now, back to milling. Here are some "action" shots of the milling in progress. I regularly took the vacuum cleaner to get rid of the material being milled off.
Result
The result is not bad at all (if I may say so myself). The piece came out clean and only required a tiny bit of sanding.
I'll be milling more pieces to make it a "PiBow" style enclosure in which I can fit all the electronics.
Vote
Your vote counts! If you like my project or anyone else's, don't forget to vote for it! Community Choice Poll - In the Air Challenge
Top Comments