tag:blogger.com,1999:blog-6053337542597571017.post8852444521337018847..comments2024-03-18T13:34:03.826+01:00Comments on Hack Correlation: Spektrum DX6i - backlight and timer hackLigiushttp://www.blogger.com/profile/04631687424641789584noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6053337542597571017.post-45285303229778505132021-10-31T13:55:03.889+01:002021-10-31T13:55:03.889+01:00Yes, the backlight in that video is activated with...Yes, the backlight in that video is activated with the buzzer, I think, and has a 10s timeout. Since the buzzer beeps with every keypress this a decent approach. He also says that the ATTiny is just stuck on the board without soldering.<br />I can look into this but not in the near future. If you want to try it yourself, you only need one input pin and one output pin. Example code:<br />https://wokwi.com/arduino/projects/313969858193654336Ligiushttps://www.blogger.com/profile/04631687424641789584noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-70665559261455509612021-10-31T10:02:18.568+01:002021-10-31T10:02:18.568+01:00Thx for reply! Sorry, but I've really no idea ...Thx for reply! Sorry, but I've really no idea to write a code for a micro processor. Searched with DX6i+ATTiny for a similar project an found this on YouTube...<br /><br />https://youtu.be/fn2NmeOPrGk<br /><br />But there is no information about the chip or a code. I think he use the buzzer to activate backlight, cause it also work if he use trim switches.Sergeihttps://www.blogger.com/profile/02653527812330393862noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-22443005936350057212021-10-30T22:21:13.903+02:002021-10-30T22:21:13.903+02:00That would be a cool idea, can't remember exac...That would be a cool idea, can't remember exactly why it was done like this, but I had no embedded or C experience at that time.<br />The project is hosted here: https://github.com/ligius-/dx6i-enhancements<br />It should be trivial to port to a small Arduino board (back then Arduino did not exist) and do analogWrite on the backlight pin.<br />The 10F222 doesn't seem to have a hardware PWM output, so I guess a better option is to go with an ATTiny which has 3 or 4 usable pins. I might explore that in the future, but the code is pretty simple to port to the Arduino framework: https://github.com/ligius-/dx6i-enhancements/blob/master/main.cLigiushttps://www.blogger.com/profile/04631687424641789584noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-25362741839866386312021-10-30T21:53:56.810+02:002021-10-30T21:53:56.810+02:00Long time ago, but very interesting project. Is it...Long time ago, but very interesting project. Is it possible to separate just the backlight auto off function (maybe with fade in/out)? Thx.Sergeihttps://www.blogger.com/profile/02653527812330393862noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-31041734825921940322014-04-21T13:28:07.471+02:002014-04-21T13:28:07.471+02:00The backlight was from reichelt.de (part number st...The backlight was from reichelt.de (part number starts with LEDX) but any similar backlight would do. Make sure it is LED-based and not the inverter type.Ligiushttps://www.blogger.com/profile/04631687424641789584noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-10257184443456575382014-04-21T13:26:50.767+02:002014-04-21T13:26:50.767+02:00Hi, I just did it the simple way, I power up direc...Hi, I just did it the simple way, I power up directly the backlight from GP2 through a 700 ohm resistor, yielding about 5mA which is enough. You can go with a lower resistor or even no resistor at all for maximum brightness.Ligiushttps://www.blogger.com/profile/04631687424641789584noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-25827213605102619842014-04-20T09:24:02.097+02:002014-04-20T09:24:02.097+02:00Thanks for your reply. However, you also mentioned...Thanks for your reply. However, you also mentioned to control the backlight (I assume you have modified to add a backlight kit to DX6i, did you use the Turnigy Backlight Kit from HobbyKing?). I couldn't figure how to wire GP2 (according to the source code) to the backlight control. Thanks again!Anonymoushttps://www.blogger.com/profile/03992407246900356808noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-74156567685313749572014-04-19T14:49:23.194+02:002014-04-19T14:49:23.194+02:00There's a wiki page describing where to get th...There's a wiki page describing where to get the signals from:<br />https://code.google.com/p/dx6i-enhancements/wiki/Hardware<br /><br />GP0 -> Trainer switch, red cable<br />GP1 -> Throttle potentiometer wiper, orange cable<br />Vdd -> 3.3V, taken for example from the Throttle pot red wire.<br />Vss -> 0.0V, GND, taken from almost anywhere there is a black cable going.<br /><br />I don't remember off the top of my head, I would need to open the remote again. I'll do it if you cannot figure out from this comments how it would be wired.<br />How to figure out by yourself: power up the remote and look for a black cable or GND marking, this would be the ground. With a multimeter, probe around for 3.3V. All the potentiometers have this. Then probe for another voltage that changes when the stick is moved, this will be the wiper.Ligiushttps://www.blogger.com/profile/04631687424641789584noreply@blogger.comtag:blogger.com,1999:blog-6053337542597571017.post-29301872248508714982014-04-17T11:29:54.408+02:002014-04-17T11:29:54.408+02:00Hi, I am interested in your work. I have some issu...Hi, I am interested in your work. I have some issues of wiring these GPIOs of the PIC10f222 MCU to the PCB of DX6i remote control. In your picture, I believe there are five coloured wires (white, blue, orange, yellow and ??). How to connect these wires to the PCB of DX6i, could you please enlighten me? Thanks very much.Anonymoushttps://www.blogger.com/profile/03992407246900356808noreply@blogger.com