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

0 Members and 1 Guest are viewing this topic.

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Airsoft - paintball chrono
« on: January 13, 2013, 05:45:33 pm »
I would like to share an airsoft - paintball chrono that I made.

"Underspeed Chrono Light"
Version: 1.0
Last modification: 08.01.2016



Some tecnical info:

Set AVR clock to external crystal.

LED:
Any IR (infra red) LED.
Best under 60 degrees


7 segment LED display:
common cathode, common sticks.
For example:
KINGBRIGHT ELECTRONIC BC56-12SRWA
http://www.tme.eu/hu/details/bc56-12srwa/harmas-led-kijelzok/kingbright-electronic/#


Phototransistor:
Many type working well.
I tested BPW17 and SFH309FA phototransistors.


PCB size:
81mm x 85mm

!!! LED1, LED2 polarity is WRONG on the schematic !!!
« Last Edit: January 08, 2016, 06:44:57 pm by vzoole »
 
The following users thanked this post: Tarien

Offline TorqueRanger

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: us
Re: Airsoft - paintball chrono
« Reply #1 on: January 14, 2013, 11:54:58 am »
I like it .... :-+
I wish I still used my paintball guns again but might build your setup for my brother though..
 

Offline Noobiq

  • Contributor
  • Posts: 12
  • Country: sk
Re: Airsoft - paintball chrono
« Reply #2 on: January 22, 2013, 04:09:46 pm »
hello

so i build it, but its not working, and i would like to know why.

when i turn it on, the display start blink (at frequency like 25hz), and show just three zeroes.
i used 1n4007 instead of 1n4004, and ATMEGA8A-PU instead of ATMEGA8-PU (i couldnt find this, and "google say" they are the almost same,)
could anything of that make problem?
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #3 on: January 22, 2013, 04:39:08 pm »
I think the problem could be the avr clock setup.

You have to set clock source to external crystal (high fequency) and disable CKOPT.

Check the first post, I attached display of clock setup.
 

Offline Noobiq

  • Contributor
  • Posts: 12
  • Country: sk
Re: Airsoft - paintball chrono
« Reply #4 on: February 07, 2013, 04:28:01 pm »
i am finally reprogrammed processor, display works fine now, but dont measure.. only show 3 zeroes.

i used R1-R7 = 150 ohm (but this shouldnt matter, it can be 150-220)
btw, R11 = 91 ohm? (just to be sure)
i donĀ“t know exactly what IR LED i used, it looks like this one
http://www.sos.sk/?str=371&artnum=11936&name=kingbright-l-53sf4bt
i mean, can dark color of the LED be a problem?

everything else (except what i alredy wrote in previous post) is same as your

edit: i tried IR led from old mouse, but still no output on display..
« Last Edit: February 08, 2013, 02:41:41 pm by Noobiq »
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #5 on: February 10, 2013, 03:42:04 pm »
Hi!

btw, R11 = 91 ohm? (just to be sure)

Yes, R11 is 91 Ohm, but best if you measure IR LED current, and you choose correct resistor value.

i mean, can dark color of the LED be a problem?

IR LED with filter is good. You can check the lighting, with a camera or phone.

And check the PD2 and PD3 leg with multimeter. Measure voltage there, after cross the light and measure again. Share the values.
 

Offline Noobiq

  • Contributor
  • Posts: 12
  • Country: sk
Re: Airsoft - paintball chrono
« Reply #6 on: February 14, 2013, 03:21:37 pm »
i changed R11 to 47 ohm (added 100 ohm parallel).

i measured PD2/3 before and it was 5V/3V, now it is 5V/2V and the chrono works correctly.
i thought cameras have IR filter therefore little ir light is see. Becouse of that i didnt realized LEDs shine too weak

Thanks for your help!
 

Offline Sh4DoVV

  • Newbie
  • Posts: 3
Re: Airsoft - paintball chrono
« Reply #7 on: February 21, 2013, 09:33:36 am »
Hi
so i build it, but its not working , the 7segement not show any thing ! |O
please help me

 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9950
  • Country: nz
Re: Airsoft - paintball chrono
« Reply #8 on: February 21, 2013, 12:41:53 pm »
How are you timing the delay?

Are both light sensors on hardware interrupts where you start the timer on one and read the value on the other?
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #9 on: February 23, 2013, 10:44:41 pm »
so i build it, but its not working , the 7segement not show any thing ! |O

I think program isn't run. Please search an AVR topic or tutorial to find the problem.

Are both light sensors on hardware interrupts where you start the timer on one and read the value on the other?

You think well, just a little different. Timer is always run. I reset at 1st interrupt, and read at 2nd interrupt.
 

Offline Sh4DoVV

  • Newbie
  • Posts: 3
Re: Airsoft - paintball chrono
« Reply #10 on: February 24, 2013, 11:29:42 am »
Hi dear vzoole
may you tell me how to program your ATMega8 ?
I have STK500 Programmer , but i don`t know how to program my ATMega8
thanks
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #11 on: February 24, 2013, 11:35:49 am »
may you tell me how to program your ATMega8 ?

I use AVR Studio 4.
 

Offline Sh4DoVV

  • Newbie
  • Posts: 3
Re: Airsoft - paintball chrono
« Reply #12 on: March 06, 2013, 08:52:03 am »
hi friend
I built it again butdn't work
I program atmega with stk500 by avr studio 4 ,but 7segement don't show anything
Please help me
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #13 on: March 06, 2013, 11:30:22 pm »
Check clock and display outputs on AVR with scope.
 

Offline andreiu21

  • Newbie
  • Posts: 9
  • Country: ro
    • My web page
Re: Airsoft - paintball chrono
« Reply #14 on: March 11, 2013, 05:34:06 pm »
nice little project.
Thanks for sharing! D
 

Offline tim1986

  • Newbie
  • Posts: 7
Re: Airsoft - paintball chrono
« Reply #15 on: March 12, 2013, 03:12:42 am »
Nice project! What is is actually displaying? MPH, km/h, inches per second, just the time between?

Thanks!
-Tim
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #16 on: March 12, 2013, 06:11:55 pm »
Thanks!

Actually show FPS in video.
 

Offline adam164

  • Newbie
  • Posts: 1
Re: Airsoft - paintball chrono
« Reply #17 on: December 03, 2013, 02:17:01 pm »
Hi,
I made your chrono but it not work correctly. Slow speed show (under 20 fps) but higher speed no....I use phototransistor SFH309 and I programmed in Pony prog becouse I have only LPT programer and in AVR studio not work. Do you tested it with airgun cal. .177?
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #18 on: January 10, 2014, 10:59:33 pm »
Hi!

Maybe you doesn't switch off CKOPT option that is dividing the clock by 8.
So if you measure 20FPS that could be around 160FPS in real ( 20*8 ).

So please check the FUSE bits.
« Last Edit: January 26, 2014, 09:29:38 pm by vzoole »
 

Offline UA

  • Contributor
  • Posts: 30
Re: Airsoft - paintball chrono
« Reply #19 on: March 25, 2014, 07:30:21 am »
Install the software on a chip (Chrono_light_01_mPs.hex), but does not work. What should be the current work? What could be the reason?

How much should be volts?
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #20 on: March 26, 2014, 10:00:10 pm »
Minimum input voltage is 7.5V

Current without controller (only IR LEDs): ~30mA
With MCU and working 7 segment display: ~110mA

If you have no current flow you have supply problem.
 

Offline s3k0

  • Newbie
  • Posts: 1
Re: Airsoft - paintball chrono
« Reply #21 on: March 27, 2014, 07:29:59 am »
very nice project  :)

i want to make one but im complety dummy for project
can you tell me what exactly i need parts for this porject;
example;
2x diode
1xatmelxxxxx
 i readed first post but missing somethings like ressitors

2xphototransistors
2x ir led
1x atmega8pu
1xusbbasp for programming
....others ? :-// i can see in picture but i dont know names  :o
 

Offline UA

  • Contributor
  • Posts: 30
Re: Airsoft - paintball chrono
« Reply #22 on: March 27, 2014, 07:59:25 am »

there is no voltage on the LED (red circle on the picture)
 

Offline vzooleTopic starter

  • Regular Contributor
  • *
  • Posts: 125
  • Country: hu
Re: Airsoft - paintball chrono
« Reply #23 on: March 27, 2014, 08:21:22 am »
can you tell me what exactly i need parts for this porject;

You can find parts in schematic in zip file at first post.

there is no voltage on the LED (red circle on the picture)

Check the input voltage on regulator input.
 

Offline UA

  • Contributor
  • Posts: 30
Re: Airsoft - paintball chrono
« Reply #24 on: April 29, 2014, 02:26:25 pm »
Hi friend. Which firmware to measure in meters? Chrono_light_01_FPS.hex or Chrono_light_01_mPs.hex
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf