Home Blog Page 15

Arduino Oplà IoT Kit – Unboxing And First Impressions

Today I’m going to be taking a look at the new Oplà IoT kit from Arduino, which they’ve kindly sent across for me to unbox and share with you.

Thank you to Arduino for making this post and video possible!

The kit was launched in early November, so just in time to find it under the tree for Christmas 2020.

Where To Get An Arduino Oplà Iot Kit?

The kit sells for $114 from the official Arduino online store. I’ve put links to the Arduino store product page and to the kit on Amazon below. It is quite expensive, but it also comes with a lot of functionality on the IoT carrier board and a lot of potential for building more complex IoT projects once you’ve worked your way through the included ones.

Purchase Links

  • Oplà IoT Kit From Arduino Store – Buy Here
  • Oplà IoT Kit From Amazon Store – Buy Here

What’s On The Box?

Let’s start by taking a look at what the box looks like and what’s on the outside.

The box is quite large and prominently features the MKR IoT Carrier board on the front. There are also a couple of graphics around the carrier depicting the included projects and a bright orange feature disc highlighting the included 12 month Create Maker Plan Subscription.

Arduino Opla IoT Kit Box

On the back of the box, we’ve got a description of the included components and details of the included projects.

Included In The Kit

From the list on the box, the kit includes a MKR IoT carrier, which is the big round board featured prominently on the front, as well as the Arduino MKR WiFi 1010 board, cables for the sensors and battery, a motion sensor, a moisture sensor, a plastic enclosure and a USB cable.

Opla IoT Kit Projects

Using the included components and their instructions, you can build 8 projects, which all make use of the Internet in some way.

Some of these projects are more common, like the Smart Garden and Personal Weather Station and there are also some unique ones like the Solar System Tracker and the Thinking About You project.

Unboxing The Arduino Oplà IoT Kit

Now that we’ve taken a look at what’s on the outside, let’s get the box open and see what is inside.

Unboxing The Opla IoT Kit

The outside of the box is a slip-on cover which is held in place with a clear, round sticker on each end.

Opla IoT Box Open

With the slip-on cover removed, you’re immediately presented with the MKR IoT carrier board, as well as an introduction to the kit and instructions on where to get started.

You also get a code to activate your 12 month Create Maker Plan.

MKR IoT Carrier

The carrier board is the heart of this kit, and although the MKR WiFi 1010 board is the brains behind the kit, this carrier is the device you connect all of the sensors and IO devices to and what you use to control and interact with the Arduino.

You then lift the side panel which the IoT carrier is mounted onto to find the rest of the components behind it.

Open Cover To Reveal Back Contents

So, in the back of the box we’ve got the Arduino, the plastic enclosure, the sensors and the cables.

Taking A Closer Look At The Oplà IoT Kit Components

Now that we’ve got the box open, lets get the components out and take a closer look at each of them. We’ll start with the MKR IoT Carrier on the front of the flip-out section.

MKR IoT Carrier Board

On the carrier we’ve got a large round OLED display in the middle surrounded by 5 RGB LEDS and 5 captive touch sensors.

RGB LEDs and Capacitive Touch Sensors

We’ve also got some smaller sensors along the bottom edge, which are each labelled with a graphic.

Sensors On Bottom

These look like a humidity sensor, light sensor, and then the IMU or motion sensor. There are also another two small LEDs below the sensors.

Plugs or Ports For Sensors

On the back, we’ve got some sockets for external sensors. These include two analogue inputs and an I2C port. The plug on the right side is for the battery cable connector.

Relay Modules

We’ve got two relay outputs, which can be used to drive things like lights and pumps or switch appliances on and off. The relays are on one side of the carrier and the ports for the connections to the relays on the other.

Back Of MKR IoT Carrier

We have also got the socket for the Arduino, and then an SD card slot, and a battery holder.

The carrier takes an 18650 lithium ion battery, which from the box sounds like it can be charged by the carrier board.

I like that they’ve included the battery holder to enable the board and enclosure to be completely standalone, without needing a power supply. I’ll probably test out the battery life at some stage as I’ve always found WiFi-connected controllers to be quite power-hungry.

Plastic Enclosure

We’ve then got the plastic enclosure.  The plastic is frosted over, but you can still see into it to see the buttons and display. It feels like it’s well built and good quality plastic, like it would hold up fine if it were dropped or bumped around.

Screw Holes On Back Of Enclosure

The back cover looks like it just snaps into place and has two screw holes to mount it onto a wall.

Arduino MKR WiFi 1010 Board

We’ve then got the Arduino MKR WiFi 1010 board, which Arduino says is the easiest point of entry to basic IoT and pico-network application design.

ATSAMD21 Chip on MKR WiFi 1010

The chip on the board is a low power Arm Cortex-MO 32-bit SAMD21 processor and it has both Bluetooth and WiFi connectivity, which is powered by the onboard Nina-W10.

Arduino MKR WiFi 1010

The board has 8 digital IO pins, 13 PWM pins, 7 analogue input pins, a 10 bit analogue output pin as well as UART, SPI and I2C interfaces, so it really is a powerful board with a lot of features.

PIR Motion Sensor

We’ve got a motion sensor.

Capacitive Moisture Sensor

A captive moisture sensor, which I prefer over the resistive moisture sensors which are often supplied.

Cables & Screws

And then also the cables and some small screws, which I assume are to mount the carrier to the case.

Getting Started With The Oplà IoT Kit

Website To Get Started

The front panel inside the box said we should head over to opla.arduino.cc to get started, so let’s have a look at what is there.

Opla IoT Kit Website

The Opla IoT homepage lists the 8 included projects.

Project Page For Each Project

Each project page includes instructions that detail which components are used, as well as how to assemble, program and use the Arduino and carrier to complete the project.

There are also two getting started guides.

Getting To Know The Carrier

The first, called Getting To Know The Carrier, shows you how to use and program the MKR IoT Carrier

Getting To Know The Cloud

The second, called Getting To Know The Cloud, details how to use the cloud functionality, including programming the Arduino and then creating and using web-based Dashboards.

There are essentially two different ways to use this kit, the first is to upload your project directly to the Arduino and use it in conjunction with the carrier, and the second is to load a generic cloud application onto the Arduino and connect to it using Arduino’s cloud server and web-application. This enables you to create dashboards to view information and control and monitor the sensors and relays remotely.

Arduino Maker Plan

Included with the kit is a 12-month maker plan, which gives you access to Arduino’s web-based toolkit, enabling you to create, store and compile sketches online as well as store data from your cloud-connected Arduino boards. They’ve also got an Android and iOS mobile app that allows you to view and control your Arduino from your mobile phone or tablet.

Plug The Arduino Onto The Carrier

Let’s put the Arduino onto the IoT carrier and try out the introductory sketch.

Plug The USB Cable In

The Arduino plugs into the back of the IoT carrier and you still program the Arduino by plugging the included USB cable directly into the Arduino’s USB port.

Uploading The Example Sketch To The Arduino

I then used the online IDE to compile and upload the OplaIoTExample code, which displays a basic temperature and humidity readout on the OLED display.

You’ll need to install the Arduino Create Plugin on your computer to allow the web application to communicate with your Arduino, but this was quick and easy to do and the application picked up my board right away.

I uploaded the code and was able to then see the temperature and humidity data being displayed on the Serial monitor.

IoT Example Project Temperature

The carrier now also displayed the temperature in red and I was able to change between the temperature and humidity displays by simply touching the two sensors buttons, 00 and 01, alongside the display.

Humidity Opla Iot Example

First Impressions of the Oplà IoT Kit

As with other genuine Arduino products, the IoT carrier board feels like it’s good quality and well built. I’ve had my original Arduino Uno for over 8 years now, I’ve built hundreds of projects on it and it’s still going strong.

The carrier and MKR WiFi 1010 board look and feel modern. The round colour OLED display at the centre looks great and gives you loads of options for creating feedback displays and menus for the surrounding touch sensors. The touch sensors are also a welcome addition and add to the modern and unique look of the carrier.

I like that they’ve included the enclosure as a way to make your projects look more complete without having to buy or 3d print a case. The case reminds me of the Nest Thermostat, and wouldn’t look out of place on a wall in your home as an IoT hub for your latest project.

Overall, I really like that Arduino has taken another step towards building a cloud-based system. There are already loads of projects and platforms out there to create IoT devices. But without a dedicated server to host the cloud services, you’re left with only having local network control or having to try and get your own static IP address and configure port forwarding on your router to access your device over the internet. This makes it significantly more complicated, and less secure than this solution.

Trying Out An Example IoT Project

Look out for my next Oplà IoT post where I’m going to try building one of the included projects.

What do you think of the Arduino Oplà IoT Kit? Do you have one already or are you going to be getting one? Let me know in the comments section.

Micro:bit Automatic Plant Watering System

In this guide, I’m going to be showing you how to build an automatic plant watering system using a Micro:bit and some other small electronic components. The Micro:bit monitors the moisture content of your plant’s soil using a sensor and then switches on a pump to water it once it gets too dry. This way, your plant is always looked after, even when you’ve forgotten about it or you’re away.

If you like this project, then you might also want to have a look at my smart indoor plant monitoring base, which is made using an Arduino.

Here’s a video of the build and the Micro:bit watering the plant, read on for the full step by step instructions:

What You Need To Build Your Micro:bit Plant Watering System

What You Need To Make A Microbit Plant Waterer

I’ve used the MicroBit version 2, but this project can be made using the first version as well.

How To Build Your Micro:bit Plant Watering System

MicroBit is a small, programmable microcontroller, which has a number of onboard sensors and buttons, making getting started with programming really easy.

It supports the use of block coding for children and less experienced programmers, and JavaScript or Python for those more experienced with programming and want to access additional functionaliy. It also has a range of IO pins available for sensors and devices along it’s bottom edge.

Capacitive Soil Moisture Sensor

The capacitive moisture sensor that I’m using runs on 3.3V, which is perfect to be used directly with the MicroBit.

Note: These capacitive sensors generally state that they operate between 3.3V and 5V, and output a maximum of 3.3V as they have an onboard voltage regulator. I’ve found that a lot of the cheaper versions of these sensors don’t actually work with an input voltage of 3.3V, but require 3.5-4V before they actually “switch on”. You’ll need to be careful with this as the Micro:bit is only designed for an input voltage of up to 3.3V.

Pump And Relay Module

The pump will need to be turned on and off using a relay module. The relay module switches power to the pump so that current isn’t flowing through the MicroBit.

Designing The Circuit & Block Code

I’ve designed the circuit and did the block coding in TinkerCAD, since they’ve recently added the MicroBit to their platform.  Block coding is a really easy way to build basic programs by just dragging and dropping function blocks.

I Designed The Circuit and Code In TinkerCAD

I represented the pump with a DC motor and simulated the input from the moisture sensor using a potentiometer as this has the same three connections as the moisture sensor.

Programming Can Also Be Done On The Micro:bit.org Website

Here is a version of the code from the MicroBit editor.

You can also use the online MicroBit editor on the official MicroBit website if you’d like. This version has a bit more functionality on the block coding side but is more limited in what you can do with circuit design.

My final version of the block code shows a smiley face when it’s turned on then starts taking moisture readings every 5 seconds and plotting them on the graph on the display. It also checks whether the level is below the set limit, and if it is, then it turns on the pump for 3 seconds.

I also added functions to the two buttons where button A turns the pump on for 3 seconds to manually water the plant and button B shows the raw moisture level reading taken from the sensor so that you can easily establish your setpoint level.

Micro:bit Plant Waterer Test Setup On Desk

Once I had designed and simulated the program, I connected the components using alligator leads to test that it all worked correctly on my desk. This was to check that the input from the moisture sensor was being read correctly and that the relay switched on and off.

Building The Components Into The Housing

Once I was happy with the test setup, I got to work on building the components into a suitable housing and doing the permanent electrical connections.

Two Food Containers For Food And Storage

I found these two containers in a local discount store. They stack together so that I could use the bottom one as a tank and the top one to house the electronics. I couldn’t find the exact ones I used on Amazon, but I’ve linked to a similarly sized set with a hinged lid which should work just as well.

Building The Water Tank

I started by building the tank.

Mount The Pump With Inlet Near Bottom

I needed to mount the pump into the tank with the water inlet as close to the bottom as possible, making sure that there was still enough space for the water to flow. I just glued the pump in place using a glue gun.

Drill Holes For The Cable & Tube

I then drilled holes for the wires to the motor and the tube for the water outlet.

Completed Water Tank

Now that the tank is complete, we can start with the electronics housing.

Assembling The Electronics Housing

I wanted the MicroBit to be mounted onto the front of the housing so that it’s easy to see as I’m using the LED display on the front as a graph of the water level.

Drill Holes For The Microbit And Electronics

So I drilled three 4mm holes through the front to hold the MicroBit and act as the connections to the IO pins which go through to the wiring on the inside of the case. I also drilled an additional hole above the Micro:bit for the power lead.

I then drilled holes for the power socket at the back and for the pump and moisture sensor wiring.

Use Screws To Mount The Microbit Onto The Tank

I used a long M3 x 20mm button head screw on each of the 3 pins I needed to connect to, Pin 0, Pin 2 and GND. I connected the wiring to the back of these screws by wrapping the exposed wire around the threads and then using some heat shrink tube to hold it in place.

Solder Electronics Together

I then added all of the wiring and connected the components together inside the housing using the same layout as I had tested on my desk.

Connect All Components Together

Using The Micro:bit Automatic Plant Watering System

Now that the plant watering system is assembled, we can fill the tank with water and try it out.

Fill Tank With Water

With the sensor out of the soil, it immediately sensed that the “soil” was dry and turned the pump on, so it looks like it’s all working correctly.

Test Micro:bit Setup With No Soil

I then pushed the sensor into the soil on one of my indoor plants and positioned the water tube over the soil before switching it back on again.

Sensor In Pot
Complete Setup With Plant
The Graph On The Front of the Micro:bit Shows The Moisture Level

The graph on the front shows the moisture level which has been measured by the sensor as the soil dries out.

When Soil Dries Out, The Pump Comes On

When it gets below the threshold set in the code, the pump comes on automatically in 3-second intervals, waiting for 5 seconds between each pumping cycle, until the moisture level goes above the threshold again.

The Pump Can Also Be Turned On By Pushing Button A

You can also press Button A on the front of the MicroBit to turn the pump on for 3 seconds and water the plant manually.

Pumping Water To Plant

You could use chain multiple MicroBits together using their radio link to view your plant’s moisture level from a different room or even water them remotely. This would be great if you had a couple of plants being cared for using Micro:bits, and you wanted a single one to act as a dashboard in a central location.

Micro:bit Looking After Plant

Have you used a MicroBit for one of your projects? Let me know what you built in the comments section.

The Magic of Tidying Up: Liberating Cleaning Methods That Really Work

Everyone loves a neat and clean home. However, a long list of daily obligations doesn’t leave you with enough time to tidy up, which can lead to stress. Here are some liberating cleaning methods to work their magic for multitasking persons and busy parents.

Use alcohol for chair stains

Many chairs are now made with microfiber upholstery, which makes them harder to clean. Rub the stain with alcohol and wipe with a clean sponge. Alcohol won’t leave a mark because it evaporates faster than water. You don’t have to worry about alcohol fading your fabric either. Make a mixture of one part dishwashing liquid and two parts hydrogen peroxide, spray it on the stain, rub it in, let stand and wash.

Baking soda is good for trash odors

Sprinkle baking soda at the bottom of a trashcan to keep the unpleasant odors away. This is particularly helpful if you have cans in a hot garage or porch. If you’re using trash bags, roll up an old newspaper and put it in the bottom of the bag. The papers will absorb the odor and prevent unwanted leakage from the discarded products in the bag.

Baking soda is good for trash odors

Keep sinks and stove clean

Dirty sinks, stovetops, or counters are signs of a messy home. Make a habit of wiping down the surface you’ve just used. It takes only a few seconds to wipe down the used area, and it will stay clean and disinfected, ready for the next use. Additionally, if you don’t clean the surfaces regularly, grease and grime will build up over time and make it harder to restore their original shine, but any quality polish will keep those kinds of surfaces neat and clean.

Don’t neglect glass surfaces

Sometimes, it’s easy to neglect your windows, mirrors, or any other glass surface, especially if you don’t have kids and pets to make it dirty with their little fingers or paws. You can use traditional window cleaning products, but if you notice that there’s no change, then you can opt for a water-based hydrophobic glass coating that can repel dirt by using water that picks up the dirt and make it easier for you to remove it. That way your windows and glassy decor will stay cleaner for much longer, which will make your home look and feel more pleasant. Also, such coating products can also be used in your car and other glass surfaces in your home.

Don’t neglect glass surfaces

Cleaning your blinds with a pair of socks

Dust can accumulate on your blinds. This may not have occurred to you, but a pair of old socks can help you clean your blinds. Mix equal amounts of water and vinegar in a bowl, put a sock over one hand, dip it into the mixture and go over the blinds. Use the other sock to wipe away the dampness.

Lemon helps in cleaning microwaves

If your children made a mess in the microwave while trying to reheat leftovers from dinner, a lemon can save the day. Slice the lemon into a bowl of water and put it in the microwave on high for 3 minutes. Keep it in the microwave for 3 more minutes and then just wipe out the inside of it. No tough cleaning required. If you want to get rid of odor quickly, place a bowl of white vinegar inside the microwave, shut the door, and keep it there for an hour.

A bathroom with essential oils

Keeping your bathroom fresh can be a real challenge, particularly during the summer months, when your house is cramped with guests and your children’s friends. A great trick you can use is to add a few drops of your favorite essential oil to the inner roll core of your toilet paper. Every time the roll is used, a pleasant smell will be released.

Get rid of old clothes

If you’re wondering which pieces of clothes to retain, simply apply the old rule: If you haven’t worn it in a year, dump it. Avoid cluttering your closet with old stuff you hardly ever wear. Instead, treat yourself with something new. If an old item goes out, a new one can take its place, but be careful not to get overwhelmed with new pieces without dismissing the old ones.

Get rid of old clothes

Keep your garage neat

Check the state of your garage every six months and get rid of anything you don’t need. You can have plenty of things, like old bookshelves and rugs, that only take up space in your garage. It’s a good idea to have labeled bins for different stuff. This will make finding things much easier.

Balancing work and home is challenging and we need all the help we can get. Use these tips to make your home fresh again, stress-free.

Thermal Test On Raspberry Pi Cooling Options – Is Water Cooling Worth It?

Last week, I put together a water-cooled Raspberry Pi 4 and overclocked it to 2.0Ghz to see how well the cooling system would work. It was really effective and only saw a couple of degrees increase in temperature when running at full CPU load for 5 minutes, even when overclocked.

This sounds good, but the PC water cooling system used on the Pi costs a couple of times more than the Pi does, and uses more power than the Pi to run too. So I wanted to have a look at whether some other options could be more cost-effective, and how well they work to keep the Pi cool in comparison.

I got together a couple of common Raspberry Pi cooling options, and I’m going to be comparing the running temperature and cost for each of them. We’ll be looking at just putting aluminium heat sinks onto the Pi, then using the heat sinks in conjunction with a fan in a compact case, then a more significant fan and heatsink combination called an Ice Tower, and finally the water cooling system.

Here’s a video of the tests and results, read on for the written guide:

Purchase Links For The Raspberry Pi Cooling Solutions

Note: Some of the above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this site, with no additional cost to you.

Testing The Raspberry Pi Cooling Options

For each cooling option, I’ll start by running the CPU at full load at the default clock frequency of 1.5Ghz, and then we’ll do a second test with the Pi overclocked to 2.0Ghz. I’ll record the CPU temperature at 1-second intervals and plot these onto a graph for each.

I’ll collect the data like this:

Case 1.5Ghz

The Raspberry Pi 4 allows the CPU temperature to go up to 80°C before it starts throttling the CPU performance to lower the temperature and prevent the CPU from burning out.

From the test results, it looks like mine starts throttling the CPU around 83 or 84 degrees, but we’ll work on 80 as the documented limit.

Raspberry Pi Cooling Temperature Limit 80 Degrees

So if any of the cooling options exceed 80 degrees then you’re going to start getting limited performance from the Pi, and you’ll probably reduce its life by running it this hot for extended periods of time.

It’s also worth remembering that this test just runs the CPU at maximum load indefinitely. This represents a worst case scenario. In practice, your Pi will likely only use a fraction of the CPU capacity for most of its running time, obviously depending on your application and usage.

Testing The Aluminium Heat Sinks

Let’s start out with the plain aluminium heat sinks.

Aluminium Heatsinks Only Raspberry Pi

This is by far the cheapest option, you can usually get a set of these for around $1 – $2. They have a peel-off back and you just stick them onto the heat-generating components on the Pi.

Raspberry Pi Cooling Aluminium Heatsinks Running

The benefit of the heat sink only option is that it is completely silent, so if you’ve got a low-intensity application for your Pi then this might be a good option.

Let’s see how well they do in the thermal tests. We’ll start off at 1.5 Ghz.

Heatsink Only 1.5 Ghz

Right off the mark, before even starting the test, the Pi is already running quite warm. We’ve got a starting temperature of around 51 degrees.

Heatsink Only 1.5 Ghz With Notes

It took around a minute and forty seconds before the CPU was at 80 degrees and the performance started getting throttled.

There isn’t much point in continuing the test once we’ve hit 80 degrees as we’re then losing CPU performance and the temperature will just stay around 80 degrees as the Pi manages the CPU load.

So, I stopped the test and you can see that the temperature initially dropped off quite quickly, but flattened out after another minute or so to around 65 degrees. So it would take a long time to get back down to the 50 degree starting temperature.

Next I increased the clock frequency to 2.0Ghz.

Heatsink Only 2.0 Ghz

Running at 2.0 Ghz, we had a starting temperature of around 61 degrees at idle, which is already pretty high. It only took about 10 seconds to reach 80 degrees once the test was started.

Heatsink Only 2.0 Ghz With Notes

You can also clearly see the Pi throttling the CPU performance on this graph.

The cool down curve after the test is quite similar to the 1.5 Ghz test, flattening out at a slightly higher temperature than at the start of the test.

Heatsink Only Comparison

Here are the two heat sink only graphs plotted together. You can see how much faster the 2.0Ghz test increased the CPU temperature, it’s basically unusable without any active cooling.

Testing The Fan Case

Next let’s move on to the fan case.

I typically enjoy making my own cases for Raspberry Pi’s, but I had this one from an earlier version Pi lying around, so I just opened up the cutouts for the HDMI ports on the side to make it fit.

Raspberry Pi Cooling Fan Case

The fan and CPU are in the same place, so the fan is blowing down directly onto the CPU heat sink. These acrylic cases with fans as also quite a cheap option and usually range between $5 and $10 for a case, including the fan and heat sinks.

Raspberry Pi Cooling Acrylic Case Running

These small fans are quite noisy, so it can be distracting if you’re just using your Pi as a desktop computer or you use it as a media player on your TV. Have a listen to the sound it makes in the video at the beginning of this post.

Let’s see how effective the fan is at keeping the CPU cool.

Fan Case 1.5 Ghz

The fan has already helped reduce the starting temperature to a lower, 46 degrees. I was then able to run the test for a full three and a half minutes without the Pi overheating. The temperature seems to stabilise around 65 degrees. The temperature also drops off much faster now once the test is stopped.

So you can comfortably use your Pi at any CPU load in a fan case at 1.5 Ghz.

Now let’s try overclocking it to 2.0 Ghz and see if the temperature still stays under 80 degrees.

Fan Case 2.0 Ghz

The idle temperature at 2.0 Ghz increase a little, to 50 degrees and unfortunately we weren’t able to complete the test at 2.0 Ghz.

Fan Case 2.0 Ghz With Notes

The Pi overheated a little over a minute into the test and started throttling the CPU performance. There was still a sharp drop in temperature once the test stopped, so the case fan helps quite a bit, but is not an effective option if you’re going to be overclocking your Pi.

Here is a comparison between the two tests with the fan case.

Fan Case Comparison

Testing The Ice Tower

Now lets have a look at the Ice Tower.

Raspberry Pi Cooling Ice Tower

This has become a popular option for Raspberry Pi cooling, and they make a low profile version now too. They also quite affordable, costing around $20 to $25. The Ice Tower has a much bigger heatsink with heat pipes to a large radiator with a significantly larger fan than the case.

Ice Tower Running On Pi 4

The Ice Tower is also quite loud, its about the same sound level as the case fan, so let’s see if it does better in the thermal test.

Ice Tower 1.5 Ghz

Our starting temperature is now lower than with the case, at just 41 degrees and I was able to run the test for the full three minutes and it only went slightly over 50 degrees. This is more than a 10 degree difference over the fan case. You can also see that the temperature returns to almost the same as the idle temperature just 20 seconds after the test is stopped, which is the quickest so far.

The Ice Tower is looking promising for overclocking, so lets try taking it up to 2.0 ghz.

Ice Tower 2.0 Ghz

There wasn’t much difference between the idea temperature at 1.5 Ghz and at 2.0 Ghz, at 2.0 Ghz we again started around 41 degrees.

The Ice Tower managed the full run of 3 minutes without going much over 60 degrees, but it looked like it was still steadily increasing. So I left it running for a further 2 minutes to see how it went and it started flattening out at about 65 degrees.

Ice Tower Comparison

So an Ice Tower is a great option for Raspberry Pi cooling, even when overclocked. It is quite a lot more than the previous two options and you’ll still need to get a case or cover for your Pi, but there are a few options available with a cutout specifically for the Ice Tower.

Testing The Water Cooled Pi

Now let’s look at the final option, the water cooling system which I built for mine.

Raspberry Pi Cooling Desktop Setup

This setup is by far the largest and the most expensive. The cooling system cost around $100 for all of the parts to assemble it and this was using a cheap non-name brand kit, which is definitely not the best quality.

Raspberry Pi 4 Liquid Cooling

One benefit of this setup is that it is much quieter than the fan case or the Ice Tower, as the larger 120mm fan turns much slower.

Let’s see how the water cooled setup does in the thermal test.

Water Cooling 1.5 Ghz

Starting with the 1.5 Ghz test, the idle temperature is now just 28 degrees, which is over 10 degrees lower than the Ice Tower and 20 degrees lower than the heat sink option.

There was a noticeable spike in temperature when the test started, but it remains fairly constant at around 32 degrees for the three and a half minutes of the test. It also dropped back down to the starting temperature almost instantly when the test was stopped.

Now let’s try overclocking it to 2.0 Ghz.

Water Cooling 2.0 Ghz

At 2.0 Ghz, we have the same starting temperature of around 28 degrees. We again have a noticeable spike when starting the test, but the temperature stays around 38 degrees for the rest of the test. I ran this test for four minutes before stopping it, and the temperature dropped off almost instantly again when it stopped.

Water Cooling Comparison

So the water cooling system definitely works the best at keeping the Pi cool and providing a much quieter cooling solution. But it is way more expensive than the other options and is much more difficult to assemble. It’s also not exactly compact, this system is a couple of times larger than the Ice Tower and that’s already considered to be a large heatsink for a Pi.

Summary Of The Raspberry Pi Cooling Tests

Here’s an overlay of all of the Raspberry Pi cooling options which I’ve tested today:

Overall Comparison

It’s quite noticeable just how much better the ice tower and the water cooling circuits are for high CPU loads, especially when overclocked. Heat sinks only and fan cases are great if you’re going to be using your Pi for light loads, such as a Pi-hole, network storage, or WiFi camera. If you’re going to be doing any CPU intensive tasks, like video editing, light gaming, or simulations then you’ll need to get a more substantial cooling solution, like the Ice Tower. And if you’re a fan of overkill like me, then you definitely need a water-cooled Pi.

Let me know in the comments section what your Raspberry Pi cooling solution is.

Water Cooled Raspberry Pi 4 – Totally Unnecessary, But Pretty Awesome

Today I’m going to see if I can use a PC water cooling kit to make a water cooled Raspberry Pi 4. I’ve seen a couple of people try this on older model Pi’s, using reducers and adapters to get to a small cooling block onto the CPU, but I’m going to try and make an adapter to fit a larger 30mm cooling block onto a Pi 4.

Just to be clear, this is totally unnecessary and is more of a let’s do it because we can, not because we should type of project. But we’ll have fun building it anyway, and hopefully it works well in the end!

Here’s a video of the build and the test, read on for the write-up:

What You Need For A Water Cooled Raspberry Pi

  • Raspberry Pi 4 – Buy Here
  • Pi Power Supply – Buy Here
  • 120mm Water Cooling Kit (Not From Amazon) – Buy Here
  • 240mm Water Cooling Kit (Larger, But From Amazon) – Buy Here
  • Water Cooling Block Kit For Raspberry Pi 4 – Buy Here
    • Alternate to Above – CPU Cooling Block (Not From Amazon) – Buy Here
  • Adjustable 12V Power Supply – Buy Here

Note: Some of the above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this site, at no additional cost to you.

PC Water Cooling Kit

I bought a kit that included a 120mm fan and a radiator, a 12V pump, a reservoir and some tubing. These kits are commonly available online for significantly less than the name brand components sold for high-end PCs, but it’s still quite expensive just to mess around with.

Full Sized CPU Cooling Water Block

The kit also included a full size CPU cooling block. It looks quite cool (excuse the pun) but is way too big to try and fit onto the Pi, so I’m going to be using one of these smaller 30 x 30mm blocks which can accommodate a half-inch or 12mm tubing.

CPU Cooling Water Block

Building The Water Cooled Raspberry Pi 4

Mounting The Cooling Block To The Pi

I’m going to start out by making a bracket to hold the cooling block in place on the Pi over the CPU.

Designing A Bracket To Hold The CPU Block

We’ll need a square section to locate the block and hold it down onto the CPU and then some legs off to the four mounting holes to hold it in place. I’ve tried to avoid covering the GPIO pins and the major components, the bracket will be quite high up, so won’t interfere with any of the surface mount components.

Laser Cutting The CPU Mounting Bracket

I cut the two parts for the bracket out on my laser cutter from 3mm fluorescent green acrylic.

Gluing The Retaining Ring In Place

 Then glued the pieces together using some acrylic cement.

Cooling Water Block & Bracket

Now that we’ve got a bracket to hold the heat sink in place, lets fit it to the Pi.

Can't Mount The Block Directly

The cooling block can’t be mounted straight onto the CPU as the display connector is too high. We’ll need to put a spacer in between the CPU and cooling block to lift it above the display connector, with enough room for the tubes.

Cut A Sqaure Of Aluminium Spacer Block

I’ve cut a section of 4mm aluminium to fit on top of the CPU to space the cooling block away so that it clears the display connector.

Add Standoffs For The Cooling Block

Next, I’m going to use some nylon standoff mounts for the screws which hold the cooling block bracket to screw into. I’ll hold these in place with some shorter nylon standoffs underneath the Pi.

Put Thermal Paste Onto CPU

I’ll use some thermal paste between the CPU and the spacer and then again between the spacer and the cooling block.

Secure With M3 Screws

The acrylic bracket is then clamped down onto the CPU using some M3 x 12mm button head screws.

Cooling Block Mounted on Water Cooled Raspberry Pi

Making The Cooling Circuit Stand

Now that we’ve got our cooling block mounted onto our Pi, we can start working on mounting the rest of the cooling circuit.

Water Cooling Stand

Rather than just connecting all of the components together on a desk, I decided to design a stand to mount the water cooling components and Raspberry Pi, so that it looks more complete.

I’m going to use clear acrylic for the stand with some fluorescent green legs to match the cooling block bracket. The water cooling components should just bolt straight onto this sheet once it’s been cut out.

Laser Cutting The Water Cooling Stand

Again, I cut this stand out on my laser cutter from 3mm acrylic, this time clear.

Now that we’ve got our stand components made, lets start putting them together.

Mount Water Cooling Components To Test Stand

I’ll start by mounting the reservoir, pump and radiator onto the stand.

Glue Raspberry Pi Stand Together

Next, I need to glue the Raspberry Pi stand components onto the main cooling water stand. I clamped the components in place and allowed the cement to cure for a couple of hours before trying to mount the Pi.

Mount Pi To Stand

Once the glued had properly cured, I put two lengths of tubing onto the heat sink so that I didn’t have to try push them on in the tight space between the Pi and the pump, and then mounted the Pi onto the stand using four nylon M3 nuts on the bottom of the standoffs.

Connect Remaining Tubing on Water Cooled Raspberry Pi 4

I then added the fittings and finished off the tubing.

One side of the cooling block goes to the pump and the other to the radiator. We also need a section of tube from the radiator to the top of the reservoir.

The last thing to do is to add a small acrylic block to the base of the pump to hold the weight of the pump and reservoir. The legs on the stand are not strong enough to support all of the cooling components and I didn’t want to make them bigger as I like the look of the thinner sections. You’ll also hardly notice the block under the pump if it’s clear.

Fill Up Circuit With Cooling Water

Our water cooled Pi is now complete, we just need to fill it up with water or cooling liquid and try it out. The system took around 300ml of cooling liquid to fill.

Testing The Water Cooled Raspberry Pi 4

The fan and pump are actually quite quiet when running, the system is a lot quieter than some of the small case fans I’ve used on a Raspberry Pi.

Fan Running On Radiator on Water Cooled Raspberry Pi

Now let’s try and do a stress test on the water cooled Raspberry Pi to see how well this cooling system works.

CPU Test At 1.5GHz

With the CPU clock frequency set to the default 1.5Ghz, we start out with a temperature of around 28°C. This was in a room of around 25°C, so it was done with quite a warm ambient temperature.

Start of run 1.5Ghz

I then did a 5-minute stress test at full CPU load.

End of Run 1.5Ghz

There was a small spike initially where the temperature went up to 31°C but it stayed between 31°C and 33°C for the rest of the test and dropped off quickly when the test was stopped.

Full Run 1.5GHz

Here’s a graph of the CPU temperature for the duration of the test.

CPU Test At 2.0GHz

Now I’m going to try overclocking the Pi to test it at a higher CPU frequency.

Overclocking to 2.0Ghz

I set the CPU frequency to 2.0Ghz for this test.

Let’s try doing a stress test and see what we get.

Start Run 2Ghz

For this test we started out with a temperature of around 29°C, which then quickly spiked to 39°C when the test was started.

Almost Complete 2Ghz

The temperature the stayed around 36°C to 37°C for the rest of the test.

End 2Ghz

Here’s a graph of the CPU temperature for the duration of the 2Ghz test.

Conclusion

The water cooling system on this Pi works really well at keeping the CPU cool. Even when overclocked to 2.0Ghz, the Raspberry Pi 4’s CPU temperature never went above 40°C. I wasn’t able to test the Pi at the maximum 2.147Ghz as my Pi wouldn’t boot up at this frequency, probably due to under-voltage. I’ll try and get this fixed and do a test at the maximum frequency as well at some stage.

To get an idea of whether this is worthwhile, I’m going to be comparing this water cooling system to an Ice Tower, a standard acrylic case and fan and then just a Pi with a static heat sink on it in the next week or two. So make sure that you check back here, or subscribe to my Youtube channel and turn on notifications so that you don’t miss out on that.

Let me know what you think of this water cooled Raspberry Pi 4 in the comments section below!

Setting Up A Pi-hole Network Ad Blocker On A Raspberry Pi Zero W

Pi-hole is a clever piece of software which acts as a network-wide ad blocker. It enables you to block ads on websites, ads in apps on your mobile devices and even on your smart TV, regardless of the software they’re running and without the need for any other local software on the device. Pi-hole also improves your network speed, because the ads are blocked before they are downloaded. This also saves data if you’re on a limited data plan.

Open Pi Hole From Any Device

A web interface lets you interact with your Pi-hole and view stats on your network traffic.

Now that you know what Pi-hole is, let’s have a look at how to to set one up on your home network, step by step.

If you’re running a large network with lots of users and traffic then the best device to use would be one of the Raspberry Pi 3 or 4 models with an ethernet connection to your router. But for a smaller home network with less than 50 devices and only a couple of users online at a time, a Pi Zero W works perfectly.

Raspberry Pi Zero W Pi-hole

I’ve been using one for a month now.

Here’s a step by step video guide to setting up your Pi-hole, read on for the written guide:

What You Need To Make Your Own Pi-hole Ad Blocker

  • Raspberry Pi Zero W Complete Kit – Buy Here

Alternately, buy the individual components:

What You Need For Your Pi-hole Ad Blocker

You’re going to need a Raspberry Pi Zero W, a micro SD card of at least 16GB, and something to put the Pi into to protect it, I just used the official case. You can usually buy these kits online for around $30-$50 dollars which includes everything you need, even a power supply, although you can buy the Pi alone for as little as $10 if you do some searching.

You won’t need a mouse, keyboard or monitor for this as we’ll be using another computer on the network to set up the Pi-hole.

Preparing Raspberry Pi OS Lite On The SD Card

We’ll start by preparing the Raspberry Pi’s operating system on the SD card, Pi-hole will then be installed to run on this operating system later.

Insert Your SD Card For Image Flashing

Plug your microSD card into your computer. Don’t worry about formatting it just yet, we’ll get to that in a minute.

Raspberry Pi Image Flasher Utility

Start by downloading the Raspberry Pi Imager on your computer. This is a fairly new tool and it’s one of the easiest to use. They have a version for Windows, Mac and Linux.

Writing The Image To The SD Card

You just select the Raspberry Pi operating system you need, which in our case is Raspberry Pi OS Lite, and then select the SD card you want to write the image to. Click write and let the tool do the rest, it’ll write the image, check it and then eject the SD card.

There is a bit more to do on the SD card before we’re done on the computer, so you’ll need to plug it in again to access it. You might get a couple of windows pop up and one which says you need to format the card in order to use it, just ignore these and close them. Don’t format the card again.

PiOS Lite Boot Folder

The will be one readable partition on the card called boot, you should be able to open this partition and you’ll see a number of files. We need to add two files to this directory, one to tell the Pi how to connect to your network and another to enable SSH so that you can access it over the network.

wpa supplicant txt file

Download the network settings template wpa_supplicant and open it using a basic text editor like Wordpad.

WPA Supplicant

In the network settings section, you need to add your local WiFi network name next to ssid and your network password next to psk, leaving all of the punctuation marks in place. You can also change your country code at the top if you’d like, this can be set up later though.

Save and close the file.

Changing file to conf

Now change the extension of the file from .txt to .conf. Click yes if you are given a warning.

Paste supplicant file

Now copy this file into your boot directory.

Thats the first done, now we need to add an SSH file.

Add SSH file

Create a new text file and change its name to ssh and remove the extension. So the file should just be a blank file called ssh with no extension.

Completed Files Required

Once you’ve got both of these files then you can eject and remove your SD card.

Insert The SD Card Into The Pi Zero W

Plug the SD card into your Pi, then put it into it’s case and plug the power cable in. It’ll take a few seconds to boot up.

Power It Up

First Boot & Connecting To Your Pi Zero W

Finding Your Pi’s IP Address

Now that you’ve got your Pi booted up and (hopefully) running, you need to be able to access it in order to install Pi-hole onto it and make any settings changes or updates.

To do this, you first need to figure out your Pi’s IP address, which has been assigned by your router. There are many ways to do this, one of the easiest is by logging into your routers admin page. You’ll need to do this later anyway to make a few changes to your router’s settings. There are often details on how to login to the admin page, along with the default username and password, on the label on the router.

Finding The Pi's IP Address

Depending on how complex your router’s software is, you may need to do some exploring until you find a page which lists all of the devices currently connected to the network along with their IP address, this is usually called a DHCP table. Take note the IP address assigned to your Pi.

While you’re logged in, you need to set this IP address (or another one if you’d like) up as a static IP address, so that your router always assigns this same address to your Pi-hole, this is an important step, you’ll see why in a bit. Again, all routers are a bit different, so you’ll need to do some digging if you don’t know how to set up a static IP on yours. If you can’t find the option, try googling your Router’s model and the words “static IP” and you should find some information.

You’ll typically need your Pi’s MAC address, which should also be listed in the DHCP table, and the IP address which you want to use. Enter these to assign your chosen IP address to your Pi each time it joins the network. If you choose a different one to the one currently assigned then you might have to reboot the Pi after this step.

Now that you’ve got your Pi’s IP address, you can access it over the network.

Connecting To Your Pi Over The Network

You’ll need to install a terminal emulator / SSH client like Putty to access your Pi’s terminal.

Using Putty To Access Pi

Enter your Pi’s IP address and then click open to attempt to connect to the Pi.

You’ll get to a black terminal display that asks you for a login. The default username is “pi” and the password is “raspberry”.

Raspberry Pi Config

You’ll want to change these as soon as possible. So it’s a good idea to run the configuration tool first by entering:

sudo raspi-config
Raspberry Pi Config Utility

This tool lets you change a number of settings on your Pi.

As a start, you should change:

  • The default username
  • The password
  • Make sure that you’ve got the correct regional settings selected.

Installing Pi-hole On Your Raspberry Pi Zero W

Now you should have your Raspberry Pi Zero set up properly with a new username and password and connected to your network, with access to it over SSH.

Install Pi-hole

Now you can install Pi-hole by entering the following command:

curl -sSL https://install.pi-hole.net | bash
Running Through Pi-hole Installer

The Pi will start downloading and installing the software. It takes a couple of minutes to run through and you’ll then get to the following page to guide you through the Pi-hole setup.

Installation Settings

For the most part, you can just run through the default selected options and hit OK for each. You shouldn’t make any changes to these settings unless you know what you’re doing or you’ll likely just land up with a Pi-hole that doesn’t work.

Upstream DNS Provider

You might want to change your Upstream DNS provider if you’d like. This is just the provider which your Pi-hole is going to use as the name server for your domain requests.

Also, make sure that the IP address listed is the one which you set as the static IP for your Pi.

Installation Complete

It’ll then run through another setup process and you’ll finally get to an “installation complete” display. Take note of the Admin Webpage password as you’ll need this to log in to the Pi at a later stage to view the detailed statistics and to change any settings. You’ll be able to change this password from the web interface – but you need this password in order to do so.

You can change your Pi-hole password at a later stage over SSH using the command:

sudo pihole -a -p (new password)

You can now close the terminal connection.

Fresh Install Of Pi-hole

Test if Pi-hole is running by going to your browser and typing in the IP address that you’ve configured for your Pi along with forward slash and admin.

192.168.20.14/admin

You should see a page like this show up. You’ll notice that no queries have been received or blocked yet because the router isn’t directing traffic through the Pi-hole, there is still one last thing to set up.

Setting Up Your Router To Direct DNS Requests Through Your Pi-hole

You’ll need to log back into your router and find your DNS settings page.

Set Up Pi-hole As DNS Server

Here you’ll need to set your Pi-hole’s IP address as the primary DNS server, if your router has to have a secondary DNS server, then type the same address into that field as well. Click save or apply to make the changes. You may then need to reboot your network devices to take effect.

Open Pi-hole From Any Device

If you go back to your Pi-hole dashboard, you should now see requests coming through and ads queries being blocked.

Log Into Pi-hole

If you log in to your Pi-hole using the admin password that was created during setup, you should have more access to the network statistics and see detailed logs.

Settings To Shut Down Pi-hole

You’ll also be able to change settings, add or remove domains on the block list, and reboot or turn off your Pi.

Remember that if you turn off your Pi and your router’s primary and secondary DNS server are set to your Pi’s address, you will no longer have access to the internet until your Pi is back online. So make sure that your Pi-hole is on a reliable power source, preferably the same one as your router.

Raspberry Pi Zero W Pi-hole

Some routers have a USB port on them which has enough power to supply an external drive. This port usually supplies enough power to drive a Raspberry Pi Zero W running as a Pi-hole, so you can ensure that they’re always on together.

This guide is just a starting point to get your Pi-hole up and running, there is a lot more than can be done using Pi-hole once you’re comfortable with it.

You can also set the Pi up to run the DHCP service, which allows the Pi-hole to identify devices by their name rather than IP address and even integrate powerful third-party anti-malware and anti-phishing DNS services.

That’s it, you’ll now be able to enjoy an ad free browsing experience on your home network!

Its worth noting that there are some limitations to the ad blocking ability of the Pi-hole. The Pi-hole is simply blocking requests being made to domains which are known to serve ad content, if the website you are accessing serves its own ad content, from their same domain, then the Pi-hole won’t block these ads. Typical examples are ads running on Youtube videos or Facebook ads in your Facebook news feed.

Let me know if you’ve used a Pi-hole in the comments section.

DIY Raspberry Pi 4 Desktop Case With OLED Stats Display

Today I’m going to be showing you how to make your own desktop case for a Raspberry Pi 4, which looks like a mini desktop pc.

Raspberry Pi 4 Desktop Case Computer
Raspberry Pi 4 Desktop Case Computer

The body of the case is 3D printed and it has clear acrylic sides so that you’re able to see into it. I’ve used an Ice Tower to cool the CPU, but have mounted the fan onto the side of the case rather than on the heatsink.

OLED Stats Display For Raspberry Pi 4

I’ve also included an OLED display on the front of the case which displays the Pi’s IP address and some stats like the CPU, storage and memory usage, and the CPU temperature.

You can now buy a pre-made kit for this Raspberry Pi 4 Desktop Case – Buy Here.

Here’s a video of the build and the case and display in operation:

What You Need To Make Your Own Raspberry Pi 4 Desktop Case

Raspberry Pi 4 Desktop Case Oled Display Ice Tower

In addition to the above, you’ll also need to have access to a 3D printer to print the plastic portion of the case.

I use the Creality Ender 3 Pro which I’ve found to produce great quality prints and is quite affordable.

3D Printer – Creality Ender 3 Pro – Buy Here

You don’t need a laser cutter for this build, although it does help significantly with making the sides. You can also use an online laser cutting service or simply cut your own sides using hand tools. I’ve used a Desktop K40 laser cutter/engraver.

Laser Cutter – K40 – Buy Here

Note: The above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this channel, with no additional cost to you.

Making The Raspberry Pi 4 Desktop Case

3D Printing The Body

I started out by designing the 3D printed body of the case in Tinkercad.

Designing The Case In Tinkercad

Note: This design is copyrighted and is available for your personal, non-commercial use only. It may not be reproduced for commercial gain or republished in any form.

I’ve also put together a pack with some additional case variations which is available through this link – Additional 3D Print Files. This pack includes:

  • Case With SD Card Cutout
  • Case With OLED Display On The Other Side (USB & Ethernet Ports On Back)
  • Case With No OLED Display Cutout
  • Additional Side Panel Design With Larger HDMI Cutout

I drew a rough outline of the case and then positioned the Raspberry Pi within the case so that the USB and Ethernet ports are available through the front and the Power, HDMI, and audio ports are accessed through the side panel.

The OLED display is positioned on the front of the case above the ports. The OLED display will be held in place with two small clips on the top edge and a screw with a plastic clip at the bottom, a design which I’ve used before on my Arduino based reaction timer.

Designing The Case Mounting Footprint

The Pi is going to be mounted onto the brass standoffs which came with the Ice Tower, so I added some holes to accommodate the M2.5 threads.

I don’t remove the SD card on the back of the Pi very often, so I didn’t add a cut-out for it. If you do, then just add a circular cut-out to the case at the back so that you can still access it. It is going to be a bit of a chore to swap the SD card if you don’t have this cut-out as you’ll need to remove the Pi from the case to access it, I’m happy with doing this if I ever need to change the card.

3D Printing The Case Housing

I 3D printed the Raspberry Pi 4 Desktop Case using Black PLA with a 0.2mm layer height and 15% infill. I also added print supports for the cutouts for the display and ports on the front. You’ll probably need to add these as well, which is easy to do in your slicing software. You’ll also need to print the small plastic display clamp.

3D Printed Components

Install The Raspberry Pi & Ice Tower

Now that the main body of the case is complete, let’s mount the Raspberry Pi into it. Start by screwing the brass standoffs into the holes in the base.

The holes for the brass standoffs are intentionally quite tight the first time you screw them in. You’ll likely need to use a small wrench or spanner to get them screwed in, you can also use some needle nose pliers if you don’t have a suitable size wrench.

Standoffs Mounted Into The Case

I’ve just changed the orientation of the screws and standoff mounts supplied with the Ice Tower so that they screw straight into the bottom of the case and don’t require and through holes. If you follow the Ice Tower installation manual, you’ll notice that the standoffs and screws are installed the opposite way around.

Remove The Fan From The Ice Tower

Next, we need to remove the fan from the Ice Tower so that we can attach it to the acrylic side panel. By moving the fan onto the side panel, we make sure that cool air is being drawn in from the outside of the case and then has to leave from the exhaust air vents on the opposite side.

Mount The Ice Tower Legs

Add the support brackets to the bottom of the Ice Tower heatsink as per the instructions. Make sure that you follow the correct orientation of these.

Secure The Pi With The Second Set Of Brass Standoffs

Update – As a few people have pointed out, it’s easier to install the OLED display and the screw to hold it in place before putting the Ice Tower in.

Place the Raspberry Pi into position and then use the second set of brass standoffs, screwed into the bottom set, to secure it.

Install The Ice Tower

Stick the heat sink pad onto the Pi’s CPU and peel off the top layer of protective film. Position the Ice Tower heat sink onto the heat pad on the CPU and then secure it with the four screws into the brass standoffs.

Install The OLED Display

Now we need to install the OLED display onto the front panel. If your display came without the pins soldered into place, solder them onto the back of the display.

Install The OLED Display

Slide the top edge of the display in under the plastic clips and then gently push it down into position in the cut-out.

Secure The OLED Display Clip

Use the 3d printed clamp to hold it in place with a small screw. You might need a flexible shaft or 90-degree screwdriver to tighten the screw.

Update – I’ve put together a detailed guide to connect and program the OLED display.

Don’t over-tighten the screw, the clamp just needs to gently hold the display in place. If you clamp it too tightly you might crack the glass on the display.

Make Up The OLED Display Ribbon Cable Connector

Now we need to prepare the wiring to the OLED display. You’ll need to make 4 connections to your GPIO pins, two for power and two for communication. I made up this short connector cable using some DuPont connectors and some ribbon cable. You can also use some female pin header strips or female breadboard jumpers to connect the display to the Pi.

Plug In The Ribbon Cable Connector

Once your cable is made up, connect it to the back side of the display and then plug the leads into the GPIO pins as follows:

  • GND to Pin14 Ground
  • VCC to Pin1 3.3V Power
  • SCL to Pin5 SCL (GPIO 3)
  • SDA to Pin3 SDA (GPIO 2)
GPIO-Pinout-Diagram-2

I’ve noticed that there are two versions of these OLED displays available and they have the power pins the opposite way around, one version has VCC and then GND and one GND and then VCC, so just make sure that you’re connecting power the correct way around for your display.

Make The Acrylic Sides

The internal parts of the case are now mostly done, so let’s make up the acrylic sides to close it up.

Export Side Profile Of Case To Make Acrylic Sides

I started in Tinkercad again and positioned a block in the case roughly where the Ice Tower heat sink is going to be so that the holes for the fan are in the correct place on the side panels. I then exported the side profile of the case and heat sink to open up in Inkscape to draw the laser cutting profile.

We need two sides, one with the fan for the inlet and one with some holes in it for the exhaust air.

Drawing The Acrylic Sides In Inkscape

We can remove the inside edge profile as we only need the outline of the case and the screw holes. We need to add a hole for the fan and the four surrounding holes for the fan screws. We’ll also need to add cut-outs for the ports along the side of the Raspberry Pi.

Making The Hexagon Pattern For The Exhaust Air

Next, I created a mirror of the fan side to the exhaust side and drew a hexagon pattern for the exhaust airflow.

Completed Side Panels

If you’re not going to be laser cutting the sides and you’re cutting them out by hand, then replace these hexagon holes with circular drilled holes (Ø8mm) in the same area.

Laser Cutting The Side Profiles

Now let’s get the sides cut out. I used 2mm clear acrylic for the side panels.

Side Sheets Ready To Be Installed

You can use a colour tinted or opaque acrylic as well if you’d like. A lot of the coloured sheets are only available in 3mm. This won’t really matter, you’ll just have thicker edges.

Screw Fan Onto Side Panel

To mount the fan onto the side panel, you’ll need to press some M3 nuts into the pockets by the screw holes. It’s easiest to place the nut on a flat surface and then press the fan hole over the nut to push it into place. These are tight so that you don’t need to use a spanner to hold them when you tighten the screws.

If you want to re-use the fan screws, they’ll be too short to fit through the acrylic and fan and then into the nuts, you’ll need to press the nuts into the front (acrylic side) of the fan. You’re relying on the friction between the nut and the fan to hold it in place, but it works fine in this case as there isn’t much load on them.

Screw Fan Side Panel Onto Case

Screw the fan side panel onto the 3D printed case using four M3 x 8mm hex head machine screws.

Pi 4 Desktop Case - Fan Side Panel In Place

The screws should be a bit tight as the inside of the holes aren’t threaded, most 3D printers can’t print such a fine thread.

Attach Fan Power

Now plug the fan into the 5V supply on the Pi and then install the other side panel. The red wire to Pin 4 (5V) and the black wire to Pin 6 (Ground).

Pi 4 Desktop Case - Screw On Exhaust Air Side

That’s it for the assembly, the Raspberry Pi 4 Desktop Case is now complete. We just need to get the OLED display working.

Programming The OLED Display

Update – I’ve put together a detailed guide to connect and program the OLED display.

To get the display working, we need to run a Python script. You’ll need to boot your Pi up to do this.

The Raspberry Pi communicates with the display using I2C communication, so you’ll also need to make sure that this is enabled in your preferences or do it through the command line by running:

sudo raspi-config

Then select Interfacing Options, then I2C, then select Yes and then reboot the Pi with the following command:

sudo reboot

You’ll also need to ensure that the python-smbus and i2c-tools libraries are both installed. They should be by default, but it’s worth checking, by running the following commands:

sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo pip3 install Adafruit_BBIO

While you’re at this stage, it’s also worth checking that your Pi is able to see your display. You can display a list of devices connected to the I2C bus by entering the following command:

sudo i2cdetect -y 1

This should display an output similar to the below:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

This indicates that a device has been detected and it’s address is 0x3c. If you don’t get anything showing up here then check your connections to your display and make sure that you’ve got I2C communication enabled on your Pi.

Don’t proceed with trying to program the display if you aren’t getting an address in this step. This means that the Pi isn’t able to see the display, and it won’t be able to display anything until it is.

Next, let’s have a look at the script and how to install it. This script is mostly based on one of the example scripts in the Adafruit Python Library for OLED display modules, with a few changes by Shakhizat Nurgaliyev to add the CPU temperature and change the format of the display.

# Copyright (c) 2017 Adafruit Industries
# Author: Tony DiCola & James DeVito
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
import time

import Adafruit_GPIO.SPI as SPI
import Adafruit_SSD1306

from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont

import subprocess

# Raspberry Pi pin configuration:
RST = None     # on the PiOLED this pin isnt used
# Note the following are only used with SPI:
DC = 23
SPI_PORT = 0
SPI_DEVICE = 0

# Beaglebone Black pin configuration:
# RST = 'P9_12'
# Note the following are only used with SPI:
# DC = 'P9_15'
# SPI_PORT = 1
# SPI_DEVICE = 0

# 128x32 display with hardware I2C:
disp = Adafruit_SSD1306.SSD1306_128_32(rst=RST)

# 128x64 display with hardware I2C:
# disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST)

# Note you can change the I2C address by passing an i2c_address parameter like:
# disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST, i2c_address=0x3C)

# Alternatively you can specify an explicit I2C bus number, for example
# with the 128x32 display you would use:
# disp = Adafruit_SSD1306.SSD1306_128_32(rst=RST, i2c_bus=2)

# 128x32 display with hardware SPI:
# disp = Adafruit_SSD1306.SSD1306_128_32(rst=RST, dc=DC, spi=SPI.SpiDev(SPI_PORT, SPI_DEVICE, max_speed_hz=8000000))

# 128x64 display with hardware SPI:
# disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST, dc=DC, spi=SPI.SpiDev(SPI_PORT, SPI_DEVICE, max_speed_hz=8000000))

# Alternatively you can specify a software SPI implementation by providing
# digital GPIO pin numbers for all the required display pins.  For example
# on a Raspberry Pi with the 128x32 display you might use:
# disp = Adafruit_SSD1306.SSD1306_128_32(rst=RST, dc=DC, sclk=18, din=25, cs=22)

# Initialize library.
disp.begin()

# Clear display.
disp.clear()
disp.display()

# Create blank image for drawing.
# Make sure to create image with mode '1' for 1-bit color.
width = disp.width
height = disp.height
image = Image.new('1', (width, height))

# Get drawing object to draw on image.
draw = ImageDraw.Draw(image)

# Draw a black filled box to clear the image.
draw.rectangle((0,0,width,height), outline=0, fill=0)

# Draw some shapes.
# First define some constants to allow easy resizing of shapes.
padding = -2
top = padding
bottom = height-padding
# Move left to right keeping track of the current x position for drawing shapes.
x = 0


# Load default font.
font = ImageFont.load_default()

# Alternatively load a TTF font.  Make sure the .ttf font file is in the same directory as the python script!
# Some other nice fonts to try: http://www.dafont.com/bitmap.php
# font = ImageFont.truetype('Minecraftia.ttf', 8)

while True:

    # Draw a black filled box to clear the image.
    draw.rectangle((0,0,width,height), outline=0, fill=0)

    # Shell scripts for system monitoring from here : https://unix.stackexchange.com/questions/119126/command-to-display-memory-usage-disk-usage-and-cpu-load
    cmd = "hostname -I |cut -f 2 -d ' '"
    IP = subprocess.check_output(cmd, shell = True )
    cmd = "top -bn1 | grep load | awk '{printf \"CPU Load: %.2f\", $(NF-2)}'"
    CPU = subprocess.check_output(cmd, shell = True )
    cmd = "free -m | awk 'NR==2{printf \"Mem: %s/%sMB %.2f%%\", $3,$2,$3*100/$2 }'"
    MemUsage = subprocess.check_output(cmd, shell = True )
    cmd = "df -h | awk '$NF==\"/\"{printf \"Disk: %d/%dGB %s\", $3,$2,$5}'"
    Disk = subprocess.check_output(cmd, shell = True )
    cmd = "vcgencmd measure_temp |cut -f 2 -d '='"
    temp = subprocess.check_output(cmd, shell = True )

    # Write two lines of text.

    draw.text((x, top), "IP: " + str(IP,'utf-8'), font=font, fill=255)
    draw.text((x, top+8), str(CPU,'utf-8') + " " + str(temp,'utf-8') , font=font, fill=255)
    draw.text((x, top+16), str(MemUsage,'utf-8'), font=font, fill=255)
    draw.text((x, top+25), str(Disk,'utf-8'), font=font, fill=255)

    # Display image.
    disp.image(image)
    disp.display()
    time.sleep(.1)

You’ll need to download the original Adafruit example library from Github to get the setup complete by using these commands in your terminal:

sudo python -m pip install --upgrade pip setuptools wheel
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git

Open a new terminal window, then navigate to the library’s directory:

cd Adafruit_Python_SSD1306

Install the library for Python 3:

sudo python3 setup.py install

You can then run the above stats.py file or the example stats.py file in the Adafruit directory, you’ll just get a slightly different display layout with the Adafruit example.

Change to the directory containing the stats.py script:

cd examples

Execute the script:

python3 stats.py

You can test run the script to check that your display is working correctly and you don’t get any errors before setting it to run automatically.

To set the script to run automatically, you’ll need to find the script’s directory, then open crontab and add a line to run the script:

@reboot python3 /home/pi/stats.py &

You’ll obviously need to change the directory /home/pi/ to reflect the directory where you have your script saved.

Don’t forget to add the & at the end, this tells the Pi to continue starting up and run the script in the background.

Raspberry Pi 4 Desktop Case Display Showing stats

Reboot the Pi to automatically run the script and you should then see the stats shown on the OLED display when it starts up.

Raspberry Pi 4 Desktop Case Lights
Raspberry Pi 4 Desktop Case With LED Lighting
Pi 4 Desktop Case With LEDs

I’ve also made an Ice Edition of this case using white PLA for the case and a blue-tinted acrylic for the side panels. This Ice Edition Kit is available through my Etsy store.

Ice Edition Raspberry Pi Case 2
Ice Edition Raspberry Pi Case

Let me know if you like this Raspberry Pi 4 Desktop Case or what you’d do differently in the comments section.

Edit – Alternate Font Option for the OLED Display

Thanks for Richard Jelbert for finding an alternate font which looks much clearer than the default one.

Pi Desktop Case Alternate Font

To get this font to work, you’ll need to:

  • Change the display size setting from 128 x 32 to 128 x 64. To do this you just need to comment out the 128 x 32 line and uncomment the 128 x 64 line a little below it:
# 128x32 display with hardware I2C:
disp = Adafruit_SSD1306.SSD1306_128_32(rst=RST)

# 128x64 display with hardware I2C:
# disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST)
  • Download the font PixelOperator.ttf from https://www.dafont.com/pixel-operator.font and then place it into the script directory. You’ll then need to edit the below code by commenting out the initial font = Image… line and uncommenting the last line, changing ‘Minecraftia.ttf’ to your font and selecting a suitable font size. Richard has used font size 16.
# Load default font.
font = ImageFont.load_default()

# Alternatively load a TTF font.  Make sure the .ttf font file is in the same directory as the python script!
# Some other nice fonts to try: http://www.dafont.com/bitmap.php
# font = ImageFont.truetype('Minecraftia.ttf', 8)

Re-load the script and you should then get a much clearer text readout on your display.

Share This Guide

3D Printed Raspberry Pi 4 Desktop Case Pinterest

TMC2208 Vs A4988 Stepper Motor Driver Sound Level Comparison

The TMC2208 stepper motor drivers are a popular choice for reducing the stepper motor noise on 3D printers and laser cutters. They’re particularly useful because they can be used as an almost direct replacement for the A4988 stepper motor drivers which are already widely used. They have the same footprint and pin layout so that they are able to operate in place of an A4988 driver without any significant modifications.

Here’s a photo of the green A4988 driver on the left and the white TMC2208 driver on the right. The TMC2208 driver has a significantly larger heat sink, the boards are actually the same size.

A4988 And TMC2208 Driver

I’ve heard that people have been impressed by how well they’ve worked to silence their 3D printers, but I was curious about how much quieter they would be. So I ordered two to try out. They’re typicallyy about $10 each (including shipping etc.), which is quite a bit more than the A4988’s, which you can often get for $2-3 each, but you only usually need 3 or 4 of them at a time, so it’s not an expensive upgrade. You can also often get much better pricing if you buy an upgrade set of 4 or 5 of them.

Underside Of Two Stepper Drivers

Buy You Own TMC2208 Drivers

The above links are Amazon affiliate links

Comparing The Two Drivers

For this test, I’m going to compare the two side by side using the same motor so that you can hear the difference. I’ll also show the actual sound level readout in decibels from an app on my phone for comparison.

Here’s a video of the full test so that you can hear the sound difference for yourself:

Let’s start by setting them both up on a breadboard so that we can compare them. We’ll use the same signals from the Arduino to each driver, so both drivers are on the same supply voltage, the same logic level voltage and are receiving the same direction and step signals from the Arduino. I’ll just swap the motor connection between the two to change which driver is driving the motor.

A4988 TMC2208 Side By Side Comparison

I’ve also add a 10K pot to one analog input so that we can adjust the motor speed.

Add A Pot To Adjust Motor Speed

You may also have noticed, with the two boards set up side by side, that the current limit adjustment pot is on opposite sides of the two boards, so keep this in mind if you do swap your A4988 drivers with TMC2208 drivers so that you don’t install them the wrong way around.

Before starting, we’ll also need to set the motor current limit on each driver to suit this motor, which has a rated current of 0.8A. This is important to limit the maximum around of current which can be supplied through the motor coils so that the motor does not burn out.

Here is the sketch that I’m using to drive the motors using the potentiometer:

Lets start by testing the sound level on A4988 driver.

A4988 Sound Level - 74 Decibels

In full-step mode the steps are quite choppy when the motor is turning slowly, if we speed it up a bit it sounds a bit smoother.

A4988 Sound Level Up Close - 74 Decibels

So running at a medium to high speed, we have a sound level of around 74 decibels on the A4988 driver.

Let’s change the motor over to the TMC2208 driver and see how that does. I’ll also be turning the Arduino off between tests so that we’re not swapping the motor over while the coils are being energized.

TMC2208 Sound Level - 35 Decibels

I must admit that when I tried this the first time I got frustrated that I wasn’t getting the TMC2208 driver to work and I kept messing around with the connections and power supply until I noticed that it was actually working, it was just completely silent. I wasn’t expecting  such a substantial difference, I thought it would still make a small amount of noise, but it is literally almost completely silent at low speeds.

TMC2208 Sound Level Up Close - 35 Decibels

If you turn the speed up a bit you can start to hear it. Even at high speed, we’re only getting an increase of around 3 decibels over the ambient sound level and most of this is caused by the motor “stuttering” which is likely caused by the poor quality connections on the breadboard.

Now, to be fair to the A4988 driver, when operating in legacy mode, the TMC2208 will automatically interpolate the received step signals into 256 micro-steps. So let’s try changing the A4988 driver to 16 micro-step mode (which is the maximum it allows). This allows the driver to micro-step the motor 16 times for each full step, so it should be a bit quieter and smoother. We do this by putting 5V on the three micro-stepping pins on the driver.

A4988 16 Microstep Sound Level

Micro-stepping the motor has made it a lot smoother and quieter. We’re now getting a sound level of around 45 decibels, but it’s still way louder than the TMC2208 drivers.

A4988 16 Microstep Sound Level Up Close

So if you’re looking for a way to make your 3D printer quieter, and it uses these A4988 drivers, then this is a great way to do it without having to spend a fortune.

Arduino Uno Driving The Stepper Motors

Let me know in the comments section if you’ve used these drivers on your 3D printer or laser cutter. They’d also be great for camera sliders, where smooth movement is critical.

Things to Consider When Choosing a Perfect Family House Layout

Owning your first home is an important milestone in life, so it’s important to make it beautiful. Some people prefer to buy their home, while others enjoy starting from scratch and building their own dream house. Both options are fine, but the second one carries more weight as it requires careful planning, analysis, and more effort. Of course, it’s totally up to you to decide which one works better. So, if you’ve decided to design your first family house, here are some important things you should consider.

Be realistic and start slow

Sometimes, it’s easy to get carried away with planning every single detail that you often forget about the basics. But that’s quite common, so before you start planning, remember to keep your head on your shoulders and be realistic about the possibilities. Also, if your architect/interior designer tells you that something is unfeasible, it’s better to listen to them. Doing something just because you want it can have consequences in the future, so make sure to avoid all the risks in the beginning.

Assess your needs first

Assess your needs first

The number of rooms in your house is important when choosing a layout. So, make sure to assess your needs first? Do you have kids? If yes, then they’ll probably need their own rooms and a bathroom too. Do you or your spouse work from home? Consider getting a home office so you won’t have to work in the dining room. Also, if you have guests frequently then consider adding a separate room where they can sleep in peace. Additionally, you can use one room as your home office and guest bedroom, or even a soothing meditation corner, that way you’ll save space for more important stuff.

If big house is not an option, find other alternatives

A big family house is the ultimate home goal for many, however, in this economy, owning a large property is simply not always an option. Luckily, there are other alternatives that can be equally enticing and elegant, such as modern duplex designs that will accommodate your needs to the fullest. This is great for childfree couples and families alike, but it’s also important to plan the space in communication with professionals, so everything feels fit to a tee.

Include some extra storage space

In many homes, garages are used as storage space, but this doesn’t have to be the case if you plan things well. Of course, feel free to use your garage as you see fit, but when designing your new home, it’s important to include some extra space that can be used for storage. This can come handy if you plan more kids, because keeping strollers, toys and bicycles can become exhausting as time goes by. So it’s always better to have a designated space for things you don’t use on a regular basis.

If you want staircases, plan them properly

Having lavish dramatic or spiral staircases look great in theory, but if you have kids, they can be more of a nuisance than an asset. That’s why it’s crucial to plan the placement of staircases before you have kids or while they’re still too young to walk and explore their surroundings. Unusual or spiral staircases can actually pose a threat for children, as they’re difficult to navigate due to their structure. So before you opt for a staircase, make sure to plan things through and consult an expert who will be able to find the perfect solution for your needs.

Don’t forget your yard space

Don’t forget your yard space

Yard space can add a whole new dimension to your home, especially if you plan to decorate it with a patio or various plants and even trees. However, before you start planning landscaping, you should make sure to put safety as your top concern, even if you don’t have children. Adding water access such as a swimming pool or a man-made pond can freshen up your backyard, along with a fire pit or an outdoor kitchen. But, in order to make your yard pop, you have to take care of every detail, so hiring a landscape designer or an architect can be a great idea, especially if you don’t have experience in this type of design.

Conclusion

Choosing a family house layout is not an easy task, but with a bit of planning, it’s possible to turn your dreams into beautiful reality for the whole family to enjoy. Just make sure to follow the advice of those who know more, and also, don’t be afraid to voice your concerns or add your opinions, because after all, you and your family will leave there, so be sure to do your best to make your space look great and comfortable.

How To Make Your Own Light-Up Acrylic Sign For Under $5

In this project, I’ll be showing you how to make a simple light up acrylic sign with a dimmer and power switch for under $5. In fact, this one cost me just under $3 to make. They’re battery-powered and all of the electronics are contained in the free-standing base, making them perfect for a table, desk, or shelf. The LED lighting is eye-catching, especially in darker environments, so they’re great marketing and promotion tools for indoor or night time events.

You can change the brightness of the sign using the adjustment pot on the back of the base.

DIY Acrylic Sign Bright
DIY Acrylic Sign Dim

Each sign is powered by a CR2032 coin battery which can easily be replaced through the bottom screw-on cover.

Power Switch And Dimming Pot

A small power switch and adjustment pot on the back allows you to switch the LED on and off and make adjustments to the brightness.

Here’s a video of the build and the sign being used, read on for the step by step build instructions.

What You Need To Make Your DIY Acrylic Sign

You’re also going to need some basic DIY tools and a 3D printer, but if you don’t have a 3D printer, you can also make use of an online printing service to print the components for you and ship them to your door.

Here’s the 3D printer I’ve used:

  • Creality Ender 3 Pro – https://amzn.to/3aYDssg
  • Black PLA Filament – https://amzn.to/2QNYemS

The above links are affiliate links, intended to indicate the correct components required and provide an option for any components you aren’t able to source locally. For this project, it would be most cost effective to visit a local electronic component store to source the parts you need.

How To Make Your Acrylic Sign

Cut & Engrave The Acrylic

The start out, you’ll need to cut and engrave your acrylic sign. This is the part which is going to be glowing when the LED is illuminated, so it’s worthwhile spending a bit of time on it to make sure that it’s done neatly.

Also, keep the protective film on the acrylic while you’re working on it as any scratches or chips will be illuminated by the LED as well.

Sign Templates Designed In Inkscape

I designed the sign to be 60mm wide with a 5mm cutout in the center for the LED. You can make the sign as tall as you’d like to accommodate your logo and any text you want to display. Any length up to 120mm on this size base should work well.

You can print out the templates provided through the above link as a guide, or use the .svg files to laser cut your own. I’ve used two sizes in this example, a smaller one which is 50mm high and a larger one which is 80mm high.

The easiest way to cut and engrave the acrylic is with a laser cutter. If you don’t have access to one, there are a number of online services that will cut and engrave the acrylic for you.

Laser Cut Acrylic Sign Insert
Laser Cut Acrylic Sign Inserts

If you’d like to keep the cost down, you can also cut the acrylic yourself using a simple hack saw or band saw and engrave your logo by tracing out the text using a sharpie and then engraving it with a Dremel or other rotary type tool.

Engrave Your Own Sign Using A Dremel

3D Print The Base

Next, you’ll need to print out the two plastic components which make up the base. I printed these out in black PLA with a 15% infill.

3d Print The Acrylic Sign Base Components

You can make the base any colour you’d like to match your theme or brand colours.

3D Printed Components

Solder The Electronic Components

Finally, we’ll assemble the electronic components.

Dimmable Acrylic Sign

The circuit is a simple LED dimmer circuit with a 22K resistor across the LED and a 10K pot to control the brightness. It’s connected to a power switch to turn the LED on and off and the lead then feeds into the battery tray in the housing, so you don’t need to buy a separate battery holder.

Soldering LED Components

Try to solder the resistor directly across the legs of the LED and the bridge onto the legs of the pot to save additional wiring.

Test The Circuit Before Installing It

Try holding the leads onto the battery and sliding the power switch to provide power to the LED and test that the circuit works. Also, try turning the pot and check that the LED is able to be dimmed.

Mount The Acrylic Sign Components Into The Housing

Once you’ve soldered and tested the electronics, install the components into the housing.

There are already cut-outs in place in the housing for the switch and the pot.

Use Hot Glue On Back Of LED And Switch

I put a drop of hot melt glue onto the inside of the switch and over the LED to keep them in place.

Secure Pot With A Nut

The pot is held in place with a nut on the outside.

Assemble The Acrylic Sign

To complete the sign, you need to install the battery, close up the base with the cover and then insert the acrylic sign.

Button Cell In Tray

Place the battery into the battery holder with the negative lead touching the bottom of the battery. Then place the positive lead over the top of the battery.

When you install the bottom cover, the cylinder on the cover will press this lead down onto the battery to keep it in contact.

Secure Bottom Cover With Machine Screws

Once you’re happy with everything functioning then close up the bottom cover and secure it with two M3 x 15mm machine screws.

Test Acrylic Sign Components

You can do one last check on the electronics before installing the acrylic sign if you’d like.

Insert Acrylic Sign Piece

Now you just need to push your acrylic sign into the base and switch it on. It should be a snug fit into the base so you don’t need to glue it and you can then easily swap out or change the signs if you’d like.

DIY Acrylic Sign Is Now Complete

You sign is now complete.

I hope that you enjoyed this project, have fun making your own Acrylic signs. Let me know what you’ve made them for in the comments section.

Share This Guide

Make Your Own Light-up Acrylic Sign For Under $5