Fueling app for android

Harness the power of precision mixtures of pressurized flammable vapor. Safety first! These are advanced potato guns - not for the beginner.
User avatar
POLAND_SPUD
Captain
Captain
Posts: 5402
Joined: Sat Oct 13, 2007 4:43 pm
Been thanked: 1 time

Mon Nov 26, 2012 5:36 pm

So here is my revised fueling calculator for hybrids.

Seems to work just fine for me - tested at 1X on various chambers of different sizes and it works at first click as shown here
[youtube][/youtube]

I fixed some bugs that existed in the previous version and added an experimental bluetooth remote ignition fuctionality.
This bluetooth ignition thingy is technically just something that you can use to connect to a bluetooth module like this one
Image
and it sends a string 'boom' once you release the safety and press the button 'fire'.

Of course you need to write a code for an arduino board (or any other microcontroller you want to use) so that it activates a relay/mosfet/whatever when its serial pin gets the string sent by the app


I say it's experimental because I only tested it on a bluetooth dongle since I don't have such a bluetooth module yet.


ohh and just as a disclaimer - you use at your own risk.

To download use the QR code or link below
https://docs.google.com/open?id=0B_PfPo ... zhKZkNVX3c
ohh and to download you probably have to accept the installation of software from outside the Android Market >>>

Tap Menu.
Tap Settings.
Tap Applications.
Check the box labeled Unknown Sources.





Any feedback or ideas what to add are welcome.
ohh and special thx to jsr for the formula
Attachments
qrcode(1).png
qrcode(1).png (677 Bytes) Viewed 5171 times
Children are the future

unless we stop them now
User avatar
Zeus
Staff Sergeant
Staff Sergeant
Posts: 1505
Joined: Tue Oct 27, 2009 7:34 pm
Location: 'Straya, C*nt

Mon Nov 26, 2012 5:57 pm

Very nice work PS, simple, and takes all the maths out of it.

When can we see a manometric fuel calculator?

I'm obviously being a shi­thead, just to see if the noobs bite.
/sarcasm, /hyperbole
User avatar
POLAND_SPUD
Captain
Captain
Posts: 5402
Joined: Sat Oct 13, 2007 4:43 pm
Been thanked: 1 time

Mon Nov 26, 2012 6:16 pm

Zeus wrote: When can we see a manometric fuel calculator?
well I can add more gasses if anyone is interested - same goes for manometric. All I need is accurate formula.
Children are the future

unless we stop them now
User avatar
Zeus
Staff Sergeant
Staff Sergeant
Posts: 1505
Joined: Tue Oct 27, 2009 7:34 pm
Location: 'Straya, C*nt

Mon Nov 26, 2012 6:22 pm

Might want to highlight my post. The option of oxygen would be nice too, but not essential.

And I couldn't crash the app at all, and crashing qpps is my hobby. No compatibility problems with an SGS 2.
/sarcasm, /hyperbole
User avatar
POLAND_SPUD
Captain
Captain
Posts: 5402
Joined: Sat Oct 13, 2007 4:43 pm
Been thanked: 1 time

Mon Nov 26, 2012 6:50 pm

Zeus wrote:Might want to highlight my post. The option of oxygen would be nice too, but not essential.

And I couldn't crash the app at all, and crashing qpps is my hobby. No compatibility problems with an SGS 2.
Seen that before :wink:

I could probably add that too - and so could anyone...
might want to check app inventor yourself -> http://appinventor.mit.edu/
or watch this video to get the idea



It IS simple to use... surely it has its limits but for simple apps it's ideal - adding stuff such as text to speech or speech to text is just a matter of a couple of clicks
Children are the future

unless we stop them now
User avatar
Zeus
Staff Sergeant
Staff Sergeant
Posts: 1505
Joined: Tue Oct 27, 2009 7:34 pm
Location: 'Straya, C*nt

Mon Nov 26, 2012 7:00 pm

Very interesting, I'll look into that further. The block building system looks so easy.

Since you've got the option for Wi-fi and bluetooth, I see no reason why a bluetooth controlled hybrid couldn't be made. SB's one touch metering can be replaced with a 5/3 solenoid valve, propane tank, and air compressor. Literally one touch metering and firing.
/sarcasm, /hyperbole
User avatar
POLAND_SPUD
Captain
Captain
Posts: 5402
Joined: Sat Oct 13, 2007 4:43 pm
Been thanked: 1 time

Fri Dec 14, 2012 10:54 am

Update
Got my module and it works

...and so does my app

[youtube][/youtube]


arduino code is here
really simple and it's just a slightly modified version of example code for arduino (PhysicalPixel)
arduino board waits till it receives character 'b' through serial and it then switches pin12 high, waits for 1000ms, and switches it LOW again

/*for use with my fueling app... for more details visit spudfiles.com
Based on PhysicalPixel from examples - modified by POLAND_SPUD */

const int Pin12 = 12;
int incoming; // a variable to read incoming serial data into

void setup() {
// initialize serial communication:
Serial.begin(19200);
// initialize pin12 as an output:
pinMode(Pin12, OUTPUT);

}

void loop() {
// see if there's incoming serial data:
if (Serial.available() > 0) {
// read the oldest byte in the serial buffer:
incoming = Serial.read();
// if it's a 'b', turn on PIN12:
if (incoming == 'b') {
digitalWrite(Pin12, HIGH);delay(1000);digitalWrite(Pin12, LOW);
}


}
}
EDIT
fixed some retarded stuff in the the code - ohh don't worry it used to work just fine but I named one of the variables 'incomingString' when working with it and obviously that wasn't a string at all - in other words cosmetic change

EDIT no2
here is a diagram of the circuit (notice that there is a decoupling cap I had to add after I notice that the arduino freezed a couple of times due to high EMF from the ignitor)

EDIT no3
Realized that the original code and schematic had a serious design flaw - arduino bootloader flashes the LED on the board on power up - since the LED is connected to PIN13 it meant that the circuit would switch the relay for a fraction of second on power up.
Fixed both the schematic and the code - now it's PIN12
Attachments
Untitled Sketch_schem.png
Last edited by POLAND_SPUD on Tue Dec 18, 2012 2:56 pm, edited 5 times in total.
Children are the future

unless we stop them now
User avatar
wyz2285
First Sergeant 2
First Sergeant 2
Austria
Posts: 2385
Joined: Sat Mar 06, 2010 7:50 am
Location: Porto, Portugal
Has thanked: 1 time
Been thanked: 3 times
Contact:

Fri Dec 14, 2012 11:07 am

Oh that´s so cool :D
I can finaly make a shot with a "phone call" :lol:
CpTn_lAw wrote: :D "yay, me wanna make big multishot pnoob with 1000 psi foot pump compressor using diamond as main material. Do you think wet bread make good sealant? " :D
User avatar
pneumaticcannons
Specialist 3
Specialist 3
Posts: 392
Joined: Sat Oct 30, 2010 9:45 am
Location: shite country in asia
Contact:

Fri Dec 14, 2012 11:13 am

Awesome.
I love the big red "FIRE" screen :D
ramicaza <- My Youtube Channel
User avatar
POLAND_SPUD
Captain
Captain
Posts: 5402
Joined: Sat Oct 13, 2007 4:43 pm
Been thanked: 1 time

Fri Dec 14, 2012 2:07 pm

I might add other features like a siren sound or something like that when the safety is off - no problem

anyway I attached the circuit to the relay so that all of you could see that it really really works (ULN 2004 is used to drive the relay)
[youtube][/youtube]sorry for the mess, but.. uhmm you know I am lazy...
Children are the future

unless we stop them now
User avatar
jackssmirkingrevenge
Five Star General
Five Star General
Posts: 26179
Joined: Thu Mar 15, 2007 11:28 pm
Has thanked: 543 times
Been thanked: 321 times

Donating Members

Tue Dec 18, 2012 1:58 pm

Hadn't seen this!

After all those years of procrastination, finally a step closer towards that hybrid! Great stuff :D

I can see this going very wrong though.

*ringski ringski*

"Cześć?"

*BOOOOOOOOM*

"Przejebane..."
hectmarr wrote:You have to make many weapons, because this field is long and short life
User avatar
POLAND_SPUD
Captain
Captain
Posts: 5402
Joined: Sat Oct 13, 2007 4:43 pm
Been thanked: 1 time

Tue Dec 18, 2012 2:45 pm

jackssmirkingrevenge wrote:Hadn't seen this!
I can see this going very wrong though.

*ringski ringski*

"Cześć?"

*BOOOOOOOOM*

"Przejebane..."
lol translation fail

That can't happen

Though I've just realised there is a serious design flaw -> On arduino boards the LED and PIN 13 flashes on power up...
so in other words - once you power it up and you've got the ignitor connected to the battery the gun will fire

I already changed the code and schematic
Children are the future

unless we stop them now
User avatar
dewey-1
Sergeant 3
Sergeant 3
Posts: 1298
Joined: Wed Mar 28, 2007 10:24 am
Location: NE Wisconsin USA

Tue Dec 18, 2012 3:52 pm

I think you should add a "safety" interlock switch in series with your switched ignition power also.
Post Reply