Tags
Thursday
Apr132017

Low cost 3D printer build

Ever since starting at Makespace in Cambridge I've loved the fact that the tools available today mean that you can design and build almost anything you want. Makespace has some great equipment but for me it's a trip in and too far away when the job that you want to do can take hours to complete. The process of production with a 3D printer is not an exact science and requires multiple iterations, traveling somewhere to then wait for hours is painful, so it was time to get myself a printer.
It didn't need to be anything special as when I need a fine finish I could always use the printers at Makespace, I had some Amazon vouchers that I was itching to use and there seemed to be some bargains available but would they be up to the job?

Time to do some research.

I read reviews, watched Youtube videos and talked to makers about the printers I was looking to buy. I liked the look of the Prusa i3 for price, functionality and the fact that lots and lots had been built at home by makers, in exactly the same way I was planning. However eventually it came down to price, and when I found what I wanted for £150 on Amazon that was it. I decided that if I spent that even if had to replace a lot of the parts I would learn a lot and get value for money - decision made.

I wanted to be sure I had it in time for the Christmas holidays, so ordered in plenty of time, and a week later my parcel arrived.

Now plans are great but I don't have the most patience and within a couple of days I decided I couldn't wait for Christmas. I justified this to myself with the reasoning that if I did start construction over Christmas and there were pieces missing I'd never be able to get the parts delivered - So I started the build.

The Chinese/English instructions were amusing/confusing and in a couple of cases incorrect but I already knew this would be the case from the articles I'd read. I also knew from the videos I'd watched roughly how to put it together and these two pretty much covered it:
The build itself was straightforward and I could work out any confusing pieces from pictures on the website or from other builds. The only problem I had was when it came to connecting electrical elements to the controller board. Here the instructions were just plan wrong, the picture of the board was incorrectly labeled and the written instructions referred to connecting two different components to the same sockets on the board.

Fortunately these days many people have done this and a lot of information is available on the web. The board I had said GT2560 and although this was clearly a copy it was fortunately fairly accurate. The board details on the Geeetech site http://www.geeetech.com/wiki/index.php/GT2560 told me which connections were which and I could then complete construction.

Once the build was done that was it! No, really, I fed in the cheap red PLA filament that I got with it, triggered the heating of the bed and hotend for PLA and then leveled the bed. I created a simple rectangle shape in Fusion360 and imported it into Cura. Took the SD card from the printer and saved the gcode to it from Cura. Then selected 'Print from SD card', chose my rectangle and away it went. The result was surprisingly good, accurate as far as my measurement with a ruler was concerned.

Brilliant, for £150 I now had the ability to design and fabricate pretty much anything I needed in plastic.
Tuesday
Mar082016

Wall of Enlightenment v3 - the rebirth

Having given out my details and promising I'd blog at the Pi Birthday bash this weekend, I'd better crack on!
Given the previous issues I needed a rethink on the design, key points:
  • Build wall mounted from the start, to avoid issues when I finally came to hang it
  • Weatherproof
  • Improved frame
  • Tensioned strips to keep them straight
  • Short, heavy duty power cables
  • Improved signal cables
  • Connectors, connectors and connectors
A quote from Brian Corteil was my mantra for this build: "If in doubt over engineer it, it'll be easier to build initially and far better for reuse show after show".
So firstly the construction, thin conduit didn't work and I wanted the strips to be tensioned so hanging vertically was the best option. To keep the weight down but still make the construction easy having a box of some sort with the strips hanging down from it seemed ideal. I settled on electrical trunking and 75mm square gave me plenty of room to play with. Ideally I wanted this to be black so that it would not stand out but the requirement for that was a huge order! So, white and a liberal application of matte black spray paint resolved that.
Next hanging the strips vertically - this meant that I'd have to modify the code to rotate the image by 90 degrees which was part of the reason I'd dismissed it originally. A review of the Fadecandy documentation though gave me the answer very quickly, Micah had already solved this for me - with a simple config setting - BRILLIANT. I also learnt a lot from the example on the Fadecandy site: https://learn.adafruit.com/1500-neopixel-led-curtain-with-raspberry-pi-fadecandy/overview with regard to constructing the screen.
The LED strips are in a waterproof covering and I used hot glue to seal the ends with a 10mm glass ball. Unfortunately the only place I could find 10mm glass balls was Alibaba an the minimum order was 10,000 - so I have about 9000 spare if anyone needs any?
For the connection to the trunking, which also needed to be waterproof, I investigated options and costs with a number of suppliers and ended up with a plastic screw threaded version I found on Alibaba. After a few emails backwards and forwards we agreed on the details and the supplier sent me comprehensive design documents. A few weeks later and the finished articles arrived exactly as I'd requested. The sockets bolted directly into the trunking and the plugs screwed into them. I soldered the strips to these and again sealed them with hot glue and heat shrink tubing. (Having now attended a few shows bayonet fittings would have been far easier).
 
The Fadecandy cards as controllers for the strips were still the right way to go but with the previous version I had two problems related to the wiring, the first was the power. To get the 5v from the power supply box to the trunking was going to need some decent sized cables. Given that part of the problem I had with the initial version I wanted to make sure that this time was a success. The second issue was the wiring for the data lines to the addressable strips. On advice from Micah(fadecandy designer) I replaced the previous twisted pair with ribbon cable with alternate connections being Ground and also used 16 way ribbon connectors with header pins soldered to the cards. This makes it easy to swap cards out if they are faulty or I wanted to use them elsewhere while the Wall is not in use.
I grouped the strips into 8 and tie wrapped them onto laser cut perspex rectangles. This logically grouped the strips per fadecandy card and also made them easier to carry when detatched. Attaching them to a flat surface at the top and bottom of each strip meant that they were held facing forwards to get the best light from the LEDs.
Finally into the trunking went the Raspberry Pi as before with the Fadecandy server installed. Unfortunately at this point I realised my next mistake with the power - with all of the LEDs on there was insufficient power to run the Pi! This was easily solved by running a mains lead into the trunking and adding an adapter specifically for the Pi. Longer term I'll change that.
So finally I had a working screen - only half the size of the clients requirement but that would be easily remedied by building another duplicate 'half' and connecting the two toether when needed.
I exhibited at the UK Makerfaire in Newcastle and it looked pretty good.
Saturday
Oct172015

'Wall of Enlightenment' v2 - the next instalment

It's taken a while (the original post was Feb!) but it's time to tell the story of the full size screen, which I've named 'The Wall of Enlightenment'. As a reminder the aim was to build a 2 metre wide, 1 metre high screen which could be hung on the side of the Pitt building in Cambridge as part of Science week.

Having created the initial small prototype my intention was to use the same materials, and scale it up. The prototype went down well at the Guildhall exhibition and I was given the green light to build the full size screen. Ordering 75m of LED strips from China was an interesting experience but once I'd got through the complexities of sending the money they arrived within a week. Construction could then be started on the floor of my home office.
70m of LEDs was a great box to open


The Wall is based around a Raspberry Pi which then uses Fadecandy cards to control the addressable LED strips. The maximum length of these before any lag is visible is estimated to be 64, from details on the Fadecandy site. With 32 LED per metre strips that gave me the 2 metre width I was looking for, so I started by cutting the strips and constructing the frame around them from 25mm black plastic conduit.
Initial construction

Using the same aspect ration on the vertical meant that I needed 32 rows and with 8 strips per Fadecandy that was 4 cards. As these were small my intention was to hide them inside the trunking but to get things running initially I wired them up outside. I also added a length of nylon line to the end of each strip and sealed the end with hit glue and heat shrink tubing. This would make it waterproof and the line could be used to tension the strips so that they didn't sag once the screen was hanging in position.
Once I had the first 8 lines connected I tested to ensure things were working as expected. I used the fadecandy server on the pi and streamed a video from my laptop. At a friends suggestion I used the ipod video advert as it was great for motion and colours. The result was great and can be seen here
Once I knew that worked I was confident that I could complete the rest the same way and after many long nights of soldering, sticking and threading wiring the construction was complete.
Construction complete

So, time to fire up this gigantic beast and enjoy the fruits of my labours, again the same video with the result here. However, something wasn't right. There was way more 'noise' on the display and the colours were not consistent. Something was wrong and this wouldn't be good enough for the display. I started to look at the wiring, the connections, the power levels to determine where the issue was. I also posted on the fadecandy google group and got some great feedback. Unfortunately the more I did the worse it got, with complete strips starting to die and more and more noise.
Here's the last test with some scrolling text: https://www.youtube.com/watch?v=wWNaVCvFfiM
At this point time wise it was the first day that the screen was due to be on display but there was no way it was up to that, it was dead on the office floor.
Dead on the office floor

This wasn't going to beat me. I needed a rethink and some new ideas, while continuing with the design I had may have worked there were some issues that had arisen that really needed to be addressed:
  • Needed to be weatherproof, there were holes all over the tubing for the strips and the nylon tensioners which would have been likely to leak
  • The frame itself was too weak to be rigid when transported or when hung on the wall
  • The strips needed to be tensioned to maintain the integrity of the image
  • The power cables needed to be thick and short to transfer the 5v from the power supply to the strips
  • Construction on the floor meant I didn't think about handing it or the support required
  • Thin conduit was what I had, worked well in the prototype, was thin and looked good but was not strong enough or large anough to contain all of the cabling
  • Electrical interference appeared to be due to the way it was wired, using twisted pair for signal lines
  • It was hugely difficult feeding the wires through the tubes
  • I'd soldered the fadecandy cards directly which made it very difficult to change their configuration or position

So I sat down with some friends at Makespace later that week and we designed version 3.

 

Saturday
Feb142015

Lighting up Cambridge

Following an open evening at Makespace last year I've been working with Cambridge University to build a light display to be exhibited in the City in March. The aim is to build a 'low res' video wall using multi colour LEDs which will then be hung outside of Pitt building for the week.

In order to prove the concept I've initially built a small mock up. The full size version will be 2 metres wide by 1 metre high.

This uses WS2812 addressable LEDs which can be individually set to specific intensities of red, blue and green to give a huge range of colours. These are controlled using Fadecandy boards which split the signal to the separate strips and LEDs. The whole thing is then orchestrated using a Raspberry Pi running the Fadecandy server software. This is a great piece of kit and has made the setup really easy.

Currently the prototype is fed video or interactively controlled from a laptop but for the full size version the aim is to allow interactivity from web connected mobile phones and tablets.

I have the waves example running but am looking for further ideas. I'll be exhibiting in the Cambridge Guildhall on Saturday 14th Feb and home to get feedback and ideas from people ready for March.

Sunday
Oct132013

Word Lens - iPhone App

"See the world in your language" is the strapline on the iTunes store for this app but does it really work?

I downloaded Word Lens over a year ago but at the time it was a little unreliable and the only option was the demo which reversed text. The idea of the app is that it uses augmented reality for language translation. So you point your iPhone camera at some text and what appears on the screen is the translated text in the same setting as the original.

On a recent holiday to France I thought I'd see how well the latest version worked, I was very pleasantly surprised.

Here's my first target, a box of red cabbage. It took Word Lens a couple of seconds to stabilise the image but not only is it a clear translation but the resultant translation image is brilliant.

 

 

Next something a little more complex with multiple rows of text.

More than enough information for me to find a new pair of comfortable slippers for the caravan.

The app itself is free, with the demo translation which reverses text. In app purchase is then £2.99 and the following packs are available at the time of writing:

  • English <--> French
  • English <--> Spanish
  • English <--> Italian
  • English <--> German
  • English <--> Portugese

It doesn't work with all fonts, the more simple the font the more likely an accurate translation. However for general use while on holiday it was great and I'll be using it on future trips.