2018-04-25 - By Jaswinder Kaur Johal, Anami Thakur, Satinder Kaur, Robert Elder
The purpose of this article is to review the findings of a student-led project where the goal was to make use of the CJMCU-333 circuit, containing an on-board INA-333 instrumentation amplifier to measure the current draw of an ESP8266. In the end, accurate current draw measurements of the ESP8266 module were not collected, however useful information and experience was gained.
One of the primary conclusions of the project was that the choice of instrumentation amplifier board, in this case the CJMCU-333 circuit, made it difficult to get accurate readings and test the validity of the measurements. For the CJMCU-333 circuit, the potentiometer is used to control the gain of the amplifier, and even the smallest touch could throw off the consistency of the readings.
Throughout the project, another source of problems was constant lose connections. Even after soldering, there were cases were results were not repeatable.
During the experimentation, there was also a case where the CJMCU-333 circuit appeared to short out. Magic smoke appeared, and afterward the amplifier would no longer produces values anywhere near what it did previously. The precise condition that made this occur was not known, but the students hypothesize that they may have accidentally shorted Vout with 5V. Further experimentation was performed on a second version of the exact same model circuit without incident.
Flashing The ESP8266
The students found this ESP8266 flashing circuit diagram useful. Here is their circuit layout:
For flashing software, the students used 'Termite' V3.4.4, an easy to use and easy to configure RS232 terminal. After installing the software, the students started Termite and clicked the settings button to change the setting according to the COM Port and USB to TTL converter and got the following window:
The students got an "OK" when entering the command "AT" and the results below:
Next, the students used the EXPRESSIF firmware download tool:
Here is what it looks like when the module is flashed:
Here is the circuit that the students used for taking simple measurements of the current through a resistor:
Unfortunately, because of the potentiometer, the precise value of the gain on the amplifier was not known when collecting these measurements. Here are some of the measurements that the students collects using the amplifier:
The students also found the following links useful in their analysis:
- Choose the Right Current-Measurement Technique for Your Application
- TPS730 Low-Noise, High PSRR, RF, 200-mA Low-Dropout Linear Regulators
The students concluded that a better choice of amplifier would have been one that allowed for a more fixed gain control through the used of an externally resistor. If this work was to be repeated, the students suggested using an amplifier such as the AD620 instead.
Using The GY-511 LSM303DLHC Accelerometer To Detect Waving Motion
Subscribe to New Posts
Review Of ARTIK 053: Looks Polished, But Docs Fall Short
|@RobertElderSoft On Twitter|
Network Enabled LED Blinking With ESP8266
Myers Diff Algorithm - Code & Interactive Visualization
Silently Corrupting an Eclipse Workspace: The Ultimate Prank
A Technical Review Of Adding Support For Google's AMP Pages
Coming Full Circle On Code Duplication
Stories & Tips: 50+ Interviews With Facebook, Twitter, Amazon & Others
D3 Visualization Framework
2015 UW Software Engineering Design Symposium
A C Based Emulator for the One-Page CPU
A Review of the react.js Framework
A Weird Old Tip About EC2 Instances
Learning Laravel and angular.js