project


In my previous post I described the design process I went through in selecting the right components from my Rallylog that would fit into the Sparkfun Project Case, all while mounted on a PCB.  What follows is the process of getting the actual case machined with my Zenbot CNC machine.

How am I going to machine this thing?

I didn’t tackle any machining until after my PCB design stabilised (three revisions) but the day did come when I had to work out how I was going to automate the machining of the project case.  As I previously mentioned in my last post that I was going to use my ZenBot Mini CNC to do the work, I just need to figure out how it was going to do it. 

To tell the truth I have hardly used my CNC other than for prototype PCB isolation routing.  I had never used if for cut-outs or any 3D machining.  One thing I needed was a way to produce my tool paths or G-Code that Mach3 uses, Mach3 is the controlling software I use with my Zenbot.  It takes the G-Code and handles all the X,Y,Z movements. I could hand code G-Code but, hey, I’m not that good!!!  So I needed some CAM software  Alibre does have a CAM option, but I had a heart attack when I received the price, so after much googling I found Cambam,

The Fixture

As I mentioned I needed a way of holding the Sparkfun project case in a repeatable way as I need to machine 10 of these, also I was going to be doing the machining from the inside of the case, this way I could pocket around the LCD at the same time as I did my cut-outs and light pipe holes, all in one hit.  So some sort of fixture was called for…..

I decided to mill out the profile of the top spark fun case to create a fixture where I can just drop in any case top lock it in and then press the ‘go’ on Mach3.  To do this I imported the Sparkfun 3D STL Model that I used in Alibre, again I had some issues of the “standards” and used a open source program called Meshlab to first import in the STL model with the clean-up enabled then to save it as a new STL.  This work and I now had the Sparkfun project case in the CAM software

image

Some of the traps I found is that the model needs to be aligned with the Z-Axis 0, this is how the Cambam sees the top of the work piece.

Cambam has a handy function for exactly what I want to do, this “Mold” function, allows a mold to be created from the 3D object, and by varying the Clip Areas I can control how deep I want my mold, in this case just 3MM so I can get the Case top to sit nicely in the fixture.

My Zenbot can only take a max shank size of 1/8 as I had initially replaced the Dremal for a Wolfgang Engineering Spindle for my PCB routing, for those interested these spindles Rock!!! the spinout is incredibly tight.

Creating Tool paths

I first created 2 tool-paths in Cambam, one to rough out and remove most of the material quickly with a 3.175mm end mill (1/8)  and a second tool-path to finish with a ball mill to do the edge profiles.  Cambam generates the crossovers and the plunge rates based on the tool size.

image

image

image

Setting Machine Origin

Another feature of Cambam is I can set the machine origin, this is the origin of all the Axis (X,Y,Z) in relation to the work piece, now I have the way to repeatedly setup my work pieces by referencing everything back to this origin mark (red X below).  If I marked this on my fixture all I have to do is zero my Zenbot to this origin before I run the job and everything will be referenced correctly.   In this case it’s 5mm below the work piece corner.

image

Machining the Fixture

 

I had some scrap plastic board that came with some flat packed furniture that was to become my fixture.  Below you can see the rough tooling has finished and it running the finishing tool-path.  you can see where I marked my origin in the bottom right of the work piece.  I use this to Zero Mach3.Sparkfun fixture

Zenbot Maching Sparkfun Project Case Fixture

 

Perfect fit, no slop or play, I did re-jig my tool paths to go down another 1mm in depth so the inside of the case is aligned with my Z-Axis Zero (or the top of the fixture) that makes things easier when I go to do my cut-outs and pocketing.

Test fit

Machining the Project Case

Now that I had my fixture for the actual case I needed to work out my cut-outs, drills and pocketing, using the same project file in Cambam that I used for the above fixture machining, I created addition layers for my cut-outs.  This was good as I could see where everything was located in relation to the 3D model, I used measurements from my Alibre model to place the Circles and rectangles that were to become my machining profiles. 

The only gotcha is that you have to think in reverse as I’m machining from the inside.  Below are the cut-outs and drill points for the light pipes

 

image

This is with the pocketing areas added.  I decided to add the pocketing around the buttons as well just in case. 

image

With the machining tool-paths added, Cambam also has the ability to add tabs in the cut-outs so the work wont foul you bit.  I decided to try this.

image

The Results

I’m very happy with the way everything has worked out.  By putting in the extra work in the design stage it seems to have paid off, the Sparkfun Project Case fitted my assembled PCB like a glove, everything aligned up perfectly.

Here is the final result with cut-outs finished, light-pipes installed and the pocketing for the LCD and switches, the actual pocketing for the switches was not needed so the 3D model was fairly accurate.  I didn’t photograph any of the cutting in actions so will post a few more when I finish the rest off.

Result cutout and pocketing

I used the same procedure to machine out the end piece from my USB and SD card, that is: mill a mould fixture with a known offset and then generate tool paths within cambam for the cut-outs.

Case and Assembled PCB

Project case end

This is showing my REV B PCB in the case, this had the range issue and the separation of the ground plane below the ID-20 reader corrected the issue.

Snug home

Front with LCD installed

Side profil

Side profile

Light pipes and LCD working, showing a card read under my test program.

Led working

project


Introduction

Rallylog is an open hardware project that is used in Rally time trial competitions.

Project Home : http://code.google.com/p/rallylog/

Specifications

  • RTC with battery backup
  • SD Card Data Logging
  • RFID
  • LCD
  • Battery Powered
  • Low Powered Handheld device
  • Atmega328P
  • USB
  • Arduino compatible

project


Hardware

Strobit Wireless Widget

Wireless Widget

Rallylog

Makecontroller

CNC

Picaxe

CAD

Eagle3D Parts

project


The Strobit Project now has some Google groups enabled.  Feel free to join these and take part in the discussion.  I will leave the old forums up for archival/historical purposes, but will become read only eventually.

See Strobit Project Page for the groups.

project


StrobIt & DIY Triggrs seen in the Wild

By Jan: http://www.flickr.com/groups/strobist/discuss/72157604849899233/

By Psinewave: http://www.flickr.com/groups/strobist/discuss/72157605520115509/

By JKingdon http://www.flickr.com/photos/74697159@N00/2909870514/ (Very Cool – Trigger and Remotely set power levels of up to 4 flashes)

By Till Hamburg http://code.google.com/p/strobist-project-opensource-trigger/ Nokia LCD and power control of remote strobes

project


Well there aren’t really any downloads for this projects just yet.

However for the prototype based on the PIC16F88:

  • Drawings are available here
  • BoostC source code and Eagle files are here .

If you have any questions please contact me via the contact form.

project


Introduction

20/03/09 *UPDATE * This project now has a new home and is actively being developed on Google code project hosting http://code.google.com/p/strobit/

IMPORTANT    This page is no longer being being maintained please go to the new project page.

Welcome to the Strobit Triggr Project, an open source hackable wireless trigger used in photography lighting by using low cost strobe units triggered remotely via RF. This was started while trying to find a cost effective and reliable solution to the commercial alternatives out there. At one end of the market is the Ebay or Cactus Trigger, which is low cost but rather unreliable. At the other end of the market there is the industry standard, Pocket Wizards, very reliable, but very expensive (i.e. way out of my price range).

What I wanted to do was to create an open platform that anyone can easily build for a low cost and then be expand upon by the community. The pair of prototypes I’ve built were a proof of concept that I can get a camera to trigger a strobe unit reliably at a low cost. From early tests it appears that I’ve succeeded in my goal, but further testing is required.

triggr0103

Project Status :

- Prototype successfully working in single master/slave configuration !

- (20/03/2009) Project now has a home at Google Code – http://code.google.com/p/strobit/

Still Todo:

  • Specifications
  • Hardware Design
    • Schematics
    • PCB
  • Software Design
    • Wireless
    • User Interface
    • Protocol
  • Hardware Prototype

License

The strobit hardware design is covered by The TAPR Open Hardware License. Please see http://www.tapr.org/ohl.html for further details.

Schematics:

Strobit Triggr Block Diagram Strobit Triggr Topology StrobIt Triggr Schematic

Prototype Details

Firmware Description

Protocol Description

Downloads – Files associated with the project

Tests – Tests done so Far

In the Wild – Version of this trigger made by others

I’m toying with the idea of putting together a low cost kit for the enthusiast. i.e. PCB, pre-programmed PIC, etc. So we could all benefit with a bulk order of the components. If your interested please email me using the contact form the top menu or use the mailing list signup on the right to give me an indication of numbers interested. Once I finaliaze the design and get some idea of numbers I’ll get a better idea of price. At the moment it will only be available in kit form due to FCC and other Licensing regulations.

Future Improvements:

  • Higher Sync Speed.
  • Frequency Hopping.
  • Forward Error Correction.
  • Power management.
  • UI to change settings, Channel etc.
  • Save settings in Flash memory.

project


The last few weeks at work have been shocking with power outages, I think mainly to do with the summer heat ramping up, 38DegC yesterday,  at one site I we have a fairly overloaded UPS that does not stay up for very long, while a new 8500VA is on order, I have decided to write a small agent application to shutdown all our servers at that site in a graceful manner based on a UPS battery life remaining,  i.e. initially all non critical services are shutdown, than as battery life decreases then core servers get shutdown.  The servers are a mix are a mix of Windows 2000, 2003 and of course Linux :)   

Now being the glutton for punishment I am, I know there is probably something already out there that will send out a broadcast to shut things down, but always wanting to implement agent based solutions I think this would be a nice project.   

project


Well it’s certianly been a long since my last post, sorry!  Between getting married and christmas (all on the same day lol), and the kids going back to school, my geeking (as my wife likes to call it) has been taking a back seat lately i.e. not a whole lot happening.  However I have managed to squeeze in bit of learning.  The first getting myself familiarilised with PIC micros, the picaxe although brilliant for small jobs, I have found to be limited, i.e. no timers etc.  so I have been playing around with their big brothers.  The fist learning project was a serial LCD using the 16F84,  I’m using the brilliant Sourceboost BoostC Compiler ( http://www.sourceboost.com/ ) 

Also came across a brilliant DSP guide in an easy to understand language and not heaps  if heavy maths , and its FREE for the online book http://www.dspguide.com/, this really made the light go on, ding! with the Ahh I get it in the smoke and mirrors world of DSP.    I’m definately looking at purchasing a hard cover version.

project


Well have the controller setup and have uploaded the demo code, all working :)   Now down too some serious work in getting buzzbot connected to the board. 

The Board is based on the AT91SAM7X MPU, of which I have absolutely no experience, so the learning curve begins (right at the bottom).  First thing I want to do is get the interrupts for the two wheel encoders working.  From my initial research I gather that any of the inputs on the GPIO can generate an interrupt on a state change, exactly what I want.  So now more research on how to make it happen using the ARM7 GCC tools I’ve installed, all demo code is compiling and working ok.

Looks like my starting point is some examples found here http://gandalf.arubi.uni-kl.de/avr_projects/arm_projects/index_at91.html 

project


 

My PICAXE Projects

  • BuzzBot Blog – A R/C Toy being converted to a robot using the PICAXE
  • LED Switch – Interesting Sensor Concept using an LED as both a Light Emmiting Device and as a Light Sensor

project


After lots of research I’ve started to put some ideas to paper for the MK1 CNC Machine.  

Yes I know I could probably jump right in and start putting together bit and pieces, but I really want to learn to use some 3-D Modelling CAD Packages for future Robotics projects and since I will eventually need to model components so they can be exported to the CNC machine for milling, I thought it might be a good exercise by modelling the MK1 itself.

So here is the start of the X-Axis Linear Bearings

CNC - MK1 X-Axis Bearings

project


First post to christen the new site……

Personal Projects underway. 

1)  Learn the PICAXE, a fantastic little uController, http://www.rev-ed.co.uk/picaxe/  I have just got my hands on the PICAXE 18X, so in attempt to learn to use this little beast I am looking at interfacing it with a few sensors and turn my sons discarded “Buzz Buggy” into a little 6 wheeled autonomous “buzzbot”. 
BuzzBot

2)  Also getting pissed off mowing the lawn at home every week, especially now it’s summer in Australia, so have now decided to look at some sort of mowbot.  After some research found someone who has actually implement one over the last few years with some great drawings and details, so will be using this as a starting point http://www.mowbot.org.

project


This Blog is a collection of my geek projects and things I’m doing at the time.  Unfortunately due to a busy life (like most out there) the blog may see some in-action for periods of time, however don’t despair, as I get around to updating things eventually and the blog posts go  through a burst of activity.

My Interests (in no order what so ever):  Embedded Development, Photography, Wireless Sensor Networking, Home Control, CNC.

My Photography: www.flickr.com/strobotics/

Tweet Me: www.twitter.com/madeinoz

Switch to our mobile site