Steering Wheel buttons - joying - MTCB Hardware Development

I'm interested in adding buttons to my dash to interface with the buttons available for mapping in the steering wheel map like this:
http://forum.xda-developers.com/and...eral/meaning-screen-buttons-learning-t3265046
I'm just starting my investigation into how this works. Does anyone know how the physical buttons work with the head unit? I saw that at one point carjoying had an external pcb with buttons available, but it looks out of stock or off the market so I can't get one and play with it.
http://www.carjoying.com/skin/frontend/rwd/default/images/accessories/SWC/1.jpg

pounce said:
I'm interested in adding buttons to my dash to interface with the buttons available for mapping in the steering wheel map like this:
http://forum.xda-developers.com/and...eral/meaning-screen-buttons-learning-t3265046
I'm just starting my investigation into how this works. Does anyone know how the physical buttons work with the head unit? I saw that at one point carjoying had an external pcb with buttons available, but it looks out of stock or off the market so I can't get one and play with it.
http://www.carjoying.com/skin/frontend/rwd/default/images/accessories/SWC/1.jpg
Click to expand...
Click to collapse
My vehicle uses a pair of resistive lines from the steering wheel to the headunit. It sets up varying voltages between 0-3.3v inside the HU that the MCU's ADC uses to determine which button was pressed. The radio ask the user to either push the HW button then the onscreen button (or they can do it vice-versa) to map the HW button with a HU function.
I did get the button PCB and did some development with it but its values are different than my vehicle's so I made my own switch board with exact values (some wire, 8 pushbuttons, 8 resistors and a PPH pcb). I then developed my own HW interface box and wrote software for it that will allow me to access more JYHU functions with my existing buttons (about 10 functions with 5 buttons). Getting the 8-button SWC for my vehicle is 200USD so I just made my existing ones multifunctional. I was trying to get the SEEK+/SEEK- function mapped but the radio only activates that feature by touching the buttons on the radio app. So I will have to write a tasker routine to simulate button press of radio app SEEK+/SEEK- and activate that with a button press (I'll save that for later). I will install it next week.
I will probably share the HW design but the user will have to write their own software as it is very specific to the radio and steering wheel control. I am not going to develop software that can learn any vehicle and/or any radio...don't have time. I am sure this could be done in pure SW inside the Joying radio if someone hacked the MCU but I did this pretty cheaply (as low as 10USD up to 30USD at most).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

That's really helpful. Thank you for taking the time to post. Clearly, you have done a lot of work.
I'm still poking around. I cam across a nice device that can map resistive buttons to HID output.
http://www.amazon.com/Joycon-EXR-Steering-Interface-Accessories/dp/B00CHXAV1Q
The company also makes one that can scan and map can bus messages to buttons (cool). So when I saw this I wondered if it might be possible to use HID keyboard key presses to map to the button software. If that was possible I think it could offer some universal solutions and make it easier to bench test since you could just use a USB keyboard. In other words if it were possible to use HID for the buttons on the HU then one could use one of these devices to map any car buttons or keyboard or any combination of devices that could end up sending HID output. That could be wireless also. A person could easily add remote control.
If mapping to keys isn't possible then I'm probably just going to do like you and add some buttons with resisters on the line.
Thanks again.

I was not able to map my HID keyboard's key to the JYHU's menu buttons. It seems it is expecting a signal on the resistive pair lines. The HID input and resistive line inputs work independently (my HID's media keys work but they are pre-coded to do one thing). YMMV.

Android audio control
Controller has two wires key1 and key2 and gnd the problem I'm having is grounding the audio controller do I ground it to factory harness gnd or android head unit gnd

Related

[Q] Has anyone managed to pair a Motorola keyboard with the HTC Flyer?

I tried pairing my Motorola bluetooth keyboard, designed ostensibly for the Xoom but actually functional with any computer, with my HTC Flyer.
A dialog prompting me to enter some numbers into the keyboard appears, then immediately disappears and is replaced by a Toast message. Both are visible in this screenshot, courtesy of the device's fancy pen screenshot thing:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Note that this dialog does not stay on the screen long enough to follow its instructions.)
Thoughts? Has anyone managed to get the Flyer to pair with a keyboard? If so, which one?
Aha. You have to convince it that you're pairing it with a desktop PC by holding down V, A, and R when you power it on. Unfortunately, this results in the android keys not working.
HELP ---- Can't get Xoom keyboard to work & Questions about BT Mouse...
Greetings!
I have the same keyboard and am unable to get it to work. I tried everything but the problem is that "code" to pair it only stays up for a second or two. I also tried hold down the V, A and R keys.
Is there another way?
Also, I was able to pair my Mac Mouse but it's too jumpy and I would love it if I could see a pointer on my screen. My friend as the BB Playbook and it plays very nicely with his BT keyboard and BT mouse. Even the Playbook shows a pointer on its screen when paired with a mouse.
Thanks so much for your help, Community
Fwiw I actually removed the batteries before holding down those keys while powering it on. I wanted to make sure it was really off.
THANK YOU!!!
kkinder,
Thank you so much!!! As you suggested, I removed the batteries, now my Motorola keyboard works great!!!
By pairing it this way, you mentioned this: You have to convince it that you're pairing it with a desktop PC by holding down V, A, and R when you power it on. Unfortunately, this results in the android keys not working.
What do you mean by this?
Thank you for this post!
I am loving my Flyer so far, just trying to tame my BT Mouse to play nice too!!!
Take care!
HeadhunterHarold said:
kkinder,
Thank you so much!!! As you suggested, I removed the batteries, now my Motorola keyboard works great!!!
By pairing it this way, you mentioned this: You have to convince it that you're pairing it with a desktop PC by holding down V, A, and R when you power it on. Unfortunately, this results in the android keys not working.
What do you mean by this?
Thank you for this post!
I am loving my Flyer so far, just trying to tame my BT Mouse to play nice too!!!
Take care!
Click to expand...
Click to collapse
No problem.
I mean that, for example, the back button on the keyboard doesn't work.
Samsung Tab bluetooth keyboard case works with HTC Flyer
Hi,
I'm new here. I signed up to share this piece of information with other Flyer users. I love my Flyer and have been looking for a case with an attached bluetooth keyboard that works with the Flyer. Finally ordered one that arrived today.
The verdict?
It works with the Flyer. When you first try to pair them (All Settings > Wireless and Networks > Bluetooth Settings), the Flyer will detect the keyboard. Go ahead and opt to pair them and the Flyer will prompt you with a dialog box to enter a PIN generated by the bluetooth keyboard. Problem is, the OK key on the dialog prompt is grayed out and it looks like you can't enter the PIN.
Just go ahead and type the PIN in using the bluetooth keyboard and then press the Enter key on the bluetooth keyboard. The two will be paired up and you only need to do this once. After that, every time the Flyer and the bluetooth keyboard are switched on, they will find each other without a hitch.
Btw the Samsung tab does not fit the Flyer perfectly. You need to cut out a small part so that you can see the menu buttons on the Flyer in horizontal mode. You also need to cut out a small part for the Flyer's front camera to be usable. Finally, widen the hole at the back of the case for the Flyer's camera.
All of these if done carefully will let the Samsung case retain it's handsome good looks. I got mine at Thinkgeek dot com for only $25 - on sale! If you look around at the various Samsung Tab bluetooth keyboard cases, most of them are actually made by the same manufacturer, just sold by different brands. Try not to pay too much for the same thing when another seller may have it on sale or offer it cheaper.

[Q] Phone -> Car Speaker "adapter"

Hi All,
My Peugot's built-in radio/CD player has broken, and I just want to interface my phone and the car's speakers. I understand I'll need some sort of amplifier at some point along the chain.
Apparently this is a strange request, but I want to listen to content off of my Atrix in my car through the car's speakers, and I would rather use the phone's excellent touch screen interface rather than a head unit with a load of crappy push buttons and knobs etc.
I could maybe cope with a volume knob... but that's not essential.
Basically, something like this but for non-iPhones and therefore not costing £200:
http://www.oxygenaudio.com/o-series/363-o-car.html
I had a look in Halfords and the conversation with the Sales Nerd went a bit like this when he showed me what he thought I wanted:
Me: What is it?
Sales Nerd: It's got a CD changer!
Me: A CD changer... a CD changer? I don't even own *a* CD, let alone many CD's that would necessitate an entire changer. What am I gonna do with a CD changer? Are you mental?
Click to expand...
Click to collapse
So, I don't own any CD's (nor - FSM forbid - any tapes), I don't carry small USB pendrives with MP3s on them around with me, I don't listen to radio, I do take all my media/GPS/calls through my phone: are there any "head units" with nothing but an amp and a 3.5mm jack input ("aux") or A2DP? Surely this should be cheaper for Kenwood etc. to make?
I remember this thread where the OP configured his jeep to use a Nook Color as a multimedia interface and used an active EQ connected to the amps.
craigbru said:
In addition to the Nook, I'm adding a Hifonics HFEQ. This will allow me fine control over the signal being sent to the amps. I can switch between inputs and use it as the main volume control.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
I hope this points you in the right direction. If it does, just remember the OP.
~Chef
at the mo i use the Moto cardock and a tape2phono adap to connect up in my van (Wires everywhere ). But amp could be pain in the butt if your not fond of wiring. For not much more money and probablly less hassel than that amp u can get a new headunit with builtin inputs Phono/usb/bluetooth that your phone could jack upto. My old Pug (306gti6) was Standard iso connectors so headunit would be straight swap. Also my old headunit had rear phono connector so all wiring was behind the dash and phone would charge via the dock,
If you wanted to be posh you can connect via bluetooth and control you phone via your headunit and you phone goes into the headunit. But never used this method yet.
caraudiosecurity.com/shop/product_list/c_path/9_1215/spd/mechless-car-stereos--no-cd-.html
Hope this helps a lil
You need a head unit that can stream music from your phone or media device via blue tooth or via USB connection

[Q] [REQ] Source for IME that has T9, or IME developer willing to do an enhancement

Introduction
I want to develop an input method for a Sharp 007SH, one of a family of Android phones released in Japan which has a 10-key numeric keypad, like classic phones (this is a clamshell form factor). The stock IME handles regular multi-tap English input but its mainly aimed at entering Japanese.
All the IMEs i have tried so far either ignore the keypresses coming from the keypad (resulting in a basic-multitap input method with no suggestions and many symbols unaccessible), or the ones that do cater for HW keyboards just output the numbers (which is technically correct).
Aim
I would like to map the numeric keypad to a T9 IME to allow T9 text editing from the keypad.
Method
I am considering writing my own T9 routine to add to an existing opensource keyboard (Any SoftKeyboard). However that will take more time as the first step would have to be to program a successful T9 implementation. However I would rather do the following:
Modify the source of an existing IME that handles both T9 input, and HW Keyboards (with suggestions). I believe it would be a simple mapping of the numeric keys to the T9 functions/routines
OR
Enlist the help of a kind developer who maintains such a keyboard IME, to enable T9 entry via the keypad. That would negate the need to give up your own source code, and of course i will be willing to do beta-testing, as well as purchase the resulting keyboard software (with an extra donation), and of course encourage all other 007SH/SH7218U users to purchase the software
Details
The API info (including keyboard scan codes etc) can be found here:
https://sh-dev.sharp.co.jp/android/modules/download/?/api_keycode
Unfortunately it is in Japanese and google doesnt seem to like translating it, but the main table looks like this:
Code:
007SH, 101SH, SH-02D, DM011SH, IS14SH
Hard key Keycode name Code
------------------------------------------------------------------------
Left Softkey (Email key/Emoji key) KEYCODE_SOFT_LEFT 1
Right softkey
(Browser key/Input mode selector) KEYCODE_SOFT_RIGHT 2
Up cursor key KEYCODE_DPAD_UP 19
Down cursor key KEYCODE_DPAD_DOWN 20
Left cursor key KEYCODE_DPAD_LEFT 21
Right cursor key KEYCODE_DPAD_RIGHT 22
Center cursor key KEYCODE_DPAD_CENTER 23
Call button KEYCODE_CALL 5
EndCall button
(longpress for power) KEYCODE_ENDCALL 6
10 key KEYCODE_0 to KEYCODE_9 7 to 16
* KEYCODE_STAR 17
# KEYCODE_POUND 18
If possible i would like to make use of the softkeys with the IME, similar to how Nokias do their T9.
Is there anyone who can help? Links to open-source or places to download IME source (which has T9) would be greatly appreciated
Nobody have any links to open-source T9 projects? Or are these all private?
DominikB,
Do you have any progress on yr keyboard?
2 All,
Anybody have seen keyboard that can handle numeric keypad input? I've recently bought Chinese dual-sim cell phone with numeric keypad (Halcyon H600), but I found that it's numeric keypad is only usable for entering number with dialpad, but it's not working for typing text in other apps (like sms or browser).
I'd also like to see further report and success, not only for the Sharp phone mentioned, or if not sharp's keyboard dumped and made to be used on this phone if at all possible:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This would be great phone for people who are afraid of smartphones and don't want all the buttons. Ebay has these phones for 80 to 97 bucks a pop. I'd get one for my mom if there was a better numeric key map for, as she hates phones with all kinds of buttons and gets lost on a totally touch phone with no buttons. But could see her getting a lot of use out of android smart app's, grocery, banking, perscription and et cetera app's.
Have ya tried getting it from the Nextel Motorolla i886?
It has a full QWERTY Keyboard but also has a numeric keypad.

i'm just gonna say it - the screen is too close to the buttons

does anyone else have issues with accidentally hitting the bottom buttons on this phone? it happens in a bunch of different apps, but the worst one is this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
my finger tends to hit the playback position bar while i'm attempting to hit the home button, and ends up seeking me to the middle of the track. this is infuriating, especially given that i tend to listen to 1+ hr long mixes.
there's no way to increase the border on the bottom of the screen or anything is there? i could also switch music players, but i'd rather find a workaround that improves the situation with all apps. any ideas?
galaxyzalaxy said:
does anyone else have issues with accidentally hitting the bottom buttons on this phone? it happens in a bunch of different apps, but the worst one is this:
my finger tends to hit the playback position bar while i'm attempting to hit the home button, and ends up seeking me to the middle of the track. this is infuriating, especially given that i tend to listen to 1+ hr long mixes.
there's no way to increase the border on the bottom of the screen or anything is there? i could also switch music players, but i'd rather find a workaround that improves the situation with all apps. any ideas?
Click to expand...
Click to collapse
I have not come across this issue yet. I normally use the music widget which takes up a fraction of the screen. And I tried using the full screen to check out the issue, but my lifeproof nuud case is the reasoning for making it difficult to hit the menu or back button. Because of the case it has kinda trained me to hit a smaller area when going for the buttons (menu, home, or back).
Please read forum rules before posting
Questions and help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
galaxyzalaxy said:
does anyone else have issues with accidentally hitting the bottom buttons on this phone? it happens in a bunch of different apps, but the worst one is this:
my finger tends to hit the playback position bar while i'm attempting to hit the home button, and ends up seeking me to the middle of the track. this is infuriating, especially given that i tend to listen to 1+ hr long mixes.
there's no way to increase the border on the bottom of the screen or anything is there? i could also switch music players, but i'd rather find a workaround that improves the situation with all apps. any ideas?
Click to expand...
Click to collapse
%100 agree with you. It happens to me all the time with different apps. I, personally, start feeling that on screen button better that physical buttons.
<--------------- coming from Nexus phone
I think it's only really noticeable with thicker cases really, when I'm using my Seidio Active case it will nudge my thumb up into the screen every once in a while if I'm not paying attention because of that lip around the phone, whereas if I'm using my Spigen Slim Armor case I don't have that problem because of how ultra thin the lip is. The only thing I can think of that would help you out would be to use a custom rom with the ability to enable on-screen buttons like CM10.2 or something. Of course you'd lose screen real estate that way, but you wouldn't have to use the home button or soft keys anymore to get around. I am also hoping that Samsung will eventually ditch all physical and soft keys entirely and go with all on-screen controls like the Nexus. I'm pretty sure they won't though, they're as stubborn as Apple is.

MDU display, possible to change what is displayed?

Hi Guys
does anyone know a way to change what appears on the upper display on the attached pic? there has to be some app that sends information to the canbus and then displays
some cars have these displays some dont
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Help us much appreciated!
Thanks
Dan
I think that has to do with the can bus decoder from your navi. I own a Vw-group car and cannot see anymore the song names / radio station names in the "red screen" (fis) of my car.
I think more/less info can be seen depending on what car you have. No additional application to solve this, afaik
Its handled by the MCU which interfaces with the CAN Bus system, but support is very limited, you have a Mazda 3 ? Not sure its supported.
yeah have a mazda 6 2009, hmm wish there was a way
Have you tried all CAN Bus options in factory settings ? Including non mazda ones ?
you mean the different vehicles manufacturers?, i have tried all the ones with mazda but then there is no where to modify what comes on the MDU
I know, I was just suggesting you try them all in case one worked better. You could try and modify the app somehow so it shows something different, but that would require some coding knowledge, theres more info in the original thread about which app and stuff (its the same app for all cars and it appears or disappears depending on what vehicle manufactuer you have chosen in factory settings/CAN Bus) and youd have to spend some time searching the thread to find it.
ive tried decompliling the radio apk and looking into it but cannot find anything
I guess youd have to know what code to look for and what code the car uses as well.
do you know anyone who could have a look?
Not really, you could try other XDA members in the MTCB section, like @agentdr8. Try googling it, I ve deffo seen something on youtube about setting the clock on the Mazda 3 with MTCB headunits.
I had an EONON radio in my mazda 3 2008 it had an canbus interface, and the mdu display got new text modes messages beceause of that ?? cant recall where i saw the mdu protocol decoded and explained.
coromonadalix said:
I had an EONON radio in my mazda 3 2008 it had an canbus interface, and the mdu display got new text modes messages beceause of that ?? cant recall where i saw the mdu protocol decoded and explained.
Click to expand...
Click to collapse
There are no EONON radios, EONON are only sellers, what unit was it ?
You mean MCU protocol or CAN Bus protocol for Mazda 3 ? I think you mean MCU protocol - its been decoded and was posted on XDA a few years back.
​it was the d5151 i think, it was an windows ce based radio, it had the canbus adapter option, and a direct fit to the mazda dash, the only problem was the bottom snaps were not strong enough to retain the radio firmly to the dash center panel, when hitting road bumps, the radio simply unsnap himself, there was only 2 top screws ???
It added new displayed settings in the mazda car display. But i sold the car 1 month later, have'nt tried all the options.
coromonadalix said:
​it was the d5151 i think, it was an windows ce based radio, it had the canbus adapter option, and a direct fit to the mazda dash, the only problem was the bottom snaps were not strong enough to retain the radio firmly to the dash center panel, when hitting road bumps, the radio simply unsnap himself, there was only 2 top screws ???
It added new displayed settings in the mazda car display. But i sold the car 1 month later, have'nt tried all the options.
Click to expand...
Click to collapse
Right, I see what you mean. Sounds like having one would be useful to see how the code works.
here for a start, just found out :
http://www.rx8club.com/series-i-tec...st-can-gauge-ever-oem-red-lcd-display-195323/
http://www.rx8club.com/series-i-int...-24/modding-oem-lcd-display-act-gauge-185320/
https://www.diyautotune.com/support/tech/other/displays-data/
http://www.aapexshow.com/2014/Custom/Handout/Speaker0_Session572_1.pdf
this one explain the protocol
http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/
have fun reading
Does your head unit have a two-way CAN bus? This would be the +/- CAN wires going into the actual unit as opposed to just the decoder module. If it's like the CAN SWC, it may need these to send data to the vehicle. Of course, this is assuming the radio app even communicates song info to the CAN app, which I would be surprised if it did.

Categories

Resources