Hello everyone, my name is Yabed and I'm learning how to MAKE (almost) anything

Fab Academy 2014

>> Week 18, May 28: Project development

Complete your final project, tracking your progress

 

Spiral development

Round 1:

After brainstorming, I choose an idea for my final project

 

Round 2:

I identified the modules that would be part of the project. And I started to search the information in order to document about the operation and particular technical details.

 

Round 3:

I reviewed the work schedule (date of delivery for final project) and considering the collected data and my knowledge, I defined the modules that will be part of the first prototype (Power supply and Automatic temperature control). Below, you can see a block diagram of the circuits that will be part of the prototype. Finally, I prepared a schedule for manufacturing of the first prototype.

 

Round 4:

After identifying the electronic circuits I would use in the project, I made a simulation of the electronic circuits: temperature controller, temperature monitoring and setting, synchronization signals generator and feeding source (this process includes the definition of the components and the coding of microcontroller program).
I also defined the way the elements would be distributed; I opted for a configuration of Modules in order to develop them one by one. Then, I obtained the first diagrams and component lists. I started to search and/or buy the electronic components and materials.

The defined circuits were:

  • Control unit: Microcontroller circuit with temperature sensor
  • Synchronization signal generator circuit
  • Power supply
  • Temperature monitoring and task setting unit
  • Power interface and heating resistance.

 

Round 5:

With the simulation phase finished, the fabduino manufactured in input devices class was set up. Operating tests were made, IDE Arduino test programs were recorded.

 

Round 6:

Subsequently, I checked the correct operation of the code developed during the simulation; for this purpose, I connected a potentiometer to a protoboard, in order to simulate the temperature sensor, a LCD, another potentiometer to regulate the LCD contrast and I saved the code in an Arduino Uno card.

 

Round 7:

I got an old electrical water heater, and I took the heating resistance and, since I did not have the technical specifications, I made the corresponding measurements to identify: the correct operation, the ohms value and amperes consumption. These data was necessary to calculate the component capacity and design the power interface.

With the LCD and the heating resistance finally operative, I started to make drafts of the water heater. The second step was to make the case setting and place the pipes to locate the flow and temperature sensors.

 

Round 8:

I designed a 3D piping, to locate the flow and temperature sensors. However, after several printing tests, the pieces did not fit correctly and that would cause a leak. I decided not to use the designed pieces and reuse the piping of the recycled heater. (In the future, I should look for a professional printer in order to obtain higher quality printed pieces).

This caused that in my first prototype the temperature sensor should be located in the water tank and would use the mechanical built-in flow sensor of the old system, which was operating.

Then, I started to work on the case setting.

 

Round 9:

Design and manufacturing of the case setting. The design included a little box that may be located separated from the case heater. I tried to make a good looking case, since it would be the visible part of the prototype the user would buy. The case heater was planned to be installed and hidden from the user’s view; the internal part included holders to fix the LCD and the button cards, as well as a rear cover that could have been removed easily for checking, all in pressfit system. For manufacturing, 2D design was used; the cutting and the engraving were made by means of a Laser
Epillog cutter in 3.1mm aeromodelism plywood. The buttons were designed in 3D and printed in a MakerBot Replicator 2x printer.
Two units were prepared, a testing one and the other with modifications and final engraving.

(Click for -->see photos album)

Round 10:

The next step was to make the case setting operative with the test circuit prepared before to test the microcontroller code. Then, the Arduino UNO card had to be replaced by the Fabduino card we previously made; the code was saved in the processor and the connections to make the it work along with the case setting were made.

 

Round 11:

Then, I made the circuits: synchronization, power interface and power supply. The idea was to have the circuits ready so that they can be assembled and work together immediately. Only a dream.

 

Round 12:

Once the three circuits were ready, I tested them one by one and then I connected one to each other. I started with the synchronization circuit, which generated the planned pulse, but when connected to the fabduino it stopped and after the tests the Opam component of the synchronization circuit burnt out. After several attempts, I had to modify the microcontroller program so that this prototype version may work without it. Once an operating prototype was obtained, I could turn back to see what was failing.

 

Round 13:

The power interface circuit tests were performed without problems.

 

Round 14:

When testing the 5v regulated source I made, it operated well but unfortunately, when connecting it to the synchronization circuit it broke. Therefore, that card was not used in the prototype. Below, I detail how I solved the current feeding.
I discovered that I should not feed the synchronization circuit output with the 5vdc generated by the same transformer feeding the synchronization circuit.

In this project phase, the case setting was operative and tested, as well as the heater resistance, the card with the microcontroller (fabduino) was programmed and working with the temperature sensor and finally the power interface was also ready.

I decided to postpone the improvements for later, once I have finished the design and the case heater was made.

 

Round 15:

Design and manufacturing of case heater: in the design I took into account enough space to include three areas: in the left top, the high voltage heater resistance; in the right top, the area for low voltage electronic cards, and total division to separate in the low part an independent area for hydraulic flow (in order to separate the electronic part from the water, and to prevent any problem).
I also took into account to leave some open spaces in the front parts and in the top and cover them with transparent acrylic to allow the viewing of the inner parts of the prototype, from the top and from the bottom. For manufacturing, I used 2D design, 12mm MDF and CNC ShopBot milling cutter. Three processes were performed: Lace at two depths, inside court and outside court.. In order to cover the opened spaces, 3 mm transparent acrylic sheets were used; these were cut with Laser, so that they may fit by pressure. Finally, I added a decorative feature with a sticker of FabLab logotype, made with the vinyl cutter.

 

Round 16:

Case heater assembly and circuit installation
The side walls were assembled to the main piece by using a mallet; then, the front and rear plates were placed posterior. Then, on the ground, the vertical strips were fixed to the main piece; they would be the rack for electronic cards. Finally, the top plate was placed.


The heater resistance was put and we started to fix the electronic cards. The vinyl FabLab logotype was placed at the end.

Round 17:

First tests:
In FabLab we do not have a water supply to perform the tests, so I replaced the heater resistance by a 220v bulb, and placed the temperature sensor close, so that it may detect the heat sent out when it is turned on. Thus, the programming parameters were adjusted so that everything may work well. Considering that the loss of heat is not immediate, the program was made so that the system may work in a range higher than 2 degrees over and below the value fixed by the user (this can be reprogrammed anytime). The system would turn the resistance on if the sensor detects a value below the inferior range and would turn it off when it surpasses the higher value.
During the first steps, a unexpected failure was detected in the LCD (suddenly, it showed illegible characters), the contacts and connections were verified. After reviewing and disassembling almost the whole project, I tried changing the communication cable by a UTP cable. After the change, the problem was solved, but the cable we used was too rigid and it was difficult to install it; finally, we managed to make it work.

We had a problem with the current supply. The system worked well with the FTDI cable connected to the PC. However, when feeding the fabduino with a 5v regulated source, it showed operating failures. Different transformers were tested, as well as alternative rectification and regulation systems, but none of them could solve the problem. Therefore, for this phase, I decided to make the prototype temporarily operate by using voltage from the FTDI cable.

This video shows the first operation of the prototype.

Round 18:

A new circuit to the system: Welcome FTDI!
Once the cards assembly was stabilized in the case heater, I analyzed once again the feeding source, taking into account that it worked well with the FTDI. So we decided to make a FTDI cable to incorporate it to the system. I realized that it would be very useful to reprogram the controller while performing more test and since the FTDI was incorporated, it allowed us to easily program the system in any moment without touching the cards. Thus, it was not necessary anymore to connect it to a PC to make it work. We only had to look for the best way to feed voltage to the FTDI card.

 

Round 19:

Finally, a battery would be used.
With the FTDI installed, we connect it to the feeding source and some failures in the operation arose. These failures were gone when we replaced the source by a battery. We designed a shield to regulate the voltage and use a battery as a feeding source. At the end of this report, I learned that the problem might be solved by feeding the Fabduino with 3.7 volts and not using the FTDI cable. I will evaluate it for future prototypes, when I reach this phase again following the spiral development method. No need computer conection. The water heater is in this moment independent.

Round 20:

Incorporation of water flow detection and temperature sensor placement.
The following challenge was to make the system detect the water flow and activate the system; otherwise, it would operate permanently. The initial idea was to use an optic sensor so that with help of a diaphragm it can detect the water flow; but due to problems during the manufacturing of piping in the 3D print, we used a microswitch with a built-in system we recycled. Then, I added in the microcontroller program a routine so that if it detected any change in the microswitch status, it would activate or deactivate the system.

 

Finally, before starting to make tests with water, we fixed the temperature sensor to the top wall of the water tank. This is a temporary solution; the initial idea was incorporating the sensor in the system output piping (it was not possible due to problems with 3D printing such parts). This challenge is still to be resolved. The temperature sensor terminals are insulated by heatshrink spaghetti.

 

Round 21:

As I was starting testing the heater with the water flow, I realized the compartment had not been previously tested, and I found it leaked. The Hydraulics part of the system was not ready for work and the pieces had to be replaced. Lesson learned: in the future I will start the tests with the water flow incorporated. The videos below summarize the project acheivements: first, the temperature sensor is working and second, the test with the water flow and the temperature control:

We could only progress to this round as much as time and knowledge allowed us. I really appreciate the collaboration of all my instructors, classmates and other persons who gave ideas and support to not give up. The development of the prototype is still a commitment as well as the realization of the project modules.

scroll up

Prototype file card:

The prototype has two areas of work, Internal: the electronic part; and external: furniture/design/presentation

 

 

The electronic part includes:

  • Microcontroller
  • Input devices: three buttons so that the user may set the working temperature, a temperature sensor, a button (microswitch) to detect the water flow.
  • Output devices: a LCD screen to show data to the user, a high voltage heater resistance linked to the control system by means of a power interface.
  • A FTDI card
  • A 5vdc voltage limiter
  • A 9v battery

.

The manufacturing processes include:

  • Electronic circuit design
  • Electronic circuit simulation
  • Program coding for microcontrollers, I used IDE Arduino
  • Electronic circuits manufacturing
  • Microcontrollers saving

.

Used sofware:

  • Adobe photoshop
  • MS Excell
  • FabModules
  • Arduino IDE
  • Eagle
  • Proteus
  • Multisim

.

Used machines/tools:

  • CNC MDX-20 Roland Modela
  • Welding station: soldering gun, clamps, microscope/magnifying glass, third hand, air filter.
  • FabISP
  • FTDI cable
  • Oscilloscope
  • Multimeter/amperemeter
  • Voltage digital regulated source
  • High Voltage Regulated Source
  • Arduino UNO Card
  • Protoboard
  • Screwdrivers
  • Diagonal pliers
  • Wire strippers

 

Some materials

  • Electrical components
  • Cables
  • Tin
  • Solding plaster
  • Double contact strip
  • Sandpaper
  • Masking tape
  • spaguetis termocontraible
  • Jumper cables
  • Different connector

.

The case / design / presentation part includes:

  • Case setting, which has buttons designed in 3D and printed in 3D with ABS
  • Case heater

.

The manufacturing processes were:

  • 2D design
  • 3D design
  • 3D printing: case setting’s buttons
  • Laser cutting: 3.1mm (cutting and engraving) plywood, 3mm acrylic
  • CNC ShopBot cutting: 12mm MDF (cutting, fitting)
  • Vinyl cutting

.

The machines/tools used:

  • 3D Printer: MakerBot Replicator 2x
  • CNC ShopBot
  • Epillog Laser Cutting
  • CAMM 1-Servo Roland - Vinyl cutting
  • Mallet
  • Screwdrivers (fitting material in the shopbot)

.

Materials:

  • MDF 12mm
  • 3.10mm Aeromodelism plywood
  • ABS threat
  • 3mm transparent acrylic
  • Adhesive vinyl
  • Tapes

.

 

scroll up

Work files, picture record:


I think it is possible to develop a commercial product with this project. Therefore, before starting the commercial dissemination stage, it is necessary to stabilize the product design and to define its operating parameters. In the following interactions, we will check if the implemented circuits include any currently valid patent. We will also be aware to identify if any development of the protocol qualifies to be patented. Therefore, our first prototype will be under a closed-source license.

The work files (diagrams, planes, components, budgets and pictures) are located in the following repository:

Electronic Water Heater Repository

scroll up