Code Monkey home page Code Monkey logo

diyloadcellsimracingpedals's Introduction

DIY Load Cell Sim Racing Pedals

This repository contains simple Arduino scripts for interfacing with load cells, and presenting to a Windows PC as a joystick. Currently this reads two load cells, and sends both brake and throttle inputs through the Joystick library.

Dependencies

Hardware Requirements

  • The Joystick library will only work on Arduino devices that are based on the ATMega32u4. The scripts here have been tested with an Arduino Leonardo.
  • Two HX711 Load Cell Amplifiers
  • Two straight bar load cells

A note on read speeds

By default the HX711 reads at 10Hz, which is a tad slow for throttle and brake inputs. The Sparkfun version of the HX711 Load Cell Amplifier can be switched to 80Hz by cutting the trace between the two "RATE" pads on the back of the board, using a hobbyist knife. While this does increase the noise, the noise is still small compared to the values read from the load cell.

diyloadcellsimracingpedals's People

Contributors

tbattz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mhensen

diyloadcellsimracingpedals's Issues

Problem uploading sketch.

First of all, THANK YOU for providing this file.
Here's the problem:
After I include the HX711 and Joystick libraries, when I click "Verify" or "Upload", an error message pops up:

C:\Users\DP\Documents\Arduino\libraries\HX711-master\src/HX711.h:19:7: note: candidate expects 1 argument, 2 provided
exit status 1
no matching function for call to 'HX711::HX711(int, int)'

Hope you can help me with this issue (I'm new to arduino).

*If I remove (0, 1) it seems to upload just fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.