Order PCB with surface mount components in under 15 minutes with easyEDA circuit design

I’ve been research designing circuit boards design and tried a few different such as eagle, ki cad and came across easyEDA which is perfect for newbies like myself. Its simple to use, the SMC (Surface mount components) selection is all tied in. You can order a PCB and have all the component (well most of them) soldered at the manufacture JCL without you have to do any soldering at all! Take a look at the video below for a quick demo

Covid-19 – Limited opening.

The hackspace is back open to the public to a limited degree but with a few limitations. The only session we are currently open for is Saturdays between 1400 – 1800 with social distancing and limits to the number of people in the space (on a first come first serve basis).

If you’re new to the hackspace, please contact the trustees in advance (preferably a few days). If you’ve been a member for a while and are a member of the Google Groups, you should receive an e-mail at some point before the Saturday session which you can reply to.

You will be required to give us your details for the purpose of contact tracing. And to agree to inform us if you have Coronavirus symptoms at some point within 2 weeks of attending the hackspace (or if you test positive). Your information and whether you have contracted Coronavirus, will be held in the strictest confidence.

Sorry if this is inconvenient, we’re hoping to increase the number of sessions we’re open for soon.

Align holes in your project box without measuring – no special tools required.

In a previous post I described how to align holes without measuring. My original alignment tool was laser cut, but due to lockdown I’ve had to devise a simpler way to acheive the same accuracy using readily available materials – this time I use BluTac and an old milk carton.

Holes for the 3.5mm sockets are exactly in the right place.
Circuit board and project box
We can see where holes should be, but only from the inside.
Cut a piece out of an old plastic milk carton, to fit inside the box
Fold the plastic and add a thin layer of BluTac (other colours are available)
Press the plastic strip and BluTac onto the sockets to make an impression
Carefully remove the plastic strip
Position a bradawl in the centre of each hole and push through both layers of plastic
Holes punched through correctly
Re-attach the BluTac in EXACTLY the same impressions you made previously. Accuracy depends upon it.
Carefully insert the circuit board into the project box
Ensure the circuit board is in the correct postion, and press the strip onto outside of the box
Use the bradawl to mark the drill centres

Yes it’s just that simple. This method worked first time for me. If you are unsure, drill the -holes a bit smaller and file them out to be in the correct place. A 4 minute video of this process is here.

Check out my videos for accurately marking other types of hole without measuring –
USB-micro oval cut-out (as described in a previous post here)
Pin-hole (ideal for a recessed reset button)
Pinhole on the lid to show the recessed LED of Wemos D1-mini

Wemos D1 mini GPIO test board

Visualise Active Ports

Sometimes it’s useful to know the activity on the GPIO pins of your microcontroller. This little monitor board is designed specifically for the Wemos D1 mini and has a LED on each GPIO pin to help you visualise what is happening on inputs and outputs.

This monitor is quite useful for checking DC levels and slower pulses such as when controlling servos, relays, etc. For faster pusles it’s best to use a ‘scope or logic analyser.

Microcontroller boards other than the D1 mini can be accommodated by either re-designing the layout for the extra pins, or using extension leads to monitor those pins you are interested in.

LEDs can be disconnected by removing the jumper links, so as not to interfere with other functions. All LED series resistors deliberately have a high value to minimise loading the GPIO pins. The white LEDs drew less than 500 microamps each when used with a 1K series resistor, and they were still quite bright.

General view showing breakout header sockets, header pins, and jumpers.

The monitor can also act as a small breakout board, extending the Wemos header pins to 2 sockets and 2 pins per GPIO line. This can be handy when developing your project, as Dupont extension leads could be used to connect the monitor board to your PCB.

Wemos D1 mini and the breakout test board.

Construction is simple – besides the header pins and sockets, there are just a dozen SMD resistors and LEDs, mounted on a prototyping board. The underside of the board is where the connections were made, linking pins with single strands taken from a length of scrap multistrand wire.

Underside showng the link wires and SMD resistors.

The video shows the board with jumpers installed for all 9 GPIO ports (D0 to D8). Due to high value series resistors, the LEDs do not interfere with program uploading, and if you install the RX and TX jumpers you can watch the LEDs giving a satisfying twinkle with the upload activity.

Minecraft auto mouse spin wheel

When you are building creations in Minecraft, sometimes you need to have random blocks placed down from you hotbar. With this little program created with the help from Simon, (Thanks Simon), you now don’t have to manually spin your mouse wheel to achieve this.

Just run the python script, after checking you have the prerequisites installed (python 3 and pynput) and press ‘y’ to spin the wheel and ‘Esc’ to stop.

Link to the gitlab page.

https://gitlab.com/RincewindLangner/mouse-wheel-spinner

Happy gaming,

Matthew

Perfectly aligned holes without measuring

How to cut a hole to mate up with what’s inside your project box.

THE PROBLEM — You’ve made the electronics part of your project, and now need to cut a hole in your project box so you can plug in the USB cable. But how do you know where to cut? Unless the box is transparent, you can’t see exactly where the USB socket hole should be. There is a short (2:40) video of this post here.

Update: At the bottom of this post, there are links showing how to locate drill centres WITHOUT any tools.

Hole is in exactly the right place. and allows for plug housing
Micro USB plug fits neatly

The usual way is to measure the internal position of the USB socket when the PCB is fully in the box (not always possible) and transfer the measurements to the outside of the box. You have to be able measure and mark accurately.

PCB ready to fit into the project box.

This little tool provides a drilling and cutting guide on the outside of the box, when the USB socket is on the inside of the box (possibly hidden from view). No measuring is required.

Align the two strips

My design is quite simple. Overlay two strips and fix them together at one end – similar to tweezers. The strips staddle the wall of the project box, one strip inside the box, the other outside. The inner strip is fixed into the USB socket, and the outer strip has guide marks for the required opening.

Thin yellow inner strip is clamped in position.

The inner strip — should be reasonably thin so it can fit between the PCB and the box. I cut a 10mm wide strip off an old credit card, narrowed it at one end to make a tab that fits snugly into the USB socket, then bent the tab 90 degrees (warming helps but is not essential).

Line up the outer strip’s tab with the drill holes.

The outer strip — should be stiff transparent material. At one end, mark where the cut-lines and drill holes should be for the USB socket. Align the inner strip’s tab with the outer strip’s markings, then fasten them together at the other end. That’s it!

Fit tab into the USB socket

USAGE — To use the template, insert the tab into the USB socket and slide the circuit board and the inner strip into the box. Ensure the outer strip is flat to the outside of the box and use the cutting guides to mark the box. My original marks were the drill-centres for a couple of 6mm holes. Use a drill press for accuracy, and a small file to smooth and adjust the drilled holes to the final shape.

Slide the PCB and the tool into the project box.
Mark through the drill pilot holes

This technique will work on plastic or metal, and can be adapted for any shape of socket and hole. Draw the marking guide to accept the largest plug you may use.

View of how it looks on the inside.

CONCLUSION — Cutting holes in the right place is something I have always struggled with. I have to admit I was amazed when this worked first time!

Alternative view

Credit goes to Alan Bailey for helping implement this project from concept to completion in just a few hours. Below areYouTube links showing how it’s done, and how to locate holes WITHOUT any tools.

Brompton bag

I needed a new bag for my Brompton bike. All the bags were very expensive, £70 for the basic bags so I did what any maker would do and started on the journey to make my own bag. There was a few challenges:

1 . Find a way to connect the bag to the front carrier block securely.
2. Find a cheaper bag that i could modify easily and thats water proof
3. Work out if anything else was need, e.g. bag strengthening.

I started by look on thingiverse for 3D printed Brampton carrier block, its always a good place to start to see how other people have attacked the problem. I didn’t find anything. I set work to design one myself using fusion 360 – Matt SB gave me a helping hand to get started with as its the first functional 3d object I’ve printed. I came up with the item below after a few iterations printed on my Aldi 3D printer.

front carrier block

The next challenge was to find a bag. I search on the internet and i purchased a bag from aliexpress for £4 to test the process out. The test went fine and I used the bag for about a year but the wear and tear took its toll on the bag so I bought a better quality bag from decathlon shown below. This is the bag that i will describe on the rest of the blog.


I’ve got the carrier block designed and the water proof bag. Now I need to attach everything and make sure it wont damage the bike/contents of the bag. The back board in the bag was a bit bendy and I’m carrying my laptop to and from work so I wanted it to get there and back in one piece. To strengthen the back I bought a A3 clear polycarbonate makrolon plastic panel Sheet 3mm thick from ebay. This went down the back of the bag to strengthen it. I sawed it to shape to start with and then bent it using the hot gun in the hackspace. This gave the bottom of the bag something solid so the laptop or other items in the bag wouldn’t sag and hit the front wheel. I also added some neoprene foam to the bottom of the plastic sheet to cushion any items put in the bag.


The next task was to attach the bag to front carrier block. I did this using a hand drill and screwed it together.

I wanted a separate area for the bag.



Minecraft Server

One of our members Pixelpox has built a Minecraft server for us to all play and socialise on. It is a project that is just getting started but has already been popular with some of the members here at the Sheffield Hackspace.

Interesting Specs

Some of you are most interested in the technical details about the server so here it is.

Server TypeSpigot
Minecraft Server Version1.14
Plugins Addedgriefprotection

Members Creations

Our members have been hard at work collecting resources and building their buildings. Some people have taken to creating farms such as sugar cane and eggs for the whole community to benefit from a sustainable source of food.

Others have been focused on village security and plain old exploring the world. Check out some of the things that have already been built.

How can I join?

It’s simple and FREE! Go to the Sheffield Hackspace Forum to subscribe online and introduce yourself. After that ask for the Minecraft details and one of our current members will get back to you with the details. Our Minecraft servers are also open to friends/family of hackspace members.

Alternatively you can join us on a gaming night that runs every other Saturday, see our events calendar for more details but importantly you’ll need to sign up as a paying member (£6/month) first which can be done on your first visit.

Gaming night isn’t just about Minecraft, members decide on the night what they are going to play in the group, this can be RetroPie and Raspberry Pi games, console games, PC LAN games, board games and much more!.