{"id":161,"date":"2013-06-10T03:17:06","date_gmt":"2013-06-10T03:17:06","guid":{"rendered":"http:\/\/www.blog.exrockets.com\/blog\/?p=161"},"modified":"2018-03-15T04:42:31","modified_gmt":"2018-03-15T04:42:31","slug":"rocket-thrust-stand-daq-system-with-glcd","status":"publish","type":"post","link":"http:\/\/www.blog.exrockets.com\/blog\/rocket-thrust-stand-daq-system-with-glcd\/","title":{"rendered":"ROCKET THRUST STAND DAQ SYSTEM WITH GLCD"},"content":{"rendered":"<p>I\u2019ve had a very basic DAQ for thrust metering that needs to be connected to a PC. So I decided to make something more sophisticated and robust and most important standalone DAQ system for thrust metering&#8230;<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP_GLCD.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-695\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP_GLCD.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"1781\" height=\"949\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP_GLCD.jpg 1781w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP_GLCD-300x159.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP_GLCD-1024x545.jpg 1024w\" sizes=\"auto, (max-width: 1781px) 100vw, 1781px\" \/><\/a><\/p>\n<p>When I designed the DAQ system I wanted it to have the following characteristics:<br \/>\n&#8211; 8 test capacity with 8 x 256 Kb memory banks<br \/>\n&#8211; 128&#215;64 GLCD display<br \/>\n&#8211; Calculates test characteristics<br \/>\n&#8211; Displays test graph<br \/>\n&#8211; Keyboard<br \/>\n&#8211; Wide range power supply input (DC or AC from 5 to 18 volts)<br \/>\n&#8211; USB and Serial port for data transmission<br \/>\n&#8211; Temperature sensor<br \/>\n&#8211; 2 ports for load cell connection with selectable gain\u00a0 from 25 to 250 for each port<br \/>\n&#8211; 1 Port DC input from 0 to +5v with<br \/>\n&#8211; Audio signalization<br \/>\n&#8211; Standalone mode with 1000 (1 msec time interval) records per second or 16 seconds per test memory time for 1 port<br \/>\n&#8211; Real-time mode transmission to the PC\u00a0 with 100 (10 msec time interval) readings per second for all 3 ports<br \/>\n&#8211; 12 bit resolution ADC on MCU PIC18F4553<br \/>\n&#8211; +5v and -5v voltage reference<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SCH.zip\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-487\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SCH.png\" alt=\"GLCD_THRUST_STAND_SCH\" width=\"10231\" height=\"6031\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>POWER SUPPLY:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_PS.zip\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-488\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_PS.png\" alt=\"GLCD_THRUST_STAND_PS\" width=\"5738\" height=\"1937\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>From the experience shared by other forum members it seemed that when using different power sources on the field for various reasons it happened to reverse the polarity. As result there was some damage on their DAQ systems therefore a diode bridge is the ideal solution if you don\u2019t mind the voltage drop. With a diode bridge you can reverse the polarity, you can use DC or AC and it still will work.<\/p>\n<p>Also I wanted to use a bipolar power supply for my DAQ system with wide range of voltage input. The best way to do it is to use a Switching Power supply. However the problem with switching power supplies is that they are noisy and can push some noise in the ADC. Therefore I put LC filters after the switching convertors and I used LDO regulators to get the desired regulated bipolar power supply of -15v and +15v needed for my Instrumental Amplifiers and voltage references. In addition there is a +5v regulator to power the digital part.<\/p>\n<p>The power supply is protected with 1A fuse and in addition there are few discharge diodes to protect the ICs from damage if sudden power supply disruption occurs.<\/p>\n<p>The end result is very robust power supply but quite energy inefficient because the switching regulators convert the input (3 to 18v AC or DC) to +21v and -21v and then the\u00a0 LDO regulators convert it to +15v, +5v and -15v. Thus there is large voltage drop mainly across the 7805 regulator that needs good heat sink actually it is best if all 3 LDO regulators have heat sinks. I am always using small motorcycle battery so energy consumption is not really a problem.<\/p>\n<p>In terms of noise I took some measurements with my oscilloscope. Here\u2019s how it looks like when the DAQ system is working:<\/p>\n<p>The input power supply has significant voltage drops and spikes:<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/POWER.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-489\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/POWER.jpg\" alt=\"POWER\" width=\"1679\" height=\"1009\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/POWER.jpg 1679w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/POWER-300x180.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/POWER-1024x615.jpg 1024w\" sizes=\"auto, (max-width: 1679px) 100vw, 1679px\" \/><\/a><\/p>\n<p>Then this is the filtered output from the switching supply, still some noise present:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/22_V.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-490\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/22_V.jpg\" alt=\"22_V\" width=\"1679\" height=\"1009\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/22_V.jpg 1679w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/22_V-300x180.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/22_V-1024x615.jpg 1024w\" sizes=\"auto, (max-width: 1679px) 100vw, 1679px\" \/><\/a><\/p>\n<p>And finally after the LDO the noise is minimal:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/5_V.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-491\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/5_V.jpg\" alt=\"5_V\" width=\"1680\" height=\"1008\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/5_V.jpg 1680w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/5_V-300x180.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/5_V-1024x614.jpg 1024w\" sizes=\"auto, (max-width: 1680px) 100vw, 1680px\" \/><\/a><\/p>\n<p>Just for reference my oscilloscope with grounded probe:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHORT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-492\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHORT.jpg\" alt=\"SHORT\" width=\"1680\" height=\"1009\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHORT.jpg 1680w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHORT-300x180.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHORT-1024x615.jpg 1024w\" sizes=\"auto, (max-width: 1680px) 100vw, 1680px\" \/><\/a><\/p>\n<p>EDIT:\u00a0 I have updated the power supply schematic &#8211; D3 and D6 are now 1N5819 Schottky diodes as shown on the datasheet. \u00a0It seems that this switching IC &#8211; MC33063A from TI &#8211; could become unstable as described <a href=\"http:\/\/e2e.ti.com\/support\/power_management\/non-isolated_dcdc\/f\/196\/t\/198386.aspx\" target=\"_blank\" rel=\"noopener\">here <\/a>if you are using fast diodes (as I did) instead of Schottky type. However if you are using MC33063A from ON Semiconductor you might not have a problem with the fast diode, still it is best to be on the save side and use the 1N5819.<\/p>\n<p>&nbsp;<\/p>\n<p>ANALOG FRONT END:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_AF.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-493 aligncenter\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_AF.png\" alt=\"GLCD_THRUST_STAND_AF\" width=\"3551\" height=\"3691\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_AF.png 3551w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_AF-288x300.png 288w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_AF-985x1024.png 985w\" sizes=\"auto, (max-width: 3551px) 100vw, 3551px\" \/><\/a><\/p>\n<p>The analog part of my DAQ system has two inputs for load cells PORT A and PORT B. As Instrumental Amplifiers I am using INA128 which is a bi-polar amplifier. The gain can be selected through the DIP switch and the range with the selected resistors is from 25 to 250. With an output of 2mV\/V for most load cells and 10v (-5v to +5v) supply that translates to a maximum output of 5V for the entire range. This is because the microcontroller\u2019s ADC is unipolar and has range from 0 to +5v.<\/p>\n<p>For example a 50kg load cell has an output of 2mV\/V and the total power supply range is 10v thus 10V * 0.002V\/V * 250 = 5v maximum output from the IA.<\/p>\n<p>If you want to increase the resolution for given load cell you can cut the usable range by increasing the gain if you change the resistors.<\/p>\n<p>For example a 50kg load cell has an output of 2mV\/V and the total power supply range is 10v thus 10V * 0.002V\/V * 250 = 5v maximum output. The ADC is 12 bit and converts this 5v reading to 2^12=4096 steps. That\u2019s to say (50 kg)\/(4096 bits) = 12.207 gr per bit.<\/p>\n<p>Now say that you need higher resolution but you want to measure up to 25kg only. So you increase the gain to 500 (you have to change one of the gain resistors). What happens now:\u00a0 50kg load cell has an output of 2mV\/V and the total power supply range is 10v thus 10V * 0.002V\/V * 500 = 10v maximum output from the IA. But the ADC accepts only up to 5 volts so the clamping diodes will limit the ADC input voltage to 5v. The ADC is 12 bit and converts this 5v reading to 2^12=4096 steps but this 5v corresponds now to 25kg only. That\u2019s to say (25 kg)\/(4096 bits) = 6.103 gr per bit. Everything above the 25kg will be shown as the maximum 25kg. So we lost half of the range but increased the resolution.<br \/>\nFor the proper resistor values for selected gain see the <a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/ina129.pdf\" target=\"_blank\" rel=\"noopener\">INA128 datasheet<\/a>.<\/p>\n<p>As supply for the load cell I am using two 5v shunt voltage references (LM4040). The output of these references (+5v and -5v) is buffered through an OPAMP configured as voltage follower.<br \/>\nPORT C has no amplification and accepts signal input from 0 to +5v. This signal is buffered through a Rail-to-Rail OPAMP.<\/p>\n<p>MEMORY:<\/p>\n<p>The memory consists of 8 ICs x 256 Kb I2C memory. I am using 24C256LI from ON Semiconductors but any other compatible memory should do. Each memory bank holds 1 test.<\/p>\n<p>KEYPAD:<\/p>\n<p>The keypad specs: <a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KEYPAD3X4.pdf\" target=\"_blank\" rel=\"noopener\">KEYPAD3X4<\/a><\/p>\n<p>PC COMMUNICATION:<\/p>\n<p>Communication with the PC could be established through either a USB or COM port.\u00a0 The COM port is buffered through an RS232 IC \u2013 I am using HIN232 but there are many compatible ICs and you can use any of them as long as they accept 115200 bps rate.<\/p>\n<p>Next step is to prepare the PCB. Here\u2019s how it looks like:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_BC.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-494\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_BC.png\" alt=\"GLCD_THRUST_STAND_BC\" width=\"270\" height=\"318\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_TC.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-495 alignright\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_TC.png\" alt=\"GLCD_THRUST_STAND_TC\" width=\"270\" height=\"316\" \/><\/a>Once I received the PCB it is time for assembly soldering (my favorite part):<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-496\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_TOP.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"3948\" height=\"2344\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-498\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B7.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"904\" height=\"1335\" \/><\/a> <a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_SID_GLCD.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-499\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/STA_SID_GLCD.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"942\" height=\"3039\" \/><\/a><\/p>\n<p>Once everything was assembled it was time to write the MCU firmware. Because I have many text menus the firmware took almost all of the MCU memory \u2013 near 95%. Anyway the DAQ system became quite functional for full description see <a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/DAQ-MENU-HELP.txt\" target=\"_blank\" rel=\"noopener\">DAQ MENU HELP.txt<\/a> and here\u2019s a short description:<\/p>\n<p>&#8211; Records a motor test in standalone mode<br \/>\n&#8211; 8 selectable test positions<br \/>\n&#8211; Displays the test results<br \/>\n&#8211; Displays the test graph<br \/>\n&#8211; USB\/RS232 output<br \/>\n&#8211; Sensor calibration<br \/>\n&#8211; Raw data transmission in real-time to the PC end<\/p>\n<p>DAQ CASE:<\/p>\n<p>Now when I finished the firmware the next thing on my mind was to find a suitable case. But after some looking I couldn\u2019t find anything useful so I decided to make my own case. It would have been wonderful if I had access to 3D printer but I don\u2019t have. The next best solution is to use get my hands dirty with some epoxy and make the case from thick paper and epoxy resin by epoxy laminating.\u00a0 The heaviest paper I found was 199 g\/m2.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/image.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-502\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/image.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"238\" height=\"546\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/EPO.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-501\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/EPO.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"349\" height=\"698\" \/><\/a><\/p>\n<p>First step was to design the box and the drawings for printing. The drawings can be downloaded from <a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/CASE.pdf\">here<\/a>.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/CASE_DR.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-503\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/CASE_DR.jpg\" alt=\"CASE_DR\" width=\"3972\" height=\"3134\" \/><\/a><\/p>\n<p>Second step was to print 10 pages and cut them out. I had some doubts if my laser printer would be able to handle the thick paper but it was no challenge for my old BROTHER HL-2140.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SCHAB.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-504\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SCHAB.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"327\" height=\"644\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHABIZR.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-505\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHABIZR.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"263\" height=\"556\" \/><\/a><\/p>\n<p>Third step is to laminate the paper and make the case walls.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHABEPOSU.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-506\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHABEPOSU.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"4045\" height=\"2974\" \/><\/a><\/p>\n<p>After the case walls cured out I did a little bit of sanding (I should have done a better work here, but didn\u2019t have time that day) and it was time to assemble the case with 5 minute epoxy. First you fix the sides with tape on the outside and you put the rapid epoxy on the inside.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHABEPOSUSH.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-507\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/SHABEPOSUSH.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"203\" height=\"631\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KUT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-508\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KUT.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"148\" height=\"476\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KUTZAL.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-509\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KUTZAL.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"231\" height=\"485\" \/><\/a><\/p>\n<p>The same way I made the bottom side of the box.The LDO regulators create some heat and the temperature in the box can rise fast. To have accurate temperature readings the temperature sensor has to be insulated from the inside and to have good exposure to the outside air. Therefore I turned the sensor downwards (just soldered on the bottom side) and made a hole in the bottom left side of the box. The sensor goes in the hole and it is well exposed to the outside air.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-510\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B1.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"3172\" height=\"1892\" \/><\/a><\/p>\n<p>Once the case was ready I put the mounting brass standoffs inside the case and fasten them with the 5 minute epoxy.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-511\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B6.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"126\" height=\"281\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/BOT_PCB_STAN_SP.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-512\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/BOT_PCB_STAN_SP.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"299\" height=\"625\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-513\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B8.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"161\" height=\"357\" \/><\/a><\/p>\n<p>Some painting work for humidity protection and better appearance.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/PAI.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-514\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/PAI.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"77\" height=\"286\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-515\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B3.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"294\" height=\"504\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KUTBO.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-516\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/KUTBO.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"211\" height=\"556\" \/><\/a><\/p>\n<p>And finally I drilled several holes right above the heat sinks for better air ventilation. \u00a0So this is how the empty case looks like and with the device inside.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/CABOT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-537\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/CABOT.jpg\" alt=\"CABOT\" width=\"3551\" height=\"2518\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-517\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B5.jpg\" alt=\"OLYMPUS DIGITAL CAMERA\" width=\"154\" height=\"319\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-518\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/B.jpg\" alt=\"B\" width=\"255\" height=\"463\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-519\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/C.jpg\" alt=\"C\" width=\"172\" height=\"266\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/D.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-520\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/D.jpg\" alt=\"D\" width=\"192\" height=\"469\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/E.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-521\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/E.jpg\" alt=\"E\" width=\"197\" height=\"526\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/F.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-522\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/F.jpg\" alt=\"F\" width=\"191\" height=\"466\" \/><\/a><\/p>\n<p>PC APPLICATION:<\/p>\n<p>The last step was to make a PC application that will facilitate the DAQ \u2013 PC communication and in the same time it will crunch the data and visualize the thrust profile and test characteristics.<\/p>\n<p>So the application allows you to download and save the test data, recalculate and visualize the test. Also you have the option to monitor and record the thrust in real time for all three ports. In addition you can compare the thrust profile for up to 8 tests. Full description is available in the HELP tab.<\/p>\n<p>Real-time transmission and a dummy test:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_9_47.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-523\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_9_47.png\" alt=\"GLCD_THRUST_STAND_2013_12_22_20_9_47\" width=\"1369\" height=\"812\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_9_47.png 1369w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_9_47-300x177.png 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_9_47-1024x607.png 1024w\" sizes=\"auto, (max-width: 1369px) 100vw, 1369px\" \/><\/a><\/p>\n<p>The same test automatically recalculated only for the time interval of interest:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_11_51.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-524\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_11_51.png\" alt=\"GLCD_THRUST_STAND_2013_12_22_20_11_51\" width=\"1369\" height=\"812\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_11_51.png 1369w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_11_51-300x177.png 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_2013_12_22_20_11_51-1024x607.png 1024w\" sizes=\"auto, (max-width: 1369px) 100vw, 1369px\" \/><\/a><\/p>\n<p>Here\u2019s a second test opened with the program and how it compares with the first one:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SUMMARY_2013_12_22_20_13_28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-525\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SUMMARY_2013_12_22_20_13_28.png\" alt=\"GLCD_THRUST_STAND_SUMMARY_2013_12_22_20_13_28\" width=\"1369\" height=\"812\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SUMMARY_2013_12_22_20_13_28.png 1369w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SUMMARY_2013_12_22_20_13_28-300x177.png 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_SUMMARY_2013_12_22_20_13_28-1024x607.png 1024w\" sizes=\"auto, (max-width: 1369px) 100vw, 1369px\" \/><\/a><\/p>\n<p>You can create also an ENG file which is the RockSim file format to hold the thrust and motor information and can be used in various programs like RockSim and OpenRocket.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/RS.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-559\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/RS.png\" alt=\"RS\" width=\"1934\" height=\"1030\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/RS.png 1934w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/RS-300x159.png 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/RS-1024x545.png 1024w\" sizes=\"auto, (max-width: 1934px) 100vw, 1934px\" \/><\/a><\/p>\n<p>If you want to use this application with other data sources you have to create a text file with the same structure as the one that the program uses, nothing really complicated.<\/p>\n<p>&#8211; The program reads the file line by line<br \/>\n&#8211; Lines starting with an apostrophe\u00a0 (\u2018) will be ignored<br \/>\n&#8211; Data has 5 columns and is separated with semicolons (;)<br \/>\n&#8211; First line is data coefficients to convert the readings from the different ports.<br \/>\nCoefficients Port A and Port B are gr per bit, Port C is up to you, temperature<br \/>\ncoefficients is bits per degree Celsius.<\/p>\n<p>&lt;Anything&gt;;&lt;coef Port A&gt;;&lt;coef Port B&gt;;&lt;coef Port C&gt;;&lt;coef Temperature&gt;;<br \/>\nExample:<br \/>\nCH_Coef;12.461;26.7558;1;16.38;<\/p>\n<p>&#8211; Second line is some test information, not really important but you<br \/>\nshould have something<\/p>\n<p>&lt;Anything&gt;;&lt;Test ID Name&gt;;&lt;Test ID Number&gt;;&lt;Grain Weight&gt;;&lt;Triggering Port&gt;;<br \/>\nExample:<br \/>\nInfo;TEST-0U7;1;200;A;<\/p>\n<p>&#8211; Next lines are test data<\/p>\n<p>&lt;Time in seconds&gt;;&lt;Bits Port A&gt;;&lt;Bits Port B&gt;;&lt;Bits Port C&gt;;&lt;Bits temperature&gt;<br \/>\nExample:<br \/>\n0.000;0;0;0;498;<\/p>\n<p>All together example:<br \/>\n&#8216;GLCD THRUST STAND<br \/>\n&#8216;*****************<br \/>\nCH_Coef;12.461;26.7558;1;16.38;<br \/>\nInfo;GARGA-TS;2;150;A;<br \/>\n0.000;0;0;0;498;<br \/>\n0.001;5;0;0;498;<br \/>\n0.002;10;0;0;498;<br \/>\n0.003;16;0;0;498;<br \/>\n0.004;22;0;0;498;<br \/>\n0.005;32;0;0;498;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Firmware, PCB and PC application for this DAQ system.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_APPLICATION_v_1_04.zip\" target=\"_blank\" rel=\"noopener\">GLCD_THRUST_STAND_APPLICATION 1.04<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_CADCAM.zip\" target=\"_blank\" rel=\"noopener\">GLCD_THRUST_STAND_CADCAM_PCB_FILES<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2013\/06\/GLCD_THRUST_STAND_HID_FIRMWARE_1_06.zip\">GLCD_THRUST_STAND_HID_FIRMWARE 1.06<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve had a very basic DAQ for thrust metering that needs to be connected to a PC. So I decided to make something more sophisticated and robust and most important standalone DAQ system for thrust metering&#8230; When I designed the DAQ system I wanted it to have the following characteristics: &#8211; 8 test capacity with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-161","post","type-post","status-publish","format-gallery","hentry","category-electronics","post_format-post-format-gallery"],"_links":{"self":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":27,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":1772,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/161\/revisions\/1772"}],"wp:attachment":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}