Show Posts
Pages: 1 [2] 3 4 ... 14
16  Using Arduino / Project Guidance / Re: Using an external adapter to supply voltage to a rotary encoder. on: June 10, 2013, 04:55:22 pm
You oughta see my androids auto correct
17  Using Arduino / Project Guidance / Re: Using an external adapter to supply voltage to a rotary encoder. on: June 10, 2013, 04:47:24 pm
I think you meant negligible not negotiable, Mike. And no, there's no chance that the resistors will burn up, you'll only have a few micro amps flowing through them.
18  Using Arduino / General Electronics / Re: Detect rotation speed (and direction?) on: May 27, 2013, 03:01:50 am
I'm sure it's all possible with a 3 axis accelerometer (even if the plane of rotation changes), but it would probably be incredibly difficult to conjure up a piece of software to manipulate all the accelerometer outputs into something useful.
If, however, you decide to ditch the 3rd dimension then it would probably be easier. Angle relative the the ground could be found using trigonometry (imagine a 90°   
19  Using Arduino / General Electronics / Re: Detect rotation speed (and direction?) on: May 27, 2013, 02:13:12 am
I imagine that would take quite a bit of ingenuity to accomplish. I'm not familiar with the exact hardware you're using, nor can I be sure that the led strip will only travel in a 2 dimensional plane relative to the hand, so forgive me if the following ideas are useless. Generally one would have a magnet attached to the stationary object (the leather loop), and a hall effect sensor on the spinning object or vice versa. However, this might not work reliably if the two are too far apart when they pass by. Another solution might be to attach a gyroscope/accelerometer chip onto the spinning part. I assume you already have a microcontroller somewhere in the mix, so interfacing shouldn't be difficult.

Actually now that I think of it, the hall effect sensor won't give rotational info. Scratch that idea.
20  Using Arduino / General Electronics / Re: Detect rotation speed (and direction?) on: May 27, 2013, 01:33:52 am
If you're swinging the stick surely you would know which way you're swinging it? What exactly are you trying to accomplish? I have a feeling it's something other than swinging a stick.
21  General Category / General Discussion / Re: English Electronics Help on: May 18, 2013, 08:38:39 pm
Very interesting, it would be cool to see to see some basic logic gates made out of hydraulic "transistors".
22  Using Arduino / Programming Questions / Coding conventions on: May 05, 2013, 12:31:45 am
Which of these two loops is "better"?

Code:
  while (!var)
  {
    //code
    if (something)
    {
      var = 1;
    }
  }

or

Code:
 
  while (1)
  {
    //code
    if (something)
    {
      break;
    }
  }

They both do the same thing obviously, and I can use either one for part of my code so I was just wondering if one is prefered over the other. I would guess the first one is better since break seems to have the same reputation as goto. I've had a lot a similar situations while coding in the past; Is there a place where all these coding conventions are written out?
23  Using Arduino / General Electronics / Re: Resistor Jumpers on: May 02, 2013, 01:23:51 pm
Huh?
24  Using Arduino / General Electronics / Re: Synaptics T1004 trackpad issues on: April 25, 2013, 03:12:31 pm
It was quite a while ago so I don't remember the details, but it was an IDE version between 0018 and 0022 I think.
25  Using Arduino / General Electronics / Re: Synaptics T1004 trackpad issues on: April 17, 2013, 12:01:27 am
I have a similar synaptics trackpad with the same pinout. It worked flawlessly with the ps2 library when I last tried it.
26  Using Arduino / General Electronics / Re: Why are real-time clocks always 32.768khz? on: April 12, 2013, 12:04:25 pm
I once heard somewhere that a specific natural occuring shape of crystal would oscillate at exactly 32.768 khz. Don't know if this holds any truth though
27  Using Arduino / General Electronics / Re: Multiple parallel secondaries for higher current on: March 20, 2013, 07:05:10 am
I probably should have mentioned that I'll be winding the secondary myself, so there will be no confusion as to which side of the winding is where. I just wanted to check if this was even possible, as it's much easier to wind several thin coils than it is to wind one very thick coil.
28  Using Arduino / General Electronics / Multiple parallel secondaries for higher current on: March 20, 2013, 05:51:33 am
Probably a simple question, but I can't wrap my head around it. Lets say I have a transformer with 2 identical secondary windings wound in the same direction. Can I connect them in parallel to double the current they can handle? Is this essentially the same as using one winding of double the thickness? It just doesn't seem right because the wires are insulated from each other except for at the ends, but google suggests that it's possible.
29  Using Arduino / General Electronics / Re: How to measure chip (or other component) temperature? on: March 08, 2013, 12:57:32 pm
I guess regular old thermal grease would work. Thermal exopy if you want a permenent contact. But either way, thet will be package temp, not die temp. Maybe with a bit of math and the thermal conductivity figures in the datasheet it would be possiblr to get an accurate measurement
30  Using Arduino / General Electronics / Re: Will 3.3V for a ATMEGA16U2 allow it to create a PC compatible USB port? on: March 05, 2013, 12:03:01 am
Yeah, it should work. Take a look at section 20.3 for proper connections
Pages: 1 [2] 3 4 ... 14