Show Posts
Pages: [1]
1  Using Arduino / Storage / Re: Need advice on implementing a simple counter function on: March 08, 2011, 08:04:15 pm
Great, Ill check it out.

Thanks!
2  Using Arduino / Storage / Need advice on implementing a simple counter function on: March 08, 2011, 08:00:24 pm
Hi all,

 I have what I hope wont be a terribly deep question. Basically I've got an IR beam set up, and I want to count the number of times the beam is broken over a given period of time.  Im wondering if this can be done using the built in memory on the arduino so that I dont have to leave a computer on logging with serial.print or buy one of the memory card add ons.

Thanks
C
3  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: March 02, 2011, 01:42:37 am
Thats what I'm hoping.  I also hope that last comment didn't sound retaliatory. I'm just very green when it comes to programming, electricity... all of this stuff (heck I'm a behaviorist haha). I just meant it as a sort of disclaimer that I'm aware of my extreme lack of knowledge and that I dont expect easy answers(though I might hope for them), but I'm committed to the dig and doing it right smiley

I really appreciate your input, I actually scavenged an old cd rom today to start tinkering with over the next few weeks.  Im hoping to learn, first of all, how to find the operating voltage and all that on them...and then to start learning about how to implement pwm (though ill likely play with that on an LED first).
4  Using Arduino / Motors, Mechanics, and Power / DC motor scavenging on: March 02, 2011, 01:03:08 am
I'm sure this question has been asked in some capacity a billion times, so I apologize for bringing it up again....but

I'm new to Arduino...and broke (barely had the cash to get the arduino).  I really want to start playing with DC motor control (with no specific end in mind beyond getting my motor to spin with arduino, and maybe some very rough ability to set the speed).  I scavenged a few motors today from a destroyed laptop (cd drive motor and the laser position motor) but neither have any markings to indicate voltage, current, so on.  How easy is it to figure this stuff out with a multimeter?  

The motor that spins the cd has 5 leads coming out, I get a twitch from the four on the right just probing around but Im guessing this means Im missing some integral component to get real spinning action(ie im guessing its a stepper motor and needs some sort of pulse sequencing something or another).

The laser position motor has 2 clear power leads, and then 4 others in the front connecting to some sort of optical sensor.

Again, Im sure this is an annoying question, and probably more complex than anyone will wanna go into, but Id appreciate a point in the right direction or some sort of resource where I can read into things.  Scavenging holds a lot of appeal but I often find myself at a loss for specs on stuff that isnt directly measurable with a multimeter.
5  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 28, 2011, 12:27:32 am
I've seen a TV documentary where the rats are given a choice of food or cocaine and end up dead of malnutrition. Amazing thing addition.

Lefty

Ohh yeah, we study it with cocaine, amphetamine, MDMA, alcohol, food...sex, all that good stuff.  Its amazing how many people still think it's a simple matter of willpower.
6  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 28, 2011, 12:18:16 am
"(There was a recent study done of "software quality...."

P.S. - I'm no stranger to that sort of thing, believe me haha.  No lie, I have seen PhDs cover screws in modeling clay to try to keep them from backing out....Thankfully I come from a long line of carpenters and machinists, and though I didn't follow in the footsteps, I did learn that nothing is worth building if its not done absolutely right.  I just happen to think this one is in my league.
7  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 28, 2011, 12:10:28 am
Syringe pumps deliver their contents VERY slowly (in the range 10ml per hour; probably less for rats?) and hopefully very regularly.  Picture one of those 4 RPM timing motors driving a precision ball screw, pushing the plunger.  Just the thing for keeping your wife painless during baby delivery :-)  Servos don't have enough resolution.

A geared stepper motor driving some sort of screw arrangement is probably a good start.  In fact, you might start with a computer's CD drive; they usually have a stepper driving a ball screw to move the heads (over 30mm or so of travel distance.)  Insert a bunch of gearing in between the stepper and the screw, afix some sort of lever to the head to push the plunger, and you'd be pretty close.  You'd even have a sturdy platform to mount things on.

Hmm.  They seem to also get used in rep-rap like machines (extruding polymers for 3d-printing.)  And they show up on eBay quite a lot.  (Some broken.  Although adding arduino-based electronics to existing mechanics might be a viable strategy.)

http://blog.reprap.org/2005_03_01_archive.html


I don't know how publishable research is when it's made using "questionable" equipment.  It may divide into two catagories: "Your homemade XXX is very clever!" and "Your use of homemade YYY completely invalidates everything you've done!"  (There was a recent study done of "software quality" in lab equipment of the sort made by people who studied, you know, biology or chemistry or one of those other real sciences rather than spending a decade or so in the software industry figuring out the many reasons that SW breaks all the time.  It wasn't flattering...  (sorta like: "people who studied computers and spent their careers writing SW still produce crap.  What did you expect from people who took two CS classes in college and went into lab research?"  Ouch.)


Thanks for the thorough reply, I'll look into that cd drive idea.  I think I may have mislead you with regard to the resolution I would need.  I need to move the plunger a distance of about 3 inches over a period of roughly 20 seconds, one time at the start of a session.  Normally we infuse by hand counting the seconds off as best we can (which has been accepted on our past publications).  For this experiment though we're interested in seeing a behavioral effect that should onset around 30 seconds after infusion, so it would be nice to be fully infused within +-2 seconds of our target.  (The pumps we own already are for experiments where the rats self administer with a lever)
8  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 27, 2011, 08:22:26 pm
I suspect I would just need to tap into the circuit and insert the arduino in such a way as to do PWM of the voltage going to the motor?
9  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 27, 2011, 08:16:53 pm
How about this - get a long screw with a flat sided nut on it that will sit inside a square column such that the screw is held in place and turning it back & forth causes the nut to move up & down the screw.
One wall has slot down its length, and eyelet attached to the nut (or sandwiched between 2 nuts) then moves up & down as screw is turned.
Attach a motor to the screwhead - or mount a cordless screw driver over the head of the screw and have the arduino control the screwdriver.
http://www.blackanddecker.com/power-tools/9074CTN%20A.aspx $15 if look around

Another great suggestion.  Running with that idea it occurs to me that we have tons of extra pumps around, they run on a 120V wall outlet, but are triggered on and off by our computer hardware.  How hard might it be to modify the motor on those to get some sort of variable speed?
10  Using Arduino / Project Guidance / Re: New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 27, 2011, 08:05:02 pm
Wow, that was fast.  God Arduino is a beautiful thing.

So my next question would be, where does the informed maker shop for these sorts of things?  Sparkfun and the Makershed seem pretty limited, but when I google things like actuator and servo I end up surfing through all these terrible industrial websites and catalogs with vague descriptions and bulk pricing.
11  Using Arduino / Project Guidance / New to Arduino, guidance on a simple syringe pump for my lab. HELP! FOR SCIENCE! on: February 27, 2011, 07:54:27 pm
Hi all,

I work in an addiction research lab where we give automatic infusions of cocaine to catheterized rats inside an operant chamber.  The trouble is that our syringe pumps cost around $700 a piece and they dont even come with variable speed capability (Yeah, $700 dollars for a motor that turns a screw that pushes in a syringe...at one speed).  As you would imagine however syringes come in all sorts of sizes, and drugs are mixed in all sorts of concentrations; so speed is a relevant variable.  I assume that I could fabricate something for FAR less.  I was wondering if anyone would have any suggestions as to where to start looking for suitable actuators and so on.  I know linear actuators are pretty expensive, but I assume there are myriad ways to achieve a similar motion.  All I need is to be able to adjust the rate the plunger on the syringe is pushed in, and have a button to stop and start it...simple right?  I would think even the arduino would be unnecessary, but I've been itching for a chance to get my hands dirty with one for a couple of years now.

Thanks very much!
Cameron
Pages: [1]