Import Soul Wouldn’t it be nice if things just worked

14Oct/110

Interactive Donation Box – Behind the scenes

This is a follow up article to explain the inner working of my interactive donation box if you don't have a clue what this is see my other post HERE. Besides all the visible track elements who's operation is clearly visible there are a number of hidden aspects of the machine.

The main part of this is the mechanism for sorting and counting coins (See video below). For this i used a mechanical system of sorting the coins based upon their size. I had originally used this system in a money box that sorted coins into different trays, and knew of a few things that would greatly improve its performance. Firstly to make the back rest out of some kind of plastic material so that its finish will remain much more constant than with wood which gradually changed over time as the finish was absorbed or rubbed off, the other improvement to be made was to use rectangular holes for the coins to fall though instead of circular holes, this just allows the coins longer to fall though their holes, making it virtually impossible for them to miss their hole.

A coin sorting money box that i made for a junior D&T course

After the creation of this video i made a few change to the sorter to improved it's reliability, mainly replacing the front guide that stops coins jumping off their tracks with a stiffer version to stop 20c coins sometimes escaping off the front.

To detect the coins after they had been sorted i decided upon using a beam break system as this would mean i could reliably detect the coins even without having to worry about if the coins were heavy enough to set off a micro-switch. So i simply have a row of leds on one side of the slots the coins fall though after being sorted and a row of Light dependent resistors on the other, these are hooked up to analog in pins on the arduino controlling the system.

After a coin has been detected the program is quite simple, a certain value is added to the counter depending on what coin has been inserted, the lift i turned on whenever this value is non-zero and the counter is decremented whenever a marble passes a micro-switch hidden within one of the lift guides.

There are only a few things that i would like to do in the future, the main being to reclaim my arduino out of the back of the display, probably replacing it with a MSP430 chip as these are very cheap (under a dollar) meaning i could reclaim my arduino for future projects.

Edit: If you are interested on more details on the construction of this project i have now made my portfolio available HERE.

28Sep/110

Interactive Donation Box

Well it was right down to the line but i managed to get my Design and Technology project finished and ready for marking, just... I only had confirmation that all the parts of the project played nicely together after rapidly programming it and getting to put coins into it for the first time at 3AM on the morning it was due. After a quick dash to office works at 7AM i was ready at school to hand my project in on time at 9AM.

Even though the projects design had to be greatly modified from its original 3 window design a I am really happy with how well the project has turned out and with all of the really positive responses I have got from other students and teachers. Without any more words here is the project.

Just in-case you haven't read my previous posts from way back about what the donation box actually is, here is a quick summary.

When somebody puts a coin into the machine it is sorted by currency and depending on the value of the coin a certain number of marbles are sent though a marble run (i decided on the rate of 1 marble per 10c). The idea of the project is that if it is made more interesting for people to donate then people are much more likely to make a contribution.

To better display this here is a video of the project in action

Also thanks to MWandel of woodgears.ca for his gear template generator and general articles on marble machines that made me pick this as a project

After i finish up with UNI preferences and scholarship applications i will hopefully have some more info up on what goes on behind the project

Edit: I now have another post up detailing some of the inner workings of the project HERE

Edit: If you are interested on more details on the construction of this project i have now made my portfolio available HERE.

21Apr/111

Marble run plans complete

Well after lots of screwing around in Autodesk Inventor I finally have the final plan drawn up for the marble run portion of the machine.

I have also made a major change to my expected overall design, making it a much flatter design, making for simpler parts and less supports needed.

I started just doing one small portion of the mechanism i decided to call the dripper because it "drips" marbles, from this i also had a go at running dynamic simulations and managed to run and test the "dripper" and render a video of how it went.

More recently I have also rendered an image of the whole setup (without the cabinet, pivots ect) and can be found HERE (my thumbnail generator is not working properly)

I have printed out templates for all of the pieces and plan on cutting these out as MDF templates some time next week.

28Apr/102

Recycled Zero Cost 3D Scanner

This is another one of the projects I have done for Design and Technology at school. This time it is for a Year 11 minor project where we had to design the majority of the project out of reused materials that would otherwise be thrown away. I was originally going to do some more experimentation with casting aluminium but then I decided on building this 3d scanner.

The project consisted of:

  • Building a turntable to be controlled by the computer that can rotate the object accurately
  • Convert a laser pointer to emit a line onto the object rather than a dot
  • Have some way to take pictures of the position of the laser line on the object
  • Write programs to control the turntable, find and process the laser line in the captured images and display the processed information as a 3d model

Here is a picture of the general setup I ended up using (I didn't get a good photo of the new stepper and gearing I got to rotate the object)

In this image you can see the turntable (black circle), the laser pointer being refracted into a line using the glass rod in the top right, the circuit board used to control the motor, and the board used as a quick way to trigger the camera.

Here are some images from the different stages of the process:

The object to be scanned

The object sits on the turntable and is rotated accurately using a stepper motor. The first stepper I used allowed 98 steps per revolution (the scan you can see below) while the second stepper motor I used had extra gearing and allowed 290 steps per revolution.

The hardest stage in the entire project is the extraction of an exact line from the image. The stages of this are:

  1. Load the raw image
  2. Extract the Red channel out of the RGB image
  3. Find the entire line in this image as a 2 bit image
  4. Decide upon an exact line through the previous blob ignoring noise

Coordinates are calculated for each point using how high in the image each point on the line is, what rotation the table was at in the image and some basic trigonometry to create thousands of data points that are then linked and covered with faces by a blender script to create a model.

The Raw Model

Then I have simply manually tidied up the model removing where the table appears in the scan and smoothing it.

Trimmed and smoothed

Then I have applied a stock wood texture to the model to produce the final result. I think that it has turned out rather well for a first go at creating a 3D scanner especially as it only took a few weeks and cost me nothing.

The finished product

I am happy to answer any questions you might have and last of all if you are still curious here are some of the sheets I handed in with my folio to show how the points were converted after extraction.

3D Scanner - Notes -
27Apr/100

Simple wooden puzzles

I came across plans for these puzzles and made them for a friends birthday they ended up turning out quite well except for the joining of the metal rings. For the top puzzle you need to get the two beads next to each other on the same loop, for the lower one you simply need to remove the ring. Of the two the top one is the hardest.

Filed under: Puzzles, Woodwork No Comments