Imported from GitHub: Setting-Dawn/PlatformSoftKeyboardControl · commit e8d3427 · license MIT
Description
PlatformSoftKeyboardControl Control a 2 Degree of Freedom Platform using a soft sensing sheet.
README
PlatformSoftKeyboardControl
Control a 2 Degree of Freedom Platform using a soft sensing sheet.
This README is also used as the main page for the Doxygen-generated documentation. The remainder of this file contains project details, diagrams, and usage information.
PlatformSoftKeyboardControl
Project Goal:
Control a 2 Degree of Freedom Platform using a custom piezoresistive sensing sheet.
Mechanical Considerations
The balancing table is controlled by two motors connected to the table's surface via a strut with two ball joints that control rotation about perpendicular axes.
Software Design
Task Diagram
Webserver Task
The ESP32 hosts its own wifi on which it hosts a webpage on 192.168.5.1 that communicates the recorded data in csv forma to either the user or an external program that interprets it. The functionality of this task is based on an example by .
Motor Control Task
The motor control task awaits confirmation that the IMU has initialized and then begins operating the motor PIDs according to the setpoint stored in the xBar and yBar shares.
Material Reading Task
In order to perform EIT analysis, a series of voltage differences needs to be measured. For one complete measurement, one electrode is grounded while its neighboring electrode is supplied with a current while the remaining electrodes are used to measure the voltage differences. This is then repeated for each electrode. This task is responsible for taking those individual datapoints and reporting the resulting 208 values to the webpage task to be published in csv format.
PyEIT interpretation
A python script using the is able to read the data hosted by the webpage and analyze any changes in resistivity of the material. The resulting centroid is then passed back to the webpage using url arguments.
Other Code Used
- Liu, et al:
- bryanduxbury:
- yuskegoto:
- spluttflob:
-
- PrintStream Library https://github.com/spluttflob/Arduino-PrintStream.git
-
- ME507 Support Library https://github.com/spluttflob/ME507-Support.git
- madhephaestus:
No comments yet. Be the first to ask about this board.