Closed StanMOI closed 6 years ago
In config.h uncomment out the lines, then upload to arduino:
This will making the mode up/down adjust brightness instead of conflicting with the Digital volume control switch. Also get a Multimeter and make sure there aren't any shorts on the switch. Use beep mode and make sure you only get a beep when you switch the rocker up down or pressed in (ie volume up, volume down, mode)
Try that. Mark
On Apr 14, 2018 12:32 PM, "StanMOI" notifications@github.com wrote:
Hi Kite, I follow the guide for digital volume and soldered the volume https://www.aliexpress.com/item/10pcs-l ... 57524.html https://github.com/kiteretro/Circuit-Sword/wiki/images/CSO/CSO_DIGITAL_AUDIO_2.PNG Changed the two lines to:
But my weel doesn't work. Only Mode button with volume fonction makes volume change.
Please help
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kiteretro/Circuit-Sword/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/Aiqo9YLzhjL3WA1lrQT9AqubV1Cvaj00ks5tojKsgaJpZM4TVJ1T .
Thanks. I uncomment all three lines in "config.h"
#define Use_Old_Button_Combos
#define Use_Volume_Digital
#define Use_Alt_Pins_Volume_Digital (if using 6 button front)
than upload it via SFTP using "Cyberduck".
Still nothing. I will try to test all with Multimeter to be sure there aren't any shorts on the switch.
Maybe i make some mistake? When you say "upload to arduino" you mean that i have to use Arduino software to do it?
You can't use cyberduck to update the arduino, sadly. You have to go to arduino's website and download the arduino software to do it. It's free.
Look on this github page for step by step instructions on how to do it with the circuit sword: https://github.com/kiteretro/Circuit-Sword/wiki/Updating-Arduino-(button-controller)-Firmware
Mark
On Sat, Apr 14, 2018, 1:33 PM StanMOI notifications@github.com wrote:
Thanks. I uncomment all three lines in "config.h"
define Use_Old_Button_Combos
define Use_Volume_Digital
define Use_Alt_Pins_Volume_Digital (if using 6 button front)
than upload it via SFTP using "Cyberduck".
Still nothing. I will try to test all with Multimeter to be sure there aren't any shorts on the switch.
Maybe i make some mistake? When you say "upload to arduino" you mean that i have to use Arduino software to do it?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kiteretro/Circuit-Sword/issues/39#issuecomment-381350183, or mute the thread https://github.com/notifications/unsubscribe-auth/Aiqo9Q4aaREAvKU4pgqntafHtHRUldi0ks5tokEVgaJpZM4TVJ1T .
OK, thank you. I will try to do it. But look at that "It is also possible to update the arduino from the Pi itself." Enable WiFi and SSH SSH in
cd Circuit-Sword
sudo apt-get install avrdude
sudo ./update.sh YES
sudo ./flash-arduino.sh
sudo reboot
https://github.com/kiteretro/Circuit-Sword/wiki/Updating-Arduino-(button-controller)-Firmware
when i used 3 lines like that:
#define USE_OLD_BUTTON_COMBOS //Changes UP/DOWN to do brightness instead
#define USE_VOLUME_DIGITAL // Use CC1/CC2 or the rocker switch for volume
#define USE_ALT_PINS_VOLUME_DIGITAL // Alternative digital volume pins
When i use only one line:
//#define USE_OLD_BUTTON_COMBOS //Changes UP/DOWN to do brightness instead
#define USE_VOLUME_DIGITAL // Use CC1/CC2 or the rocker switch for volume
//#define USE_ALT_PINS_VOLUME_DIGITAL // Alternative digital volume pins
when i used 2 lines like that:
//define USE_OLD_BUTTON_COMBOS //Changes UP/DOWN to do brightness instead
#define USE_VOLUME_DIGITAL // Use CC1/CC2 or the rocker switch for volume
#define USE_ALT_PINS_VOLUME_DIGITAL // Alternative digital volume pins
Maybe i made some shorts when solder it. :(
It's possible but it didn't work for me.
On Sat, Apr 14, 2018, 3:10 PM StanMOI notifications@github.com wrote:
OK, thank you. I will try to do it. But look at that "It is also possible to update the arduino from the Pi itself." Enable WiFi and SSH SSH in
cd Circuit-Sword sudo apt-get install avrdude sudo ./update.sh YES sudo ./flash-arduino.sh sudo reboot
https://github.com/kiteretro/Circuit-Sword/wiki/Updating-Arduino-(button-controller)-Firmware
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kiteretro/Circuit-Sword/issues/39#issuecomment-381357132, or mute the thread https://github.com/notifications/unsubscribe-auth/Aiqo9fNYDgs5Q9QlrQOyxta0vyMIhtwIks5toleagaJpZM4TVJ1T .
You mean that you have the same problem with Wheel ?
My digital volume control switch (rocker switch) works properly. Update the arduino using the arduino software, double check your solder points on your rocker switch, and you should be good to go.
On Sat, Apr 14, 2018, 5:27 PM StanMOI notifications@github.com wrote:
You mean that you have the same problem with Wheel ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kiteretro/Circuit-Sword/issues/39#issuecomment-381365025, or mute the thread https://github.com/notifications/unsubscribe-auth/Aiqo9e_Xj9drFszNMNS_uHQbJsxmo3gCks5tone7gaJpZM4TVJ1T .
"check your solder points on your rocker switch"
Where exactly i have to check , between which point? On "rocker switch", there is 3 points: 1, 2, T On PCB where i have to touch with multimeter to test one of this points (1,2,T)? https://imgur.com/a/1XQpY
Maybe already covered, but have you done a joystick calibration at all using the board? In order to get analog volume working easily I made it so that joystick calibration did stuff relating to it.. if you have done a calib with old code there is a chance it's messing up, so doing a re-calib on newer code may help?
Hi, Kite, Thank you for support.
Why you say "...to get analog volume working", isn't a "rocker switch" not a digital one? I never done the calibration of joystick. I always used EMULATIONSTASTION INPUT Configure to configure my joystick and it's always worked. What's is the right order : first -> calibration of joystick, second -> change 2 lines in "config.h" or doesn't matter ?
In the case , to be sure the i all done.. Where exactly i have to check with multimeter, between which point on PCB and 3 points of "rocker switch: 1, 2, T?
To clarify as I may be making assumptions in understanding:
All methods are linked, and I should have implemented it better in the first place (software update coming soon to help here).. Does the volume ever do something like jump to 100% or 0% or something? If so, then you need to do a "joystick calibration" by holding START when powering on the CSO (even if you have no physical sticks).
You should be able to use a multimeter on the pins you have listed, and they should go to 0v (or short to GND if in resistance mode) when switched. One probe needs to be on GND, and the other on the pins. You will need to make sure that the GND pin is soldered properly, which is the BOTTOM pin (the one under the the rocker thing, that is hard to get to) as GND soldering is harder.
I tested all pins of "rocker switch". Here is the result: https://imgur.com/a/WxWL8
If i understand well, all pins was soldered fine. So it should be some problem with arduino uploading "config.h" file. When i move switch, the volume not jumping. Now there is no reaction at all. Volume can be adjust only with mode button. oh, my god :(
Dear Kite, After many tests. I decided to desolder and to solder again the another one "rocker switch". Then i tested all soldered pins (all OK). After i updated arduino code and tested with different lines (uncomment only one line, two, three). For now i find one option that makes the "rocker switch" work's ! It's work's only if i uncomment all 3 lines:
#define USE_OLD_BUTTON_COMBOS //Changes UP/DOWN to do brightness instead
#define USE_VOLUME_DIGITAL // Use CC1/CC2 or the rocker switch for volume
#define USE_ALT_PINS_VOLUME_DIGITAL // Alternative digital volume pins
For my surprise, it's work's not so gently. For example, when i push one's UP, i have to wait about 1 second to hear sound changes. And if i keeping holding to UP or DOWN, after one second sound jump to 100% or 0%. "joystick calibration" was done just before, but you never can see if it was done well or not cause there is no any message. It's should be great to see some little message at the end, like "joystick calibration is finish".
Best regards
Ok good, yep all of those should be enabled for it to work. You don't need the first one though, just makes up/down do the brightness instead of volume.
I have a solution to all that, it's not finished but it will be coming soon, and will show on screen those kind of messages!
Thanks Kite!
One day it's work fine, another day not at all (have to reboot). I tried once to see if it's works in "KODI" and it's doesn't work. But i'am already in good way.
Can't wait for updates ;)
Hi Kite, I follow the guide for digital volume and soldered the volume wheel https://www.aliexpress.com/item/10pcs-l ... 57524.html https://github.com/kiteretro/Circuit-Sword/wiki/images/CSO/CSO_DIGITAL_AUDIO_2.PNG Changed the two lines to:
But my wheel still doesn't work. The volume changes only with Mode button .
Please help