SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 215 matches

 Go to advanced search

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Thu Mar 29, 2012 12:52 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

So every single false detection is shortly after a real detection. That means implementing the "refractory period" where the system ignores inputs for a certain period of time after a shot, should work.

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Thu Mar 29, 2012 10:53 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

So there is a limit to the number of files you can upload. Here's log4.

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Thu Mar 29, 2012 10:52 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

I just ran 4 runs of data with the new cable and the 50 ohm resistor. It looks better. The hits were 24,23,26,23. The run with 26 sounded different, and I said it before I saw the results (no one was here to hear it...). Further, the other runs, initially, line right up with each other. The new cabl...

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Thu Mar 29, 2012 9:30 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

You read my mind... Lunch, then I'm going to work on the wiring

Re: ATMega Lasertag

 by StaticDet5 ¦  Thu Mar 29, 2012 7:31 am ¦  Forum: SparkFun Product Questions ¦  Topic: ATMega Lasertag ¦  Replies: 36 ¦  Views: 5590

I've been looking at this since... since paintball became too expensive. One of my technical hurdles is the projection optics. I know I want a focused beam at a distance, but I never got around to figuring it out. I remember my optical physics class, and the ray diagrams. Translating that into real ...

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Thu Mar 29, 2012 7:21 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

I got the false hit count progressively lower. At 12ohms I got my first "zero count". I just took it down to 9.5ohms and I''ve gotten a couple of zeros. However, mounting the sensor at 9.5 yielded only two hits... Whoops. Too far. Way too far. A test at 30 ohms yields no hits (real or otherwise). A ...

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 5:29 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

Three hits with a 100 ohm resistor in place. I think tomorrow I'm going to play in that realm. Also, I just figured out how to attach multiple files to one post (I think), so I won't have to spam the board with posts with to load multiple files.

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 5:25 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

Eleven hits with this data. I changed the resistor value to 2000 ohms (2x 1k ohm resistors in series).

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 5:21 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

This one has 8 hits. I changed the resistor value to 500 ohms (2x 1k ohm resistors in parallel).

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 5:17 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

Six hits with this test data. I'm going to do two more quick tests, playing with the resistor value.

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 5:15 pm ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

Soldering is dicey for me. What I need to do is build another work table just for electronics. Even then, it's going to always be an uphill battle (you should see my handwriting). When I get to the point where the basic functions are implemented, I want to build the backpack. Until then, I'm probabl...

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 11:15 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

I think we're losing ground. I may sit down and just read about pull-up and pull-down resistors tonight.
This is the log data with the internal pull-up enabled. 32 hits, with a fair amount of erratic behavior.

I'm going to take a break for a little bit.

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 11:10 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

A second test, using the exact same criteria above, yielded 35 hits.

I'm getting ready to try it with the internal pull-up enabled.

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 11:06 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

OK! Here's the new data. The change in the circuit: A 1K ohm resistor is between the signal pin from the photo-interrupter (Arduino digital pin 2) and the 5v pin. I'm attaching the code here so that we have a "break-point" where we can see what is being done: /* BasicAmperageMonitorWithBarrelSensor ...

Re: Arduino Airsoft Controller with Display

 by StaticDet5 ¦  Wed Mar 28, 2012 10:57 am ¦  Forum: SparkFun Product Questions ¦  Topic: Arduino Airsoft Controller with Display ¦  Replies: 465 ¦  Views: 57073

OK. Another reality check, telling me I need to slow down. When I went to try the resistor to the 5v rail, I stopped and checked my connections with a voltmeter. The voltage rails on the breadboard appear to be wonky, somewhere. The voltage rails appear to be disconnected somewhere... but not where ...

  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 15