Author Topic: Airsoft - paintball chrono  (Read 44362 times)

0 Members and 1 Guest are viewing this topic.

Offline Di11on

  • Newbie
  • Posts: 4
Re: Airsoft - paintball chrono
« Reply #75 on: June 16, 2015, 05:22:01 pm »
http://mdiy.pl/atmega-fusebit-doctor-hvpp/?lang=en

Thanks for this.

I am absolute 100% certain that I set the fuse bits correctly - I set them exactly as in the screenshot uploaded with the project. However, after I set the fuse bits, I lose contact with the chip and the circuit ceases to function.

So what could be wrong? Could my crystal/resonator not be suitable somehow? I have made a simple circuit with just the resonator and capacitors and avr programmer connections, and still it does not work. I would be grateful for any assistance you could provide.

I'm using an ATMEGA8A-PU. Could it be possible that the fuse bits are different on this compared to the ATMEGA8?

Thanks in advance,

Jody



 

Offline Di11on

  • Newbie
  • Posts: 4
Re: Airsoft - paintball chrono
« Reply #76 on: June 17, 2015, 02:58:26 pm »
Also, what are the error codes, ERR1 and ERR2? Perhaps I have the polarity of the phototransistors backwards?
 

Offline Di11on

  • Newbie
  • Posts: 4
Re: Airsoft - paintball chrono
« Reply #77 on: June 17, 2015, 07:40:44 pm »
Hi all,

Finally got this working - thanks again for posting the project.

The default value for CKOPT is 1 and I believe it needs to be set to 0 to get the external oscillator working. At least this is what got it working for me. These were my fuse settings:

Low: 0xFF
High: 0xC9

This isn't the same as what is shown in the fuses image - but the fuse settings above work for me and give me accurate FPS readings.

I also had to set a low value for R11 to increase the led irradiance and get the PD2/3 voltages down towards 2V. R11 for me is around 37 Ohms which means there's around 68mA going through the LEDs which is probably a little much? Perhaps my LED's and Phototransistor aren't matched very well.

I've posted by board below... not as pretty as some of the others, but this is a first for me! After destroying an LED with a BB, I decided to install a tube, which itself has taken a few hits!

Thanks again

 

Offline UA

  • Contributor
  • Posts: 30
Re: Airsoft - paintball chrono
« Reply #78 on: March 03, 2016, 05:22:44 pm »
Hello everybody. Prompt optical distance between pairs should be 3 cm (30 mm)?
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #79 on: March 03, 2016, 10:09:00 pm »
It must be 30mm.
 

Offline UA

  • Contributor
  • Posts: 30
Re: Airsoft - paintball chrono
« Reply #80 on: March 15, 2016, 01:44:36 pm »


Made chronograph. Everything is working . But he did not respond to bullets for air rifle . Why is that? Can the sensors do not react to metal or firmware need another ? Someone can tell me the answer?
 

Offline ANTALIFE

  • Frequent Contributor
  • **
  • Posts: 509
  • Country: au
  • ( ͡° ͜ʖ ͡°)
    • Muh Blog
Re: Airsoft - paintball chrono
« Reply #81 on: March 16, 2016, 05:05:10 am »
Awesome

Made something similar a while back, only difference is that my one was used to detect how many BB's have shot through the barrel to give an estimate on the BB's in the mag.




What do you use to program the micro?

Offline UA

  • Contributor
  • Posts: 30
Re: Airsoft - paintball chrono
« Reply #82 on: March 16, 2016, 11:45:19 am »
To program the chip , I used a homemade programmer .
What is the maximum speed calculating your chronograph ? On what he is capable of a maximum? :palm:
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #83 on: March 16, 2016, 02:26:25 pm »
UA:
The program can calculate more than it can display.
In your case the main issues are the sensors.
Your air gun bullets are smaller than airsoft BB so not too easy to align with both sensor when you shoot.
And can be faster too so maybe the used phototransistors isn't fast enough.

ANTALIFE
Nice job!
(I used AVRstudio with homemade programmer)
 
The following users thanked this post: Tarien

Offline emilemir

  • Newbie
  • Posts: 3
  • Country: ro
Re: Airsoft - paintball chrono
« Reply #84 on: March 18, 2016, 08:27:03 am »
Hello
i build this crono  but its not working, and i would like to know why?
Movie with my problem:

https://www.youtube.com/watch?v=DRzEnN-0_5I&feature=youtu.be

Thank you!
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #85 on: March 18, 2016, 08:54:14 am »
Set your video to public.
 

Offline emilemir

  • Newbie
  • Posts: 3
  • Country: ro
Re: Airsoft - paintball chrono
« Reply #86 on: March 18, 2016, 12:14:48 pm »
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #87 on: March 18, 2016, 03:10:44 pm »
I guess your pencil is slower than 1FPS.

Er1 mean error 1: You have action at front sensor but not at rear sensor.
It is happening at all normal measure, but rear sensor clear the error and calculate value.

Er2 mean error 2: You have action at rear sensor but not after the front sensor.
 

Offline emilemir

  • Newbie
  • Posts: 3
  • Country: ro
Re: Airsoft - paintball chrono
« Reply #88 on: March 18, 2016, 05:41:12 pm »
thank you, 
I will try tomorrow airsoft replica
 

Offline tahirmaqsood

  • Newbie
  • Posts: 2
  • Country: pk
Re: Airsoft - paintball chrono
« Reply #89 on: April 26, 2016, 08:12:16 pm »
sir i want measuring cricket ball speed km/h
i set first sensor and second sensor distance 10 meter
 how the change in code
plz help me
Thanks
 

Offline Tarien

  • Newbie
  • Posts: 5
  • Country: pl
Re: Airsoft - paintball chrono
« Reply #90 on: June 18, 2016, 12:42:38 pm »
This phototransistors are difficult to get in Poland. Can anyone recommend me different?
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #91 on: June 18, 2016, 06:22:13 pm »
You can buy both in TME which is a poland webstore.
 

Offline Tarien

  • Newbie
  • Posts: 5
  • Country: pl
Re: Airsoft - paintball chrono
« Reply #92 on: June 19, 2016, 03:23:47 pm »
Anyone synchronize  this with normal chrono? This showing similar results?
 

Offline SecurityCze

  • Newbie
  • Posts: 1
  • Country: cz
Re: Airsoft - paintball chrono
« Reply #93 on: July 11, 2016, 02:38:33 pm »
Really nice project. Do you work on rev. 2 of it? I saw on your youtube channel version with enclosure, button to change FPS to MPS and also ROF counter...
 

Offline btloggg

  • Newbie
  • Posts: 1
  • Country: us
Re: Airsoft - paintball chrono
« Reply #94 on: May 05, 2017, 05:14:36 pm »
Hi Vzoole

I built your paintball chrono and it works pretty good.

I made a small circuit to inject 2 pules in (50 us wide) with a delay between the two pules to check how fast the board could read.

I could simulate a paintball traveling between the sensors.

The readings look good until the pulses are about 350 micro seconds apart, then the readings on the leds suddenly go to "3".

Up to then, the readings were in the hundreds range.

Is the minimum time for sensing the two pulses for the interrupts 350 us?

I would have thought it should be in the 10 us or less range.

Do you know?

Thank for any information you might have.

Steve
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf