Skip to content
/ Yatuli Public

Yet another tune lib: Linear volume control instead a rotary encoder, from the bitx40 idea.

License

Notifications You must be signed in to change notification settings

pavelmc/Yatuli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yatuli Arduino Library

Yatuli = Yet another Tune Lib, go cheap: use a linear volume control instead a rotary encoder.

Inspiration

This work is based on the previous work of these people:

Features

This is a kind of linear tuning and in the center with big steps on the edges:

  • Selectable Analog pin.
  • Range set on initialization (Start-End).
  • Step selection on initialization, down to 10 Hz (real minimum).
  • Edge jumps on initialization.
  • Set a start point in the passed range.
  • Flutter fix from Jerry KE7ER.
  • Direction finding for Option selection (useful in menu selections).
  • You can dynamically reset the range and start value while running (useful in setups).
  • Negative values are supported in all the range (start, end & value)
  • Range is handled by 32 bit signed values, so it will work from -/+ 2.4G values.
  • Lock feature, you can lock in the lib when in TX (or wherever you case it).

See the examples bundled with the lib for use cases.

Hardware

We use a linear volume resistor with extremes connected to GND and +Vcc of the Arduino, for stability you must put a 1uF polarized capacitor across GND and +Vcc at the variable resistor legs, then a 1nF (102) capacitor across GND and the wiper.

Beware!: don't use a cap bigger than 1nf (102) in the wiper as it must be sufficient enough to block RF in the ADC, but we do need some LF noise to the oversampling work to avoid flutter on the readings.

Then the wiper is connected to an Analog input of the Arduino, see the examples bundled with this lib.

Author & contributors

The only author is Pavel Milanes, CO7WT, a cuban amateur radio operator; reachable at [email protected], Until now I have no contributors or sponsors.

Where to download the latest version?

Always download the latest version from the official github repository

See ChangeLog.md & version files on this repository to know what is your version and what are the latest changes to it.

If you like to give thanks...

No payment of whatsoever is required to use this code: this is Free/Libre Software, nevertheless donations are very welcomed and needed.

I live in Cuba island and the Internet/Cell is very expensive here (USD $1.50/hour), you can donate anonymously internet time or cell phone air time to me via Ding Topups to keep me connected and developing for the homebrew community.

If you like to do so, please go to Ding, select Cuba, select Cubacel (for phone top up) or Nauta (for Internet time)

  • For phone topup use this number (My cell, feel free to call me if you like): +53 538-478-19
  • For internet time use this user: [email protected] (that's not an email but an user account name)

Thanks!