What else can I upgrade in my radio?
Re: What else can I upgrade in my radio?
on the arduino IDE go to TOOLS/BOARDS and select your arduino. then select your FTDI's com port.
Load Mike's sketch on the IDE. Connect the FTDI to the arduino and to the Computer. Click the UPLOAD button. wait until is finished.
João
Load Mike's sketch on the IDE. Connect the FTDI to the arduino and to the Computer. Click the UPLOAD button. wait until is finished.
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: What else can I upgrade in my radio?
It seems I got it, right? Now I only have to wait until the connector arrives to proceed to the encoder installation. I am nervous
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
Well, meanwhile the arduino chip took short time to arrive, the connector is still not here...
But that gave me plenty of time to read in the forum about the encoder, and I think I am going to approach it in another way. Instead of fitting something between the encoder and the PCB, I am going to shave the screw mounts a bit and I will bolt the encoder there.
And then, instead of using the pins, I will solder wires. Of course the less wires the better, so the question is, are all of those wires needed? (4 wires pro the old button's legs)
Also, according to the screenshot, did I flash the module correctly?
Thank you!
But that gave me plenty of time to read in the forum about the encoder, and I think I am going to approach it in another way. Instead of fitting something between the encoder and the PCB, I am going to shave the screw mounts a bit and I will bolt the encoder there.
And then, instead of using the pins, I will solder wires. Of course the less wires the better, so the question is, are all of those wires needed? (4 wires pro the old button's legs)
Also, according to the screenshot, did I flash the module correctly?
Thank you!
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
Looking at the 9x mainboard it looks like you might need only 5 wires from the encoder board to the directional switches connections on the 9x board. Please see picture. Connect each switch to the correct pin marked with a red circle, and connect the common from all switches on the encoder board to any digital ground on the 9x mainboard, for example the pin marked with the yellow circle. You will have to solder an extra ground wire to the switches common connection (ground plane) on the encoder board, and then connect it to the pin marked with the yellow circle on the 9x board.
Well, the screenshot tells me that the arduino was successfully flashed. But you will have to connect it to the encoder and to the radio to make sure it is really workingAlso, according to the screenshot, did I flash the module correctly?
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: What else can I upgrade in my radio?
Hi Joao, thanks for the reply! Great to know I have it flashed propperly, and that I have to throw less wires
I already soldered the encoder to the small board.
I think I have clear what to solder in the red circles. But the yellow circle where does it go? I attached a pic.
Thanks!
Still waiting for the connector wires... Sigh...
Also can yo draw the other ground wire? thanks!
I already soldered the encoder to the small board.
I think I have clear what to solder in the red circles. But the yellow circle where does it go? I attached a pic.
Thanks!
Still waiting for the connector wires... Sigh...
Also can yo draw the other ground wire? thanks!
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
It goes to one of the yellow circles on the picture below.. It is the common connection to all switches. it connects to ground on the 9x mainboard.
I don't understand this question What other ground wire?Also can yo draw the other ground wire? thanks!
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: What else can I upgrade in my radio?
Perhaps like this.
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: What else can I upgrade in my radio?
Ah OK just one, I thought I had to join all the yellow circles.
So those are awesome news, just 5 wires!!
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
This is the very last that is still a bit foggy to me. I have to solder the 4 top connectors of the andrewju's board to the arduino, that I think I got it.MikeB wrote: ↑Mon Jan 13, 2020 6:43 pm
For the encoder, the switch goes to IO4 and the two encoder signals go to IO2 and IO3. If the encoder "goes the wrong way", swap these last to signals over. The encoder and its switch also need a ground connection.
I'll post a test version of erskyTx on the test versions thread, first post.
Mike
Which one is the switch, which are the signals and also what you mean with the encoder and the switch need a ground?
In short, looking at this board like this, those four connectors in the top left, where do I connect them in the arduino?:
Thank you!
https://radindustries.wordpress.com/
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
Those 4 signals are labelled COM_A, S1, A and B.
COM_A is ground.
S1 is the switch (to IO4).
A and B are the encoder signals (to IO2 and IO3).
Mike
COM_A is ground.
S1 is the switch (to IO4).
A and B are the encoder signals (to IO2 and IO3).
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Look at your board, near the encoder pads you can read "A, B, S1, and COM_A":
A - Goes to one of the Arduino encoder input pins
B - Goes to the other Arduino encoder input pin
S1 - Goes to the Arduino encoder switch Input pin (IO4)
COM_A - if I am not mistaken this goes to arduino ground, which should also be connected to the 9x mainboard digital ground.
I believe you could just connect it to the yellow circled pin on the encoder board, and then it goes together with the directional switches ground. As I said, connect this also to the arduino board's ground.
João
EDIT: Mike was faster
A - Goes to one of the Arduino encoder input pins
B - Goes to the other Arduino encoder input pin
S1 - Goes to the Arduino encoder switch Input pin (IO4)
COM_A - if I am not mistaken this goes to arduino ground, which should also be connected to the 9x mainboard digital ground.
I believe you could just connect it to the yellow circled pin on the encoder board, and then it goes together with the directional switches ground. As I said, connect this also to the arduino board's ground.
João
EDIT: Mike was faster
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: What else can I upgrade in my radio?
Hi guys, I think I did it! Or at least part of it! I managed to install the encoder, and the 4 arrows are working great! But the rotation andthe button do nothing. I guess I have to do something in the hardware menu, right?
I am super excited, close to finishing the radio!
I am super excited, close to finishing the radio!
https://radindustries.wordpress.com/
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
Have you flashed the radio with "erskyTxR222D7" ?
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Hi Mike,
Yes, I have flashed it. So far the arrows work, but the rotary and the central button dont. Not sure if I have to activate something.
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
I also noticed when I press it up and down it makes a "beep" but it does not do it when left and right
https://radindustries.wordpress.com/
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
In the hardware menu, what do you have set for "Enable I2C"? You need either "OFF" or "COM3", not I2C.
In the "DiagSwitch" menu there is an "ENC" item. does this change when you press the centre button?
Mike
In the "DiagSwitch" menu there is an "ENC" item. does this change when you press the centre button?
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Hi, this is what I have.
In the diag menu, ENC is always 0
In the diag menu, ENC is always 0
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
I also checked the arduino is correctly plugged in the 9xtreme (it has also light) and I checked the arduino button is not pressed. Hope it helps.
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
Hey, good that it went well with the installation. Well done Do you have some pictures of it? it might help other people wanting to do the same
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
I've just posted a test version for the 9Xtreme that has some debug data in the DEBUG menu. Please flash this, then tell me what (4 hex digit) value you see on the third line of the DEBUG menu. As you rotate the encoder, this value should change.
Also, there are TWO LEDs on the ProMini. The one near the serial port end is a power LED and is lit when power is applied. The other LED, at the other end of the board (by the reset button) is on the SCK signal, and should be lit when the board is operating in this application.
Mike
Also, there are TWO LEDs on the ProMini. The one near the serial port end is a power LED and is lit when power is applied. The other LED, at the other end of the board (by the reset button) is on the SCK signal, and should be lit when the board is operating in this application.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Hi, I will check that as soon as I arrive home. I dont have very good pics of it, but I took two in the process, when I was sweating blood
I will try to take better pics later on. Basically what I did was, first to snap the buttons legs, then desolder what was left of them.
I shaved a milimeter or two the small bolt mounts, cut a milimeter of the bolts too, and then I bolted the andrewju's board.
Last step was to throw wires from the board to the radio PCB.
Ill try that debug thing as soon as I arrive home in some hours, and I will also check if there are more leds working. So far I have only seen the red one.
I dont know from where the mistake is comming. Would the encoder work if the arduino is not working? Due to is connected to the green pcb...
I will try to take better pics later on. Basically what I did was, first to snap the buttons legs, then desolder what was left of them.
I shaved a milimeter or two the small bolt mounts, cut a milimeter of the bolts too, and then I bolted the andrewju's board.
Last step was to throw wires from the board to the radio PCB.
Ill try that debug thing as soon as I arrive home in some hours, and I will also check if there are more leds working. So far I have only seen the red one.
I dont know from where the mistake is comming. Would the encoder work if the arduino is not working? Due to is connected to the green pcb...
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
if the arduino is not working, the encoder and center button will not work. Please check the arduino connections to the radio again.
@Mike, I think The Arduino built in LED is connected to digital pin 13 on the pro mini??
João
EDIT: Never mind, I just had a look. Digital pin 13 is the SCK pin
@Mike, I think The Arduino built in LED is connected to digital pin 13 on the pro mini??
João
EDIT: Never mind, I just had a look. Digital pin 13 is the SCK pin
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
I've plugged my encoder back in and run some tests. Generally it is all working, but sometimes the protocol between the 9Xtreme and the Arduino loses sync. This only seems to happen at power up, so then it just doesn't work. However, it will get back in sync. if you load a different model!
I should be able to fix this in erskyTx.
Mike
I should be able to fix this in erskyTx.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Hi, I just flashed the new erskytx version, and I took a pic of the debug mode, and also of my arduino. Maybe you can see something wrong.
https://radindustries.wordpress.com/
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
You have the encoder connected to the analog inputs (A2, A3 and A4), not the digital inputs (2, 3 and 4) that are down the opposite edge of the board.
The display shows correct communication.
Mike
The display shows correct communication.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Correct! I soldered them right and it WORKS!!! THANK YOU Mike and Joao for all the help along the years.
I am going to publish an entry on my website and I am going to credit you.
Thank you very much, I would be lost without you and without ersky
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
Small downside, it seems somehow all the models, config and everything in the radio is gone. There was an eeprom error...
But no probs, I will take it as a way of super clean instalation and I will start from the very beginning again.
But i will make safe copies, lol.
But no probs, I will take it as a way of super clean instalation and I will start from the very beginning again.
But i will make safe copies, lol.
https://radindustries.wordpress.com/
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: What else can I upgrade in my radio?
If you use eepskye and use the "Read EEPROM to file" option, zip up the file and send it to me, I should be able to recover your settings.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: What else can I upgrade in my radio?
Hi, I just attached the file here.
When connecting the radio to the computer, I have seen not all of the models are gone.
Anyway, the most importan question is: Why that eeprom error?
When connecting the radio to the computer, I have seen not all of the models are gone.
Anyway, the most importan question is: Why that eeprom error?
- Attachments
-
- eprom.rar
- (2.32 KiB) Downloaded 232 times
https://radindustries.wordpress.com/
Re: What else can I upgrade in my radio?
Anyway I am very happy with the end result
https://radindustries.wordpress.com/