Show Posts
Pages: 1 ... 39 40 [41] 42 43 ... 304
601  Community / Website and Forum / Unread posts not showing on: July 26, 2014, 11:33:39 pm
I seldom click to mark all posts as read. Lately I've noticed it seems to be happening by itself and I'll be down to only a few unread posts when a while before there where pages and pages.

 smiley-mad
602  Using Arduino / Project Guidance / Re: Making car window roll automatically using an ATtiny85 on: July 26, 2014, 11:29:38 pm
Quote
for a car I'm restoring customising.
603  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno R3: What is the maximum output amperage? (Without damaging board) on: July 26, 2014, 11:26:22 pm
The neopixel are powered from the 5V header pin, yes? They only receive signal from the 328P, so no damage there. Kinda surprised you didn't smoke the 5V regulator, which is only rated for 800mA.

That was going to be my question: assuming the LEDs are only controlled, not powered, by the I/O, what current can the board supply at the 5V pin.... the OP seems an order of magnitude over the allowable so that regulator must be glowing.
604  Using Arduino / Project Guidance / Re: Using Aruino Digital pins after putting on a motor shield on: July 26, 2014, 01:50:24 pm
They mean you can use both pairs of output to drive one motor, thus doubling the capacity.

But I only posted that as an example, because I've used it.... have a look around Pololu and see what else they have, to check there's enough current available.

And no, in general you only need two pins: a H/L from Arduino to the motor chip will output a H/L and thus "forward", while a L/H will drive the motor in "reverse".
605  Using Arduino / General Electronics / Re: IR Led and Phototransistor connection give always 0 value on: July 26, 2014, 01:43:38 pm
Have a look at http://arduino.cc/en/Tutorial/ButtonStateChange and use the idea of having the "old" status replaced by the "new" one. Then next time through, it compares the new, new one with the old and only acts if they differ.
606  Using Arduino / General Electronics / Re: IR Led and Phototransistor connection give always 0 value on: July 26, 2014, 01:32:05 pm
If it's counting too many, it may be that the loop is going too fast for the falling grain. By the time the loop goes again, the grain is still there so it thinks it's a new one.

So you should perhaps  use a state check to see if the sensor is still blocked, ie see if it has gone from clear to blocked. If it's blocked now, and was blocked before, it's not a new bead. If it's blocked now and was clear before, it's a new one.
607  Using Arduino / Project Guidance / Re: Using Aruino Digital pins after putting on a motor shield on: July 26, 2014, 01:15:02 pm
What you say is true Twogan, for some shields.

But look at the pic in the link in the OP's first post. That shield brings the pins out in Grove connectors, making it not as simple a matter of just jamming a wire into a hole.

In general though, pins not used by a shield are indeed available for use, just that in this case the connection is a bit more tricky.
608  Using Arduino / Project Guidance / Re: Using Aruino Digital pins after putting on a motor shield on: July 26, 2014, 12:56:33 pm
As a matter of modern-day-principle you should look away from a motor driver board (shield or otherwise) that uses the L298 chip and look towards (for example) something like this. Far more efficient (the 298 drops at least 2V, up to 4+ iirc at high current), much smaller footprint, and doesn't need a heatsink the size of an elephant.
609  Using Arduino / Project Guidance / Re: Is 5.5volts from external regulator to Vin pin enough?? on: July 26, 2014, 12:27:58 pm
But why are you limited to the converter you mentioned in your opening post?

There are loads of others, like these at Pololu.
610  Using Arduino / Motors, Mechanics, and Power / Re: Proper battery Freaduino / Servo motors on: July 26, 2014, 11:33:40 am
Quote
6V x 2 servos =12V

No, 2 servos would be connected to the power source in parallel, so still 6V.

edit: pic attached
611  Community / Exhibition / Gallery / Example of a state machine on: July 26, 2014, 02:04:59 am
Hi all,

Thought I'd share this.

I implemented a state machine turnstile (I prefer turnstYle but wth, no biggy....)  based on what I read here. The attached code is fully commented but in essence it takes care of these events:

Current     Event    Transition   New
   state                            state
 -------------------------------------------
 Locked      Coin     Unlock       Unlocked (normal operation)
 Unlocked    Pass     Lock         Locked   (normal operation)
 Locked      Pass     Alarm        Locked   (abnormal operation: forced entry)
 Unlocked    Coin     Thanks       Unlocked (abnormal operation: paid twice)


In a nutshell, it starts locked, you pay, it unlocks, you open, enter, close and it locks. If you pay when it's unlocked, thanks for the donation, you paid twice. If you open without paying, alarm.

My turnstile isn't mechanically correct: it's just a short metal strip on a hinge. One end rests on an electromagnet, and there's an optointerrupter half way along. The optoint detects the presence of the strip, the magnet locks it in place. Lifting the strip is like pushing into the turnstile, dropping it is like the stile closing behind you. You can lift the strip against the magnet to simulate an illegal entry.

Payment is by clicking a software debounced momentary switch, which simulates a coin drop.

This implementation does not worry about the stile being open, ie sort of hovering between  "clicks"; perhaps PhaseII could look for that and alarm on a timeout, meaning someone is trapped or it didn't click closed properly.

You're welcome to do whatever you like with this.....

612  Using Arduino / Project Guidance / Re: Is 5.5volts from external regulator to Vin pin enough?? on: July 26, 2014, 12:27:13 am
The output will be 5.5 volts, which will be terminated on the Arduino's Vin and Gnd pins.

According to this spec site, the Vin input should be between 7 to 12 volts:

Will this work?

I'm pretty sure you already answered your own question....
613  Using Arduino / Project Guidance / Re: Getting wrong result from PWM on: July 25, 2014, 04:30:07 am
Not clear to me if this "controller" is the Arduino or another device connected to it?
614  General Category / General Discussion / Re: don't understand the meaning of a warning in a motor driver board user guide on: July 25, 2014, 04:16:26 am
I have a feeling your English is better than theirs.....
615  Using Arduino / Installation & Troubleshooting / Re: Maybe a stupid question, but how to you prevent old code from running... on: July 24, 2014, 09:30:10 pm
Correct me if I'm wrong,
Assuming you're running a relativly stock arduino without sd card reader or other storage,
when you upload the next sketch/program into the arduino the previous one gets erased from the arduino.
The memory it is stored in is non volitile (does not wipe as soon as power is lost) memory..

True but that's not what the OP's asking. His concern is that if he builds circuit B and powers up, the old sketch for circuit A will run before he loads the new sketch for circuit B, and that could have consequences.
Pages: 1 ... 39 40 [41] 42 43 ... 304