Go Down

Topic: ballistic calculator program. (Read 1 time) previous topic - next topic

gayzy

Jul 05, 2013, 05:07 am Last Edit: Jul 05, 2013, 05:18 am by gayzy Reason: 1
hi, anyone here who knows how to program a ballistic calculator in arduino?.. :)

UKHeliBob

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 ?
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

robtillaart

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
Rob Tillaart

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

AWOL

Quote
in some countries ballistic algorithms may be considered illegal

Surely they're just applications of the basic laws of motion?
"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.

robtillaart

Quote
Surely they're just applications of the basic laws of motion?

imho they are ..
Rob Tillaart

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

gayzy

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?

UKHeliBob

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.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Go Up