Show Posts
Pages: 1 ... 36 37 [38] 39 40 ... 324
556  Using Arduino / General Electronics / Re: Does a LM7809 help me boost arduino uno's 5V to 9V? on: August 16, 2014, 11:44:42 am
Have a look at Pololu
557  Using Arduino / General Electronics / Re: Does a LM7809 help me boost arduino uno's 5V to 9V? on: August 16, 2014, 11:36:51 am
78xx regulators only step down
558  Using Arduino / Sensors / Re: sensor for water pressure on: August 16, 2014, 10:43:51 am
Maybe but this is switcher no sensor.

It's a sensor: depending on the pressure, the switch is open or closed. Just like how the oil pressure light on your car dashboard works.
559  Topics / Robotics / Re: Unable To Use Multiple Servos On Arduino on: August 16, 2014, 08:59:09 am
Quote
A DC power supply is connected to the Arduino to provide power to all servos (set on 6v)

It's not clear to me if you mean the servos are powerd through the Arduino or directly from that power supply.
560  Using Arduino / Sensors / ALPS EC11 rotary encoders... detents? on: August 16, 2014, 08:44:55 am
Hi all,

Has anyone ever used an ALPS EC11?

According to any of the series datasheets, or see attached pic which is from the datasheet, there's a detent on phase A OFFs and ONs.  

Yet mine only has a detent where A is OFF.

Unfortunately my supplier is silent on which exact EC11 they sell, and I can't deduce which it is from here since mine has 20 detents and isn't listed.

Maybe mine's from a different sub-species of EC11.

No biggy, just curious if anyone knows about these encoders?

(I have, jbtw, written a sketch to de-code these things from scratch without interrupts. Interesting exercise to see the pattern of OFFs and ONs across the two pins.)
561  Using Arduino / Programming Questions / Re: Should be simple: What's wrong with my loop? on: August 16, 2014, 01:08:48 am
You are only allowed one loop()
562  Using Arduino / Programming Questions / Re: Should be simple: What's wrong with my loop? on: August 16, 2014, 01:01:46 am
Post the whole sketch
563  Using Arduino / Programming Questions / Re: Should be simple: What's wrong with my loop? on: August 16, 2014, 12:57:53 am
Lose the last ;

edit... but it's always better to post the whole sketch not just the part where it seems the problem is
564  Using Arduino / General Electronics / Re: Bread Boards & wishful thinking? on: August 16, 2014, 12:10:08 am
Dedicated I2C SDA/SCL rails (like voltage rails, running the length of the board, but marked SDA & SCL)
565  Using Arduino / Motors, Mechanics, and Power / Re: Servo motor forward reverse toggle with button on: August 15, 2014, 11:23:25 pm
No need to be rude.

Robin2 is probably one of the least rude members on this forum...

Anyhoo, his code worked for me, once I changed reab to read of course  smiley-cool. Only thing I did was change the servo positions from 90 and 100 to 10 and 170 to make the motion more apparent.

So I'll hazard a guess that your wiring may be wrong.

Assuming you want further help, and this....

Quote
Doesn't work anyway. Never mind.

.... indicates you probably don't, you should:

  • Describe how it doesn't work: what's it (not) doing
  • Give a sketch of you circuit.

Here's my circuit which worked with Robin's code.
566  Using Arduino / Installation & Troubleshooting / Re: problem with running from ground on: August 15, 2014, 09:10:30 am
Quote
i run the cable from ground to 5v

What does that mean?

You sure the LEDs are the right way round?
567  Using Arduino / Installation & Troubleshooting / Re: problem with running from ground on: August 15, 2014, 08:30:11 am
I'm not sure what you mean when you say the ground isn't working: you always need both a +ve and the ground, so if the circuit shown is working, the ground must be ok.
568  Using Arduino / Networking, Protocols, and Devices / Re: "Tiny RTC I2C Module" issue on: August 15, 2014, 06:35:55 am
I use a 1307 which I bought as a chip, not a module. Reputable local supplier so I assume it's genuine. I already had the crystal (of correct capacitance, not just correct frequency). No problems at all, set up on breadboard with a coin cell backup.

I use the DS1307RTC library.

(I originally thought its timekeeping was poor, but I think that was my finger trouble and eyeball co-ordination between the RTC output and the computer clock.)
569  Using Arduino / Programming Questions / Re: delay function parameter minimum on: August 15, 2014, 06:12:33 am
And the source code tells us that:

  • delay() is unsigned long so 0 is a valid argument void delay(unsigned long ms)
  • But 0 has no effect (as one would expect) because of while (ms > 0) {
570  Using Arduino / Programming Questions / Re: delay problem on: August 15, 2014, 05:32:19 am
You could look at millis() at the bottom of loop(), and if it's > 300000, go into a while(1) loop, otherwise do nothing so it zooms back to the top of loop()
Pages: 1 ... 36 37 [38] 39 40 ... 324