Pages: [1]   Go Down
Author Topic: ballistic calculator program.  (Read 682 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi, anyone here who knows how to program a ballistic calculator in arduino?.. smiley
« Last Edit: July 04, 2013, 10:18:50 pm by gayzy » Logged

East Anglia (UK)
Online Online
Faraday Member
**
Karma: 88
Posts: 3449
May all of your blinks be without delay()
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you got a formula that does what you want ?
If not, then find one.

Get user input for the variables in the formula, or hard code defaults, apply them to the formula and output the result.

It does not sound difficult except that floating point maths will be involved.  Are you sure that the Arduino is the right tool for the job ?  How about a smartphone app instead ?
Logged

Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 168
Posts: 12417
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
a ballistic calculator
think this is too vague to answer as I can imagine the ballistics depend on: (quick braindump)

- environment values  like temperature, wind force and direction (of all airlayers involved), rain/hail/snow, are there trees, mountains in the trajectory
- object parameters like weigth, form, point of gravity(?), rotation, interactiveness in air (does it loose weight like a rocket, does it change form like a snowball)
- the device that "shoots" the object may influence, angle, speed, acceleration


with respect to the calculator, what needs to be calculated?

- trajectory?
- place of impact?
- want a simulation?
- may it be slow, or must it be real time, or faster?
- accuracy?
- precission?

quite some questions to answer ...

nevertheless, I expect an Arduino can do it to some extend as the very first ballistic computers were less powerful than an Arduino. but you first find the right math.

DISCLAIMER: in some countries ballistic algorithms may be considered illegal to have/use/export
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24284
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
in some countries ballistic algorithms may be considered illegal
Surely they're just applications of the basic laws of motion?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 168
Posts: 12417
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Surely they're just applications of the basic laws of motion?
imho they are ..
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i've seen so several apps, that will work, but i want to make a prototype with embedded ballistic calculator,   what i,m trying  to do is first to make a simulation on matlab,, hmm is there any other microprocessor that is better than arduino that i can use?
Logged

East Anglia (UK)
Online Online
Faraday Member
**
Karma: 88
Posts: 3449
May all of your blinks be without delay()
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Arduino is not a microprocessor.  The chip in it is a microcontroller.  It is good at responding to external inputs and controlling external devices.  What it is not good at is complex maths, at least not at high speed.

You may be better off doing the whole thing on a PC.
Logged

Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Pages: [1]   Go Up
Jump to: