Show Posts
Pages: 1 ... 17 18 [19] 20 21 22
271  Forum 2005-2010 (read only) / Interfacing / Re: Source for cable ends to mate to arduino on: June 30, 2008, 03:33:12 pm
Excellent!  That's exactly what I was looking for (having a name to associate w/ the item now really helps too =)

Thank you very much

272  Forum 2005-2010 (read only) / Interfacing / Source for cable ends to mate to arduino on: June 30, 2008, 01:49:28 pm

  I'm getting ready to finish a prototype stage on my project, and, wanting to clean things up a bit, I wanted to make cables to run to the arduino.  However, I'm having a _real_ hard time sourcing a set of male ends that would mate up to the arduino's female plastic inputs/outputs.  I don't really want just loose wires held in w/ RTV, and I'd prefer not to make a header board just to adapt to the headers. Does anyone know of a source online of the male cable ends I could use to attach things? (I've seen them being sold for servos and such, but all just have three pins - I'd like to choose different  configurations based on what's going where, if possible.)

Thanks in advance!

273  Forum 2005-2010 (read only) / Interfacing / Re: Will this LCD work ? on: May 14, 2008, 01:45:58 pm
It appears to have the same pinout as any other parallel lcd. Should work?

274  Forum 2005-2010 (read only) / Interfacing / Re: USB Rope Light? on: May 12, 2008, 08:59:23 pm
Try looking for "flexible LED strip light" - should help quite a bit  smiley-wink

275  Forum 2005-2010 (read only) / Interfacing / Re: Telescoping Pole / Rod / Antenna on: May 12, 2008, 08:55:56 pm
You can make one yourself using a rack gear, just attach this to your rod, and use a dc motor to drive it:

276  Forum 2005-2010 (read only) / Interfacing / Re: Which motor drivers do you recommend? on: April 29, 2008, 02:52:34 pm
Ahh, well, that makes sense - I guess sometimes you go to solving one problem (DC motor direction and speed), and end up applying that solution to irrelevant problems.  So, do you recommend the L298 for the DC geared motors, or is there a better/cheaper one that you'd recommend (if you know of any)?

Thanks again!
277  Forum 2005-2010 (read only) / Interfacing / Which motor drivers do you recommend? on: April 29, 2008, 01:13:26 pm
Being a bit of a newbie at all of this, I'm seeking some advice.  I've done enough research to know what motors I'm using, have programmed all of the I/O and display for my project, but am now trying to figure out the best path to take for motor control.

Essentially, my project is this:

A truck/pan/tilt bot for time-lapse photography, meaning it's going to be running very slow for a very long time (I've got all the gearing, design, etc. laid out for the motors).  Three motors initially, and after that works a 4th (a second pan motor for the truck mechanism, giving the following movements: pan, tilt, truck X, pan/truck Y).  The motors I'm working with are the:

Hitec HS-645MG (6V @ 450mA - I'm highly doubting this amp load, but all I can find is amp rating @ no load)
Hitec HS-5955TG (6V @ 4.2A)

DC Geared Motor: (truck motion)
14 RPM @ 12V/45mA (again the mA is @ no load, I expect this to be much higher pushing a load of around 10Lbs)
I was originally considering using the L298 motor driver from solarbotics ( as it controls two motors for < $20 and gives me a regulated 5V for the arduino, but it lists a maximum peak amperage of 3.0A, so the second servo pretty much puts this driver out of the equation.

Does anyone have any recommendations for a motor driver that can handle the 4.2A load?

Thanks in advance!
278  Forum 2005-2010 (read only) / Interfacing / Re: adruinobt 9v on: April 25, 2008, 12:49:09 pm
Why not use both serial AA's (to up the voltage) and parallel AA's (to increase the current available/draw time at the same current)?

If you hook up the batteries serial, they increase the voltage, but the amperage remains the same.  If you hook them up parallel, you can get more amps, or increase the Ah rating.

For example, 3 AA's in series will give you 4.5V, but remain at ~ 2.8Ah hooking another 3 AA's (wired serial) in parallel to this combination would remain at 4.5V, but increase to ~5.6Ah, doubling run time.

That is, within each series, the negative is connected to the next battery's positive.  Between the series, the negatives are connected together and the positives are connected together.

Edit: here's a link that shows both serial, parallel, and combined techniques:

279  Forum 2005-2010 (read only) / Interfacing / Re: Triggering sound with input/sensor/button/swit on: April 25, 2008, 12:29:36 pm
That's funny, I'm also a beginner, but this was the first excersize I tried when my arduino came in.  Unfortunately, I didn't save the sketch code once it worked (just moved on =). However, the uCHobby "hello world" sound sketch and a simple de-bouncing sketch combined worked perfectly for me.

Debounce tutorial:

"Hello world" sound tutorial:

NOTE 1: you need to be using a speaker for this example, not a buzzer.  Wire the "hot" lead from a miniature speaker to SOUNDOUT_PIN, and put a resister or variable resister in line on the "hot" lead to control volume

NOTE 2: make sure you use a pull-down resistor on the switch.

#define SOUNDOUT_PIN 9
#define BUTTON_PIN 10

int reading;           // the current reading from the input pin
int previous = LOW;    // the previous reading from the input pin

unsigned long time = 0;         // the last time the output pin was toggled
unsigned long debounce = 200;   // the debounce time, increase if the output flickers

void setup(void){
//Set the sound out pin to output mode

void loop(void){

  reading = digitalRead(BUTTON_PIN);
  if (reading == HIGH && previous == LOW && millis() - time > debounce) {
    //Set the speaker pin high and delay for 1/2 a cycle of 1KHz, 500uS.

  //Generate sound by toggling the I/O pin High and Low
  //Generate a 1KHz tone. set the pin high for 500uS then
  //low for 500uS to make the period 1ms or 1KHz.


    //Set the speaker pin low and delay for 1/2 a cycle of 1KHz, 500uS.
    time = millis();

 previous = reading;

I don't have arduino here at the office to test this with, but if my memory works correctly, that should work just fine (it compiles just fine =)

280  Forum 2005-2010 (read only) / Workshops / Re: Houston, TX workshop on: January 19, 2009, 10:58:55 am
Crap, I'm two days late. smiley-cry  All-in-all, turns out January was a lot busier than I'd imagined it would be.  But, I'm still interested - perhaps we should merge with the hackerspace thing?  To have more bodies/minds involved would increase the chances of success, even if it would reduce the amount of arduino-specific topics.

281  Forum 2005-2010 (read only) / Workshops / Re: Houston, TX workshop on: December 22, 2008, 10:21:21 am
Mikal - good question - razorrifh had mentioned he has a possibility for a location, if not - we'd need to find somewhere to meet.  

282  Forum 2005-2010 (read only) / Workshops / Re: Houston, TX workshop on: November 11, 2008, 12:01:14 pm
I'm good for the 12th - that should work perfectly for me.

As for project overview, I think that would be a good idea - it may help people to figure out who to ask questions of, if they're working on a similar project.

w/ the TSL230, it's a matter of getting a frequency out of the chip, which then has to be mapped out to a wavelength of light to get the amount of power falling on the sensor.  All of this is fine for simple applications where you just want some relative measurement of light.  However, if you want to go further into light-topics, such as measuring the perceived amount of light reflecting off a surface (lux) or radiating from a source (lumen) - you have to take into account wavelengths, surface area, and the responsivity of the chip to different wavelengths.

... I'm working on a library to do most of the conversions for a user of the chip, and also will be putting a tutorial on the best way to get information from the chip (hint: it's not pulseIn() =)

I'm not sure what kind of a kit it would work out to be for such a talk, I mean, all you would need is the chip and an arduino - I'm thinking I'll perhaps make it a talk about controlling camera exposure via metering ambient light (which is my goal), which would require a few more components.

283  Forum 2005-2010 (read only) / Workshops / Re: Houston, TX workshop on: November 10, 2008, 12:11:18 pm
Definitely to drum up some interest would be a first step - would be kind of boring to have just two or three people there *grin*  Then we should have some sort of line-up for what talks would be available.

I would happily do a talk on making useful representations of the data from the TSL230 series -- all of the online examples range from banal to purely useless.  I should have a library out by January that will allow you make real (e.g. photometric) calculations from it easily...  Running down this path also made it clear why there weren't any good examples -- I've had to go buy refresher books on Algebra2 and Calculus =)

Would we want presenters to make kits available?  i.e. if we give a talk on how to solve a problem using a particular circuit, we could have kits together with all of the components, and those who want would sign-up before hand and get the kit there...

284  Forum 2005-2010 (read only) / Workshops / Re: Houston, TX workshop on: November 10, 2008, 10:34:45 am
I'm down for a workshop/get-together - but will be hard pressed for time until after the holidays.  Definitely can't do anything before 12/10.  

Perhaps we should schedule the first for post-new years, that way we have time to get a few presentations together and drum up a little more of an audience?  I could certainly get together just to chat for a couple of hours before then, but anything more productive is going to be a bit out of reach.

285  Forum 2005-2010 (read only) / Workshops / Re: Houston, TX workshop on: November 07, 2008, 11:01:32 am
Myself and a couple of co-workers play with them right now. I've worked quite a bit w/ them for motion and camera control, and am currently getting real deep into the TSL230R light sensor.  I'd be more than happy to talk about using the TSL, easy drivers, motion topics, and camera stuff.

One of my coworkers seems to have just about everything in any way related to the arduino =)  He could probably talk about a more extensive range of interfaces.

Pages: 1 ... 17 18 [19] 20 21 22