Saturday, 20 February 2021

A Tiny Board

Well, it took me quite a while but i've  finally managed to write some Python and even vaguely understand how it works. By a strange quirk of timing, I received two of the new Pico boards within the last two weeks and, as they cost me nothing I decided to have a bash at writing some MicroPython to make them do stuff. I needed to have some sort of display so I bought a Unicorn Pack from Pimoroni and have been playing with it.
It took me a couple of hours but the proof is above, I even made a mistake copying a bit of code and was able to debug it myself. The pack colours are a bit basic because the the leds are so tiny, Magenta is not good at all, but the value for money really cannot be questioned. I'm most impressed with all the hardware and I'm beginning to like the software too now. 
 

Monday, 15 June 2020

The Beast cometh!

For many years I wondered why no-one seemed to make wheeled robots with stepper motors. It seemed an obvious option to me but it was always small DC motors (or large ones of course) or altered servos that everyone used. While in my self imposed quarantine, I started reading up about steppers and I can still find no reason not to use them so...........
My Next Big Thing
is going to be an attempt to build a four wheel drive robot using stepper motors.

I'm not using large motors either, I shall be using 28BYJ48 motors with their associated driver boards because of their size, small, and their cost, cheap as chips. I have already run some tests and, whilst fairly slow, they are very strong with good torque and should do well for what I intend building.
Rather than drive them from a big complex system, I am going to try using Arduino Nano boards, one to each motor, and network them using I2c to either a Raspberry Pi or another Nano with a WIFI link. I'm not too clever at coding for the Pi so I will certainly begin with the Arduino.
I've begun by drafting  out a basic  concept for the body of the vehicle itself.
As it will be a four wheel drive chassis I want it to be fairly symmetrical with the wheels all the same size and only steering at the front end. It has to be big enough to carry all the electronics but not too heavy to be driven by the somewhat small motors. 







I also would like it to be fairly high above the ground in order to be able to take advantage of the large, 85mm dia, wheels and the high torque they will have.

And lots of prototypes are being printed for the body and moving parts.
Sadly, none of these will make it to the final product but most of the measurements are now fixed.

Saturday, 13 June 2020

Sidebar #2 How I did it.........




The case is made of two 3D printed pieces, Front and Back with three 3D printed buttons. The box on the left is for a five volt power supply and that takes it's supply from the fig.8 socket mounted on the rear panel. The small hole is for the alarm sound to be heard. In addition, I have cut a small piece of acrylic that fits the display panel to keep dust out and make the whole look fairly professional, I hope.

Saturday, 18 April 2020

Sidebar #1 My Alarm Clock Part One

I couldn't resist this.
A board I ordered from China arrived this morning and I felt the urge to produce a case for it. I could have built a "Multi System" case (spoiler alert there) but decided to go for a more traditional one.
So here are the beginnings of my new alarm clock.

Its the SFT-CK302 bought from Ali-Express sitting on top one of my PSU#2 units.
-------------------------------------------------------------------------------------------------------------

Well, it took a while but I have done all the design work and built the case.
However, I am not considering it finished until some tools I have ordered from China arrive and I can polish the case before sticking it together.








Monday, 23 March 2020

And the next big thing is...............








I have been using these little stereo amplifiers for quite a while now and have been very impressed with their quality. I also wanted to build an amp / speaker system for my computer that would sit quietly under my 4K monitor. I had all the components I needed but it would require a suitable set of boxes to house the whole thing.

And that's exactly when the idea was born.

When I was a lad, a very popular toy was Meccano. For those who don't know about Meccano, or for North American readers, an Erector Set, it was, and indeed still is, a set of component parts that bolt together and can be made into all manner of working models.
I began to design a set of parts that would, together, be easy to assemble into a standard case for electronics that could be 3D printed at home.
I learnt a lot from that exercise, not least that it was expensive printing all the trial bits only to find that my clever idea #23 didn't work any better than the first iteration.
Nonetheless, I have persevered and have now learnt enough to have produced the two speaker units and an amp / MP3 player unit and they work!

Power supply #2

The first power supply was fine at a technical level and it also looked pretty good too but I wanted to have another crack at the concept from a new perspective and also my new skill level with the design software.


I remembered that I had bought three of these little beauties some time ago and it would be a good idea to check them out.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      I also had a new colour to print with and I was keen to give it a try. So I designed another power supply that used a 12 volt buck converter instead of a 5 volt one and carefully designed a new case to take the USB board and also a 12 volt DC socket as well.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

       The results were very satisfying but I also realised that I wanted to use this colour again.


And, at that time, the Next Big Thing was born.

Show us yer Tesseract?

What is a Tesseract?

It's a long tale about what it is so, if you really want to know, just click on the link above.


Ann explained what she wanted to me and it sounded fairly easy so  I said, "Oh, I can knock that up quite quickly, come back in a weeks time". The following day I designed and built the top of the box with translucent filament and it looks superb. I had the design of the base worked out in my head and built a rough version to test the sizes out and then went straight in and built 



the base and the display carrier in one afternoon. I had ordered the battery holders already and they arrived that week fortunately. The other components were already in stock and I got the whole Tesseract built in just six days.

Ann loved it and so we were all happy. And it was about now that the vague idea for the next big thing began to take shape.


Sibling rivalry........nearly

You may have gathered that I live in the UK,

I have, however, a very close friend who is American and lives in the state of Georgia. We have been friends for so long, it almost seems like forever and as we also share many interests it sometimes happens that a bit of rivalry creeps into our relationship. Just before Christmas 2019 I received a parcel with a little electronic gift that Todd had made for me.

Based on a Raspberry Pi Zero, it has a small screen that plays a series of photos of our last holiday with him interpolated with  inspiring messages.

It was really great and I kept showing it to family and friends all through Christmas.
In fact, the only minor problem was that Todd had needed to use a case from another project to build it into for safety and looks. And looks were not brilliant as he was at great pains to tell me.
Well, it didn't bother me but I knew I had my Prusa on the way. I also had some fairly extensive knowledge of using Neo-Pixels and that's when it all got a bit competitive.






My idea was to build a very small version of the Christmas display and make it shine through a non transparent case so that, when not switched on, it just looked like a block of white plastic. Making something that small should be a doddle after making power supplies. Well it wasn't. I realised about two days in that I was becoming a bit of a perfectionist. Added to which, I had begun to learn a lot of useful stuff about 3D printing and coding for Arduinos. It took nearly three weeks to come up with the final design but it was worth it as the final product looks very elegant and simple. I shudder to think about the wasted filament but told myself it was all about learning how to do things properly. And then along came Ann and gave me a challenge. "Can you build me a Tesseract?

Power Supplies #1

I looked at the scruffy way I had mounted the little power supply on the back of the boards and realised there was a much better way of doing the job.

I had a 3D printer and I could simply print a box to contain the whole thing neatly.
And I could put mounting points on it and make the cable and DC plug for the Arduino Uno part of the whole thing. They might even come in handy for other things so I'll need four but I'll build five because it's so easy when you have a fabrication process at your beck and call isn't it?
It all started well, I had already installed my preferred design software when I bought my first 3D printer a few years previously. 
I had designed and printed a lot of simple things very successfully on it and was very fond of it but it had one major drawback, it used the larger, 3mm, filament.

So, a couple of years previously, I bought a cheap but very nice Chinese clone of a RepRap and had more success with that.
That was what I would use to make my power supply cases.

Well, I made three of my cases and began to realise what I had let myself in for. The printer was fine but my design was lacking in detail. I tried to improve the detail only to find that the printer wasn't able to do some of the things I was asking of it. It just wasn't accurate enough.

About then, I read a magazine article comparing various 3D printers and pointing out their good and bad points. The one that really stood out was a Prusa i3MK3s. It actually came top in two sections so I had a much closer look at it online. I'm not here to sell you one so I won't go into detail but I realised that this was the one for me. I ordered it and, shortly thereafter, it duly arrived. 

I fed in the same file I'd had only moderate success with before and it printed perfectly, first time. The "First time" bit is quite important as I have a box full of failed prints from before then.


So the last two power supply cases got printed and they were really good.

It all began with Christmas


After a gestation period of nearly two years, I finally managed to make a Christmas display for our four windows in 2019. Despite a very poor finish at the time, not one failed me over a three week period.

Once they came down, I felt obliged to rebuild them for a longer life and better appearance.
The originals were pretty much held together with duct tape and drawing pins but the tape was very useful in all the places where it couldn't be easily seen and judicious use of some very good quality insulating tape also made the whole thing neater and less prone to shorting out on the reflective foil.






The lights are cut from edge lit Neo-Pixel strips that only use three wires to control the whole display. I used a cake base from a cookery shop for the circle and cut a strip of 57 Neo-Pixels for each one. The power for each board was a small ready made block from China that inputs between 100 and 240 volts AC and outputs 5 volts DC. They were the first item I changed once Christmas was over.......... It wasn't that they were unsafe, I had used some heavy insulation on the AC side but the whole thing looked very inelegant and a bit scruffy. 
And this was when the story really started!

Saturday, 21 March 2020

And this is number one..............................

Well, everybody has to begin somewhere.

So what is a "Big Thing" anyway?
Well look at it this way, we all have ambitions to achieve something in our lives.
Sometimes we do and, more often, we don't but we usually give it a try.
A good example of this would be a "Bucket List" of things to do before we meet the grim reaper.
Well, I've been pretty lucky with my ambitions and I pretty much achieved everything I wanted to do by the age of fifty at which point I started to achieve a lot of stuff I didn't want for a while.
Probably the most exciting of these was an inordinately large amount of hospital time involving various operations upon my person.
Looking back on the past 21 years, it has been a bit of a pain in a lot of places quite frankly.
So I have returned to an old ambition that I thought I had fulfilled many years ago and when I retired, I updated it and began to play with digital electronics.
The trouble was, being retired, I should have had a lot of time to play with but that wasn't the case at all. I had the inclination and the money but no time so I ended up with a pile of bits but no end product.
Until Now!
covid 19 has given me the time to dig in and get on with it at long last.
About two years ago I began a project to make some Christmas light decorations for the front of our house. I just managed to put them on display last Christmas...............slightly unfinished.
In the new year I was putting them away and realised that they were a good idea but badly executed so I re-built them properly and then put them away. Then I thought of several more ways they could be improved that involved using a small mains power supply. So I built one.
That was pretty successful but looked tatty so I bought a much better 3D printer and made another one using the same files and it didn't look tatty any longer.
By now I was getting quite enthusiastic about 3D printing as well so I built two small light displays with a self designed case and learnt a lot about designing for electronic devices in the process. Shortly after my daughter was looking at the little light show and asked whether I could fit something like it but larger into a stage costume she was thinking of making and we decided to collaborate on that.
Then, some friends saw my first two lighting projects and asked me to build a handheld unit for her to carry at comicom type conventions so I did.
Then I built me a better mouse trap........actually a better power supply.
And then, I had my idea for my next "Big Thing".
But you'll have to read about how I made everything else first before I 'll reveal just exactly what it is or they are!