Home Blog Page 48

How To Repair Faulty Christmas Lights

I think it is safe to assume that most people have experienced the frustration of spending an hour untangling their Christmas lights only to plug them in and find that they are not working. Non-functioning Christmas lights can be extremely frustrating to repair if you don’t have the right tools. Save yourself the frustration and buy a globe tester, they are really inexpensive and are sold online along with the Christmas lights and decor.

What You Will Need To Repair Your Christmas Lights

  • Light Bulb Tester
  • Possibly A Replacement Fuse
  • Possibly A Couple Of Replacement Bulbs

How To Repair The Christmas Lights

First Check The Fuse

Your first check should always be the fuse, this is usually hidden away in a small box near the plug or in the plug itself behind a plastic cover. Some larger strings of lights may have two or three fuses. Check the fuses for and darkening or blackened glass. In a working fuse, you should be able to see through the glass and see a thin silver or gold wire connecting the two silver end caps. If you can see the wire then the fuse has likely blown and needs to be replaced.

Test The Bulbs

After checking and replacing any blown fuses, check to see if the string now works. If the lights are still not working then one or more of the bulbs is likely blown. The easiest way to check the bulbs is with an inexpensive bulb tester although you can go through the string and replace each globe with a new one and try turning the string on to see if it works again. You run into trouble with this method if more than one bulb has blown as the string still won’t turn on.

Plug the string of lights into the power and turn them on. Now, depending on the type of tester, you need to either insert each bulb into a hole or hold the tester up against each bulb. The tester will then indicate with a sound or light whether the bulb works or not.

Swap out any bulbs which are faulty, turn off the power while swapping the bulb. Once your have worked through all of the bulbs on the string, power it on and all of the bulbs should light up.

Pack Your Lights Away Carefully

This year, pack your lights away carefully. The strings of lights used on trees are made inexpensively and are not very durable. Don’t pull hard or twist any of the wires and keep the bulbs reasonably well protected in storage. If possible, try to save the original packaging and pack them into this container when you are done with them rather than bundling them up and stuffing them into another container.

Next time you buy new lights, try to get the LED variety, these bulbs last much longer and are generally non replaceable and therefore a bit more reliable.

Do you have any tips and tricks for repairing or storing your Christmas lights? Let us know in the comments section below.

Cover Image: Christmas by Anthony Quintano used under CC BY 2.0

5 Must Have Tools For Every DIYer’s Christmas List

0

No DIYer ever has enough tools, there is always something new and something better. We’ve put together a list of some of our favorite picks for this years Christmas list.

Cordless Glue Gun

black-and-decker-glue-gun

Black and Decker have remodeled their popular glue gun and made it into a 20V more industrial version which boasts a heat-up time of 90 seconds. Using their standard lithium ion battery pack, it has a running time of up to three hours. Really useful for running cords or cables, sticking up odds and ends and for crafts.

More Work Space

centipede-saw-horse

All DIYer’s have a compromise to make, more works space means more floor space required for bulky tables and benches. The Centipede is a new multi legged fold out base which is really versatile. It folds out in seconds to function as a work bench, stand, table or a saw horse. Its perfect anywhere you need a stable or portable work surface. It comes in two sizes, 2x4ft and 4x8ft which can hold 1,500lbs (680kg) and 3,000lbs (1,360kg) respectively.

A Brushless Drill / Driver

brushless-drill-and-driver

Brushless motors are becoming the trend and provide for longer run times and more powerful response. Milwaukee have launched a range of brushless drills and drivers with lights, power meters and belt hooks, all the bells and whistles really. The come with a removable battery pack which fit a range of their battery power tools.

Battery Power In The Garden

80v-battery-tools

Battery powered garden tools haven’t been too well received, mainly due to their sluggish performance and lack of power. Echo, Ryobi, Oregon, Kobalt, Craftsman, Stihl and Greenworks have now started launching their 80V ranges. These new 80V garden tools have enough power to run mowers, snow blowers and chain saws which have comparable performance to their gas engine powered relatives. Cordless tools cost a bit more upfront but you can’t beat the convenience, single button start and quiet operation.

The Hole Saw Re-Invented

spyder-hole-saw

A hole saw is not the type of tool you would typically associated with innovation but Spyder have come up with a hole saw which addresses some of the challenges typically experienced with traditional ones. The Spyder hole saw has a feature which they call Rapid Core Eject which allows you to eject the drilled core from the tool with the push of a button. Another useful feature is its ability to widen already drilled holes. Simply install the smaller hole saw into the larger one and the smaller saw acts as a guide to centralise the new larger hole saw.

Do you have any recommendations for our list? Let us know in the comments section below and we will add them on.

Cover Image: Christmas Presents by Hades2k used under CC BY 2.0

How To Get A Red Wine Stain Off The Carpet

Have you ever struggled to remove red wine, coffee or tomato sauce from your carpet after a spill? Doing the right thing as soon as possible makes all the difference and most spills can be restored completely by following these steps.

What You Will Need To Get Wine Off Your Carpets

  • Vacuum Cleaner
  • Clean Cloth for Dabbing
  • Carpet Cleaner / Dish Soap & Warm Water
  • Clean Cloth for Wetting
  • Clean Water

Suck Up The Red Wine

Start off by removing as much of the liquid as possible, place the end of the vacuum hose with no attachments over the stained area and leave it in place for a few seconds before moving onto the next small patch. Don’t rub the hose on the carpet, pick it up and spot vacuum as many times are required to pick up as much of the liquid as you can. Remember to put your vacuum cleaner into wet mode and remove the paper filter before you start.

Pour On A Carpet Cleaner

Use a store bought carpet cleaner, mix some up (usually with warm water) and apply the foam generously to the stained area. If you don’t have carpet cleaner then mix up some dish soap and warm water, pour a little into spray bottle and spray it onto the area. Let the cleaning product soak into the fibers for a few minutes.

Blot Up The Cleaner

Start with a clean white cloth or towel and blot up the carpet cleaner starting at the outside of the stain and working your way towards the centre.  Fold the towel over as you go so that you are always blotting with a clean section. Do not scrub or stamp on the towel when blotting, do it gently with your hands. If there is still excess cleaner when you are done blotting then use the vacuum again to suck it up.

Rinse Off The Cleaner

Finally, you need to rinse off any excess cleaner which may be left behind. Use a bowl of clean water and a cloth or brush to gently apply clean water to the stained area. Vacuum up the water and repeat until there is no more cleaner residue left behind, usually two to three repetitions. Once the area is clean then leave it to dry off completely before walking over the area again.

When your carpet is dry again, you’ll want it to smell good, try our homemade carpet deodoriser to give your carpet new life and make your home smell great. If you have a stubborn mark or cigarette burn which just won’t come out, try our guide for repairing a cigarette burn in a carpet.

Do you have any tips and tricks for removing stubborn stains from your carpets? Let us know in the comments section below.

Share This Tip:

remove-red-wine-sauce-and-coffee-stains

Cover Image: RedWineWhiteCarpet by Elizabeth Murphy used under CC BY 2.0.

5 Christmas Tree Trends For The 2016 Season

Freshen up you Christmas tree’s look this season with one of these popular and inspiring trends for 2016.

Warm Metals

Copper and rose gold are the new trendy metals to look for in your Christmas decor. Pack the silver away and add some colour to your tree with copper and rose gold coloured balls, stars and other ornaments. These two metals go well with other decorations in pastel pink, pale yellow and champagne. Complete the look with a set of flashing white LED lights.

A White Christmas

White is back and white decor pops up against the dark green needles of a fresh fir tree. A white pallet is perfect for those homemade paper decorations and fluffy white pom-poms. Finish it off with warm white lights and a hint of gold tinsel.

Natural & Fresh Cut

Showcase the natural beauty of pine this year with au naturel decor. Go for pine cones, acorns and birch bark, complete the look with twine and burlap. Give your cones a hint of sparkle with some gold spray paint and light it up with warm white lights.

Retro & Colourful

Go back to your youth with a colourful and fun tree. Pick up old brightly coloured ornaments at your local thrift store or online. You’re looking for bold colours such a red, green, teal and pink. Fill in the gaps with brightly coloured tinsel and light up the tree with a string of multicolored flashing lights.

Go Minimalist

Minimalist is still trendy, pick a single colour and stick to it. A simply decorated tree with a single highlighted colour in a small range of ornaments can still make a statement. Choose similar shapes in a range of textures (think glossy and glittered etc) and complete the look with a single string of tiny white lights.

Christmas Tree by Russel Smith & Tom Ipri
Cover Image: ChristmasTree by Vasile Cotovanu. All Images in this post are used under CC BY 2.0.

How To Make Natural Pesticides For Your Garden

There’s not much worse than putting all of your free time into making your garden look amazing only to find out that it has been overrun by pests. Bugs and insects can be extremely destructive in a garden, from eating leaves and flowers to killing off whole plants and trees. While you need to find a solution, it is also important that you are not damage the environment or the plants which you are trying to protect. Here are some of the easiest home pesticides which you can make to naturally keep pests away and protect your plants.

It is best to try and spray your plants early in the morning or late afternoon to prevent the sun from burning the leaves. Also remember to only spray the plants and areas which are infected as these pesticides will still kill off some of the good insects which are vital to keeping your garden healthy.

Try One Of These Pesticides

Soap Spray

Perfect for: Aphids, mites, white flies, thrips & ants

What You Will Need:

  • Spray Bottle
  • Water
  • 1 1/2 Tbsp Biodegradable Dish Soap
  • 10 Drops of Essential Oil (Citrus works best)

Add the dish soap and essential oil into the spray bottle. Fill up to the full line with water and then shake well to combine. Spray your plant thoroughly ensuring that you cover both the top and the bottom of the leaves.

Oil & Soap Spray

Perfect for: Soft body insects, mealy bugs & aphids

What You Will Need:

  • Spray Bottle
  • Water
  • 1 1/2 Tbsp Biodegradable Dish Soap
  • 1 Tbsp Canola or Sunflower Oil

Add the dish soap and canola oil into the spray bottle. Fill up to the full line with water and then shake well to combine. Spray your plant thoroughly ensuring that you cover both the top and the bottom of the leaves, the oil sticks to the bugs and insects and smothers them.

Chili Garlic Spray

Perfect for: Japanese beetles, borers, leaf hoppers and slugs. Also deters rabbits.

What You Will Need:

  • Soap Spray Made As Above
  • 1 Tbsp Chili Powder
  • 1 Tbsp Garlic Powder

Add the chili and garlic powder into the bottle and allow to steep overnight. The mixture will keep for up to two weeks. Spray onto plants and leaves as directed above.

Do you have any natural methods to keep bugs and pests out of your garden? Let us know in the comments section below.

Cover Image: Spraying by Bart Everson used under CC BY 2.0

Arduino Solar Tracker – Linear Actuator Modification

Since writing up our project on how to make an Arduino Solar Tracker which makes use of a single or multiple PWM servo(s) to actuate the panel, we have had a number of requests to modify the design and code to allow for a linear actuator to be used to move a heavier load; a large panel or array of panels.

The circuit for the light detection remains the same as the original solar tracker while the servo is now replaced by a 12V DC linear actuator which is supplied by a 12V battery or power supply and controlled by two relays. Alternately, you can also drive the tracker with a stepper motor which is also controlled by the Arduino

This project is not a stand alone project but is meant to supplement our original Arduino Solar Tracker project. You will need to follow this guide in conjunction with the original guide in order to produce the linear actuator solar tracker.

What You Will Need For A Linear Actuator Solar Tracker

The parts required are as for the Arduino Solar Tracker without the PWM servo. The additional components required are:

  • 12V DC Linear Actuator (Sized to suite the weight of your array) – Buy Here
  • 12V DC Power Supply (Rating sufficient for your actuator) – Buy Here
  • 5V DC Double Pole Relay (Current rating sufficient for your actuator) – Buy Here
  • 5V DC Single Pole Relay (Current rating sufficient for your actuator) – Buy Here

How To Make The Control System

Again, the light sensor part of the control system is the same as in the  Arduino Solar Tracker.

The breadboard diagram for this circuit is shown below:

Arduino solar tracker linear actuator modification

The design and code are both slightly more complex with a linear actuator as the Arduino needs to control the actuators movement duration and the direction.

A 5V DC double pole relay is used to reverse the polarity of the supply to the linear actuator. This enables the actuator to move forwards and backwards. The second 5V DC single pole relay is used to switch the movement of the actuator on and off, when activated the actuator will move. The linear actuator is represented by a DC motor in the above circuit diagram, a DC motor drives the actuating arm in your assembly.

Upload the Sketch

Now you can upload your sketch onto your Arduino, if you haven’t uploaded a sketch before then follow this guide on getting started.

//The DIY Life
//10 October 2016
//Michael Klements
 
int eastLDRPin = 0;  //Assign analogue pins
int westLDRPin = 1;
int reverserPin = 7;	//Assign the digital pins
int motorPin = 8;
int eastLDR = 0;   //Create variables for the east and west sensor values
int westLDR = 0;
int error = 0;
int calibration = 0;  //Calibration offset to set error to zero when both sensors receive an equal amount of light
int trackerPos = 180;
 
void setup() 
{ 
  pinMode(reverserPin,OUTPUT);
  pinMode(motorPin,OUTPUT);
  digitalWrite(reverserPin,LOW);
  digitalWrite(motorPin,LOW);
} 
 
 
void loop() 
{ 
  eastLDR = calibration + analogRead(eastLDRPin);    //Read the value of each of the east and west sensors
  westLDR = analogRead(westLDRPin);
  if(eastLDR<350 && westLDR<350 && trackerPos<180)  //Check if both sensors detect very little light, night time
  {
    digitalWrite(reverserPin,LOW);
    digitalWrite(motorPin,HIGH);
    while(trackerPos<180)  //Move the tracker all the way back to face east for sunrise
    {
      trackerPos++;
      delay(1000);
    }
    digitalWrite(motorPin,LOW);
  }
  error = eastLDR - westLDR;          //Determine the difference between the two sensors.
  if(error>15&&trackerPos<180)        //If the error is positive and greater than 15 then move the tracker in the east direction
  {
    digitalWrite(reverserPin,LOW);	//Change motor direction to east
    digitalWrite(motorPin,HIGH); 	//Move the tracker to the east
    trackerPos++;
    delay(1000); 
    digitalWrite(motorPin,LOW);
  }
  else if(error<-15&&trackerPos>0)  //If the error is negative and less than -15 then move the tracker in the west direction
  {
    digitalWrite(reverserPin,HIGH);	//Change motor direction to west
    digitalWrite(motorPin,HIGH); 	//Move the tracker to the west
    trackerPos--;
   	delay(1000); 
    digitalWrite(motorPin,LOW);
  }
  delay(1000);
}

Here is the link to download the Solar Tracker Linear Actuator code.

The calibration of the sensor error, the tracker stand and the tracker in operation details and videos can also be found on our Arduino Solar Tracker project.

Arduino Solar Tracker, Get More From Your Solar Panels

If you’ve installed solar panels on a camper van to provide you with electricity on your camping trip or at home to supplement your electricity usage or take your home completely off grid then you probably know that the panels work the best when they are aligned directly towards the sun. This sounds simple enough, except that the sun moves throughout the day. This is why there are now a number of different mechanisms which work on a range of principles with the purpose of aligning your panel or array of panels directly towards the sun, called a solar tracker.

There are two principle types of trackers, single and duel axis trackers. Single axis trackers are adjusted every month or so account for seasonal changes in the suns position, the single axis is then used to track the daily movement of the sun across the sky. Duel axis trackers eliminate the need for monthly adjustment by using one axis to track the suns daily movement and another axis to track the seasonal movement. A single axis solar tracker improves solar output by around 25% and a dual axis tracker by around 40% according to this article on Altestore.

This solar tracker control system is designed to take light measurements from the east and west (left and right) side of the solar panel and determine which way to move the panel to point it directly at the source of the light. A servo is used to actuate the panel tracker; these are available in a broad range of sizes and can be scaled according to your panel size. Although this tracker is single axis, the two sensors and servo can simply be duplicated to provide dual axis control.

This project assumes you know the basics of Arduino programming, otherwise read our article on getting started with Arduino.

You could also take this project further by building your own solar panel as well, here is our guide on how to build a solar panel at home. If you are thinking of switching some or all of your homes power requirements to solar power, read our article on switching to solar power first.

Update: After numerous requests to include information on the modifications required to the circuit as well as to the code needed to drive a linear actuator for heavier panels or arrays of panels, the article is now available – Arduino Solar Tracker – Linear Actuator

What You Will Need For A Solar Tracker

  • An Arduino (Uno used here) – Buy Here
  • Single Axis Tracking Stand (Brief DIY Design Shown Below)
  • 2 x 4.7K Resistors – Buy Here
  • 2 x LDRs – Buy Here
  • PWM Servo – Buy Here

How To Make The Control System

First you need to start by assembling the components onto your solar panel, or breadboard. The LDRs (light dependent resistors) or PRs (photo-resistors) change resistance with changing light, therefore they need to be connected in such a way that the changing resistance is converted into a changing voltage signal which the Arduino understands. The servo is controlled through one of the Arduino’s PWM outputs.

Assemble the Components

If you are going to be installing the solar tracker permanently then you may want to solder the resistors and LDRs together so that they cannot come loose. If you are simply trying this project for fun then a breadboard is perfect.

The basic circuit for the connection of the LDRs and servo to the Arduino is shown below:

solar-tracker-schematic

A breadboard connection diagram is shown below:

Arduino solar tracker

The resistors R1 and R2 are each 4.7K, the PR1 and PR2 are the two LDRs and the servo can be any PWM hobby servo. If you are using a servo larger than 9 grams then the Arduino will probably not be able to supply it enough power to achieve its full torque capability, you will need to supply the servo directly with its own 5V power source.

ldrs-on-panel

If you are making this a permanent installation, then it is best to solder the resistors right up near the LDRs on the panel. This way you can run a single 4 core wire from the control box up to the sensors on the panel, the four cores will be 5V, Gnd and then signal 1 and 2 from the LDRs. Once your LDRs and resistors have been soldered together, you can mount them on your solar panel. Mount the LDRs on the east and west (left and right) sides of the panel facing towards the sun. Make sure that they are not shaded in any way by the frame and have an unobstructed view of the sun.

arduino-connected-to-breadboard

A breadboard has been used in this project purely to distribute the Ardunio’s 5V power supply to both the resistors and the servo.

The servo needs to be sized according to the size of your solar panel. The panel used in this example is small and relatively light; a small servo was therefore used and is powered by the Arduino. For a larger servo (anything above 9 grams), you will need to power the servo externally as the Arduino doesn’t have sufficient capacity for it. Make sure that you connect the external power sources ground to the Arduinos GND as well otherwise the PWM control signal to the servo will not work.

Upload the Sketch

Now you can upload your sketch onto your Arduino, if you haven’t uploaded a sketch before then follow this guide on getting started.

//The DIY Life
//10 October 2016
//Michael Klements

#include <Servo.h> 
 
Servo tracker;  // create servo object to control a servo 
int eastLDRPin = 0;  //Assign analogue pins
int westLDRPin = 1;
int eastLDR = 0;   //Create variables for the east and west sensor values
int westLDR = 0;
int error = 0;
int calibration = 204;  //Calibration offset to set error to zero when both sensors receive an equal amount of light
int trackerPos = 90;    //Create a variable to store the servo position
 
void setup() 
{ 
  tracker.attach(11);  // attaches the servo on pin 11 to the servo object
} 
 
 
void loop() 
{ 
  eastLDR = calibration + analogRead(eastLDRPin);    //Read the value of each of the east and west sensors
  westLDR = analogRead(westLDRPin);
  if(eastLDR<350 && westLDR<350)  //Check if both sensors detect very little light, night time
  {
    while(trackerPos<=160)  //Move the tracker all the way back to face east for sunrise
    {
      trackerPos++;
      tracker.write(trackerPos);
      delay(100);
    }
  }
  error = eastLDR - westLDR;          //Determine the difference between the two sensors.
  if(error>15)        //If the error is positive and greater than 15 then move the tracker in the east direction
  {
    if(trackerPos<=160)  //Check that the tracker is not at the end of its limit in the east direction
    {
      trackerPos++;
      tracker.write(trackerPos);  //Move the tracker to the east
    }
  }
  else if(error<-15)  //If the error is negative and less than -15 then move the tracker in the west direction
  {
    if(trackerPos>20)  //Check that the tracker is not at the end of its limit in the west direction
    {
      trackerPos--;
      tracker.write(trackerPos);  //Move the tracker to the west
    }
  }
  delay(100);
}

Here is the link to download the Solar Tracker code.

Calibrate the Sensor Error

Because of differences between the LDRs, resistors and the resistance of the wire used, there will be a difference between the signal received from both sensors even when they are receiving the same amount of light. This is taken into account by introducing a calibration offset into the calculation, this number will need to be adjusted in your code according to your setup. Adjust this calibration factor where it is declared in the code,

Line 13: int calibration = 204.

solar-tracker-calibration

The most accurate way to determine this factor is to shine a light equally between both sensors and then use the Serial monitor on your computer to read the values output by the east and west sensor. The difference between these two values will be the calibration offset. The LDRs are very sensitive so the tracker only moves when the difference between them is greater than 15 in the code otherwise it would be continuously tracking forwards and backwards and wasting power.

If you are not familiar with the Serial interface then you can play around with this value until the tracker remains still when a light is shined equally onto both sensors.

Making A Single Axis Tracking Stand

While this article is not intended to detail making a tracking stand because of the extremely diverse range and size of panels available, here is a brief outline on the design along with some key pointers.

Your stand should look something like this when it is complete:

solar-tracker-stand-design

Ideally the stand should be made from aluminium angle as it is strong, durable and suitable for outdoor use but it can also be made from wood, plywood or PVC piping.

The stand is essentially made in two parts, the base and the panel support. They are joined around a pivot point on which the panel support rotates. The servo is mounted onto the base and the arm actuates the panel support.

The panel should protrude from the panel support as little as possible to keep the out of balance load on the servos to a minimum. Ideally, the pivot point should be placed at the centre of gravity of the panel and panel support together so that the servo has an equal load placed on it no matter which direction the panel is facing although this is not always practically possible.

Two servos may be used for heavier panels, one on each side of the panel. The geometry needs to be the same and the servos need to be the same type/model. You can then duplicate the servo code in the software so that both servos are given the same reference position and move together to actuate the panel.

For very heavy panels or for solar arrays, the servos will need to be replaced with stronger stepper motors. The stepper motors will need to be driven by a driver board such as this one.

The stand used in this guide to test the concept and the code has been made up using a camera pan and tilt bracket which was then glued onto a wooden base. Here are some close up photos of the stand.

Solar Tracker Side View

Solar Tracker Side View 2

The Solar Tracker In Operation

Here is a video of the solar tracker in operation indoors with a torch being used to simulate the movement of the sun:

Would you like to learn more about this project? Are you interested in projects similar to this one? Then Practical Arduino Projects is the book for you, available now on Amazon as an eBook or in Print form.

Practical Arduino Projects

Have you tried out making your own solar tracker? Let us know your experiences, tips and tricks in the comment section below. We would love to see your project as well.

10 DIY Ideas For Christmas This Year

Christmas is one of the best times of the year for going all out decorating your home. Here are some ideas to decorate your home, wrap your gifts and make your own cards for your family, friends and loved ones.

Custom Gift Wrap

Wrap up your gifts this year and give them a personal touch with your own custom gift wrap.

custom-christmas-gift-wrapping

DIY Gift Cards

Send out your own homemade gift cards this year, they are really easy to make and are a great holiday project for children

diy-christmas-cards

Melting Snowman Cookies

Do you enjoy baking? Try out this recipe for melting snowman cookies, they are a perfect treat for your family or when guests come over for a warm winter’s coffee.

melting-snowman-cookies

Christmas Themed Food

Are you thinking of throwing a party this year or are you have the family over for Christmas? Here are twenty themed recipes to try out and surprise your guests with. You could also try our recipe for an easy pumpkin pie.

christmas-themed-food

Joy Door Hanger

Combine two wooden letters and a homemade or store bought wreath to form a Joy door hanger to welcome guests to your home.

joy-door-sign

Pine Cone Wreath

If a joy door hanger is not your thing and you would prefer something a bit more traditional, make a pine cone wreath to hang on your front door. Just remember to collect some pine cones during fall.

pine-cone-wreath

 

DIY Decorations

Fill your home with Christmas decor without breaking the bank with these 35 DIY decor items your can make on a budget.

diy-christmas-decorations

Christmas Scatter Cushions

Are you looking to bring some colour and Christmas cheer to your lounge or family room? Try making these decorative scatter cushion covers, they can be fitted over your existing scatter cushions and they make excellent gifts.

christmas-scatter-cushions

Hang Something On The Tree

Make these little snowmen to hang on your tree with existing ball ornaments and some old socks to turn into hats.

snowmen-ornaments

Get The Christmas Fragrance

Lastly, fill your home with that Christmas fragrance, warm cinnamon and pumpkin spice. Wrap some pillar candles in cinnamon sticks, the warmth will release the fragrance in the cinnamon sticks or you could try making our pumpkin spice simmer pot to leave on the stove.

cinnamon-stick-candles

What else have you made for Christmas? Let us know in the comment section below, we would love to add it to our list.

 

Load Bearing Walls: How Do You Tell Which Are Structural Walls

If you’ve done renovations to your home then chances are that you have considered moving a door or window or removing one of the internal walls. Removing some of the internal walls can really transform your home by creating a large and spacious living space out of a previously separated kitchen, lounge, dining room etc. Unfortunately, in houses and apartments, a number of the internal walls form an integral part of the structure of the house, called load bearing walls and removing them may compromise the integrity of the structure and ultimately lead to sections of walls or the roof collapsing.

Types of Internal Walls

Some internal walls are purely there to divide a room into smaller sections while others are load bearing. The dividing walls which do not support any load can safely be removed without any risk. Load bearing walls may be supporting the ceiling and roof, an upstairs wall, the floor above or all three of these. Before demolishing a wall, it is essential that you find out which of the walls are load bearing and which are not.

Non load bearing walls can be removed without any consideration for the surrounding walls and structure while load bearing walls need to be unloaded by supporting the above weight with props, additional supports and lintels will have to be installed and finally the wall may be removed.

How To Find Out If A Wall Is Load Bearing

Finding out if a wall is load bearing is not a simple as it may seem, it is almost impossible to determine from the outside of the wall whether it is load bearing. There are a number of tests one can do to determine whether a wall or section is load bearing and to determine its function.

You can start by taking the back end of a mallet or hammer and tapping along the section of the wall. If the wall sounds like it has hollow sections with dull sounding sections between them then the wall is most likely a stud partition made from timber and plasterboard. If this wall is non load bearing then it will be really easy to remove and can be taken down without risk of collapse. It is however difficult to determine as some older houses used the timber sections in these walls as structural supports for joists.

Non Continuous Walls

If the wall sounds solid when tapping it then it is probably a brick or building block wall. This in itself is not enough to determine whether it is loading bearing. To find out, you need to look at the section whether the wall goes into the ceiling. If you go into the roof, you should be able to see the top of the wall. If the wall is not supporting a wall above it, a concrete slab or a main truss in the roof then it is likely not a structural wall and you should be able to remove it without any risk. If the wall runs underneath the floor above it, lift some of the floor boards to see how the wall interacts with the floor, if it is not supporting the floor joists or slabs then it should be able to be removed. This is clear when the wall sits in between two floor joists without touching them.

Continuous Walls

If the wall runs up and into the room above it then it is most likely a structural load bearing wall. This doesn’t mean that it cannot be removed however some plan will need to be made, probably within the floor boards, to support the wall above.

Types of Supports

There are three primary supports which can be installed to take up the load which was placed on a structural wall.

Concrete Lintels

These come in a number of standard sizes and are made in a factory by encasing stressed steel wire in concrete to form a strong support.

Concrete Beams

These are the same as concrete lintels in concept but are much larger and usually made on site. Concrete is poured around steel reinforcing rods to create a strong beam.

Steel Joists

Steel joists which are usually in the form of an H or I, commonly known as I-beams are rolled out in a number of sizes and lengths to suite different spans and loads.

It is also important that when the above mentioned supports are installed, they are installed correctly so that the reinforcing rods and wires take up the strain correctly or these too will fail.

The size and type of support to use requires some level of expertise, there are calculations to be done and a number of considerations to take into account.

It is important to consult an expert in the form of an architect, surveyor or structural engineer before proceeding with the removal of any sections of wall in your home. They will be able to give you professional advice on the walls you are able to remove as well as the supports required where structural walls are involved. Do not attempt any structural modifications to your home before consulting an expert and finding out about your local regulations.

Cover Image: House Construction by Chris RubberDragon used under CC BY 2.0

 

Simple Arduino Home Energy Meter

I was walking through the hardware store the other day and I walked past an energy meter which clips onto your home’s electricity mains and then provides you with information on your power consumption and cost estimates for the month. I thought it looked really cool until I saw the price, it was almost five times what I thought it would be! So I decided to try and build my own and Arduino was the perfect platform for it.

I had a look around online at what others had done but they all seemed to be a bit over complicated for a simple home application. Sure, for perfectly accurate measurements you need to monitor both the supply voltage and current but for simple household monitoring which gives estimates cost to the closest few cents, why not keep things simple.

So this meter measures the supply current to your home through a CT (current transformer) and then does a couple of calculations to give you your current, power, maximum power and kilowatt hours consumed. Its also really easy to add your local tariff and display the cost of electricity used to date.

Update: Follow this guide is if you are wanting to build a 3 phase energy meter.

This project assumes you know the basics of Arduino programming, otherwise read our article on getting started with Arduino, and that you know how to connect an LCD screen to an Arduino.

What You Will Need For A Home Energy Meter

How To Make The Energy Meter

First you need to start by assembling the components onto the CT or onto your breadboard in order to create your current sensor which produces a signal which your Arduino can understand. An Arduino only has analogue voltage inputs which measure 0-5V DC, so you need to convert the current output from the CT into a voltage reference and then scale the voltage reference into a 0-5V range.

Assemble the Components

If you are going to be installing your power meter somewhere permanently then you may want to solder the resistors and capacitor directly onto the CT so that they cannot come loose. If you are simply trying this project for fun then a breadboard is perfect.

The basic circuit for the connection of the CT to the Arduino is shown in the diagram below:

energy-meter-wiring-diagram

A breadboard circuit layout is shown below. Please note that TinkerCAD doesn’t support a current transformer. A signal generator has therefore been used to generate an example signal:

Arduino home energy meter

The LCD screen shield already picks up on the analogue inputs but only A0 is used by the shield. Simply solder the three leads from your current sensor onto the pin headers on the shield and use A1 as your sensor input as shown below.

current-sensor-connections

Once you have connected all of your components, you need to connect your sensor onto what you want to monitor. If you are wanting to monitor a couple of appliances then you should connect the CT onto the input lead of a multi-plug, anything you plug into the multi-plug with then be counted.

Alternately, you can connect the CT directly onto your home’s mains supply and monitor the whole houses usage as has been done here. Either way, you need to put the CT around one of the supply cables, preferably the red “live” cable. Be sure to only put it around 1 as it will not work if it is around both and it can’t be connected around the earth wire (yellow, green stripped wire) as energy is not drawn through this wire. If you are connecting it to your mains, connect it to one of the output wires after the main breaker as shown below.

ct-on-mains-feed

NB – Be careful when connecting the power meter to you homes mains and make sure that the power to your board is switched off before doing anything in the mains box. Do not remove any wires or remove any screws before checking with your local authority, you may require a certified electrician to install the CT for you.

Choosing Different Components

There are essentially four components which need to be chosen or correctly sized for you energy meter.

Choosing A Current Transformer

The first is the CT or current transformer. The one used here is the Talema AC1030 which can sense 30A nominal and 75A maximum current. At 220VAC, it can theoretically sense up to 16.5kW for short periods of time but it is sized to continuously sense 6.6kW which is suitable for a small household. To calculate how many amps yours needs to sense, take the maximum  continuous power your are expecting to sense and divide that by your voltage (usually 110V or 220V depending on your country).

Sizing The Burden Resistor

Next you need to size your burden resistor R3, this converts your CT current into a voltage reference. Start by dividing your primary current (the maximum as used above) by your CT’s turns ratio (available on the data sheet). This should be around 500-5000 to 1. This article worked on 42A with a turns ratio 0f 1000:1 giving a secondary current of 0.042A or 42mA. Your analogue reference voltage to the Arduino is 2.5V so to determine the resistance you use R=V/I  – R=2.5/0.042=59.5Ω. The closest standard resistor value is 56Ω, so this was used.

Here are some options on different CTs and their ideal burden resistors (in standard sizes):

  • Murata 56050C – 10A – 50:1 – 13Ω
  • Talema AS-103 – 15A – 300:1 – 51Ω
  • Talema AC-1020 – 20A – 1000:1 – 130Ω
  • Alttec L01-6215 – 30A – 1000:1 – 82Ω
  • Alttec L01-6216 – 40A – 1000:1 – 62Ω
  • Talema ACX-1050 – 50A – 2500:1 – 130Ω
  • Alttec L01-6218 – 60A – 1000:1 – 43Ω
  • Talema AC-1060 – 60A – 1000:1 – 43Ω
  • Alttec L01-6219 – 75A – 1000:1 – 33Ω
  • Alttec L01-6221 – 150A – 1000:1 – 18Ω
  • CTYRZCH SCT-013-000 – 100A – Built In Burden Resistor – Buy Here
  • TOOGOO SCT-013-000 – 100A – Buy Here

The capacitor used is 10µF which should be sufficient for most CT ranges for household applications.

Finally you need two dividing resistors to get the 2.5V reference voltage from the Arduino. They must be the same value, so R1=R2 and we don’t need much current so this articles uses two 100K resistors.

Upload the Sketch

Now you can upload your sketch onto your Arduino, if you haven’t uploaded a sketch before then follow this guide on getting started.

Update – The code has since been modified to make use of the millis() function, see end of section for updated code.

//Michael Klements
//The DIY Life
//27 October 2014

#include <LiquidCrystal.h>

int currentPin = 1;              //Assign CT input to pin 1
double kilos = 0;
int peakPower = 0;
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);  //Assign LCD screen pins, as per LCD shield requirements

void setup() 
{ 
  lcd.begin(16,2);              // columns, rows.  use 16,2 for a 16x2 LCD, etc.
  lcd.clear();
  lcd.setCursor(0,0);           // set cursor to column 0, row 0 (the first row)
  lcd.print("Running");
}

void loop() 
{ 
  int current = 0;
  int maxCurrent = 0;
  int minCurrent = 1000;
  for (int i=0 ; i<=200 ; i++)  //Monitors and logs the current input for 200 cycles to determine max and min current
  {
    current = analogRead(currentPin);    //Reads current input and records maximum and minimum current
    if(current >= maxCurrent)
      maxCurrent = current;
    else if(current <= minCurrent)
      minCurrent = current;
  }
  if (maxCurrent <= 517)
  {
    maxCurrent = 516;
  }
  double RMSCurrent = ((maxCurrent - 516)*0.707)/11.8337;    //Calculates RMS current based on maximum value
  int RMSPower = 220*RMSCurrent;    //Calculates RMS Power Assuming Voltage 220VAC, change to 110VAC accordingly
  if (RMSPower > peakPower)
  {
    peakPower = RMSPower;
  }
  kilos = kilos + (RMSPower * (2.05/60/60/1000));    //Calculate kilowatt hours used
  delay (2000);
  lcd.clear();
  lcd.setCursor(0,0);           // Displays all current data
  lcd.print(RMSCurrent);
  lcd.print("A");
  lcd.setCursor(10,0);
  lcd.print(RMSPower);
  lcd.print("W");
  lcd.setCursor(0,1);
  lcd.print(kilos);
  lcd.print("kWh");
  lcd.setCursor(10,1);
  lcd.print(peakPower);
  lcd.print("W");
}

Here is the link to download the Meter code.

Because your setup, CT , resistors and input voltage may be different, there is a scaling factor in the sketch which you will need to change before you will get accurate results, see below for calibration. If your LCD is connected to the same pins as used here and your CT is connected to the same input pin, you should at least get the screen populated with some figures although these will most likely be incorrect and some may be negative.

If you don’t want to use or don’t have an LCD screen, you can also modify the sketch to output to the Arduino IDE’s serial window as shown below.

//Michael Klements
//The DIY Life
//27 October 2014

int currentPin = 1;              //Assign CT input to pin 1
double kilos = 0;
int peakPower = 0;

void setup() 
{ 
  Serial.begin(9600);            //Start serial communication
  Serial.println("Running");
}

void loop() 
{ 
  int current = 0;
  int maxCurrent = 0;
  int minCurrent = 1000;
  for (int i=0 ; i<=200 ; i++)  //Monitors and logs the current input for 200 cycles to determine max and min current
  {
    current = analogRead(currentPin);    //Reads current input and records maximum and minimum current
    if(current >= maxCurrent)
      maxCurrent = current;
    else if(current <= minCurrent)
      minCurrent = current;
  }
  if (maxCurrent <= 517)
  {
    maxCurrent = 516;
  }
  double RMSCurrent = ((maxCurrent - 516)*0.707)/11.8337;    //Calculates RMS current based on maximum value
  int RMSPower = 220*RMSCurrent;    //Calculates RMS Power Assuming Voltage 220VAC, change to 110VAC accordingly
  if (RMSPower > peakPower)
  {
    peakPower = RMSPower;
  }
  kilos = kilos + (RMSPower * (2.05/60/60/1000));    //Calculate kilowatt hours used
  delay (2000);
  Serial.print(RMSCurrent);
  Serial.println("A");
  Serial.print(RMSPower);
  Serial.println("W");
  Serial.print(kilos);
  Serial.println("kWh");
  Serial.print(peakPower);
  Serial.println("W");
}

Here is the link to download the Meter Serial Output code.

Code Update

The original Energy Meter code made use of a fixed time period for calculating the kilowatt hours consumed, this was based on a 2050ms cycle time and was fairly accurate.

The code has since been modified to make use of the built in millis() function which calculates the exact cycle time for each cycle in order to improve the accuracy. It only makes around a half a percent improvement in the accuracy of the calculation but its the better way to do it.

Here is the improved code:

//Michael Klements
//The DIY Life
//26 February 2017

#include <LiquidCrystal.h>

int currentPin = 1;              //Assign CT input to pin 1
double kilos = 0;
int peakPower = 0;
unsigned long startMillis;
unsigned long endMillis;
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);  //Assign LCD screen pins, as per LCD shield requirements

void setup() 
{ 
  lcd.begin(16,2);              // columns, rows.  use 16,2 for a 16x2 LCD, etc.
  lcd.clear();
  lcd.setCursor(0,0);           // set cursor to column 0, row 0 (the first row)
  lcd.print("Arduino");
  lcd.setCursor(0,1);           // set cursor to column 0, row 1 (the second row)
  lcd.print("Energy Meter");
  startMillis = millis();
}

void loop() 
{ 
  int current = 0;
  int maxCurrent = 0;
  int minCurrent = 1000;
  for (int i=0 ; i<=200 ; i++)  //Monitors and logs the current input for 200 cycles to determine max and min current
  {
    current = analogRead(currentPin);    //Reads current input and records maximum and minimum current
    if(current >= maxCurrent)
      maxCurrent = current;
    else if(current <= minCurrent)
      minCurrent = current;
  }
  if (maxCurrent <= 517)
  {
    maxCurrent = 516;
  }
  double RMSCurrent = ((maxCurrent - 516)*0.707)/11.8337;    //Calculates RMS current based on maximum value
  int RMSPower = 220*RMSCurrent;    //Calculates RMS Power Assuming Voltage 220VAC, change to 110VAC accordingly
  if (RMSPower > peakPower)
  {
    peakPower = RMSPower;
  }
  endMillis = millis();
  unsigned long time = endMillis - startMillis;
  kilos = kilos + ((double)RMSPower * ((double)time/60/60/1000000));    //Calculate kilowatt hours used
  startMillis = millis();
  delay (2000);
  lcd.clear();
  lcd.setCursor(0,0);           // Displays all current data
  lcd.print(RMSCurrent);
  lcd.print("A");
  lcd.setCursor(10,0);
  lcd.print(RMSPower);
  lcd.print("W");
  lcd.setCursor(0,1);
  lcd.print(kilos);
  lcd.print("kWh");
  lcd.setCursor(10,1);
  lcd.print(peakPower);
  lcd.print("W");
}

Here is the link to download the updated Millis Meter code.

For those of you who have read that the millis() function goes into overflow after about 49 days, the code deals with the rollover automatically by making use of the unsigned long variable. For example, if the overflow happens at 10000, the start millis was 9987 and the end millis was 2031, the difference would be 2031-9987=-7956 but the value can’t be negative as it is unsigned so it becomes -7956+10000=2044 which is the correct duration.

Calibrate the Current Reading

As mentioned above, because your setup, CT , resistors and input voltage may be different, there is a scaling factor in the sketch which you will need to change before you will get accurate results.

To calibrate your energy meter, your need to be sure that the current that your meter says is being drawn is what you expect is actually being drawn. In order to do this accurately, you need to find a calibrated load. These are not easy to come by in a normal household so you will need to find something which uses an established and consistent amount of power. I used a couple of incandescent light bulbs and spot lights, these come in a range of sizes and their consumption is fairly close to what is stated on the label, ie a 100W light bulb uses very close to 100W of real power as it is almost entirely a purely resistive load.

Plug in a small light bulb (100W or so) and see what load is displayed. You will now need to adjust the scaling factor uses in the calculation line:

double RMSCurrent = ((maxCurrent – 516)*0.707)/11.8337

In this case it was 11.8337, it may be higher or lower depending on your application. Either use linear scaling to calculate this figure or, if you’re not good with math, play around with different values until the load you have plugged in is shown on the energy meter’s screen.

Once you have your energy meter calibrated, you reset it and leave it to do its job. Below are two images of it in use, both with a low power input and a high power input.

arduino-energy-meter-low-consumption

The first number displayed is the instantaneous current followed by the instantaneous power. On the bottom line, the kilowatt hours used since reset and then the maximum recorded power since reset.

arduino-energy-meter-high-consumption

And a video of startup:

Video Guide

How did this project go for you? What have you used it to monitor? Let us know in the comments section below, we may even put some of your work into our article to help others. Also feel free to post any questions or queries you may have, if you are asking, chances are someone else is wondering as well.