Coollvse OLED issue
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
Then it's sad (
Re: Coollvse OLED issue
I can't see why, use an SMD 3.3V regulator and capacitors. Even if you build this on a piece of stripboard it shouldn't be bigger than about 1cm. Power it from the 5V regulator. To feed the gimbals, i also can't see where the problem is. Normally you should just have to cut one wire or two, and connect it somewhere else. On the AREF pin you would just have to cut a trace coming from the 5V and connect the 3.3V from the regulator..BlackShooter wrote: ↑Wed Dec 12, 2018 3:20 pm I have a homemade remote, the space is very limited, to add another stabilizer, to feed the hall sensors separately is problematic.
Or then just try to use the 3.3V regulator that powers the LCD.. No more extra parts and no more extra space needed.
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: Coollvse OLED issue
No, it is not sad.. We are giving you an alternative solution that should work well. Do you realize that Mike would have to change most of the code?? That could take hours of work.. As Kilrah said this is not Arduino code, setting the timers is NOT automatic when you compile.. Need to be changed in the code..
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
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
Да я уже понял, просто думал, что это должно работать как в аналогии с ардуино.
А началось все с того, что при 3.3 вольтах питания микроконтроллера и 16 мегагерцах все было хорошо пока не наступили холода и микроконтроллер стал перезагружаться.
Спасибо за советы, буду тогда делать раздельное питание.
А началось все с того, что при 3.3 вольтах питания микроконтроллера и 16 мегагерцах все было хорошо пока не наступили холода и микроконтроллер стал перезагружаться.
Спасибо за советы, буду тогда делать раздельное питание.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
Changes to make the processor operate from 8MHz are not easy and, for the timers may not be possible. Most timers are configured to be clocked at 2MHz, generated from 16MHz using a pre-scaler of 8. There is no pre-scaler of 4 available in the mega128, so if the main clock is 8MHz, it is not possible to run the timers at the required clock rate. Using a different clock rate will then affect a significant number of areas of the code, the PPM/PXX/Multi protocols in particular. All will need to be re-coded, and then carefully checked to ensure they are operating correctly.
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
I connected to VCC and AVCC 5v, and to AREF I sent 3.3 volts from the separate stabilizer to the hall sticks. However, here is the oddity, on sticks instead of 3.3 volts comes 4.7.
However, in this combination, everything works
However, in this combination, everything works
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
I have 5 volts with AREF, why?
Re: Coollvse OLED issue
Probably because you are not disconneting the 5V from the processor AREF pins and connecting 3.3V from another regulator..
Just guessing here.
João
Just guessing here.
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
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
you are mistaken, AREF is disconnected from 5 volts, and when measured with a voltage multimeter, 5 volts comes from it. After connecting to 3.3 volts, the multimeter shows 4.7
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
OK, the firmware is using "AVCC with external capacitor at AREF", so this will conflict with an external 3.3V reference.
I'm considering how best I can handle supporting both this existing setting and an "External voltage on AREF" option.
Mike
I'm considering how best I can handle supporting both this existing setting and an "External voltage on AREF" option.
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
Thanks.At the moment I am using r809 firmware, there is a very convenient feature. Channel mixer when assigning the switch toggle switch if you click it, then it is automatically selected in the settings. You do not have such a function, you need to know in advance which switch to choose. Can you implement it? I hope the translator will clearly translate my thought)
Re: Coollvse OLED issue
Sorry, but that feature is also present in the last version.. I have just checked.
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
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
Make sure you have flashed the '128 version of the firmware, that feature doesn't fit in the '64 version.
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
This versionMikeB wrote: ↑Sun Jun 24, 2018 9:27 pm My build before was probably not correct, I didn't add the SSD1306 code tp er9x so I'm not familiar with the compile settings needed and I think I missed a couple.
Try this build.
I don't know whether the LCD on this board is parallel or serial, I've guessed at serial.
Mike
er9x_128_ssd1306.zip
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
The automatic switch selection only operate if you are editing a value having pressed MENU to get the highlight flashing on the item. This is to prevent accidentally changing a setting if there is only one item on the line.
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
Aaaa) thanks)
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
I have a patch to the source file er9x.cpp. I've passed this to someone else who is also trying to use a AREF of 3.3V.
Are you able to compile from the sources? As you are using a non-standard configuration (serial LCD), it would be useful if you can.
It would also mean you could apply this patch and test it.
Mike
Are you able to compile from the sources? As you are using a non-standard configuration (serial LCD), it would be useful if you can.
It would also mean you could apply this patch and test it.
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: Coollvse OLED issue
I remember that I have some old 9x boards that people sent me in exchange for working ones that I have repaired. The ones I have were really damaged but I got most working. Not sure I would trust them to a radio, but they should be good for testing. They all have the original m64 chip. I guess I could replace one with an m128..
But I would have to learn to compile. Actually I have been wanting to learn this since a long time.
Mike, if there is a guide to compile Er9x and Ersky9x, I would gladly take that workload from you. Ialso use Linux, so I could probably also compile eepe and eepskye.
That would leave you more time for some more cool features in Ersky9x..
I am joking on this last part of course
João
But I would have to learn to compile. Actually I have been wanting to learn this since a long time.
Mike, if there is a guide to compile Er9x and Ersky9x, I would gladly take that workload from you. Ialso use Linux, so I could probably also compile eepe and eepskye.
That would leave you more time for some more cool features in Ersky9x..
I am joking on this last part of course
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
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
I can not compile((. Only program ready hex. fileMikeB wrote: ↑Sun Dec 16, 2018 3:53 pm I have a patch to the source file er9x.cpp. I've passed this to someone else who is also trying to use a AREF of 3.3V.
Are you able to compile from the sources? As you are using a non-standard configuration (serial LCD), it would be useful if you can.
It would also mean you could apply this patch and test it.
Mike
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
Here is a build trying to auto-detect if a 3.3V reference is connected to the AREF input.
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
Thank you, I will try tomorrow!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
with the output of Aref, it still goes 5 volts, if 3.3 volts is connected to it, the voltmeter shows 4.7 on it.
And there is a problem with the display, offset.
And there is a problem with the display, offset.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
I'll check the code changes, I think I can see the AREF problem.
Before I build another version, please go to the "DIAGANA" screen. At the bottom right,under the BG value is another value (bottom line) what is this value (with 3.3V on AREF at power on) please?
Mike
Before I build another version, please go to the "DIAGANA" screen. At the bottom right,under the BG value is another value (bottom line) what is this value (with 3.3V on AREF at power on) please?
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
Try this one, it might even sort the display.
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!
-
- Posts: 19
- Joined: Tue Dec 11, 2018 5:37 pm
- Country: -
Re: Coollvse OLED issue
Thank you very much! That works great! You did a great job!
The question is small, this firmware will work with the multiprotocol module 4 In 1 irangex?
The question is small, this firmware will work with the multiprotocol module 4 In 1 irangex?
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Coollvse OLED issue
Should work OK, it is the standard firmware, just has the changes I did for you.
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!