The Useless Lantern

by ENPC_023_G9 in Circuits > Arduino

339 Views, 0 Favorites, 0 Comments

The Useless Lantern

Useless_Lantern.jpeg

The project presented on this page is the result of the work of a group of 5 students carried out during the last two sessions of the "Rapid Prototyping" course given in the 2nd year of the engineering cycle at the Ecole des Ponts ParisTech. It is part of the line of useless machines, initiated by MIT professor Marvin Minsky in 1952, and his famous "useless box". In addition to the offbeat concept of the object, the approach was mainly carried out in a didactic concern, allowing us to exploit the manufacturing machines that we had at our disposal (3D printer and laser cutter), to familiarize ourselves with programmable electronics (arduino boards) and to discover uncommon electronic components.

Supplies

To make your own lantern, you will need the following material:

Electronics

  • Arduino board
  • Breadboard
  • Relay module
  • Flame sensor module
  • 12V water pump
  • Resistance force sensor (FSR)
  • 12V Power Adapter
  • 9V Battery with an adapter for arduino

Structure

  • PLA filament for 3D printing
  • Plexiglass plate for laser cutting

Other

  • A candle
  • Some tarpaulin

It would also be useful to have some basic tools (screwdriver, hammer, ...) as well as glue and sanding material (sandpaper, file, ...).

Design

Design_Final.jpeg
Design_Rejete1.jpeg
Design_Rejete2.jpeg

As with most projects the first step is to designate our final product. To do this, several factors were taken into account and several designs were created before selecting the one that best fit our needs. Among these factors we find:

1. The way to extinguish the candle

At the beginning we had only one idea, to create a product that detects when a candle is lit and puts it out. For this we thought of different methods to extinguish the candle. The first method was to pinch and release the wick of it. The second method was to use a small fan that will blow out the flame. Finally, the third method was to extinguish the candle using water. We quickly dropped the first method because it is the most complex and needs to be readjusted as soon as the size of the candle changes. The other two methods had their advantages and disadvantages but we nevertheless decided to use water to extinguish the flame just because we liked this way better.

2. The number of candles

We hesitated for a long time about the number of candles that our final product will have, which led us to consider different designs and not just lanterns. But in view of our choice to use water and therefore a pump with pipes, and our desire not to make something too big we agreed on the use of a single candle.

3. The mobility of the product

Finally, the factor of product mobility allowed us to eliminate all the remaining designs leaving only one. Indeed, we wanted to make a relatively small product, which can be carried and moved. This required us to put the candle and water tank inside the product along with the rest of the components and that's when we went from a simple idea of "Detecting when a candle is lit and turning it off" to our lantern design.

Electronics

IMG_20220123_150240_resized_20220123_104941121.jpg
IMG_20220123_150458_resized_20220123_104940911.jpg
IMG_20220123_150657_resized_20220123_104941026.jpg
IMG_20220123_150416_resized_20220123_104940750.jpg
Schéma élec_bb.png

Since the goal of the project was to extinguish a flame once detected, we started by browsing the school's Makerspace's component offering to choose how we would proceed. It provided us a water pomp and a flame sensor module, which constituted, along with the Arduino board, our first prototype. On second thoughts, we decided to add a force sensor on the lantern handle to turn it off only when it is carried, while keeping the flame sensor to ensure that the flame has actually been extinguished. The final code and electronic assembly are given at the end of this section.

Flame Detection

The flame sensor we used has an infrared receiver and detects flames by sensing their light emissions. This type of sensor is widely used in fire detection systems. In our case, the sensor offers the possibility of adjusting its sensitivity, in order to ensure the detection of the flame at the height imposed by the assembly, and returns digital and analog data. Here, we will only use the digital output to indicate whether or not there is a fire. The first tests we performed were aimed at getting to know this sensor and answering the main question: at what distance can we detect the flame? The few tests we conducted reassured us that these sensors cover a very large distance. Thanks to the 60° angle of detection, we were able to detect the flame at a distance of more than 40 cm without any problem. We were able to set the height of our lantern accordingly, keeping in mind the transportability criterion that it must meet.

Extinguishing the flame

The extinction of the flame is done with a water pump. The pump we had at our disposal only works when it is immersed. When we realized this, we modified our design, making sure that the pump had enough room in the lower basin of the lantern and that we could run a hose up over the flame to extinguish it when needed. Beyond these considerations, the operation of the pump is quite simple: we power an electric motor that draws water through one pipe and rejects it through another. Finally, as the Arduino board is not powerful enough to power such a component, we had to provide ourselves with a power adapter and control the pump's operation using a relay module. This relay acts as a switch and is directly controlled in 5V by an output of the Arduino board. It is this component that allows us to separate the control part from the power part of our circuit.

Adding a force sensor

The force sensor is an improvement idea that we had during the design of the object. It prevents the water pump from putting out the flame too soon and adds a direct link between the object and the user. The sensor we used, commonly called FSR or Force Sensitive Resistor, consists of a conductive polymer whose resistance property changes with pressure. Thus, when we exert no pressure on the sensor, its resistance approaches infinity and when we press on it, its resistance decreases. Similarly, when the sensor is connected to an analog input of the Arduino board, the value read is initially zero and increases with the pressure we apply on the sensor. The few experiments carried out have allowed us to set a threshold value from which to assume the grip of the lantern handle.

Note: the final arduino code that we used for testing is given in this step and is well commented. It easy to understand and can be altered in anyway you think will improve it.

Downloads

Laser Cutting of the Plexiglass

rectangles.jpg
rectangle.jpg

After choosing the design of a lantern, we had to agree on the assembly of the two main parts: the bottom, containing the candle and water, and the top, with the electronic components. At first, we considered using Plexiglass plates directly as an assembly mechanism, but this would have caused the structure to slip and the candle to fall out when lifted. We therefore opted for a pillar assembly, with Plexiglass plates to complete it and prevent water from leaving the structure, as well as to maintain the aesthetics of a lantern.

Since the plates are the easiest elements of the structure to size and manufacture, we adapted their design to the design and sizing of the lower and upper pieces. From this data, we designed three rectangles of 15.5 cm x 16.5 cm, using the laser cutter. The cutting was done in several steps:

  • Creation of the sketches using the Rhinoceros 3D software
  • Definition of the type of cut using the creation of "layers
  • Choosing the material to be cut as well as the cutting speed and power in the cutting machine software

When choosing the material, we tested the operation of the cutter and its tolerance based on the design of small squares of Plexiglas, and we found that the power chosen was not sufficient to completely cut the material. Moreover, the model of the Plexiglass present by default in the software of the printer was different from what we had, especially for the diameter of the plate. We then changed the parameters to have a stronger power and a compatible diameter and we restarted the cutting of the test squares, as well as the rectangles.

After this first step, despite having successfully cut our plates, we decided to change the dimensioning of the whole set, and we had to reduce the dimensions of our plates to 10cm x 16 cm. However, we had the constraint of the availability of the material, having at our disposal only scraps of Plexiglass. We were able to get around this constraint by re-cutting our initial plates to their new dimensions.

3D Printing of the Support

CamScanner 01-25-2022 17.34.jpg
Bottom.jpg
Top_Outside.jpg
Top_Inside.jpg
Pillar.jpg
Handle.jpg
Assembly.png
271743863_1806023456257702_295039330701632381_n.jpg
271955409_638394147587214_6920911870468362100_n.jpg
271219443_322977736505587_7227812350887440282_n.jpg
272176298_638130430758865_4270414001702265014_n.jpg
271571027_446893027077239_3065006819097218581_n.jpg
271633404_1529379677431766_3914589911777770838_n.jpg
271718837_260185629528832_7942506578561581897_n.jpg
271888054_303700585129794_4527169919625918009_n.jpg
271789067_376732597465636_3443296511578251147_n.jpg
271827961_1143715069509374_507500866516257401_n.jpg

After selecting the design of the lantern and its electronics, we moved on to the sizing of the lantern. The only two constraints were the thickness of the Plexiglass sheets used for the windows, worth 3 mm (we used Plexiglass scraps from other projects) and the limit dimensions of the 3D printer we wanted to use to print the different parts of the lantern.

A first sizing was done with external dimensions of 19 cm x 19 cm x 25 cm. However, after printing a first part we realized that these dimensions were much too large and for the sake of compactness and transportability we preferred to review the dimensions of our lantern.

Our lantern is made of 5 different types of parts:

  • A lower part which constitutes the bottom of the lantern and plays the role of water tank
  • An upper piece which constitutes the top of the lantern
  • A drawer inside the upper part containing all the electronics
  • A handle to hold the lantern 4 pillars to connect the lower part to the upper part and hold the Plexiglas plates in place

The 2D drawings of each part are given, with the dimensions in mm and the last modifications taken into account.

After sizing the lantern and each of the parts we created a 3D model of these parts using CATIA software and performed an assembly to ensure that all parts were sized correctly. Once the 3D models of the parts were completed, we saved them in STL format and printed them.

For time and object geometry reasons, we opted for a low fill (20%) and a layer thickness of about 0.3 mm, except for the handle for which the parameters were refined to ensure that its surface was smooth and pleasant to the touch. We set the layer thickness to 0.1 mm. We also took into account the bridges in the structures and added supports accordingly. This is especially the case for the slots in the pillars, which we printed horizontally. Finally, to avoid warping of the bottom surfaces during printing, we checked the "Adhesion" option in the Cura slicer to add a flange around the Raft object.

Once all the parts were printed we started the assembly. We then faced three main problems. First the base of the drawer was too big and therefore the drawer could not fit into the top piece. So we sanded it down using files and sandpaper and added a few drops of industrial lubricant to make it slide smoothly. The second problem was that the bottom piece, which serves as a water tank, was not watertight. So we added a tarp, fixed with strong glue, to make it waterproof. The third problem was that the Plexiglas plates did not slide into the pillars as desired. Indeed, one of the two slots of the pillar is narrower than the other due to a slight buckling during the printing process. We tried to fix this problem by sanding a little and forcing but it didn't work so we decided to change the pillar dimensions and reprint them. After that, all the pieces interlinked correctly. We thus completed the assembly of the final product by adding the acrylic plate that we cut. We also added the electronics into the small drawer (be careful there are a lot of wires so you need to do some wire managment to make sure everything fit nicely and is well connected) and here was our lantern ready to be tested.

Test and Conclusion

As shown in the video the device works pretty well and completes all the intended goals. We are happy from our work as it meets our expectations.

Despite the fact that the final product works as intended there are some improvements that can be done. Indeed, although we have reduced the size of the model, this lantern is still quite massive and a possible source of improvement would be to think of a new, more compact design. Our lantern must also be located near a power outlet, so another improvement would be to make it an embedded system, using a battery. In addition to these two improvements we noticed during our testing that draining our water tank is quite cumbersome and thus another way to improve the product is to find a way to easily drain that water tank without having to disconnect the electronics. Finally, from an aesthetic point of view we think we could have come up with a prettier design if we had more time but this doesn't affect the functionning of our lantern.

Thanks to this project, we had to show inventiveness and perseverance to overcome the many unforeseen difficulties that mark the design of an object. We also learned the hard way that it is necessary to think carefully about the dimensioning and the realization of machining parts, and that it is better to linger on this than to have to rebuild everything. Our efforts were rewarded, however, and the final result is a great source of pride for the five of us.