Lil' Blackbox

General => Hardware => Topic started by: hakcenter on February 08, 2016, 08:19:00 AM

Title: I think I'm going to re-engineer the LBB
Post by: hakcenter on February 08, 2016, 08:19:00 AM
I've been thinking to myself why don't I just go ahead and toss the processor on a board and do what I want, but load the arduino bootloader on it ?

I'm in the process of hunting down a box from polycase, probably won't make it water-proof the first go around and max it out. Maybe engineer another one to fit into a larger box, water-proof, with the arduino header still there to use other shields and what not.

Thoughts ?
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on February 08, 2016, 10:06:21 AM
Go with the ATmega 2560 processor perhaps?

I do think it would be nice to have at least the VR sense chip and CAN bus on the same board as the processor, which would make it possible to have a 'breakout board' sitting on top with no chips, but perhaps a few voltage dividers, current limiters and output drivers.

But if you're going through the trouble, why not go with a whole other processor that's still Arduino capable?  Just one of a million would be the Intel Edison chipset, or an ARM processor

Of course all this will add to the cost... I was thinking of making a breakout board for the Arduino Mega so it would be easier to connect everything to rather than re-engineer the base board to fit my needs.. I think I came up with a $200 bill for a 4x6" dual sided board when I got 4 printed at once... then come the rest of the components
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on February 09, 2016, 01:04:07 AM
Cost is a really limiting factor
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on February 09, 2016, 01:15:34 AM
For myself, I'd be happy if it was just a breakout board that suited the extra IO (at least some) of the Mega 2560.. I'm using a fair bit of them, and with no decent headers for them it is a little bit haywire in there... especially when I need pullup resistors on the analog IO's for temperature sensors.

Looking into the SPI quad thermocouple board on fleabay for compressor, intake, and EGT.. a bit of money with my crap exchange rate but would simplify a lot of stuff.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on February 16, 2016, 01:38:52 PM
Design constraints!

4.0" x 3.2" for free Eagle PCB (no big deal I guess, since the actually buying it is $70, then $600 LOL)

Then it has to fit in QS50 from Polycase, QS-50 QS Series Handheld Electronic Enclosure with curved hand grips (http://www.polycase.com/qs-50#)

The dashed line on the left, is the outer edge of the QS50, so it looks like the header will work within the box.

I might have to ditch the shield header design layout wise, to make it all fit. There's only 0.780" of space in there anyways... a shield may never fit. Pretty sure an Arduino is 0.60" by itself.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on February 16, 2016, 05:28:44 PM
Is that box long enough for the Mega?  looks pretty tight.  Height is tight too... might have to bottom mount some stuff? 

Personally I like to have ample room to work with.. I made a big enclosure.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on February 16, 2016, 06:33:01 PM
Polycase is the only company I know who does tooling on their products
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on February 16, 2016, 10:04:23 PM
repurpose your arduino.. make a  3d printer and make your own :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on February 20, 2016, 01:07:32 PM
Looks like everything is going to fit, even a bluetooth module. Programming via bluetooth will be possible as well.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on February 20, 2016, 06:34:06 PM
One additional thing I'd like to see is a 20-5V step down connected to an analog input to monitor battery voltage..
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on February 29, 2016, 08:32:00 AM
So here's my final layout... too bad my pc broke for a week

I've added jumpers to the perf/cruise/brake io's at the top right in case you want to reassign the pins, and remove the 10k pullups (ya ya I know the arduino can do its own pullup but I don't see a reason to be reliant on that)

Bottom right is the bluetooth, very common HC-05, with a jumper for the 3.3v rail for programming it


Thoughts ? Board is almost outa room
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on February 29, 2016, 11:43:34 AM
I don't see where the headers connect... is it just me?

I would really like to see at least some through-holes for the A6 and A7 on the mega, since it's pretty much impossible to hook anything onto them with most shields there.. That way you or anyone else could make a shield that is specifically for the extra IO's on the Mega...

And BTW. you got TONS of room left.  Have you got an interrupt enabled IO broken out for engine RPM sense? (D2, D3)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 02, 2016, 08:11:32 AM
Are you counting engine rpm right now ? I thought you were just square waving it on a spare d_io ? Do you need an interrupt pin ?

I had to abandon the headers to make room for the bluetooth and pin headers, a stacked header won't fit in the case I'm trying to put this in anyways. But I already have decided on making a lil and big bb ;-)
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 02, 2016, 09:57:55 AM
For engine RPM I would need an externally accessible interrupt pin, and I use one for the turbine shaft speed as well rather than Freqmeasure... The ISR's are very short, they're just an incrementer, so it's just i++;, and the speed calculation is done elsewhere

I take the tach signal from the Engine ECU, which is a nicely formatted square wave of 5V already, so it doesn't need any filtering.. I was contemplating adding vehicle speed sensing as well, just haven't gotten to it yet, I'm not sure if there's a preconditioned signal for me to tap into or if I have to do the filtering.. the VSS gets 8V power (weird, yeah), and I haven't checked to see what the peak voltage is from it.. perhaps just a step-down resistor bridge would be sufficient.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 03, 2016, 07:57:41 AM
Using attachInterrupt() ?
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 03, 2016, 09:58:23 AM
yes...

The basic code is

volatile unsigned byte RPMcounter;
unsigned int RPM;

setup(){
attachInterrupt(digitalPinToInterrupt(2), RpmISR());
}
void RpmISR(){
RPMcounter++;
}
void Timer2routine(){
//fires every 20-50ms and recalculates the position
  calculateRPM();
}
void calculateRPM(){
//do the work here to calculate the RPM.. take the timer interval, figure out how many revs have happened since the last one
}
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 03, 2016, 10:01:14 AM
I'm posting my current code in my life, my coding thread for the nitty gritty stuff.. there'll be a lot of things unfamiliar to you, I definitely go about my controls differently than you do.. I have a TPS which makes a big difference.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 03, 2016, 12:10:35 PM
You miss understand what I'm asking. I'm engineering the board... So I need to know if I should connect the spare pin to one of the int pins etc..

Looks like that is a yes.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 03, 2016, 02:14:05 PM
Yes :).  For my purposes, I re-routed pin 8 (freqmeasure pin) to pin 2 and removed that pullup resistor.  No changes are needed there, it's pretty simple to do with a jumper wire.

If you have any other spare pins, I'd suggest hooking a PWM capable output to a MOSFET as a sinking output so you can control at least one solenoid or such what this guy made  MOSFET Breakout Board Module Switch Relay 15A 60V 4 Outputs for Arduino RPI | eBay  (http://www.ebay.com/itm/301575487589)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 03, 2016, 06:21:32 PM
More than what's on the board will have to be for later. I can't add more pins to the header without moving it for more room, then it won't be on the same side with the USB which I'm not okay with lol.

A big black box, definitely but I'm not there yet

But definitely moved the spare pin to D2 (int 0)
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 03, 2016, 06:36:48 PM
I was wondering also what you're using the 4th analog input for on the header... I haven't made any decisions or deep philosophical thought on it yet, but I was thinking of putting a 20V->5V analog stepdown in there somewhere.. perhaps on a micro-pot to sense battery or other voltages.
I'm just kinda thinking out loud
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 14, 2016, 09:49:26 PM
Finally finished up today, got my project done on Mouser, price isn't bad at all. Hoping to send some BOMs around and see who can manufacture this for a decent price that won't bankrupt me.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 15, 2016, 10:13:13 AM
Cool!  I think I'll be good with the one I have for a while though
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 15, 2016, 10:48:45 AM
Lol, it needs to be in a box. I'm sure once it's a complete product it'll gain more interest. I need to find a wire manufacturer to make the main header connection... *rolls eyes* that's been the bane of my existence.
Title: Re: I think I'm going to re-engineer the LBB
Post by: me78569 on March 15, 2016, 11:23:03 AM
all I can say is, don't us PKC out of San jose,  they have been a nightmare to deal with on another project of mine.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 15, 2016, 11:33:33 AM
I just had a thought... I should probably make canH and canL reversable on the board...
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 15, 2016, 01:46:05 PM
The Megasquirt I used had a 25 pin D sub connector.. For most things (signals, not high power) that would be plenty, and then you could just have a 2 row header with a ribbon cable to connect to it..  would make mounting in the box a little simpler, and be easy to disconnect if you needed to.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 15, 2016, 01:46:39 PM
Repurpose an old printer cable :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 15, 2016, 03:00:37 PM
Dsub is waaay too big for what I needed. I could drop down to a VGA-15 but then again not in the wire gauges I would want this thing in.

I have hope I'll find someone, there's got to be a company, you know like those guys that do radios... etc
The parrot bluetooth I got, used a very similar header, with custom colors and tags on the wires.. just need to know who made that! haha

Added a switch, +50cents, but worth just opening the box, and switching CANH and CANL than maybe getting screwed putting the wires wrong on the other end.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 15, 2016, 03:48:16 PM
If you have a switch, it means you have a 50% chance of getting it right... Murphys law say's you'll NEVER get it right the first time though :)
What gauge wire are you thinking of?

How about no header, just wires with a weathertight or other connector?  Just giving ideas.  I know Mouser has some VERY expensive connectors!
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 15, 2016, 03:59:55 PM
Might start here http://www.fit-foxconn.com
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 15, 2016, 05:50:04 PM
It's going in a box, and it already has a USB opening on the side, just going to go with the same header, it seems solid. Just finding a guy that'll put the pins and wires together in colors is my deal. I'm thinking 16-20awg, would have to look at what I have. I'm using 22 for my triggers.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 15, 2016, 06:10:23 PM
For everything except the VGT power supply 20-22ga is plenty.. I use some 30 gauge for my sensors, it's nice and flexible
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 21, 2016, 01:40:42 PM
Box design fits! Outer constraints were difficult to math up. So the dashed lines should be inner and outer wall. Looks like I was right!

Now to build one and measure out cutouts for polycase
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 30, 2016, 01:44:31 PM
Getting stuck on having USB and Bluetooth for communication.

Argh
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 31, 2016, 02:09:35 AM
I'm battling rewriting the MAX31856 library to do things the way I want them done...

Another Argh!
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on March 31, 2016, 12:55:00 PM
OMFG finally today... I've got it emulating USB connection behavior. On connection, Arduino resets. Doesn't stay reset, which is good LOL. Doesn't reset on disconnection.

So you can be programming, lalala, hit upload, arduino resets, bootloader absorbs new code (honestly quite a bit slower than via USB) then off it goes doing whatever you told it to do.

2 resistors a capacitor and transistor later... haha

I can't begin to explain why this shit is wrong, DIY Arduino Bluetooth Programming Shield | Make: DIY Projects and Ideas for Makers (http://makezine.com/projects/diy-arduino-bluetooth-programming-shield/)
It works... on DISCONNECTION. P32 stays LOW on no paired device, goes HIGH when paired. When you want to upload code.. even if you're connected via Serial output on IDE... the module never gets unpaired. It certainly can't unpair if it hasn't been connected to to upload code.. like if you're coding and not watching the screen.

Long story short, that does not work AT ALL.

The circuit I made is really really simple. Took forever to figure out I needed to bleed down the timing capacitor lolol.. it is always the simple things that evade me.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on March 31, 2016, 08:25:55 PM
Is this via BT?
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 01, 2016, 08:00:54 AM
Yeah.

Last thing to work out is a switch setup for the rx pin. Can't have bluetooth connected if you want to upload sketches via USB.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 01, 2016, 08:41:51 AM
Less wires is always good!
you need those micro toggles I got on Amazon :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 01, 2016, 08:54:29 AM
Gotta be on board, and I don't necessarily have a ton of room. I'm going to see if I can fit a jumper, and have it interrupt the 3v3 rail, which would also hopefully drive a transistor for the RX pin.

Even if the module is not powered, but still connected to the RX/TX it interferes with USB programming

... OR I could just use a transitor, TX bt_module to base, and RX arduino on emitter...
Seemed to just work.

I'll keep playing with it all day but I'm sure that'll do it
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 01, 2016, 01:46:11 PM
Could you perhaps use a resistor?.. one that's weak enough to allow the USB side to program, but strong enough to allow the BT side as well?  Might need one on both feeds?

Just a thought
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 01, 2016, 04:25:53 PM
I've tried all sorts of stuff any impedance throws errors but it still programs. Want it to be clean
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 01, 2016, 11:03:56 PM
Diodes ought to do it.. might need a germanium signal diode though.. one on each leg... well.. it depends on if the BT module is holding it's ouput high or low I guess.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 02, 2016, 12:26:20 AM
Also apparently don't update to IDE 1.6.8, so much grief with out of sync errors, going back to 1.6.7 and no issue... ARRRRRRRGH

I have TX pin direct, NO issue with that. RX can't have anything at all, or it really gets finicky. Try it out yourself, its weird
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 06, 2016, 10:31:33 PM
Get an android phone if iOS is the problem :P
Title: Re: I think I'm going to re-engineer the LBB
Post by: me78569 on April 07, 2016, 08:31:03 AM
Agreed
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 07, 2016, 08:51:23 PM
haha...

Gotta say, kinda funny that iOS wouldn't work though.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man 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.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man 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
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter 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.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 18, 2016, 09:25:57 AM
Found a wire cable assembly guy  :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 18, 2016, 10:59:23 AM
Good :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 18, 2016, 08:52:28 PM
And stickers already, LOL
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 19, 2016, 10:24:05 AM
friend of mine (with my old Rx7) has a plotter I could use, I'd just have to get the supplies and do a design
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 20, 2016, 06:40:06 AM
Well a couple bucks on stickers is better than $8 per unit printing from polycase
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 20, 2016, 10:55:05 AM
What kind of stickers are you thinking of?  Just something that says "Lil black box, www.lilbb.com" or something?  Perhaps you can get something printed up at Office Depot, Staples, etc on Avery paper labels.. probably cost you $5 for a stack of them
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 20, 2016, 08:28:00 PM
I did vista print, super easy. I'll do vinyl later xD
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on April 21, 2016, 11:01:44 AM
That should work :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on April 23, 2016, 03:38:37 PM
Paid PCB assembly today, hopefully I see the units within 3 weeks.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on May 07, 2016, 07:44:58 PM
Got the wires, man they look great. Getting super stoked about this whole thing

Updated wiki to add wire color, need to add a harness purchase on the site now ^_~
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on May 08, 2016, 12:01:49 AM
I'm sure that would make the installs a lot more straight forward
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on May 17, 2016, 05:39:11 PM
Well I got my boards in, and they look fabulous. Except the missing component ... I didn't notice that they removed an item from the BOM for whatever reason.. guess I'll find out later tonight since the offset in time.

And eagle basically f'd me on a transistor. Apparently it placed a SOT23 in EBC, which is totally the wrong damn footprint, its supposed to be BEC / 1-base, 2-emitter, 3-collector. Guess I should have actually looked over this stuff. I can de-solder it and mount it upside down since the pins come out the middle anyways.. but DAMN.

Bluetooth is working. I need to find a better diode, the one I picked out I guess has too much forward voltage or some crap, cause I can't communicate without jumping it out, and yes it is in the right direction :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on May 17, 2016, 08:58:45 PM
Try an germanium diode.. small Vf and good for low current.. Perhaps a Shottky would work as well

For the transistor, can you get the one with the right footprint instead?
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on May 18, 2016, 01:16:43 PM
Nah no one sells reverse sot23 anymore. I'll just update the board design. It's not the end of the world, it isn't difficult to de-solder the transistor and flip it upside down.. already did one and checked bluetooth and it's working as intended.

The diode is 1206, so I'll just buy a few different types until I find one that works lol.
Title: Re: I think I'm going to re-engineer the LBB
Post by: 65fpvmustang on May 19, 2016, 10:31:07 AM
I'll do vinyl stickers for you. been running a Roland color camm at work.
I'm going to do some some magnetic backed ones for the wife in the next few weeks.
Be happy to do some for you as a way of saying thank you.
Title: Re: I think I'm going to re-engineer the LBB
Post by: 65fpvmustang on May 19, 2016, 05:58:55 PM
not sure what font you used.
also feel like there is to much blank space under writing.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on May 19, 2016, 06:29:05 PM
That was just showing a basic cartoony I did. I've got stickers to go on the boxes. Just some basic art.

I'm into the box more than the turbo IMHO.
Title: Re: I think I'm going to re-engineer the LBB
Post by: 65fpvmustang on May 20, 2016, 09:15:36 AM
now that looks nice
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on May 20, 2016, 07:56:30 PM
That looks pretty professional!
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 03, 2016, 07:52:11 PM
So I got the 16u2's soldered on now, back from the homies... and I can't get USB communication to work. Loaded the arduino firmware on it, no problem through flip. Can't seem to get the communication from the 328 to the 16u2 to work at all and I don't know why.

I can see data in the USB communication, it's just all wrong, seems like the baud is set wrong or maybe there's more to loading the firmware.. maybe fuses ? fuck argh

And I stripped the ISCP connection points lmfao, talk about shooting myself in the foot. I wonder if there's an external socket I can put over the chip lmfao
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 03, 2016, 09:58:57 PM
Ya it's communicating at x8 baud rate on the USB side, lmfao ARRRRGH
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 04, 2016, 10:23:30 AM
And 4 hours worth of fiddling around with compiling my own firmware... got it working properly... /wow

Now to figure out this diode thing...
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 04, 2016, 11:39:12 AM
Annnd.. no issue with the diode now that it has the 16u2 on the board... /wow

Okay so.. going to go use the mill and put mine in a box and take some pictars
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 04, 2016, 12:06:07 PM
Das a working 2.0
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on June 04, 2016, 01:35:36 PM
Cool.. sounds like you had your share of frustrations... Does it have additional pinouts? seems like there ought to be some more available
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 04, 2016, 02:59:46 PM
No this is the little one. Since I know what to do I'm on the fence about adding the icsp for 16u2, doesn't seem necessary since the firmware I made works.

Need to put it in my truck for a month and see if there's any issues.

Bluetooth is great though. Omg program from my air conditioned house haha
Title: Re: I think I'm going to re-engineer the LBB
Post by: om606w201 on June 06, 2016, 06:40:23 PM
Is the Bluetooth working for iOS?
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on June 07, 2016, 09:26:17 AM
Not for mobile iOS. Haven't tried on a MacBook.

The whole BLE requirement is bull crap. It won't work with arduino idea, and I'm not going to take the time to make a driver that'll never be whql for Windows just to get it to work.

So pass. If someone wants to de-solder the hc-05 and put a different unit on they are welcome to try stuff out. But make sure the pinouts are the same or make a conversion board.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on July 10, 2016, 11:37:38 PM
I've been just absolutely swamped with work. Lighting a 400'x400' warehouse @ 25ft on center grid is just uhg. Especially when the plant across the way say, oh we need to pull xyz out and put abc in. Had to work saturday... just so they can run a new product.

I've got 3, 2.0's sitting on my desk collecting dust, maybe I should send one in to polycase and just take the fee :*(
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on July 12, 2016, 04:25:29 PM
Quote from: hakcenter on June 04, 2016, 02:59:46 PM
No this is the little one. Since I know what to do I'm on the fence about adding the icsp for 16u2, doesn't seem necessary since the firmware I made works.

Need to put it in my truck for a month and see if there's any issues.

Bluetooth is great though. Omg program from my air conditioned house haha
I do that too.. I put the laptop in the truck and remote desktop over wifi to it. :)
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on August 07, 2016, 08:57:49 PM
Looks like polycase is going to be making these enclosures soon. I've got some more test code to go through and get this android app off the ground.

Going to use some eeprom programming of variables since basic serial communication is working quite well. Then you can just set it and forget it via app.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on August 08, 2016, 03:44:15 PM
Cool!  I'm getting an HC06 module as well, and LOTS of other stuff (Happy bday to me.. Spent $200 at one ebay store.. 9DOF boards, pots, knobs, switches, multimeters, connectors (12 pin aviation connectors :)))... and then I'm probably going to get a methanol kit.
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on August 17, 2016, 05:12:15 PM
plastic enclosures shipping soon, *cross fingers*
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on August 23, 2016, 10:59:37 AM
Cases came in today and I'm super stoked!

Looks fabulous, I didn't throw away money with my measurements.. which is super great.

Units are going to be 400, dang they look so good.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Ryan on August 23, 2016, 11:04:29 AM
Such purdy.
Title: Re: I think I'm going to re-engineer the LBB
Post by: Rx7man on August 23, 2016, 01:34:24 PM
Nice!
Title: Re: I think I'm going to re-engineer the LBB
Post by: me78569 on August 23, 2016, 03:21:47 PM
Good work
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on August 23, 2016, 03:27:52 PM
Android app is mostly completed for basic testing, I'll get an alpha opt-in link in a few hours after the publication process through google play finishes
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on August 24, 2016, 04:06:22 PM
Got it installed in the truck today, everything is working great! Going to add rpm to my spare i/o pin
Title: Re: I think I'm going to re-engineer the LBB
Post by: Projecthj on August 25, 2016, 06:54:59 PM
That looks very nice.... what are you gonna do with the wires?
Title: Re: I think I'm going to re-engineer the LBB
Post by: hakcenter on August 25, 2016, 08:24:47 PM
The harness? Just coil up the unused wires for now..