====== Current Voltage Logger (CVL) ====== The CVL is an in-house, open sourced data logger that will assist SCEL students when doing their analysis of components and boards. We had a need to collect current and voltage readings over a time interval so we can estimate the power consumption of devices. This particular project hopes to build a cheap and useful tool that will also serve as an educational tool for future students in the lab. ---- ===== Specifications ===== [[ Initial Specification ]] ==== Current Specifications ==== * Collect current and voltage readings from DUT * Transmit data to a computer at real time through a USB to RS232 converter * Display data after collection * Export data as a .csv file * DUT must have a maximum of 10 V and 3.2 A * Current repository can be [[https://github.com/alliekim13/GUI|found here]] ---- ===== Goals ===== * Develop an open-source tool for measuring real-time current and voltage * Create a GUI that will allow users to visualize and export data as .csv files ---- ===== Remaining Tasks and Future Improvements ===== * Live plotting * Dynamically select USB port (must currently be hard-coded) * Testing system performance for high resolution readouts * Power-saving features * Simple data analysis tools ---- ===== Block Diagrams ===== ==== Overall Block Diagram ==== {{:instrumentation:cvl:ee_496x_block_diagram_final.png|}} ==== User Interface State Diagram ==== {{:instrumentation:cvl:finalblock.png|}} ---- ===== Meeting Minutes ===== [[Meeting Minutes April 28, 2016]] [[Meeting Minutes April 14, 2016]] [[Meeting Minutes April 7, 2016]] [[Meeting Minutes March 31, 2016]] [[Meeting Minutes March 17, 2016]] [[Meeting Minutes March 10, 2016]] [[Meeting Minutes March 3, 2016]] [[Meeting Minutes February 25, 2016]] [[Meeting Minutes February 18, 2016]] [[Meeting Minutes February 11, 2016]] [[Meeting Minutes February 4,2016]] [[Meeting Minutes January 28,2016]] [[Meeting Minutes January 21,2016]] ---- ===== Presentations ===== {{:instrumentation:cvl:instrumentation_final.pdf|}} {{:instrumentation:cvl:instrumentation_cdr.pdf|}} {{:instrumentation:cvl:instrumentation_pdr.pdf|}} {{:instrumentation:cvl:instrumentation_proposal.pdf|}} ---- ===== Bill of Materials ===== {{:instrumentation:cvl:instrumentation_billofmaterials.png|}} ---- ===== Schematic ===== {{:instrumentation:cvl:schematic_layout.png|}} ---- ===== Board Layout ===== {{:instrumentation:cvl:board_layout.png|}} ---- ===== Resources ===== {{:instrumentation:cvl:current_sensor_ina219.pdf|}} [[https://learn.adafruit.com/adafruit-ina219-current-sensor-breakout/overview]] [[https://learn.adafruit.com/adafruit-ina219-current-sensor-breakout/library-reference]] [[https://blog.udemy.com/arduino-voltmeter/ ]] [[https://www.arduino.cc/en/Main/Standalone]] [[https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard]] ==== Link to Project ==== As this is a work in progress, please see [[https://github.com/alliekim13/GUI|this link]] for updated versions of the GUI. ===Instructions to run script.=== * Install python if not already installed. * Install necessary libraries by using the following commands. * Install [[http://matplotlib.org/users/installing.html|matplotlib]] * Install [[http://pyqt.sourceforge.net/Docs/PyQt4/installation.html|PyQt]] * Install [[http://pyserial.readthedocs.io/en/latest/pyserial.html|pyserial]] * Through command line, navigate to project main directory and run: python main.py