Esp32 with tilt and load sensor

Help!

i need to connect a load sensor with HX711to the nano, along with a tilt sensor. This is to simulate drinking from a bottle and weighing the content left to monitor hydration.

I am struggling to see if both of these components can be connected to the nano.

1 Like

That is not the pinout for an Arduino nano ESP32
Also, that is not the pinout for a HX711 board.

@ellis_t25
Can you show pictures of what you actually have?

They can. For additional help, please read and follow the instructions in the "How to get the best out of this forum" post, linked at the head of every forum category.


my understanding is that this is the connection for the load sensor, im not sure how the tilt sensor would connect also

That is not an Arduino nano ESP32 or a Nano.
Exaxtly what board do you have?
If you don't know please show a picture.

Arduino Nano ESP32 is the board i am required to use

Most HX711 boards are 5volt-only devices.
Only Sparkfun sells HX711 boards that are compatible with 3.3volt processors.
How to solve that has been explained many times on this site. Do a search.
Leo..

Connect the loadcell like this

give links to the specific HX711, ESP32 and other modules you are using?
also upload a schematic of wiring?
make sure you test each sensor in an individual program before attempting to implement the complete project -usually libraries provide test programs - look under File>Examples

The tilt sensor is just a switch.
The sensor connects to 3.3volt, ground and an available digital input pin.
This page has example code.
Leo..