ten-point-nine / freETarget

Electronic Air Rifle Target
84 stars 40 forks source link

Changing PC Software to work an 25m Pistol and 50m rifle #5

Closed TigraTT closed 3 years ago

TigraTT commented 4 years ago

dear Azmodan, i did not know if we are in contact before, but i´m in contact with Allann over messanger. And i´m sorry, but i could not reach you ofer the Meisterschützen Forum or any other way, so i post my question here.

at first a big thank your for giving us this freeware, i think your project could be a very good solution for all shooters to get a cheap electronic target.

I chat with Allan for ordering two sets of electronic boards, but actual they have a longer delivery time. If i understand him right??

You have to know that my skills in programming are not so good, and C# is completely new for me. I am working in industrial automation and there i know several PLC systems and a little bit VB.net.

I have loaded the software and i could change for example the air pistol target to a 25m .22 Pistol target. (in Germany we use the same target for smallbore rifle at 100m)

Also i have changed the zoom so if i change between Pistol and rifle, the targets are both fullscreen.

My Problem is, if i make some shots (with the simulation) i get the right picture but the shot value is wrong. (On the 25m target!)

For example a shot in "Center" is right with 10.9, but a shot with -30 and 0 is a 7,2 instead of a 9,8?

I understand that the value is calculated for the 10m air pistol target, but i do not find this part in your program to change this calculation offset to my new target.

(30mm on the ar pistol arget seems to be a 7,2)

I think if you can add a 25m Pistol target and also a 50m rifle target this would bring a great boost for your free Target and you can sell many of the boards.

as i read in Facebook oder some shooters forums this question is coming up from different users?

I want to build up two completely working targets to show them in my club, to convince other shooters to invest in 8 more targets, because then we have all our 50m and 100m lines running electronic targets. If we want to buy them at Meyton, Sius, Seta or others, this will cost ust about 50.000€ and this is money we do not have.

Did you test for example with USB to Ethernet adapters to get a longer distance than 10m??

Kind regards, and thanks a lot for your free work!

Ralph

ten-point-nine commented 4 years ago

At the present there is no plan to stack shields.

There is a jumper heading on the board that could be used as a lane selector. There is also provision to download an electronic DIP switch setting via JSON but currently there is no software that uses it

The accessory connector can be used to drive an external Ethernet or WiFi link if the software was added

Allan

Sent from my iPhone

On Sep 9, 2020, at 09:36, Martyn Bedford notifications@github.com wrote:

 On the topic of external connections, will the Arduino shield allow for stacking shields?

I’d like to explore using a messaging protocol over ethernet or wifi, and would like to into face with a DIP switch or similar to set an identity for each target so each lane can be identified individually output captured mentally for competition scoring etc…

Martyn

On 9 Sep 2020, at 15:29, Allan Brown notifications@github.com wrote:

There was a delay in getting production going so I took the opportunity to add an accessory connector to the board.

It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488

It would be easy to have a light driver to illuminate the target.

Allan

Sent from my iPhone

On Sep 9, 2020, at 09:14, TigraTT notifications@github.com wrote:

 you are my hero! i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training.

I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on.

A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface? I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ten-point-nine/freETarget/issues/5#issuecomment-689600235, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3YGYWTCAZARAISKHPZXV3SE6GLTANCNFSM4P4JKR6A.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

AzmodanRO commented 4 years ago

multiple targets should be linked at the PC software level...

mjbedford commented 4 years ago

Doing it at the PC software level would be a real bottleneck and make it very dependent upon a complex solution, using a pub sub message protocol you can decouple the target, the display and the aggregator. This means that you can connect displays to a message bus, dial in the lane number and all the connectivity is solved. It also means that you are not dependent on one PC solution for displaying shots, you could use phone, tablets etc...

mjbedford commented 4 years ago

Sorry I haven't looked recently at the Arduino code, what protocol are you using between the shield and the mega, I2C or SPI? an ethernet shield could sit between the shield and the mega, using I2C or SPI should mean they don't interfere with each other.

At the present there is no plan to stack shields. There is a jumper heading on the board that could be used as a lane selector. There is also provision to download an electronic DIP switch setting via JSON but currently there is no software that uses it The accessory connector can be used to drive an external Ethernet or WiFi link if the software was added Allan Sent from my iPhone On Sep 9, 2020, at 09:36, Martyn Bedford @.> wrote:  On the topic of external connections, will the Arduino shield allow for stacking shields? I’d like to explore using a messaging protocol over ethernet or wifi, and would like to into face with a DIP switch or similar to set an identity for each target so each lane can be identified individually output captured mentally for competition scoring etc… Martyn > On 9 Sep 2020, at 15:29, Allan Brown @.> wrote: > > > There was a delay in getting production going so I took the opportunity to add an accessory connector to the board. > > It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488 > > It would be easy to have a light driver to illuminate the target. > > Allan > > Sent from my iPhone > > > On Sep 9, 2020, at 09:14, TigraTT @.***> wrote: > > > >  > > you are my hero! > > i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training. > > > > I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on. > > > > A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface? > > I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti. > > > > > > — > > You are receiving this because you were mentioned. > > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3YGYWTCAZARAISKHPZXV3SE6GLTANCNFSM4P4JKR6A. > — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

mjbedford commented 4 years ago

I like the idea of integration with SCATT etc... have you thought about how that would work, SCATT is a very closed system with no interface I can find to access data or input data, we have only a SCATT basic which is great at recording traces but really struggles to place the shot accurately. It would be great to get it to listen to the target to adjust the fall of shot to what the freETarget reports.

you are my hero! i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training.

I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on.

A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface? I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti. lichtkasten

ten-point-nine commented 4 years ago

My board uses about 40 GPIOs to access the data acquisition hardware.

Allan

Sent from my iPhone

On Sep 9, 2020, at 10:31, Martyn Bedford notifications@github.com wrote:

 Sorry I haven't looked recently at the Arduino code, what protocol are you using between the shield and the mega, I2C or SPI? an ethernet shield could sit between the shield and the mega, using I2C or SPI should mean they don't interfere with each other.

At the present there is no plan to stack shields. There is a jumper heading on the board that could be used as a lane selector. There is also provision to download an electronic DIP switch setting via JSON but currently there is no software that uses it The accessory connector can be used to drive an external Ethernet or WiFi link if the software was added Allan … Sent from my iPhone On Sep 9, 2020, at 09:36, Martyn Bedford @.> wrote:  On the topic of external connections, will the Arduino shield allow for stacking shields? I’d like to explore using a messaging protocol over ethernet or wifi, and would like to into face with a DIP switch or similar to set an identity for each target so each lane can be identified individually output captured mentally for competition scoring etc… Martyn > On 9 Sep 2020, at 15:29, Allan Brown @.> wrote: > > > There was a delay in getting production going so I took the opportunity to add an accessory connector to the board. > > It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488 > > It would be easy to have a light driver to illuminate the target. > > Allan > > Sent from my iPhone > > > On Sep 9, 2020, at 09:14, TigraTT @.***> wrote: > > > >  > > you are my hero! > > i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training. > > > > I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on. > > > > A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface? > > I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti. > > > > > > — > > You are receiving this because you were mentioned. > > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3YGYWTCAZARAISKHPZXV3SE6GLTANCNFSM4P4JKR6A. > — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

mjbedford commented 4 years ago

SPI on the mega uses pins: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS) I seem to remember that they may be re addressable if in use, are you using 50 through 51?

ten-point-nine commented 4 years ago

The accessory connector will have two serial ports plus power and ground. The serial ports can be configured as discretes if needed

The SPI port is used to access the temperature probe

Allan

Sent from my iPhone

On Sep 9, 2020, at 10:59, Martyn Bedford notifications@github.com wrote:

 SPI on the mega uses pins: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS) I seem to remember that they may be re addressable if in use, are you using 50 through 51?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

TigraTT commented 4 years ago

i do not have any idea how to combine Scatt or Trace! to freeTarget, but i know that there is a former german 1. Leage shooter who has developed it with a Scatt (Pro or Expert) and Meyton frames. He also developed some other shooting software, his website is do4you.ch But as far as i know this is not freeware, and i also did not know how far he has developed it. A few month ago i have contact to him because the Trace! developers are interested in a collaboration and i know one the Trace! developers from a earlier work were i have translated the Trace! software to german. I think the main goal of combining both worlds is that the real shot and the aiming line of Scatt or Trace! will show a more accuracy. The Trace! software is downloadable for free, but it only runs with a sensor plugged into USB port. If anyone is interested in a stored traning session i can provide a Trace! session file.

AzmodanRO commented 4 years ago

i also have a trace sensor: https://youtu.be/BLASfH1EcN4 . it would be nice to link them. but first things first. let;s make sure basic functionality is working. (10m shooting). when that is working smoothly, Allan has the production pipeline running and more people are using the system, we;ll talk about new features.

mjbedford commented 4 years ago

Probably worth keeping these conversations going as it explores what can be done with the data being produced by Alan’s hardware.

If we keep the conversation at the data interface level we don’t become constrained by any specific software solution.

On 9 Sep 2020, at 20:18, Azmodan notifications@github.com wrote:



i also have a trace sensor. it would be nice to link them. but first things first. let;s make sure basic functionality is working. (10m shooting). when that is working smoothly, Allan has the production pipeline running and more people are using the system, we;ll talk about new features.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ten-point-nine/freETarget/issues/5#issuecomment-689763794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3YGYXNYFZEADZ6M3MIUJ3SE7IHFANCNFSM4P4JKR6A .

TigraTT commented 4 years ago

i agree wit Azmodan, at first we should get a good working 10m solution and then we can continue with developing other targets and distances. (in case i have changed the targets in my user interface before having any hardware) I think the 10m air pistol measurements schould also work for .22 rifle on 50m because the targets are at the same size of the outside ring, there is only 1mm difference. But if i get hardware, i will check this. My teammate has already taylored two target boxes, so we can start asap when we get the boards.