-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ATS20+ #7
Comments
To reverse Rotary Encoder direction in arduino IDE line 235 should be g_encoderCount = (encoderStatus == DIR_CW) ? -1 : 1; |
Hi, It would be nice to have a remote capability, maybe with an internal BT/BLE to serial module. I did disable the RDS feature, which freed up enough program memory to allow for a simple volume up/down, frequency step up/down and output of the tuned frequency (g_currentFrequency and g_currentBFO). I guess if a remote option is required, it would be better to have a separate version supporting a standard radio protocol, allowing use of existing PC control programs and/or a Phone/Tablet App. For the ATS-20+, I also changed the definition for the “BATTERY_VOLTAGE_PIN” to “A1” instead of the default “A2”. For programming using the Mini-USB connector, I made a VBUS isolator to avoid any conflict between the 5V (BUS) and the 3V3 regulator on the ATS-20+. The ATS-20+ version I received appeared to have the 115200 baud rate bootloader on the Arduino Nano. 73, Dave |
Hi, Hardware: Firmware: Added code to send information out over the serial interface to the BT module. Added code to extract serial data from the BT module and mimic the buttons and rotary encoder. Android App: 73, Dave |
Hi, The voltage calculation is based on V_BAT = 2 * [ADC * Vref/1024] It would be possible to use either the internal band gap reference (1.1V) or the 'AREF' pin (with external reference). This would require adjusting voltage divider feeding the analogue 'A1' pin. The potential divider resistors are under the Nano, so it would be easier to switch to a different analogue pin. Since the the battery monitoring is accurate down to 3.4V, no modifications are proposed at the moment. |
Буду писать по русски, извините.
|
Hi, |
This works fine on my ATS20+ but the battery divider is already installed to pin A1 on ATS20+ and not pin A2, changed in defs.h to "#define BATTERY_VOLTAGE_PIN A1" and the charging indicator works now, you might want to mention this in the readme.
The text was updated successfully, but these errors were encountered: