Skip to main content
Topic: Poor Man's Silverleaf (Read 2145 times) previous topic - next topic

Re: Poor Man's Silverleaf

Reply #25
Jim, can you provide the Java app as an installable .apk file?  I have some learning to do on the software end, and could use a kickstart.
Tom Lang K6PG (originally  KC6UEC)
and Diane Lang
2003 38 U295 build 6209
2016 Jeep Grand Cherokee Summit Ecodiesel
still have tow-ready 2006 Acura MDX 
Temple City, California
Motorcade 16681 California Chapter President
SKP 16663 member of SKP Park of the Sierra, Coarsegold California
FMCA F071251
Retired electrical and electronic engineer

Re: Poor Man's Silverleaf

Reply #26
Wow, I am absolutely going to build this.  I can code Android and iOS apps to display data as well and I too have an unused android tablet itching to do something ;)

Re: Poor Man's Silverleaf

Reply #27
I may give it a go. Have to make some use of my engineering degrees in retirement. Or not.

If successful, I might fabricate a few pcb's and give these away to my friends.

If you use itead (I think) ITead Intelligent Systems Blog | ITead Intelligent Systems Blog they give you 10 boards every run.  I'd happily buy a board from you.


Re: Poor Man's Silverleaf

Reply #28
Tom,

No, I don't have a distributable .APK.  The current version of the code requires you to hard-wire the MAC address of the Bluetooth module.  If you email me the MAC address of the HC-06 you have, then I'll make you an .APK.

I'll look into fixing the app so it does not have this restriction, but am traveling for a while.

You can do a lot of investigating using any simple terminal emulator program such as Putty, Termite, etc.  Just build the circuit and power it up, pair your pc to it and investigate away.  You will need to know how to interpret HEX and understand about little-endian byte protocol.

Jim
Jim McNeece
2003 U320 40'
2017 Chevy Colorado Tow

Re: Poor Man's Silverleaf

Reply #29
Tom,

No, I don't have a distributable .APK.  The current version of the code requires you to hard-wire the MAC address of the Bluetooth module.  If you email me the MAC address of the HC-06 you have, then I'll make you an .APK.

I'll look into fixing the app so it does not have this restriction, but am traveling for a while.

You can do a lot of investigating using any simple terminal emulator program such as Putty, Termite, etc.  Just build the circuit and power it up, pair your pc to it and investigate away.  You will need to know how to interpret HEX and understand about little-endian byte protocol.

Jim

Excellent.  Thank you.

I'll let you know the Mac address,  but I need to buy the module first.

Tom
Tom Lang K6PG (originally  KC6UEC)
and Diane Lang
2003 38 U295 build 6209
2016 Jeep Grand Cherokee Summit Ecodiesel
still have tow-ready 2006 Acura MDX 
Temple City, California
Motorcade 16681 California Chapter President
SKP 16663 member of SKP Park of the Sierra, Coarsegold California
FMCA F071251
Retired electrical and electronic engineer

Re: Poor Man's Silverleaf

Reply #30
I think you need some resistors with the diodes to keep from burning them out.

Jim McNeece
2003 U320 40'
2017 Chevy Colorado Tow

Re: Poor Man's Silverleaf

Reply #31
And the leftmost diode will never conduct,  in series with a capacitor.
Tom Lang K6PG (originally  KC6UEC)
and Diane Lang
2003 38 U295 build 6209
2016 Jeep Grand Cherokee Summit Ecodiesel
still have tow-ready 2006 Acura MDX 
Temple City, California
Motorcade 16681 California Chapter President
SKP 16663 member of SKP Park of the Sierra, Coarsegold California
FMCA F071251
Retired electrical and electronic engineer

Re: Poor Man's Silverleaf

Reply #32
Tom,

No, I don't have a distributable .APK.  The current version of the code requires you to hard-wire the MAC address of the Bluetooth module.  If you email me the MAC address of the HC-06 you have, then I'll make you an .APK.

I'll look into fixing the app so it does not have this restriction, but am traveling for a while.

You can do a lot of investigating using any simple terminal emulator program such as Putty, Termite, etc.  Just build the circuit and power it up, pair your pc to it and investigate away.  You will need to know how to interpret HEX and understand about little-endian byte protocol.

Jim

I have the HC-06 on order.  Will the MAC address come on a printed paper or do I need to query the HC-06?

thanks,  Tom
Tom Lang K6PG (originally  KC6UEC)
and Diane Lang
2003 38 U295 build 6209
2016 Jeep Grand Cherokee Summit Ecodiesel
still have tow-ready 2006 Acura MDX 
Temple City, California
Motorcade 16681 California Chapter President
SKP 16663 member of SKP Park of the Sierra, Coarsegold California
FMCA F071251
Retired electrical and electronic engineer

Re: Poor Man's Silverleaf

Reply #33
Tom,

When you pair it, it will tell you it's MAC address.

Jim
Jim McNeece
2003 U320 40'
2017 Chevy Colorado Tow

Re: Poor Man's Silverleaf

Reply #34
This schematic from the ELM325 handbook is for all intents and purposes the one we need for our bluetooth circuit.  The only change being substituting the HC-06 bluetooth module for the FTDI USB module.  They both have the same pins to connect.

I am in the process of ordering parts, and will breadboard the circuit before committing to a PCB.  When I get my coach back from the shop in a couple of weeks, I will look at the Deutsch connectors (coach and VMSpc) and see exactly what is needed.  The docs are ambiguous as to the contacts being size 12 or 16, and don't say if I need pins or sockets.

My plan is to carefully layout holes in the PCB for the four contacts, and just plug the finished PCB into the socket rather than buying the expensive and not needed shell.  I can use the other contact positions and perhaps incorporate nylon screws to lock the PCB into position, or failing that, velcro.
Tom Lang K6PG (originally  KC6UEC)
and Diane Lang
2003 38 U295 build 6209
2016 Jeep Grand Cherokee Summit Ecodiesel
still have tow-ready 2006 Acura MDX 
Temple City, California
Motorcade 16681 California Chapter President
SKP 16663 member of SKP Park of the Sierra, Coarsegold California
FMCA F071251
Retired electrical and electronic engineer

Re: Poor Man's Silverleaf

Reply #35
It is suggested that I can use a normal ELM327 OBDII scanner with J1939 which I suppose my motorhome supports due to the 9 pin connector.  Both of my ELM327 are cheap chinese clones so that functionality may not be there but it's free to try assuming I can find an obdii connector to pillage.

Re: Poor Man's Silverleaf

Reply #36
Yes, a genuine ELM327 will support J1939; however, it is hit-or-miss if a knock-off will.

I have used an STN1110 (a device similar to an ELM327) to communicate with my coach's J1939 (there are no STN1110 knock-offs).  While I could communicate with the engine, I found that my year model transmission does not use J1939, it only uses J1587.  That is the reason I changed to the ELM325 which supports J1708/J1587.

Apparently Allison has changed their minds a couple of times about which bus to support.  The dates for the different bus supports are (from a Silverleaf forum post):

      Prior to 2005 all 3000/4000 series transmissions used J1587.
      2005-2007 all 3000/4000 series used J1939 only
      In 2008 Allison added back the J1587 (not clear if it supports both or just the J1587)

So, if you are planning on trying J1939 with a coach prior to year 2005, you will have no luck communicating with the transmission.  You can talk to the engine, however.



Jim McNeece
2003 U320 40'
2017 Chevy Colorado Tow

Re: Poor Man's Silverleaf

Reply #37
My primary interest is the engine.  I want to see boost pressure and a digital oil pressure read out so I can keep track of any developing issues.  I could get a scan gauge D but that's no fun ;)

 

Re: Poor Man's Silverleaf

Reply #38
Give one of the knock-offs a try.  All you need is to connect it to the J1939 bus and use any terminal emulator program such as Microsoft Hyperterm, Putty, Termite, etc.  This will tell you if the knock-off can talk to the J1939.  If so, then the sky is the limit (for the engine, that is).  You can write a Visual Basic app for the PC or an Android app for a tablet.  I'll be glad to send you my Android Java code.

If you want, I can give you the set of terminal emulator commands that will read the two items you are interested in and describe how to interpret the output.

Jim
Jim McNeece
2003 U320 40'
2017 Chevy Colorado Tow