Load cell on Xbox - lever for disabled gamer

Hi everyone!
I’m Adam and I’m quadruplegic. I really want to play cars on Xbox with load cell lever and this is my project. I’m ultimate beginner and never used codes.
Lever is for throttle and brake (push - brake * Positive values), (pull- throttle * negative values). I don’t need to have load cell calibrated for accurate weighing.
Initial value up to e.g +3000 for brake, Initial value up to e.g -4000 for throttle. Different stiff spring on each side of load cell that’s why different 100% values on each side. And brake values send to channel one on digital potentiometer, throttle values send to channel 2 on potentiometer.
Chain: load cell - hx711 - arduino uno R3 - MCP42010 - two 3.5 jacks - Xbox adaptive controller.

THANK YOU ALL for helping me to achieve this project!:smiling_face:


Is the load cell required? Would a joystick allow you more input (forward, backward, left, right)?

I already have the lever with load cell. Ofcourse, the easiest way is lever with analog pot, but I want to use load cell. I have all Components on picture. Now I need help to code it.:smiling_face:

How much programming do you know?

Have you read about the HX711 and MCP42010?

If you install a HX711 or MCP42010 library in your IDE, both will have examples.

This page gives example sketches for the HX711.
https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide/all

Code for HX711 works great, now I need send data from hx711to dual digital pot. From -100 to -4000 to pot1 and 100 to 4000 to pot2.

Your digital pot might have a library with examples. Use the model number with ".h" suffix to find the library (example: hx711.h). Multiple libraries would mean examining them for the best fit for your project (look at the examples, run the examples, et c.)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.