{"title":"Ashwin's Chronicles\ud83d\uddde\ufe0f - Engineering","link":[{"@attributes":{"href":"https:\/\/ashwinschronicles.github.io\/","rel":"alternate"}},{"@attributes":{"href":"https:\/\/ashwinschronicles.github.io\/feeds\/engineering.atom.xml","rel":"self"}}],"id":"https:\/\/ashwinschronicles.github.io\/","updated":"2019-07-13T00:00:00+05:30","entry":[{"title":"Analog Discovery 2 + LabVIEW Home Bundle -\u00a0Review","link":{"@attributes":{"href":"https:\/\/ashwinschronicles.github.io\/analog-discovery-2-labview-home-bundle-review","rel":"alternate"}},"published":"2019-07-13T00:00:00+05:30","updated":"2019-07-13T00:00:00+05:30","author":{"name":"Ashwin"},"id":"tag:ashwinschronicles.github.io,2019-07-13:\/analog-discovery-2-labview-home-bundle-review","summary":"<p>This post is a review of the Analog Discovery 2 + LabVIEW Home Bundle in a lab&nbsp;environment<\/p>","content":"\n<p>This post is a review of the Analog Discovery 2 + LabVIEW Home Bundle in a lab environment. It was originally posted <a href=\"https:\/\/www.element14.com\/community\/roadTestReviews\/3075\/l\/analog-discovery-2-labview-home-bundle-review\">here<\/a> as a part of element14\u2019s RoadTest. I thank element14 for sending me the review\u00a0unit.<\/p>\n<ul>\n<li>\n<p><strong>Evaluation Type:<\/strong> Test\u00a0Equipment<\/p>\n<\/li>\n<li>\n<p><strong>Was everything in the box required?:<\/strong>\u00a0Yes<\/p>\n<\/li>\n<li>\n<p><strong>Comparable Products\/Other parts you considered:<\/strong> <span class=\"caps\">ADALM1000<\/span>,SainSmart <span class=\"caps\">DDS140<\/span>,Hantek iDSO 1070A,Link Instruments <span class=\"caps\">MSO<\/span>-28<\/p>\n<\/li>\n<li>\n<p><strong>What were the biggest problems encountered?:<\/strong> Low power supply capability, coupling between Ch1 and Ch2 of the oscilloscope, it has bandwidth limitations and voltage input limitation, the device gets disconnected often(probably faulty\u00a0cable)<\/p>\n<\/li>\n<\/ul>\n<h2 id=\"detailed-review\">Detailed Review:<a class=\"headerlink\" href=\"#detailed-review\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<h5 id=\"typical-use-case-of-labview-in-research-labs\">Typical Use case of LabVIEW in research labs.<a class=\"headerlink\" href=\"#typical-use-case-of-labview-in-research-labs\" title=\"Permanent link\">\u00b6<\/a><\/h5>\n<p>Scientists around the world use LabVIEW and National Instruments products to design and control instruments. The lab that I currently work in does electrical and magnetic measurements of specific samples at liquid helium temperature (4 K). I wanted to interface all the instruments using LabVIEW. The system I\u2019m using comprises of a Cryostat, Temperature controller, Source meter Unit. The cryostat uses a liquid helium compressor to cool down the chamber where the sample will be kept. The sample is kept on a sample holder that is designed in house, keeping in mind of all the sample space constraints and to maximise the thermal conductivity between cooler and the sample. An image of the sample holder with the sample can be seen\u00a0here.<\/p>\n<p><img alt=\"AnD2_1\" src=\"..\/images\/AnD2_1.webp\"\/><\/p>\n<p>The sample you see is connected thermally to a heater and a temperature sensor (cernox sensor). Wires from the sample, temperature sensor and the heater come out of the cooler to a breakout box. One can connect any instruments to this break outbox using banana pin wires. Currently, Lakeshore 336 (<span class=\"caps\">LS336<\/span>) temperature controller, <span class=\"caps\">B2912A<\/span> Source meters (<span class=\"caps\">SMU<\/span>) are connected in the photo\u00a0below.<\/p>\n<p><img alt=\"AnD2_2_analogdiscovery2\" src=\"..\/images\/AnD2_2_analogdiscovery2.webp\" style=\"zoom: 25%;\"\/><\/p>\n<p>A schematic of the setup\u00a0is<\/p>\n<p><img alt=\"AnD2_3_pastedImage_3\" src=\"..\/images\/AnD2_3_pastedImage_3.webp\" style=\"zoom:100%;\"\/><\/p>\n<p>I wanted to use LabVIEW to make a program to automate data acquisition of resistance of the sample as a function of sample\u00a0temperature.<\/p>\n<p>In Labview, such software are what are called <span class=\"caps\">VI<\/span>\u2019s which stands for virtual instrument. There are 2 parts to any <span class=\"caps\">VI<\/span>, the front panel, where you put all the user-controllable elements like buttons tet bar etc and logical back panel\/ where all the logic for the program is written using \u201cG\u201d programming\u00a0language.<\/p>\n<p>To get started with designing such software, typically one needs to install the instrumentation driver and look into example program. Luckily both <span class=\"caps\">LS336<\/span> and <span class=\"caps\">SMU<\/span> had instrument drivers\u00a0available.<\/p>\n<p>Once installed, one can find example codes by going to <span class=\"caps\">HELP<\/span>&gt;<span class=\"caps\">FIND<\/span> <span class=\"caps\">EXAMPLE<\/span>&gt; and searching the model number. In the case of <span class=\"caps\">LS336<\/span>, \u201cLakeshore 336 Configure heater output control parameters and acquire single reading.vi\u201d example was just what I needed. It had all the features I wanted to control from that instrument. Heres an image of that\u00a0vi.<\/p>\n<p><strong>Front\u00a0Panel<\/strong><\/p>\n<p><img alt=\"AnD2_4_pastedImage_5\" src=\"..\/images\/AnD2_4_pastedImage_5.webp\"\/><\/p>\n<p><strong>Back\u00a0panel<\/strong><\/p>\n<p>Now, however, <span class=\"caps\">SMU<\/span>\u2019s examples didn\u2019t work well for me, in such a case, one would make a new <span class=\"caps\">VI<\/span>, right-click on the block diagram and go\u00a0to<\/p>\n<p><img alt=\"AnD2_5_pastedImage_9\" src=\"..\/images\/AnD2_5_pastedImage_9.webp\"\/><\/p>\n<p>The back panel (block diagram) actually contain many sub-<span class=\"caps\">VI<\/span>\u2019s that act as functions so one can use them in their own program. So, in the end, I combined parts from <span class=\"caps\">LS336<\/span>\u2019s example and <span class=\"caps\">SMU<\/span>\u2019s <span class=\"caps\">VI<\/span> tree in a way that is suitable for the current requirement of measuring Resistance as a function of sample temperature. I also added functions to write the obtained data in a systematic\u00a0format.<\/p>\n<p>In the end, this is what was\u00a0achieved.<\/p>\n<p><img alt=\"AnD2_6_pastedImage_9\" src=\"..\/images\/AnD2_6_pastedImage_9.webp\"\/><\/p>\n<p>I would love to show you the block diagram but even 5 different images coudnt capture the entire block diagram (yes it was that messy!) so I have uploaded the source code at the end if anyone wants to take a look at\u00a0it.<\/p>\n<p>One of the better measurements I was able to do with this system was to measure superconducting transition temperature of Nb thin film, a graph of the same is attached\u00a0here.<\/p>\n<p><img alt=\"AnD2_7_pastedImage_11\" src=\"..\/images\/AnD2_7_pastedImage_11.webp\"\/><\/p>\n<p><strong>A preliminary test of Analog Discovery\u00a02!<\/strong><\/p>\n<p>My main objective of using analog discovery(<span class=\"caps\">AD<\/span>) is to build a vibration sample magnetometer (<span class=\"caps\">VSM<\/span>) and use <span class=\"caps\">AD2<\/span> to source power and acquire\u00a0measurements.<\/p>\n<p>But before I show you how I did that, I can want to show few of the preliminary tests that I did with <span class=\"caps\">AD2<\/span>, and show you where it succeeds and where it\u00a0fails.<\/p>\n<p>As a part of developing the sample holder for the above project, I designed 20 low pass <span class=\"caps\">RC<\/span> filters. The <span class=\"caps\">PCB<\/span> design and the fabricated <span class=\"caps\">PCB<\/span> images\u00a0:<\/p>\n<p><a href=\"https:\/\/www.element14.com\/community\/servlet\/JiveServlet\/showImage\/293607990-3075-737752\/pastedImage_2.webp\"><img alt=\"img\" src=\"..\/images\/AnD2_8_pastedImage_2.webp\"\/><\/a><a href=\"https:\/\/www.element14.com\/community\/servlet\/JiveServlet\/showImage\/293607990-3075-737753\/pastedImage_3.webp\"><img alt=\"img\" src=\"..\/images\/AnD2_9_pastedImage_3.webp\"\/><\/a><\/p>\n<p>And in order to test them, I used the bode plot feature of <span class=\"caps\">AD2<\/span>. The waveforms software that comes up with this device has a tab called Network analyser. The connections to the input and output side of the filter is connected as follows:e the WaveGen 1 output and Oscilloscope Channel 1 input of the device is connected to the filter input, while the Oscilloscope Channel 2 is connected to the filter output, as shown in the picture below. (taken from\u00a0digilentinc.com)<\/p>\n<p><img alt=\"AnD2_10_pastedImage_4\" src=\"..\/images\/AnD2_10_pastedImage_4.webp\"\/><\/p>\n<p>When the instrument is started, the bode plot is shown in the program and it was verified that the <span class=\"caps\">RC<\/span> filters are working with the cutoff at 1KHz just as designed. A screenshot of the program is\u00a0shown<\/p>\n<p><img alt=\"AnD2_11_RC_filter2\" src=\"..\/images\/AnD2_11_RC_filter2.webp\"\/><\/p>\n<p>The <span class=\"caps\">RC<\/span> filter was supposed to be used inside the cooler mentioned previously, so it would have to work at 4 K as well. But to our disappointment, at 4 K the cutoff shifted to 100KHz dues to high change in capacitance from 10uF to 12nF it is notable that the smd thin film resistor only changed values from 150ohm at room temperature to 160ohm. So the <span class=\"caps\">AD2<\/span> was an extremely handy tool. Typical lab network analysers are pretty\u00a0expensive.<\/p>\n<p><img alt=\"AnD2_11_RC_filter3\" src=\"..\/images\/AnD2_11_RC_filter3.webp\"\/><\/p>\n<p>Another notable thing is that the <span class=\"caps\">AD2<\/span> gives unreliable results beyond 1MHz as can be seen in the above\u00a0image.<\/p>\n<p>I also noticed a coupling between Ch1 and <span class=\"caps\">CH2<\/span> of the oscilloscope, when WaveGen1 and Oscilloscope 1 wires were connected and wave gen was set to generate a random sine wave. This can be seen in the image\u00a0below.<\/p>\n<p><img alt=\"AnD2_13_Signal_scope\" src=\"..\/images\/AnD2_13_Signal_scope.webp\"\/><\/p>\n<p>With the same image, one can also notice the significant change in the shape of the sine curve. This only tells me that either WaveGen or Oscilloscope or both cant be used in an environment which requires precision and accuracy. Another image showing the same phenomenon is bellow where a 1Hz frequency was sourced.\n<img alt=\"AnD2_14_Signal_wavegen_1Hz\" src=\"..\/images\/AnD2_14_Signal_wavegen_1Hz.webp\"\/><\/p>\n<p>and in the following image where 17Hz is sourced on a 4 ohm speaker\u00a0load.<\/p>\n<p><img alt=\"AnD2_15_Signal_wavegen_17Hz\" src=\"..\/images\/AnD2_15_Signal_wavegen_17Hz.webp\"\/><\/p>\n<p>Another problem I faced a lot with my particular unit was frequent disconnection from the waveforms software but when checking the list of devices it is present. I suspect that the long cable provided with <span class=\"caps\">AD2<\/span> has considerable resistance and whenever <span class=\"caps\">AD2<\/span> draws some significant current through the laptop, the source voltage falls below the threshold and the device disconnects momentarily. This also posed a problem for\u00a0me.<\/p>\n<p>So with all these preliminary tests, I\u2019m unsure of using <span class=\"caps\">AD2<\/span> to gather data for my research purpose. However ill do the <span class=\"caps\">VSM<\/span> anyway just to see how it goes. I have already wound the 600 turn pickup coil whose signal will be captured by <span class=\"caps\">AD2<\/span> and the Fe sample is mounted on a 4 ohm speaker which will be driven by <span class=\"caps\">AD2<\/span> at 17Hz. Im just on the lookout for a suitable electromagnet. Earlier I thought of using <span class=\"caps\">AD2<\/span> to power a small diameter electromagnet, however, the magnetic field produced by it is around 10 Gauss, which is very small. The <span class=\"caps\">VSM<\/span> would need at least 100 Gauss or above, which may be achieved by and external power supply circuitry whose strength can be controlled by some signal from <span class=\"caps\">AD2<\/span>. Ill be sure to update this post as soon as I get some\u00a0update<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>The Analog Discovery 2 can very well be called as the Swiss Army Knife of Test Equipments. Everything about it is really well documented and there are video tutorials to get you started too, so it\u2019s easy to figure out the whole capabilities of the device. The capabilities easily make this the best tool for learning and testing electronics for hobbyists to experienced. Its an extremely versatile tool to have in your lab shelf. However, this is certainly not a high-performance measurement unit, if you need accurate, precise and more control over the data acquisition or for research purpose, the device is not the go-to\u00a0choice.<\/p>\n<p>LabVIEW is no doubt the industry standard for interfacing instruments, however, its Graphical programming ideology sometimes gets messy and daunting to work\u00a0with.<\/p>\n<h3 id=\"scoring\">Scoring<a class=\"headerlink\" href=\"#scoring\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<table>\n<thead>\n<tr>\n<th><strong>Product Performed to Expectations:<\/strong><\/th>\n<th>6<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Specifications were sufficient to design with:<\/strong><\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td><strong>Demo Software was of good quality:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>Product was easy to use:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>Support materials were available:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>The price to performance ratio was good:<\/strong><\/td>\n<td>9<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><strong>TotalScore:<\/strong><\/td>\n<td>52 \/ 60<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","category":[{"@attributes":{"term":"Engineering"}},{"@attributes":{"term":"Analog Discovery 2"}},{"@attributes":{"term":"LabVIEW"}},{"@attributes":{"term":"Review"}}]},{"title":"A beginers IoT\u00a0Project.","link":{"@attributes":{"href":"https:\/\/ashwinschronicles.github.io\/Intro-to-IoT","rel":"alternate"}},"published":"2018-07-12T00:00:00+05:30","updated":"2018-07-12T00:00:00+05:30","author":{"name":"Ashwin"},"id":"tag:ashwinschronicles.github.io,2018-07-12:\/Intro-to-IoT","summary":"<p>In this post, we\u2019ll be making a simple IoT project. Web page controlled <span class=\"caps\">LED<\/span> strip using NodeMCU connected on a local&nbsp;network.<\/p>","content":"\n<p>In this post, we\u2019ll be making a simple IoT project. Web page controlled <span class=\"caps\">LED<\/span> strip using NodeMCU connected on a local\u00a0network.<\/p>\n<h2 id=\"outline\">Outline:<a class=\"headerlink\" href=\"#outline\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>Web page controlled <span class=\"caps\">LED<\/span> strip is like the \u201cHello world\u201d of IoT. In this post I will be detailing on the procedure I followed to set it up. The schematic of the project will be as\u00a0follows:<\/p>\n<p><img alt=\"Schematic\" src=\"..\/.\/images\/IoT_1_schematic.webp\"\/><\/p>\n<p>So when we click a button on a web browser we can turn the led strip on or off using a relay which we control using the <span class=\"caps\">ESP8266<\/span>\u00a0board.<\/p>\n<h2 id=\"materials\">Materials:<a class=\"headerlink\" href=\"#materials\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<ul>\n<li>NodeMCU<\/li>\n<\/ul>\n<p><img alt=\"nodemcu\" src=\"..\/.\/images\/IoT_2_nodemcu.jpeg\" style=\"zoom: 33%;\"\/><\/p>\n<ul>\n<li>5v\u00a0Relay<\/li>\n<\/ul>\n<p><img alt=\"relay\" src=\"..\/.\/images\/IoT_3_relay.jpeg\" style=\"zoom: 50%;\"\/><\/p>\n<ul>\n<li><span class=\"caps\">LED<\/span>\u00a0strip<\/li>\n<li><span class=\"caps\">LED<\/span> strip power supply (any generic 12V power\u00a0supply)<\/li>\n<\/ul>\n<p><img alt=\"powersupply\" src=\"..\/.\/images\/IoT_4_powersupply.jpeg\" style=\"zoom:33%;\"\/><\/p>\n<h2 id=\"installing-nodemcu-board-package-in-arduino-ide\">Installing NodeMCU Board Package in Arduino <span class=\"caps\">IDE<\/span>:<a class=\"headerlink\" href=\"#installing-nodemcu-board-package-in-arduino-ide\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<ul>\n<li>Open up Arduino <span class=\"caps\">IDE<\/span>. Go to Files-&gt; Preferences. Enter <code>http:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/code> into Additional Board Manager URLs\u00a0field.<\/li>\n<\/ul>\n<p><img alt=\"IoT_5_preference\" src=\"..\/images\/IoT_5_preference.webp\"\/><\/p>\n<ul>\n<li>Now go to Tools-&gt;Boards-&gt;Board Manager, and search for <span class=\"caps\">ESP8266<\/span> and install the\u00a0package.<\/li>\n<\/ul>\n<p><img alt=\"IoT_6_board\" src=\"..\/images\/IoT_6_board.webp\"\/><\/p>\n<ul>\n<li>If you have the same board as me (NodeMCU Amica) then you will have to install drivers for <span class=\"caps\">CP2102<\/span> (<span class=\"caps\">USB<\/span> to Serial\u00a0Converter)<\/li>\n<\/ul>\n<p><code>[Note: some board come with CH340G chip in which case you dont need to follow this step.]<\/code><\/p>\n<p>Download drivers from <a href=\"https:\/\/www.silabs.com\/products\/mcu\/Pages\/USBtoUARTBridgeVCPDrivers.aspx\">here <\/a>and install it. Connect the nodeMCU to your computer and install the downloaded drives when your system prompts to install the drivers for the newly connected <span class=\"caps\">USB<\/span> device.Go to the device manager of your computer and note down the <span class=\"caps\">COM<\/span> port allocated to the newly connected <span class=\"caps\">USB<\/span>\u00a0device.<\/p>\n<p><img alt=\"IoT_7_deveicemanager\" src=\"..\/images\/IoT_7_deveicemanager.webp\"\/><\/p>\n<h2 id=\"pin-connections\">Pin Connections:<a class=\"headerlink\" href=\"#pin-connections\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>Connect <strong>NodeMCU<\/strong> Ground (<strong><span class=\"caps\">GND<\/span><\/strong>) pin to <strong>-ve<\/strong> pin of <strong>Relay<\/strong>.<\/p>\n<p>Connect <strong>NodeMCU<\/strong> Supply (<strong>Vin)<\/strong> pin to <strong>+ve<\/strong> pin of <strong>Relay<\/strong>.<\/p>\n<p>Connect <strong>NodeMCU<\/strong> Digital pin (<strong>D0<\/strong>) to <strong>Input<\/strong> pin of <strong>Relay<\/strong>.<\/p>\n<h2 id=\"coding-part\">Coding Part<a class=\"headerlink\" href=\"#coding-part\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>The code for the nodeMCU that I have uploaded is <a href=\"https:\/\/raw.githubusercontent.com\/iamashwin26\/Projs\/master\/Introduction to IoT\/Source_code_hello_IoT.ino\">here<\/a> . Replace the\u00a0line<\/p>\n<div class=\"highlight\"><pre><span><\/span><code>WiFi.softAP(\"Hello_IoT\", \"ashwins12345678\");\n<\/code><\/pre><\/div>\n<p>with whatever <span class=\"caps\">SSID<\/span> and password you want to\u00a0put.<\/p>\n<div class=\"highlight\"><pre><span><\/span><code><span class=\"nv\">NOTE<\/span>.<span class=\"w\"> <\/span><span class=\"nv\">This<\/span><span class=\"w\"> <\/span><span class=\"nv\">sketch<\/span><span class=\"w\"> <\/span><span class=\"nv\">uses<\/span><span class=\"w\"> <\/span><span class=\"nv\">WiFi<\/span>.<span class=\"nv\">softAP<\/span><span class=\"w\"> <\/span><span class=\"nv\">instead<\/span><span class=\"w\"> <\/span><span class=\"nv\">of<\/span><span class=\"w\"> <\/span><span class=\"nv\">the<\/span><span class=\"w\"> <\/span><span class=\"nv\">commonly<\/span><span class=\"w\"> <\/span><span class=\"nv\">used<\/span><span class=\"w\"> <\/span><span class=\"nv\">WiFi<\/span>.<span class=\"nv\">begin<\/span>,<span class=\"w\"> <\/span><span class=\"nv\">the<\/span><span class=\"w\"> <\/span><span class=\"nv\">reason<\/span><span class=\"w\"> <\/span><span class=\"nv\">is<\/span><span class=\"w\"> <\/span><span class=\"nv\">that<\/span><span class=\"w\"> <\/span><span class=\"nv\">when<\/span><span class=\"w\"> <\/span><span class=\"nv\">I<\/span><span class=\"w\"> <\/span><span class=\"nv\">use<\/span><span class=\"w\"> <\/span><span class=\"nv\">WiFi<\/span>.<span class=\"nv\">begin<\/span><span class=\"ss\">()<\/span><span class=\"w\"> <\/span><span class=\"nv\">I<\/span><span class=\"w\"> <\/span><span class=\"nv\">can<\/span><span class=\"err\">'t find the SSID when I do WiFi scan, however, the SSID I do see is of the previous sketch where I used WiFi.softAP(). If you encounter the same problem while using WiFi.begin then using my code should fix it.<\/span>\n<\/code><\/pre><\/div>\n<p>When u have successfully built your connection and the code, you have to upload the code into the NodeMCU by using a micro <span class=\"caps\">USB<\/span>.<\/p>\n<p>Now, go to Tools &gt; Board &gt; <span class=\"caps\">ESP8266<\/span> Modules and you can see many options for <span class=\"caps\">ESP8266<\/span>. Select \u201cNodeMCU 1.0 (<span class=\"caps\">ESP<\/span>-12E Module). Next, select your port ( the same one you saw in the device manager previously ). If you cant recognize your port, go to the Control Panel &gt; System &gt; Device Manager &gt; Port and update your <span class=\"caps\">USB<\/span>\u00a0driver.<\/p>\n<p>Now upload the code to the\u00a0board.<\/p>\n<p><img alt=\"IoT_8_upload\" src=\"..\/images\/IoT_8_upload.webp\"\/><\/p>\n<h2 id=\"finale-testing\">Finale testing:<a class=\"headerlink\" href=\"#finale-testing\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<ul>\n<li>Now open up your Serial Monitor, and note down the <span class=\"caps\">URL<\/span>.<\/li>\n<\/ul>\n<p><img alt=\"IoT_9_serialmonitor\" src=\"..\/images\/IoT_9_serialmonitor.webp\"\/><\/p>\n<ul>\n<li>Now put the <span class=\"caps\">URL<\/span> in your phone\u2019s browser( it usually defaults to\u00a0192.168.4.1).<\/li>\n<li>A page will open having two buttons <span class=\"caps\">ON<\/span> and <span class=\"caps\">OFF<\/span>.<\/li>\n<\/ul>\n<p><img alt=\"IoT_10_broser\" src=\"..\/images\/IoT_10_broser.jpeg\" style=\"zoom:67%;\"\/><\/p>\n<ul>\n<li>If everything is correct when you press <span class=\"caps\">ON<\/span> the <span class=\"caps\">LED<\/span> will light up and when you press <span class=\"caps\">OFF<\/span> the <span class=\"caps\">LED<\/span> will turn\u00a0off.<\/li>\n<\/ul>\n<p><img alt=\"IoT_11_test1\" src=\"..\/images\/IoT_11_test1.gif\"\/><\/p>\n<p><img alt=\"IoT_12_test2\" src=\"..\/images\/IoT_12_test2.gif\"\/><\/p>\n<h2 id=\"final-connections\">Final Connections:<a class=\"headerlink\" href=\"#final-connections\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>Now that we know our code and setup works let\u2019s connect the relay to the led strip power source as shown in the figure in the outline\u00a0section.<\/p>\n<p><img alt=\"IoT_13_test3\" src=\"..\/images\/IoT_13_test3.gif\"\/><\/p>\n<p><img alt=\"IoT_14_tes5\" src=\"..\/images\/IoT_14_tes5.gif\"\/><\/p>\n<p>Vola! there\u2019s our first\u00a0project!<\/p>\n<h2 id=\"whats-next\">Whats next?<a class=\"headerlink\" href=\"#whats-next\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>We can add more feature to the project such as making it connect to a wifi router so that you can access the <span class=\"caps\">LED<\/span> strip from anywhere in the world. We can convert this project to use the barebone <span class=\"caps\">ESP8266<\/span> and <span class=\"caps\">FTDI<\/span> programmer. We can use the power supply of the <span class=\"caps\">LED<\/span> strip to power the <span class=\"caps\">ESP8266<\/span> (Not recommended since most <span class=\"caps\">LED<\/span> power supply have high <span class=\"caps\">AC<\/span> noise as I found out in my case and hence can damage the <span class=\"caps\">ESP8266<\/span> board).Add more devices for the <span class=\"caps\">ESP<\/span> to control and much much more! All\u00a0that<\/p>","category":[{"@attributes":{"term":"Engineering"}},{"@attributes":{"term":"IoT"}}]},{"title":"Interfacing Arduino Mega using\u00a0LabVIEW","link":{"@attributes":{"href":"https:\/\/ashwinschronicles.github.io\/arduino-labview-review","rel":"alternate"}},"published":"2017-12-15T00:00:00+05:30","updated":"2017-12-15T00:00:00+05:30","author":{"name":"Ashwin"},"id":"tag:ashwinschronicles.github.io,2017-12-15:\/arduino-labview-review","summary":"<p>This post is about Interfacing Arduino Mega with&nbsp;LabVIEW<\/p>","content":"\n<p>This post is about Interfacing Arduino Mega using LabVIEW. It was originally posted <a href=\"https:\/\/community.element14.com\/products\/roadtest\/rv\/roadtest_reviews\/233\/arduino_a000067_mega_3\">here<\/a> as a part of element14\u2019s RoadTest. I thank element14 for sending me the review\u00a0unit.<\/p>\n<ul>\n<li>\n<p><strong>Evaluation Type:<\/strong> Independent\u00a0Products<\/p>\n<\/li>\n<li>\n<p><strong>Was everything in the box required?:<\/strong>\u00a0Yes<\/p>\n<\/li>\n<li>\n<p><strong>Comparable Products\/Other parts you considered:<\/strong> Arduino due , Raspberry\u00a0Pi<\/p>\n<\/li>\n<li>\n<p><strong>What were the biggest problems encountered?:<\/strong> When arduino ide is running, other programs such as Labview cant programme the mega.This is true in general of all arduino device.The only solution i found was to close arduino ide , log off and then log back\u00a0in.<\/p>\n<\/li>\n<\/ul>\n<h1 id=\"detailed-review\">Detailed Review:<a class=\"headerlink\" href=\"#detailed-review\" title=\"Permanent link\">\u00b6<\/a><\/h1>\n<p>Arduino Mega the big brother of Arduino Uno has 54 digital I\/O pins, 16 analogue inputs. That\u2019s a whopping difference of 40 digital and 10 analogue pins.the closest to it in the Arduino family is the Arduino\u00a0Due.<\/p>\n<p>Arduino mega is generally used for projects that require a high number of I\/O and memory thus they are commonly found in 3D printers and robotics\u00a0projects.<\/p>\n<p>LabView is a system-design platform that allows you to visually write a program.It is generally used by engineers and scientists to create programs to automate the process of data acquisition from lab instruments. In this review, i try to Arduino mega to interface between the LabVIEW software and an\u00a0instrument.<\/p>\n<h2 id=\"part-1-installing-labview-and-ni-visa\">Part 1: Installing LabVIEW and <span class=\"caps\">NI<\/span>-<span class=\"caps\">VISA<\/span>.<a class=\"headerlink\" href=\"#part-1-installing-labview-and-ni-visa\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>Go to <a href=\"https:\/\/www.ni.com\/trylabview\">www.ni.com\/trylabview<\/a><\/p>\n<p>Click on Download\u00a0LabVIEW.<\/p>\n<p>Right-Click and then run LabVIEW Setup as\u00a0administrator.<\/p>\n<p>Follow the instructions and wait for the installation to\u00a0finish<\/p>\n<p>Note: You might get an error while installing Click on decline support as you do not have any device drivers. We have to download driver\u00a0later.<\/p>\n<p>LabVIEW 2017 is successfully\u00a0installed.<\/p>\n<p>Restart system later if prompted for a\u00a0restart.<\/p>\n<p>To download <span class=\"caps\">NI<\/span>-<span class=\"caps\">VISA<\/span> driver for serial communication go to <a href=\"https:\/\/www.ni.com\/visa\/\">https:\/\/www.ni.com\/visa\/<\/a> and download the appropriate version of the software, Install it in the same way as\u00a0before.<\/p>\n<p>Labview has so many addons both by a 3rd party and <span class=\"caps\">NI<\/span> itself that by default the software comes with a few basic tool set. This set can be expanded by installing add-ons, we shall now look into the process of installing the Arduino interfacing\u00a0addon.<\/p>\n<p>Open the <span class=\"caps\">VI<\/span> Package Manager and wait for it to download all the repository (this could take several minutes depending on your\u00a0bandwidth)<\/p>\n<p>Search for \u201cArduino\u201d in the search\u00a0bar.<\/p>\n<p>Install Digilent <span class=\"caps\">LINX<\/span> and \u201cLabVIEW Interface for\u00a0Arduino\u201d.<\/p>\n<p>Once the installation is done without any errors you should Notice an \u201cinstalled\u201d symbol to the left of Digilent <span class=\"caps\">LINX<\/span> toolbox, click\u00a0finish.<\/p>\n<p><a href=\"https:\/\/community.element14.com\/resized-image\/__size\/620x420\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/5557.contentimage_5F00_158984.png\"><img alt=\"img\" src=\"https:\/\/community.element14.com\/resized-image\/__size\/620x420\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/5557.contentimage_5F00_158984.png\"\/><\/a><\/p>\n<p>In order to verify if all softwares are installed correctly, Open LabVIEW.Click on File &gt; New <span class=\"caps\">VI<\/span>.<\/p>\n<p>On one the panels, click on Window &gt; Tile Left and Right. Right-click on the block diagram, scroll down to see that Arduino (LabView interface for Arduino: <span class=\"caps\">LIFA<\/span>) and <span class=\"caps\">LINX<\/span> is\u00a0installed.<\/p>\n<h3 id=\"uploading-labview-interface-for-arduino-firmware\"><strong>Uploading LabView Interface for Arduino Firmware<\/strong><a class=\"headerlink\" href=\"#uploading-labview-interface-for-arduino-firmware\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>In order to interface Arduino with the LabView, we need to upload a sketch that acts as a\u00a0firmware.<\/p>\n<p>For that make sure that you have Arduino ide already\u00a0installed<\/p>\n<p>Open the arduino ide and upload the sketch that has the\u00a0path:<\/p>\n<p>C:\\Program Files (x86)\\ National\u00a0Instruments\\<\/p>\n<p>LabVIEW 2017\\ vi.lib\\ LabVIEW Interface for Arduino\\ Firmware\\ LIFA_Base\\\u00a0LIFA_Base.ino<\/p>\n<p><a href=\"https:\/\/community.element14.com\/resized-image\/__size\/620x335\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/0743.contentimage_5F00_158985.png\"><img alt=\"img\" src=\"https:\/\/community.element14.com\/resized-image\/__size\/620x335\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/0743.contentimage_5F00_158985.png\"\/><\/a><\/p>\n<p>(adjust the path based on the installation location of the\u00a0LabView)<\/p>\n<p>Check for Board type and <span class=\"caps\">COM<\/span> Port under Tools\u00a0menu<\/p>\n<p><span class=\"caps\">NOTE<\/span>: Do not upload any code to Arduino\u00a0Board<\/p>\n<p>hereafter. Arduino Board with LIFA_Base firmware is now ready to be used with LabVIEW\u00a02017.<\/p>\n<h2 id=\"part-2-interfacing-and-controlling-an-led-using-labview-arduino-and-lifa\"><strong><span class=\"caps\">PART<\/span> 2: Interfacing and Controlling an <span class=\"caps\">LED<\/span> using LabVIEW, Arduino and <span class=\"caps\">LIFA<\/span><\/strong><a class=\"headerlink\" href=\"#part-2-interfacing-and-controlling-an-led-using-labview-arduino-and-lifa\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>The hello world equivalent in Arduino is an <span class=\"caps\">LED<\/span> blink sketch, let us look at the implementation of led blink in LabView. Every program in LabVIEW is called a <span class=\"caps\">VI<\/span> it ends with an extension dot <span class=\"caps\">VI<\/span>\u00a0click.<\/p>\n<p>On creating a new project in Labview you will see two windows opening the first one has a front panel and the second one is the block\u00a0diagram<\/p>\n<p><a href=\"https:\/\/community.element14.com\/cfs-file\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/3580.contentimage_5F00_158986.png\"><img alt=\"img\" src=\"https:\/\/community.element14.com\/cfs-file\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/3580.contentimage_5F00_158986.png\"\/><\/a><\/p>\n<p>the front panel will usually house all kinds of numeric controls knobs dials meters\u00a0gauge<\/p>\n<p>boolean buttons <span class=\"caps\">LED<\/span> graphs charts indicators and the block diagram will have all programming tools structures numeric functions like addition subtraction boolean functions\u00a0etc.<\/p>\n<p>now what we have to start with is right click on the block diagram scroll down to\u00a0Arduino.<\/p>\n<p>For this particular program, we need four major functions to control led. Initialization, Set digital pin mode (analogous to pinMode), digital write and\u00a0Close.<\/p>\n<p>to know what each of these functions does or what each of these blocks does click on it and press on the question mark on the right corner which is called as context help context help will explain what each of these blocks does and what has to be connected to each of these\u00a0terminals.<\/p>\n<p>For example, in initialization, the first option is visa resource that is where you specify\u00a0which<\/p>\n<p>communication port your Arduino is connected to say <span class=\"caps\">COM4<\/span> port for\u00a0example<\/p>\n<p>second, you specify the baud rate (whatever is in the bracket is by default\u00a0so<\/p>\n<p>you don\u2019t have to specify it again) Board type would be\u00a0Mega.<\/p>\n<p>Now let us think about the flow of the program, first the led will be initialised as output then its is set high and then the loop continues till an event triggers the end. We represent the flow of the program in LabView in the same way. The following would be the possible connection in the\u00a0flow.<\/p>\n<p><a href=\"https:\/\/community.element14.com\/cfs-file\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/0336.contentimage_5F00_158987.png\"><img alt=\"img\" src=\"https:\/\/community.element14.com\/cfs-file\/__key\/roadtestreviewfiles\/3d1f57c289b548ca8213f35134702654\/0336.contentimage_5F00_158987.png\"\/><\/a><\/p>\n<p>Error out pin of initialisation module is wired in series to an error in pin of digital pin mode and digital write and finally the close module. The same arrangement is made with Arduino resource pin of each\u00a0module.<\/p>\n<p>the pin number is set by creating a constant at the io pin of the pinmode module and setting its value to 13 and output.The value of 0 1 at the value point in digital write module is equivalent to the High and Low\u00a0mode.<\/p>\n<p>Now to set the loop right click go to programming &gt; structure find the while loop module and draw a square around the digitalwrite module (the one we want to repeat). set the constitutional terminal to a boolean control such as a button in the front end\u00a0editor.<\/p>\n<p>Now the program is complete. Click on run\u00a0program.<\/p>\n<p>This exercise demonstrates how Arduino can be used to interface a device(an led in this case) using\u00a0Labview.<\/p>\n<h3 id=\"scoring\">Scoring<a class=\"headerlink\" href=\"#scoring\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<table>\n<thead>\n<tr>\n<th><strong>Product Performed to Expectations:<\/strong><\/th>\n<th>10<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Specifications were sufficient to design with:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>Demo Software was of good quality:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>Product was easy to use:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>Support materials were available:<\/strong><\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td><strong>The price to performance ratio was good:<\/strong><\/td>\n<td>9<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><strong>TotalScore:<\/strong><\/td>\n<td>59 \/ 60<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","category":[{"@attributes":{"term":"Engineering"}},{"@attributes":{"term":"Arduino"}},{"@attributes":{"term":"LabVIEW"}},{"@attributes":{"term":"Review"}}]},{"title":"A Novel Stove\u00a0Stand","link":{"@attributes":{"href":"https:\/\/ashwinschronicles.github.io\/a-novel-stove-stand","rel":"alternate"}},"published":"2014-11-13T00:00:00+05:30","updated":"2014-11-13T00:00:00+05:30","author":{"name":"Ashwin"},"id":"tag:ashwinschronicles.github.io,2014-11-13:\/a-novel-stove-stand","summary":"<p>This post talks about construction of a novel stove stand that harnesses energy wasted during&nbsp;cooking.<\/p>","content":"\n<p>This post is about the construction of a novel stove stand that harnesses energy wasted during cooking. It was originally a experimental project from my school days (developed from 9th - 12th grade). I have tried to document it as best as I can. It has won over many science exhibitions. I hope you find it\u00a0interesting.<\/p>\n<h1 id=\"introduction\">Introduction<a class=\"headerlink\" href=\"#introduction\" title=\"Permanent link\">\u00b6<\/a><\/h1>\n<p>Today there is energy crisis every where. Even small amount of energy that we can conserve is of great importance. But we are wasting a large amount of heat energy in stove, furnaces in various industries etc.\nGrowing technology have tried to conserve as much of energy as possible. But there is still a large opportunity to conserve energy. In this project work we have applied the principle of thermoelectric effect to utilize waste heat from gas stove and store it for later\u00a0use.<\/p>\n<h2 id=\"the-problem\">The problem<a class=\"headerlink\" href=\"#the-problem\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>The primary prblem we are trying to solve today is that of the <span class=\"caps\">LPG<\/span> gas\u00a0stove.<\/p>\n<div style=\"border: 1px solid black; padding: 5px;width:30%;\">\n<img alt=\"Example of an LPG stove at Indian households\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/stove-at-home.jpg\"\/>\n<p style=\"text-align: center;\">Example of an <span class=\"caps\">LPG<\/span> stove at Indian\u00a0households<\/p>\n<\/div>\n<p>The <span class=\"caps\">LPG<\/span> gas stove is a very common device used in every household. It is used for cooking food. The <span class=\"caps\">LPG<\/span> gas stove is a very inefficient device. It wastes a lot of heat energy. The heat energy is wasted in two ways. One is the heat energy that is wasted by the flame. The other is the heat energy that is wasted by the utensil. The heat energy that is wasted by the flame is very high.\nThe flame not only heats the utensil but also the surrounding air. This can easily be felt as cooking in the kitchen for a long time makes the kitchen very hot. This heat energy is wasted.  This is also very evident in the case of street food vendors also common in India.\n<!-- <img alt=\"Example of a street food vendor\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/chat-seller.jpg\" \/> -->\n<div style=\"border: 1px solid black; padding: 5px;width:60%;\">\n<img alt=\"Example of a street food vendor\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/chat-seller.jpg\"\/>\n<p style=\"text-align: center;\">Example of a street food\u00a0vendor<\/p>\n<\/div><\/p>\n<h2 id=\"the-solution\">The solution<a class=\"headerlink\" href=\"#the-solution\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<h1 id=\"model-1-the-first-prototype\">Model 1 : The first prototype<a class=\"headerlink\" href=\"#model-1-the-first-prototype\" title=\"Permanent link\">\u00b6<\/a><\/h1>\n<h2 id=\"1-scientific-principle-involved\">1. Scientific principle involved<a class=\"headerlink\" href=\"#1-scientific-principle-involved\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p><strong>Seebeck effect :<\/strong> This project work is based on the principle of Seebeck effect. The Seebeck effect is the conversion of temperature differences directly into electricity and is named after Thomas Johann Seebeck. Metals respond to the temperature difference in different ways, creating a current loop and a magnetic field. The Seebeck effect is a classic example of an electromotive force (emf) and leads to measurable currents or voltages in the same way as any other\u00a0emf.<\/p>\n<p>Electromotive force <span class=\"math\">\\(Emf = Sc * T\\)<\/span> (in\u00a0joule).<\/p>\n<p>Where Sc - Seebeck coefficient a property of the local material, T - Gradient in temperature <strong>.<\/strong><\/p>\n<p>The Seebeck coefficients generally vary as function of temperature, and depend strongly on the composition of the conductor. Thermoelectric generators are used for creating power from heat\u00a0differentials.<\/p>\n<h3 id=\"working-principle-of-thermoelectric-generator-teg\">Working Principle of thermoelectric generator (<span class=\"caps\">TEG<\/span>)<a class=\"headerlink\" href=\"#working-principle-of-thermoelectric-generator-teg\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>Thermoelectric generators are solid-state heat engines that operate according to the Seebeck Effect. A thermoelectric generator is made of many pairs of p-type and n-type elements. The p-type and n-type have positive and negative Sc respectively. Connecting a p-type element to an n-type element creates a voltage potential across the junction. This voltage potential is proportional to the differences in the Sc in each element and the temperature of the junction. Soon, each hole and electron that \u201cswitch sides\u201d will be in equilibrium and act like a barrier, preventing more electrons or holes from migrating. This is called the depletion zone. Heating this depletion zone area and cooling other ends of the element can break down this depletion zone. The mobile holes in the p-type are excited by the heat and move further into the element with the extra kinetic energy. The same happens to the mobile electrons in the n-type material. The net effect: many of the holes pile up at the cold end of the p-type element and many of the electrons pile up at the cold end of the n-type element, thereby creating a voltage potential across the p-n junction. By placing an electrical load or wire from the cold end of the p-type element to the n-type element, the electrons from the n-type element will flow at towards the end of the p-type element . In response, a hole from the p-type element will migrate towards n-type. The end effect is current flow across a voltage potential (from the p-n junction), and electrical power is created. This power is a function of many things such as temperature difference, Sc, and the electrical load that connects the sides.\n<div style=\"border: 1px solid black; padding: 5px;width:60%;\">\n<img alt=\"Explanation of the thermoelectric generator\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/principle-teg.jpg\"\/>\n<p style=\"text-align: center;\">Explanation of the thermoelectric\u00a0generator<\/p>\n<\/div><\/p>\n<h2 id=\"experimental-method\">Experimental method<a class=\"headerlink\" href=\"#experimental-method\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<h3 id=\"basic-model-of-a-novel-stove-stand\">Basic model of a Novel Stove Stand<a class=\"headerlink\" href=\"#basic-model-of-a-novel-stove-stand\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>This is a practical application of thermoelectric effect. Circuit of copper - copper oxide junction on the hot wire and an opposing copper oxide - copper junction on the cold wireis connected. Copper oxide, also acts like a thermistor with a very high negative temperature coefficient. Even the \u201ccold\u201d wire still gets hot enough that the resistance of the copper oxide drops relatively to a very low value - enabling current to\u00a0flow.<\/p>\n<div style=\"border: 1px solid black; padding: 5px;width:60%;\">\n<img alt=\"The first prototype of the Cu-CuO based stove stand\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/first-prototype.jpg\"\/>\n<p style=\"text-align: center;\">The first prototype of the Cu-CuO based stove\u00a0stand<\/p>\n<\/div>\n<p><strong>The current also depends on the following\u00a0factors<\/strong><\/p>\n<ul>\n<li>the thickness of copper wire\u00a0used<\/li>\n<li>the hot copper oxide conductor not touching its\u00a0neighbour<\/li>\n<li>the no. of junction in\u00a0series<\/li>\n<li>the distance between the hot and cold\u00a0junctions<\/li>\n<\/ul>\n<h3 id=\"improvised-model-of-novel-stove-stand\">Improvised model of Novel stove stand<a class=\"headerlink\" href=\"#improvised-model-of-novel-stove-stand\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>This is practical application of thermoelectric effect. Four sets of <span class=\"caps\">TEG<\/span> connected in a series to an aluminum metal box around the stove and the heat energy is converted into electrical energy.\nThis is presented as \u201cModel 2 : The second prototype\u201d below.\n<div style=\"border: 1px solid black; padding: 5px;width:60%;\">\n<img alt=\"Example of a TEG device\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/teg.jpg\"\/>\n<p style=\"text-align: center;\">Example of a <span class=\"caps\">TEG<\/span>\u00a0device<\/p>\n<\/div><\/p>\n<h3 id=\"observation-and-results\">Observation and Results<a class=\"headerlink\" href=\"#observation-and-results\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>The energy generated by the Cu-CuO based stove stand is not sufficient to charge a mobile phone. But it can be used to light up a <span class=\"caps\">LED<\/span>.  but it is not efficient to capture all the wated energy, a more efficient device design is required to capture the extra flames and a better heat to electricity device must be employed (<span class=\"caps\">TEG<\/span> or <span class=\"caps\">TEC<\/span>). This is presented as \u201cModel 2 : The second prototype\u201d\u00a0below.<\/p>\n<h3 id=\"conclusion\">Conclusion:<a class=\"headerlink\" href=\"#conclusion\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>Using this novel stove stand, the heat energy that was being wasted can be converted into electrical energy which can be further utilized for charging the devices viz., mobile charger and other electrical\u00a0applications.<\/p>\n<h1 id=\"model-2-the-second-prototype\">Model 2 : The second prototype<a class=\"headerlink\" href=\"#model-2-the-second-prototype\" title=\"Permanent link\">\u00b6<\/a><\/h1>\n<h2 id=\"aim-objective\">Aim \/ Objective<a class=\"headerlink\" href=\"#aim-objective\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>Converting waste heat energy liberated into useful electrical energy using a device called thermoelectric generator and powering various electrical gadgets. These energy wasted may be from sources like heat wasted during cooking food in gas stove in house, hotels and in other everyday situations like furnaces etc.\nThis prototype was desinged keeping in mind the flaws from the first design where the flames were not captured efficiently and the device was not efficient enough to convert the heat energy into electrical\u00a0energy.<\/p>\n<h2 id=\"materials-methods-experimentation\">Materials <span class=\"amp\">&amp;<\/span> Methods \/ Experimentation<a class=\"headerlink\" href=\"#materials-methods-experimentation\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<h3 id=\"matierls-and-methods\">Matierls and Methods<a class=\"headerlink\" href=\"#matierls-and-methods\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>In this model four sets of TECs used as makeshift thermoelectric generator  are connected in series to a zinc metal box around the stove and the heat energy is converted into electrical energy. The output is about 5.5 V against a 10 ohm load resistor, the electricity is stored into a power bank and its output is taken to charge a mobile phone or other light\u00a0gadgets.<\/p>\n<p>The device can be made in two versions viz. economic and efficient.\n<img alt=\"Fig1: The model\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/model.jpg\"\/><\/p>\n<p>The efficient version includes four <span class=\"caps\">TEG<\/span>\u2019s (Thermoelectric generator) which are rated for its, high temperature to electricity conversion efficiency and can operate over greater temperature\u00a0ranges.<\/p>\n<p>The economic version include a cheaper but less efficient device called thermoelectric cooler (<span class=\"caps\">TEC<\/span>) which can be made to work in the same way as a thermoelectric generator (a reverse application of <span class=\"caps\">TEC<\/span>). We are taking the latter version in the\u00a0model.<\/p>\n<h3 id=\"experimentation\">Experimentation<a class=\"headerlink\" href=\"#experimentation\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>This project work is based on the principle of Seebeck effect. The Seebeck effect is the conversion of temperature differences directly into electricity and is named after Thomas Johann Seebeck. The Seebeck effect is a classic example of an electromotive force and leads to measurable currents or voltages in the same way as any other\u00a0emf.<\/p>\n<p>A thermoelectric generator is used in this device. Thermoelectric generators are solid-state heat engines that operate according to the Seebeck\u00a0Effect.<\/p>\n<p>Schematically the model can be represented as in fig 2\n<!-- <img alt=\"Fig2: The schematic diagram of the model\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/schmeaticdia.jpg\" \/> -->\n<div style=\"border: 1px solid black; padding: 5px;width:50%;\">\n<img alt=\"Fig2: The schematic diagram of the model\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/schmeaticdia.jpg\"\/>\n<p style=\"text-align: center;\">Fig2: The schematic diagram of the\u00a0model<\/p>\n<\/div><\/p>\n<ul>\n<li>\n<p>Here \u201cA\u201d represents the burner. The device is built with the burner as the\u00a0center.<\/p>\n<\/li>\n<li>\n<p><span class=\"dquo\">\u201c<\/span>B\u201d here is the heart of the device. It is the thermoelectric generator, it is sandwiched between the wall \u201cC\u201d and the aluminum heat sink (the one which has saw like teeth).The device receives its heat from \u201cC\u201d and the heat sink cools it from the other side. Each Thermoelectric device has two leads coming out of it. One positive and the other negative. All the <span class=\"caps\">TEG<\/span> are connected in\u00a0series.<\/p>\n<\/li>\n<li>\n<p><span class=\"dquo\">\u201c<\/span>C\u201d represents the walls of the device which is made of zinc\u00a0sheet.<\/p>\n<\/li>\n<li>\n<p><span class=\"dquo\">\u201c<\/span>E \u201d represents the wire inter connecting all the four TEGs in\u00a0series<\/p>\n<\/li>\n<li>\n<p><span class=\"dquo\">\u201c<\/span>D\u201d is the final wire connecting the first and the fourth <span class=\"caps\">TEG<\/span>, One here is positive and the other is the negative wire. The output is taken from these\u00a0leads.<\/p>\n<\/li>\n<\/ul>\n<p>The device is to be kept beside the flame of the stove (or if possible integrate the device into the stove itself.) and the utensil is kept inside the walls of the device. When cooking starts, the flames from \u201cA\u201d heat up the plates \u201cC\u201d and that of the utensil. This heat is absorbed by the plates \u201cC\u201d and is transmitted to the <span class=\"caps\">TEG<\/span> (\u201cB\u201d) by conduction. <span class=\"caps\">TEG<\/span> converts this heat in to electricity and is outputted through the leads (E). Since they are all connected in series the voltage add up to the final voltage in \u201cD\u201d. The aluminum heat sink helps cool the other side of the <span class=\"caps\">TEG<\/span> to increase the temperature gradient .The output through \u201cD\u201d can be feed into the gadgets required like <span class=\"caps\">LED<\/span> lamp or a mobile phone charger etc. through a stabilizing circuit (as per\u00a0requirement).<\/p>\n<h2 id=\"calculations\">Calculations<a class=\"headerlink\" href=\"#calculations\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>A plot of Volts (under a constant load resistor) vs. Time is made by using the average of two observations done on two different\u00a0days.<\/p>\n<p>To find the power captured by the walls of the device (which would have been dissipated into the atmosphere if the device wasn\u2019t kept.) a plot Temperature vs. Time graph is made, data for which is taken from the above two experiment and is then averaged. At the equilibrium point the energy absorbed by metal sheet is equal to the energy radiated out thus a temperature equilibrium is achieved. A slope of the graph at this point gives us instantaneous rate change of temperature with respect to time i.e. . Then using the formula given below (eq1) which is the absorbed heat is calculated. The equation eq 1 is obtained by differentiating Q = m S \u0394T Where Q is heat; m is the mass; S is the specific heat; and \u0394T is the change in\u00a0temperature<\/p>\n<p><span class=\"math\">\\(\\frac{dQ}{dt}=mS\\frac{dT}{dt}\\)<\/span><\/p>\n<h2 id=\"results-observation-findings\">Results \/ Observation \/ Findings<a class=\"headerlink\" href=\"#results-observation-findings\" title=\"Permanent link\">\u00b6<\/a><\/h2>\n<p>The observations have been divided into two types of calculation.\n- 1) Voltage based and\n- 2) temperature\u00a0based.<\/p>\n<h3 id=\"1-voltage-based-calculations\">1) Voltage based calculations<a class=\"headerlink\" href=\"#1-voltage-based-calculations\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>The energy produced by each of the device is calculated based on observed data (for <span class=\"caps\">TEC<\/span>) and collected data (for <span class=\"caps\">TEG<\/span>). The table and graph below shows the results and calculation. Here energy saved is calculated using <span class=\"math\">\\(E = V^2 t\/\u00a0R.\\)<\/span><\/p>\n<p>Graph 1 shows a curve that initially increases sharply and then stabilises at around 5.5 V. First the energy saved by a home which uses this device for two hours a day is calculated then for a month and a year. Next Energy saved by a City with 10,000 families using this device in a year is taken into\u00a0consideration.<\/p>\n<p>The economical version (<span class=\"caps\">TEC<\/span> type) of the device can generate 3.025 W but its fabrication cost comes out to be Rs 750. However the efficient version (<span class=\"caps\">TEG<\/span> type) could generate 20 W of power with the cost of production coming at around Rs 4000 ($48).\n<!-- <img alt=\"Graph 1: A graph showing output voltage versus time\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/graph1.jpg\" \/> -->\n<div style=\"border: 1px solid black; padding: 5px;width:70%;\">\n<img alt=\"Graph 1: A graph showing output voltage versus time\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/graph1.jpg\"\/>\n<p style=\"text-align: center;\">Graph 1: A graph showing output voltage versus\u00a0time<\/p>\n<\/div><\/p>\n<table>\n<thead>\n<tr>\n<th>Table          1. Showing the comparison on the energy saved by the two devices<\/th>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><\/td>\n<td>Energy          saved the by economic version                (<span class=\"caps\">TEC<\/span>)<\/td>\n<td>Energy          saved by more efficient version (<span class=\"caps\">TEG<\/span>)   (expected results **ref             1           )<\/td>\n<\/tr>\n<tr>\n<td>Electricity             produced by the model<\/td>\n<td>5.5V            (under 10 ohm load resistor)<\/td>\n<td>21.2V           , 1 A<\/td>\n<\/tr>\n<tr>\n<td>Energy          saved by a home which uses this device for two hours a day<\/td>\n<td>2.17x<span class=\"math\">\\(10^4\\)<\/span> J<\/td>\n<td>1.526x105           J<\/td>\n<\/tr>\n<tr>\n<td>Energy          saved by them in a month<\/td>\n<td>6.53x<span class=\"math\">\\(10^5\\)<\/span>             J<\/td>\n<td>4.579           x <span class=\"math\">\\(10^6\\)<\/span>            J<\/td>\n<\/tr>\n<tr>\n<td>Energy          saved by them in a year<\/td>\n<td>8.74            x <span class=\"math\">\\(10^6\\)<\/span>            J<\/td>\n<td>5.571x          <span class=\"math\">\\(10^7\\)<\/span>          J<\/td>\n<\/tr>\n<tr>\n<td>Energy          saved by a city with 10,000 families using this device (in 1 year)<\/td>\n<td>8.74            x <span class=\"math\">\\(10^{10}\\)<\/span>             J<\/td>\n<td>5.571x          <span class=\"math\">\\(10^{11}\\)<\/span>           J<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"2-temperature-based-calculations\"><strong>2) Temperature based calculations<\/strong><a class=\"headerlink\" href=\"#2-temperature-based-calculations\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>These calculations are made to find out the feasibility of the device. I.e. to know the input output ratio and to know the effect of the device on\u00a0heating.<\/p>\n<h4 id=\"to-find-conversion-ratio\">To find conversion ratio<a class=\"headerlink\" href=\"#to-find-conversion-ratio\" title=\"Permanent link\">\u00b6<\/a><\/h4>\n<p>Consider the following Temperature vs Time plot.\n<!-- <img alt=\"Graph 2: A graph showing temperature versus time\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/graph2.jpg\" \/> -->\n<div style=\"border: 1px solid black; padding: 5px;width:70%;\">\n<img alt=\"Graph 2: A graph showing temperature versus time\" src=\"https:\/\/ashwinschronicles.github.io\/novel-stove-images\/graph2.jpg\"\/>\n<p style=\"text-align: center;\">Graph 2: A graph showing temperature versus\u00a0time<\/p>\n<\/div><\/p>\n<p>At equilibrium point (just before temperature becomes constant) the slope was found to be 0.3. Thus using Eq 1 and taking <span class=\"math\">\\(m = 0.052 kg\\)<\/span> (calculated value); <span class=\"math\">\\(S = 0.093 kcal\/kg {}^{\\circ}C\\)<\/span> (** ref 2) and <span class=\"math\">\\(\\frac{dT}{dt}\\)<\/span> as 0.3 (from graph). We get <span class=\"math\">\\(\\frac{dQ}{dt} = 0.052 *93*0.3 = 1.4508 cal\/s = 6.07 watts\\)<\/span>. Further average power expended by the aluminium heat sink as P = mS\u0394T\/\u0394t and taking m = 0.952 kg; \u0394T= 29.5; \u0394t = 130 s (calculated values) and <span class=\"math\">\\(S = 0.22 kcal\/kg {}^{\\circ}C\\)<\/span> (** ref\u00a02).<\/p>\n<p>So <span class=\"math\">\\(P = (0.952*220*29.5)\/130 = 47.52 cal\/s = 198.98\\)<\/span> watt. <span class=\"math\">\\(P_{(total)} = 198.98+6.07 = 205.05\\)<\/span>\u00a0watt.<\/p>\n<p>So out of 205.05 watt absorbed only 3.025 watt is converted to electrical energy implying 1.475% efficiency which is quite low but still significant and is in accordance with the specs of a <span class=\"caps\">TEC<\/span>.<\/p>\n<h3 id=\"2-to-find-the-effect-on-cooking\">2) To find the effect on cooking<a class=\"headerlink\" href=\"#2-to-find-the-effect-on-cooking\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>To study the effect of the device on the cooking process, we measured the time taken to boil 100mL of water in two scenarios one without the device and one with the\u00a0device.<\/p>\n<p>Table 2: Table showing boiling time of water with and without the\u00a0device<\/p>\n<table>\n<thead>\n<tr>\n<th>Sl.no<\/th>\n<th>Water boiled<\/th>\n<th>Time taken<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Without the device<\/td>\n<td>1 min 35 s<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>With the device<\/td>\n<td>1 min<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The data confirms that the device doesn\u2019t hinder the cooking process rather helps cook faster. The decreased time in cooking is due to the fact that those heat waves which would have escaped to the atmosphere are now confined by the walls of the device thus more waves heat up the utensil thus decreasing the cooking\u00a0time.<\/p>\n<h3 id=\"significance-conclusion\">Significance \/ Conclusion<a class=\"headerlink\" href=\"#significance-conclusion\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>Using this novel stove stand, the heat energy that was being wasted can be converted into electrical energy which can be further utilized for charging the devices viz., mobile charger and other electrical\u00a0applications.<\/p>\n<p>People who involve in cooking activities for a long time have a great use for this device. These include but not limited\u00a0to<\/p>\n<ul>\n<li>\n<p>Cooks at\u00a0hotels<\/p>\n<\/li>\n<li>\n<p>Street vendors like chat vendors or tea\u00a0seller<\/p>\n<\/li>\n<li>\n<p>People with a 24x7 fireplace and anywhere else where too much of waste heat is generated. However the design of the model has to be adjusted suit the size of the above\u00a0application.<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"innovation-novelty\">Innovation \/ Novelty<a class=\"headerlink\" href=\"#innovation-novelty\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>It\u2019s an innovative device to save energy from heat wasted while cooking. The device could be made built inside the stove itself for the generation of electricity which can be stored inside a battery for later use. Ideally the output could be directly connected with a <span class=\"caps\">LED<\/span> lamp to light up the kitchen and when not required, the energy would be stored in a\u00a0battery.<\/p>\n<h3 id=\"data-source\">Data source<a class=\"headerlink\" href=\"#data-source\" title=\"Permanent link\">\u00b6<\/a><\/h3>\n<p>**ref 1 <a href=\"http:\/\/www.customthermoelectric.com\/powergen.html\">http:\/\/www.customthermoelectric.com\/powergen.html<\/a><\/p>\n<p>**ref 2\u00a0http:\/\/www.engineeringtoolbox.com\/specific-heat-metals-d_152.html<\/p>\n<script type=\"text\/javascript\">if (!document.getElementById('mathjaxscript_pelican_#%@#$@#')) {\n    var align = \"center\",\n        indent = \"0em\",\n        linebreak = \"false\";\n\n    if (false) {\n        align = (screen.width < 768) ? \"left\" : align;\n        indent = (screen.width < 768) ? \"0em\" : indent;\n        linebreak = (screen.width < 768) ? 'true' : linebreak;\n    }\n\n    var mathjaxscript = document.createElement('script');\n    mathjaxscript.id = 'mathjaxscript_pelican_#%@#$@#';\n    mathjaxscript.type = 'text\/javascript';\n    mathjaxscript.src = 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjax\/2.7.5\/MathJax.js?config=TeX-AMS-MML_CHTML';\n\n    var configscript = document.createElement('script');\n    configscript.type = 'text\/x-mathjax-config';\n    configscript[(window.opera ? \"innerHTML\" : \"text\")] =\n        \"MathJax.Hub.Config({\" +\n        \"    config: ['MMLorHTML.js'],\" +\n        \"    TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'none' } },\" +\n        \"    jax: ['input\/TeX','input\/MathML','output\/HTML-CSS'],\" +\n        \"    extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js'],\" +\n        \"    displayAlign: '\"+ align +\"',\" +\n        \"    displayIndent: '\"+ indent +\"',\" +\n        \"    showMathMenu: true,\" +\n        \"    messageStyle: 'normal',\" +\n        \"    tex2jax: { \" +\n        \"        inlineMath: [ ['\\\\\\\\(','\\\\\\\\)'] ], \" +\n        \"        displayMath: [ ['$$','$$'] ],\" +\n        \"        processEscapes: true,\" +\n        \"        preview: 'TeX',\" +\n        \"    }, \" +\n        \"    'HTML-CSS': { \" +\n        \"        availableFonts: ['STIX', 'TeX'],\" +\n        \"        preferredFont: 'STIX',\" +\n        \"        styles: { '.MathJax_Display, .MathJax .mo, .MathJax .mi, .MathJax .mn': {color: 'inherit ! important'} },\" +\n        \"        linebreaks: { automatic: \"+ linebreak +\", width: '90% container' },\" +\n        \"    }, \" +\n        \"}); \" +\n        \"if ('default' !== 'default') {\" +\n            \"MathJax.Hub.Register.StartupHook('HTML-CSS Jax Ready',function () {\" +\n                \"var VARIANT = MathJax.OutputJax['HTML-CSS'].FONTDATA.VARIANT;\" +\n                \"VARIANT['normal'].fonts.unshift('MathJax_default');\" +\n                \"VARIANT['bold'].fonts.unshift('MathJax_default-bold');\" +\n                \"VARIANT['italic'].fonts.unshift('MathJax_default-italic');\" +\n                \"VARIANT['-tex-mathit'].fonts.unshift('MathJax_default-italic');\" +\n            \"});\" +\n            \"MathJax.Hub.Register.StartupHook('SVG Jax Ready',function () {\" +\n                \"var VARIANT = MathJax.OutputJax.SVG.FONTDATA.VARIANT;\" +\n                \"VARIANT['normal'].fonts.unshift('MathJax_default');\" +\n                \"VARIANT['bold'].fonts.unshift('MathJax_default-bold');\" +\n                \"VARIANT['italic'].fonts.unshift('MathJax_default-italic');\" +\n                \"VARIANT['-tex-mathit'].fonts.unshift('MathJax_default-italic');\" +\n            \"});\" +\n        \"}\";\n\n    (document.body || document.getElementsByTagName('head')[0]).appendChild(configscript);\n    (document.body || document.getElementsByTagName('head')[0]).appendChild(mathjaxscript);\n}\n<\/script>","category":[{"@attributes":{"term":"Engineering"}},{"@attributes":{"term":"Seebeck effect"}},{"@attributes":{"term":"stove"}},{"@attributes":{"term":"cooking"}},{"@attributes":{"term":"energy"}},{"@attributes":{"term":"thermoelectric"}}]}]}