I think I'm going to re-engineer the LBB

  • 100 Replies
  • 3298 Views
*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #45 on: April 02, 2016, 09:53:00 AM »
Okay so now a diode does work, lol and a PNP transistor. Go figure. On the fence about which one to use.

What's interesting is I had always thought RX was pulled down, and TX went high for serial communication ?

Arduino RX o---->|--o BT TX

Which I guess the more I think about it, is why the PNP works.. and the NPN doesn't LOL
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #46 on: April 02, 2016, 01:17:12 PM »
Going to be able to reprogram the BT module.. change master / slave / pin anything etc... took a bit to write that up.. LOL
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 995
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #47 on: April 02, 2016, 01:25:49 PM »
I don't have anything I'd connect it to.

I'm still with 1.6.7 as well I think.. It does all I need, I don't see a reason to mess with what works... Besides, I use Atmel Studio since Arduino IDE is far too primitive... I like autocomplete and member function suggestions
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #48 on: April 02, 2016, 06:45:16 PM »
Well everything is finished. Time to get the bom and get quotes.

Bluetooth is going to be pretty nice
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #49 on: April 06, 2016, 05:22:11 PM »
Well rats, the HC-05 isn't compatible with iOS... so I'm working on getting a HM-10 asap.. at least the pin footprint is the same, just the location of pins is different... aaaaaarrrrrrggggggghhhhhhhhh
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 995
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #50 on: April 06, 2016, 10:31:33 PM »
Get an android phone if iOS is the problem :P
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline me78569

  • Sr. Member
  • ****
  • 274
Re: I think I'm going to re-engineer the LBB
« Reply #51 on: April 07, 2016, 08:31:03 AM »
Agreed
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #52 on: April 07, 2016, 08:41:16 AM »
What do you think I own ? lol

I don't want to put a pinch on potential customers though.
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 995
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #53 on: April 07, 2016, 08:51:23 PM »
haha...

Gotta say, kinda funny that iOS wouldn't work though.
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #54 on: April 07, 2016, 10:05:58 PM »
Because it doesn't support BLE, which is the first thing I'll turn off on the HM-10 anyways LOL
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #55 on: April 09, 2016, 01:36:54 PM »
Alright well with much fooling around I'm at a standstill.

I can make the thing work with the HC-05 leave it for users to re-program the unit, etc etc etc. Then you have a basic SPP over bluetooth. You can program via Arduino IDE over the bluetooth com port.. no issues.. 100% awesome. But no iOS.


OR an HM-10 that is BLE, which can only communicate via GATT basically (there is no serial port). You can pair to Android/iOS no issue, even to Windows... but there's no specific serial communication. It's a make your own kind of thing. There's a a guy that can program Arduino IDE over iOS through some very wonky setup.

Basically software reads his computer files, then iOS uploads that over to the BLE device and you can actually program an Arduino that way...


What I really need is some kind of magic VCP for GATT to make that work on windows. So you get a serial port, when you connect it does the BLE thing... then you can do everything............

However the protocol IMHO pretty much sucks butt. 10bytes at a time, 100kbps bandwidth...


I think I'm just going to leave the HC-05 on it and call it a day.. and tell iOS that it needs to get its shit together.



I wouldn't mind BLE if I could figure out a way to program through my damn Arduino interface but I can't find a magic VCP for gatt and I don't want to go through the trouble of making something. I just want it to work and I really don't want to make a custom iOS / Android app that is limited to what it can program via bluetooth just for the sake of adding iOS support.
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 995
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #56 on: April 09, 2016, 02:42:25 PM »
That's the spirit.. LOL

I've been doing a lot of thinking in the last while about how to do things.. It's one of my big problems, I like things to have too many features right from the start, and get bogged down with it... On the other hand I don't want to have to recode *everything* because of one stupid thing that needs to be implemented.
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #57 on: April 09, 2016, 02:50:30 PM »
It wouldn't be an issue if I wanted to close off development down to just myself... then the specific code would have to be uploaded via USB.. call it firmware at that point. Then the app on your phone / tablet updates variables.. that the firmware sets up...

Can't really.. do your own thing..

I don't really want that at all. What if someone wants to make some cool LCD display or integration.. etc
I want to be responsible for as little as possible.


I am going to toss the paired LED onto ADC5, so the Arduino can know if its connected via bluetooth. Can't really tell if its connected by USB since it would be installed to the car... and you can't tell 5v vs 12v without a diode blah blah blah setup on the whole arduino thing, and I really am just getting tired breading this thing out LOL.
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.


*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 995
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #58 on: April 10, 2016, 02:13:11 PM »
You have more patience than I!... I do know how frustrating some of this stuff can be.. I had just experienced it with the Max31856 boards... Something as stupid as not setting ALL the cable selects to HIGH causes uninitialized devices to respond, gibbling up all your data
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 695
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #59 on: April 10, 2016, 02:40:07 PM »
Uhg right ? now to see some assembled prices, they don't look too bad per unit. Some certainly WAY more than others but it makes me question the quality of the ultra cheap guys.
AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.