Comments (5)
Also, by the way, for testing the knob without the strain gauges, you can press [space] in the serial monitor to switch to the next mode in lieu of activating the strain gauges.
from smartknob.
The strain gauge thresholds will need to be manually calibrated based on your physical assembly (every build will be different).
The code outputs a HX711 reading
value to the serial console once per second by default. You can check that this changes when you touch a strain gauge.
Then once the strain gauges are permanently installed, you can get a reading when nothing is pressed and set this as the "lower" value, and then press down on the knob and get a reading there and set that as the "upper" value here:
smartknob/firmware/src/interface_task.cpp
Lines 206 to 207 in 5c2a104
from smartknob.
The strain gauge thresholds will need to be manually calibrated based on your physical assembly (every build will be different).
The code outputs a
HX711 reading
value to the serial console once per second by default. You can check that this changes when you touch a strain gauge.Then once the strain gauges are permanently installed, you can get a reading when nothing is pressed and set this as the "lower" value, and then press down on the knob and get a reading there and set that as the "upper" value here:
smartknob/firmware/src/interface_task.cpp
Lines 206 to 207 in 5c2a104
Hi Scott, your reply saved lots of time, there's no console output for HX711 reading by default, cause the lower and upper values are too high on my side, so the logic for HX711 is not run. After I lower the values, it works. Appreciated for your reminders.
from smartknob.
Also, by the way, for testing the knob without the strain gauges, you can press [space] in the serial monitor to switch to the next mode in lieu of activating the strain gauges.
Yes. I get used to press space to change mode.
from smartknob.
Glad to have helped!
from smartknob.
Related Issues (20)
- Knock-off product(?): ColoPlay Desktop Controller HOT 1
- ESP32 alternatives HOT 1
- The program won't start.
- Motor continuously spins or feels jerky when stationary HOT 1
- Idea to adapt smartknob for DJ Controller
- Smartknob Pro...? (Spacemouse function) HOT 1
- Possible dumb Question, be gentle HOT 1
- Upgrade to a higher resolution display?
- Can you consider accessing HomeAssistant? HOT 2
- C2922480 discontinued on LCSC HOT 3
- simplyfoc library issue HOT 2
- Is there a possibility to add MQTT protocol? HOT 1
- Strain gauge on PCB
- Esp32 Boot Pin keeps oscillating between 3.3 and 0V HOT 3
- Interested in purchase of finished product HOT 2
- Many improvements (battery, accelerometer, touch, MIDI, etc.) HOT 16
- Which resistors instead of glued BF350? HOT 2
- Idea: Give option to buy pre-made PCBs somewhere for less experienced people HOT 7
- I've found the Gimbal Motor HOT 1
- CPL file for PCB Assembly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartknob.