Wednesday, August 17, 2016

Simple Weather Station Housed In An IKEA BORRBY lantern

Ikea Item Used: Black IKEA BORRBY Lantern, 28cm high (part number: 101.561.09)

This hack describes the conversion of an IKEA BORRBY lantern into a Simple Weather Station with the following features:

i. Current inside Temperature, Humidity, and Atmospheric Pressure displayed on 7-segment LED displays.
ii. Current outside Temperature displayed on a 7-segment display using a wireless temperature sensor. Minimum and maximum values are also displayed and automatically reset at a user defined time via an alarm clock mounted on the rear.
iii. A graphical historical display of both the Temperature (previous 24 hours) and the Atmospheric Pressure (previous 40 hours). The Atmospheric Pressure display can also be configured to additionally display the time/date in an alternating or constant fashion.

Please note, a basic to reasonable level of electronics understanding is required for this project along with some soldering skills. Also note that I have not designed the electronics, rather I have used existing designs published on the internet by kind souls around the world and combined them all into one housing (the Ikea lantern). A 7 to 12V DC, 1A power supply is adequate to power the weather station. Total build time for the project is several months on and off. The electronic project files (which include electronic circuit diagrams together with microprocessor firmware files) are available at the following links:

1) Inside Temperature, Humidity, and Atmospheric Pressure display courtesy of Daniel at http://ift.tt/2aZKqnu
2) Outside Temperature display using a wireless transmitter courtesy of Daniel at http://ift.tt/2be25F4
3) Alarm clock to reset minimum and maximum outside Temperature values courtesy of Kevin at http://ift.tt/2aZL9Fc
4) Graphical historical display of Temperature courtesy of wilus14 at http://ift.tt/2be2ibf
5) Graphical historical display of Atmospheric Pressure courtesy of VVSV at http://ift.tt/2aZL2tr
The electronic parts can be sourced from Ebay, the most expensive parts being the two KS0108 128×64 Graphical LCDs at around £6 (British Pound Sterling) each from China.

Part 1

Remove the 4 plates of glass in the Lantern by bending upwards the metal tabs holding them in position and lifting them carefully out of their fixtures. Cut away the front vertical grilles using a Dremel or similar rotary tool. Paint over any exposed metal with matt black paint. Glue some decorative card behind the remaining grilled areas.

Cut a piece of electronic stripboard (prototyping board) to size such that it fits in the base of the lantern. For mounting purposes drill 4 holes in the corners of the stripboard, and drill a further 4 holes in the base of the lantern aligning with those in the stripboard.

Assemble and solder the electronic circuits onto the stripboard according to the electronic circuit diagrams contained within the web links at the beginning of this article. The various microcontrollers are programmed with the hex files firmware also contained within the web links using either a Pickit2 (or similar) or an Arduino Uno (or similar) programmer.

circuit-board-and-mounting-holes

vertical-slat-removal

Part 2

Cut out a piece of plastic (around 2-3mm thick) that is the same size as the previously removed front glass plate. This will become the plastic graphical LCD mount. Into this plastic cut out 2 rectangular ‘windows’ approximately the same size as the display area of the graphical LCDs. Fix the 2 graphical LCDs to the rear of the plastic mount by firstly screwing 4 small pieces of plastic (with 3mm tapped holes) to the 4 corners of the graphical LCD using M3 screws, and then gluing these 4 small plastic pieces to the rear of the plastic mount so that the 2 display areas align with the 2 rectangular cut-outs. Design and print out onto A4 paper an appropriately sized front facia, protecting the front visible surface with a layer of self adhesive transparent plastic cover film (the same that is used to protect book covers). Cut out of the paper facia 2 rectangles to align with the 2 rectangles in the plastic mount. Glue this facia onto the front surface of the plastic mount. Place the mount containing the graphical LCDs in the space that was previously occupied by the front glass plate, and fold the metal tabs back over to keep the mount in place.

graphical-displays-mounted-to-plastic-back facia1 graphical-displays-mounted-to-plastic-front

Part 3

Now cut out a piece of plastic (around 1-3mm thick) that’s large enough to cover the lower of the 2 areas that have had their grilles removed. This will become the temperature/humidity/pressure display mount. Into this mount cut out 3 rectangles approximately the same size as the display areas for the three 7-segment LED displays. Sandwich pieces of thin grey transparent sheet between the 7-segment displays and the mount (to increase viewing contrast) and then glue the displays onto the mount using 2-part epoxy adhesive. Design yourself an appropriately sized front facia and again print it out on A4 paper and protect it with a layer of self adhesive transparent plastic cover film. Cut out of the paper facia 3 rectangles to align with the 3 rectangles in the plastic mount. Glue the facia onto the front surface of the display mount. Solder onto the 7-segment displays 30cm long wires, and then fix the mount (containing the 7-segment displays and facia) into the gap at the front of the lantern using epoxy adhesive. (NOTE, IT IS IMPORTANT TO SOLDER THE WIRES ONTO THE 7-SEGMENT DISPLAYS BEFORE GLUING THE MOUNT IN PLACE AS IT’S VIRTUALLY IMPOSSIBLE TO ACCESS THE 7-SEGMENT DISPLAY SOLDERING POINTS AFTER THE MOUNT HAS BEEN FIXED IN PLACE.)

Part 4

Repeat the procedure in Part 3 to mount the outside temperature 7-segment LED display to the upper lantern area that has had its grilles removed. The words “MIN” and “MAX” are produced by printing them (white letters on a black background) onto a piece of A4 transparency film and illuminating them from behind with LED light bars that produce a diffuse light source. The wireless symbol is generated using the same printing method and is illuminated with an LED bar from the rear if a wireless signal containing temperature information has been received in the last 30 seconds.

A small waterproof hobby enclosure is obtained that is large enough to house 3xAA batteries, and a small piece of electronic stripboard to which the circuit for the wireless temperature transmitter is now soldered to. To provide meaningful measurements this enclosure is placed in an outside location that is permanently in the shade at any time of day throughout the year.

7-segment-displays-mounted-back 7-segment-displays-mounted-front facia3 facia4 min-max-wireless

glueing-7-segment-displays-close glueing-7-segment-displays-far remote-temperature-sensor

Part 5

A further piece of plastic (2-3mm thick) is cut out that matches the size of the glass sheet that was originally in the rear hinged door of the lantern. This will become the mount for the alarm clock display and electrical connectors/switches. A rectangular cut-out of similar size to the display area of the alarm clock’s 16×2 alphanumeric LCD display is made into the mount. The alarm time that is manually set on the alarm clock will cause the “MIN” and “MAX” values of the outside temperature display to be reset automatically at this time. Further holes/cut-outs are made for the electrical connectors that allow the inside temperature and humidity sensors to be located external to the lantern. Holes are also provided in the mount to allow push buttons switches to be fitted to be used in setting up the graphical historical displays and alarm clock. The toggle switches are optional and can be omitted. A power supply inlet hole is also required in the mount. A paper facia protected with transparent cover film is again produced. To aid in the production of the facia, and, in particular, the alignment of the descriptive text and line elements surrounding the cut-outs on the facia the plastic mount (acting as a facia dimension guide) can be scanned using a standard flatbed scanner, the resultant image can then be manipulated in a graphics editing package. The finished facia is again glued onto the mount, which, in turn is located into the empty space in the rear hinged door previously occupied by the glass plate.

rear-panel-front facia2

Part 6

Electrical connections are now made between the various displays/connectors/switches and the electrical circuits on the stripboard. NOTE, neatness is thoroughly discouraged at this point as shown in the wiring photo.

wiring-it-all-together

Part 7

For the side walls a suitable artistic image was chosen, printed on A4 paper and laminated. This was then cut to size, to match the dimensions of the previously removed glass plates, and, using Blue Tak reusable adhesive fixed in place. (Should access to the interior of the lantern prove necessary at a later date the non-permanent reusable adhesive used here will be highly advantageous.)

side

Final Product

A YouTube video of the weather station is available here.

Simple Weather Station Housed In An IKEA BORRBY lantern - rear, finished

Simple Weather Station Housed In An IKEA BORRBY lantern - front-top, finished

Simple Weather Station Housed In An IKEA BORRBY lantern - front-full, finished

~ by Richard Stevens

The post Simple Weather Station Housed In An IKEA BORRBY lantern appeared first on IKEA Hackers.


Simple Weather Station Housed In An IKEA BORRBY lantern published first on www.ikeahackers.net

No comments:

Post a Comment