Translation is work in progress, feel free to contribute! This translation might be out of sync with the original german one, please double check
iSpindle (iSpindel) Documentation
DIY electronic Hydrometer Please consider supporting this project
Table of Contents
All rights reserverd, any commercial use is hereby prohibited and will violate applicable patents.
Powered by the thread Alternative to the Spindle, the idea was born to reproduce the commercially available electronic tildting spindle using low-cost components.
The system is based around the use of a heeling (or tilting) cylinder, an ingenious and easy concept - you do not need any external reference (except for gravity) and the cylinder is extremely easy to keep clean. The inclination angle changes in relation to the buoyancy and thus directly in relation to the sugar content. There is an angle formed between the center of mass and the center of bouyancy depending on the density of the fluid.
Therefore the idea is to place a Wifi-enable IoT device with an accelerometer and temperature sensor in a floating cylinder. The system will measure the sensors and every x-minutes it will connect to the Wifi and sends its tilt angle, temperature and battery voltage to a cloud service like Ubidots.com to store the data.
With an update interval of 30min it was possible to achive a battery lifetime of almost 3 months!
Actually, this is the "metacentre", the cylinder will tilt as the liquid density changes in relation to its center of mass and center of bouyancy. The angle of tilt can then be measured.
It is possible to trim the cylinder by adding a few grams on the bottom so that the cylinder is more upright, or on the lid, so that it is more tilted.
The software calculates the Euler angle for X and Y from the XYZ acceleration values and forms the absolute angle. We compute these with the calibrated parameters to ° Plato, SG or similar by correlating to measured references.
- A 3D Printed drawer is used to secure the electronics and battery inside the plastic housing as shown below. The 3D model can be found in the repository.
- To start, you must create a free account at Ubidots.com
- Next, you must go to the menu
API Credentialsto get a
Tokento be used by the iSpindle to authorize writing data to the Ubidots account. Write this down.
By pressing the
Reset Button the Wemos creates an access point, which allows you to make the necessary settings to configure the device. **In
operation mode this portal is not active or accessible because the principle of this design is based on shorted possible acitve time. Basically it will wake up, send its data and deep sleep again. This takes now less than 3s which is directly related to its long life run time.
config modeby blinking the LED in a 1s interval.
By saving your settings or waiting timeout of 5min it will end the Portal thus AccessPoint and try to go into
In Ubidots you can monitor the update of data unders
Sourceswhere the iSpindel will create a new device itself.
Dashboardnow you can create your nice graphs.
Graphical User Interface
In order to convert the measured iSpindle angle to degrees Plato (°Plato), density (SG), or other units, it is necessary to first calibrate the sensor by making several reference measurements of sugar water of known gravities. These reference measurements can then be converted to a mathematical function which is stored for later measurements and display. Since each self-assembled iSpindle will have different measured values, each device must be individually calibrated after assembly or reassembly to yield accurate measurements. A detailed procedure is below.
if you like it, let me know