Login    Register
User Information
Username:
Password:
We are a free and open
community, all are welcome.
Click here to Register
Sponsored
Who is online

In total there are 44 users online :: 5 registered, 0 hidden and 39 guests


Most users ever online was 218 on Wed Dec 07, 2016 6:58 pm

Registered users: anello, Bing [Bot], Google [Bot], MSNbot Media, Yahoo [Bot] based on users active over the past 5 minutes

The Team
Administrators
Global Moderators
global_moderators.png CS

Fueling app for android

Post questions and info about hybrid (compressed gas with fuel) powered cannons here. This includes discussion about fuels, ratios, ignition systems, build types, safety, and anything else relevant.
Sponsored 
  • Author
    Message

Fueling app for android

Unread postAuthor: POLAND_SPUD » 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]http://www.youtube.com/watch?v=q1fmRgJYlzc[/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
  • 0

Attachments
qrcode(1).png
qrcode(1).png (677 Bytes) Viewed 1292 times
Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: Zeus » 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.
  • 0

/sarcasm, /hyperbole
User avatar
Zeus
Major General
Major General
 
Posts: 1422
Joined: Tue Oct 27, 2009 7:34 pm
Location: 'Straya, C*nt
Reputation: 2

Unread postAuthor: POLAND_SPUD » 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.
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: Zeus » 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.
  • 0

/sarcasm, /hyperbole
User avatar
Zeus
Major General
Major General
 
Posts: 1422
Joined: Tue Oct 27, 2009 7:34 pm
Location: 'Straya, C*nt
Reputation: 2

Unread postAuthor: POLAND_SPUD » 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

https://www.youtube.com/watch?feature=p ... LY2VrUxllM

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
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: Zeus » 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.
  • 0

/sarcasm, /hyperbole
User avatar
Zeus
Major General
Major General
 
Posts: 1422
Joined: Tue Oct 27, 2009 7:34 pm
Location: 'Straya, C*nt
Reputation: 2

Unread postAuthor: POLAND_SPUD » Fri Dec 14, 2012 10:54 am

Update
Got my module and it works

...and so does my app

[youtube]http://www.youtube.com/watch?v=oBdwaHTnSO8&feature=youtu.be[/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
  • 0

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
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Sponsored

Sponsor
 


Unread postAuthor: wyz2285 » Fri Dec 14, 2012 11:07 am

Oh that´s so cool :D
I can finaly make a shot with a "phone call" :lol:
  • 0

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
wyz2285
Major General
Major General
 
Posts: 2244
Joined: Sat Mar 06, 2010 7:50 am
Location: Porto, Portugal
Country: Portugal (pt)
Reputation: 12

Unread postAuthor: pneumaticcannons » Fri Dec 14, 2012 11:13 am

Awesome.
I love the big red "FIRE" screen :D
  • 0

ramicaza <- My Youtube Channel
User avatar
pneumaticcannons
Major
Major
 
Posts: 392
Joined: Sat Oct 30, 2010 9:45 am
Location: shite country in asia
Reputation: 0

Unread postAuthor: POLAND_SPUD » 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]http://www.youtube.com/watch?v=V3Akt3SKhAs[/youtube]sorry for the mess, but.. uhmm you know I am lazy...
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: jackssmirkingrevenge » 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..."
  • 0

User avatar
jackssmirkingrevenge
Donating Member
Donating Member
 
Posts: 24225
Joined: Thu Mar 15, 2007 11:28 pm
Country: Holy See (Vatican City State) (va)
Reputation: 66

Unread postAuthor: POLAND_SPUD » 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
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: dewey-1 » Tue Dec 18, 2012 3:52 pm

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

User avatar
dewey-1
Major General
Major General
 
Posts: 1298
Joined: Wed Mar 28, 2007 10:24 am
Location: NE Wisconsin USA
Reputation: 0

Return to Hybrid Cannon Discussion

Who is online

Registered users: anello, Bing [Bot], Google [Bot], MSNbot Media, Yahoo [Bot]

Reputation System ©'