Giter VIP home page Giter VIP logo

Comments (6)

vostrenkov avatar vostrenkov commented on May 24, 2024 1

I found a way to reduce input noise a lot even without using digital filtering. ADC sampling time should be configured to maximum value (239.5 cycles).
This fix will be included to the next release, but you can build from /dev branch to try it now (or change it yourself in your fork)

from freejoy.

vostrenkov avatar vostrenkov commented on May 24, 2024

If analog input is left floated it gonna show you noise values. Try to connect analog inputs to ground to see values near 0 (minimum) or to 3.3V to see values near 4095 (maximum).
For normal operation you may want to connect potentiometer (or hall sensor, or anything else) to your analog pin to generate analog signal of range 0V - 3.3V.
image

from freejoy.

mahdiyari avatar mahdiyari commented on May 24, 2024

I did same thing and input was not stable
even when connecting to ground it jumps around 0 (not exactly 0)
I think it may be because of computers noise on the usb port (or maybe nearby speakers?)
Thanks for your response

from freejoy.

vostrenkov avatar vostrenkov commented on May 24, 2024

It is not eazy to achieve stable 12-bit input at bluepill board. You can use external RC or RLC filter to reduce noise or you can use software filter option.
Soft FIR filter can be enabled using FreeJoyConfigurator utility (see wiki page) or in main.h file

from freejoy.

teeshq avatar teeshq commented on May 24, 2024

It is not eazy to achieve stable 12-bit input at bluepill board. You can use external RC or RLC filter to reduce noise or you can use software filter option.
Soft FIR filter can be enabled using FreeJoyConfigurator utility (see wiki page) or in main.h file

Hi what option is use to soft filtering a noise ??

from freejoy.

vostrenkov avatar vostrenkov commented on May 24, 2024

Hi what option is use to soft filtering a noise ??

Hi, filter slider is used for each axis on axis tab of configurator

from freejoy.

Related Issues (20)

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.