Show Posts
Pages: 1 ... 792 793 [794] 795 796 ... 1167
11896  Using Arduino / Programming Questions / Re: Microseconds? on: January 29, 2011, 03:20:53 pm
From the Arduino reference:

Quote
Caveats and Known Issues
This function works very accurately in the range 3 microseconds and up. We cannot assure that delayMicroseconds will perform precisely for smaller delay-times.

11897  Community / Bar Sport / Re: Is the magic smoke toxic? (and other questions) on: January 29, 2011, 02:56:59 pm
Quote
So, not a total loss


By no means. You have lucked out. The board can still function as a USB only board. You can use it to be a ICP programmer for burning bootloaders onto other chips, etc. I wish I had such luck when some of my projects caught fire.  smiley-grin
11898  Using Arduino / Project Guidance / Re: change 5v breadboarded arduino (atmega 328) to 3.3v on: January 29, 2011, 02:43:35 pm
Quote
Am I missing something? 


No, I think you have covered the points. However to save time you might just change the voltage and keep the 16mhz crystal. Several vendors sell 328 boards and can either be switched to 3.3v operation or are only available in 3.3volt version yet still run at 16mhz. While it is not in accordance with the AVR datasheet specs, most all report no problem running at 3.3vdc and 16mhz. Might be worth a quick check out.

Lefty
11899  Using Arduino / Programming Questions / Re: Read Time for 15 minutes on: January 29, 2011, 01:47:25 pm


delay(2700000); // This will cause program to pause for 45 mins.
11900  Using Arduino / General Electronics / Re: Puzzled over PWM with NPN transistor on: January 29, 2011, 01:37:10 pm
Quote
I know that's what it says in the datasheet

Do you not believe the datasheet? I've found arguing with either compiler error messages or hardware datasheets a useless activity, I always lose the argument.  smiley-lol

Not sure what to say about your observations. Possible if I could see a real schematic and the electrical internals for your meters ( meters are current meters using internal series resistor to scale a given voltage to a given current), some explanation might present itself. And there are plenty of people around here smarter them me, so be patient if you want a root reason for your observations.

Lefty
11901  Community / Products and Services / Re: New Product: Rugged Circuits Aussie Shield on: January 29, 2011, 01:31:00 pm
Now where in the heck did my reset switch disappear too. And my pin 13 pin isn't working. Any how am I going to connect my USBtiny ISP programmer.  smiley-lol

Just teasing you. Nice layout.

Lefty
11902  Using Arduino / Sensors / Re: Internal/external sensor project - Power recommendations on: January 29, 2011, 01:26:22 pm
Give me a chance... I'm at home and most of the kit is at work. I'm also a beer into my weekend, so it might take a while. smiley-cool

LOL, don't worry I'm here all week.  smiley-lol
And like my beer also.

Lefty
11903  Using Arduino / Sensors / Re: Internal/external sensor project - Power recommendations on: January 29, 2011, 01:20:14 pm
Quote
List so far:

Your partial list doesn't seem to include voltage and current requirements for each item? Also links to the items datasheet or user manual might be needed if not obvious how they work and what they require.

Lefty

11904  Using Arduino / Project Guidance / Re: Using Arduino with Matlab and Simulink to build a controller? on: January 29, 2011, 01:16:27 pm
Is the analogue input a normal one or a differential one? My device outputs a simple voltage, I wouldn't like to convert it myself to a differential input.

No, the Arduino analog input pins are single ended, which means there must also be a common ground connection from the voltage source being measured to the Arduino board.

Lefty

11905  Using Arduino / Displays / Re: How Can I Make a PONG-Like Game on a TV? on: January 29, 2011, 01:14:32 pm
ok can someone post a schematic for use with my arduino mega 1280 and a code for use with the setup displayed on the provided Schematic...


THANKS 



Would you like fries with your order?  smiley-lol
11906  Using Arduino / General Electronics / Re: Puzzled over PWM with NPN transistor on: January 29, 2011, 01:04:53 pm
Quote
I thought that a PWM pin would sink the same amount of current as it would source, but apparently that is not the case.


Well from an output pin electrical point of view that is not a true statement. The output are fully symmetrical push/pull and have the same drive specifications when sinking or sourcing current. Look external to the output pin for a valid explanation.
11907  Using Arduino / Programming Questions / Re: Concatenation Operator on: January 29, 2011, 01:01:24 pm
Well the basic C language offers arrays to hold multiple variables, and there are various string libraries to help manage character arrays. However once you start inputting or outputting characters to and from the serial port, you have to deal with single byte transfers in a loop to send or receive full multi-character messages. You also have to define and implement a serial protocol so you know when a valid value or message starts and ends, or how many characters make up a complete transaction. Lots of examples around if you search for them.

Lefty
11908  Using Arduino / Sensors / Re: Internal/external sensor project - Power recommendations on: January 29, 2011, 12:54:23 pm
Quote
and remembered that USB delivers both 12v and 5v through the cable on different pins.


Not true, a USB cable has four conductors, D+, D-, +5vdc, ground. There is a 500ma max current requirement when using USB power.

I would suggest you list all the devices, arduino and external devices and components, list their voltage requirements and current consumptions. Only then can there be a good chance of figuring out the simplest method to power the monster.  smiley

Lefty
11909  Using Arduino / Project Guidance / Re: Using Arduino with Matlab and Simulink to build a controller? on: January 29, 2011, 12:49:36 pm
Quote
I understand it outputs only PWM that I can turn to a pure analogue by an LPF, does it also accept only PWM? because creating that out of an analogue voltage would be more difficult...

The Arduino analog input pins accept true analog input voltages. They can measure 0 to +5vdc and the internal 10 bit A/D converts that to a integer value of 0-1024 range. Caution no negative voltages allowed and no voltages over +5vdc allowed without possible electrical damage to the chip.

Lefty
11910  Using Arduino / Motors, Mechanics, and Power / Re: Control stepper motor starting position? on: January 29, 2011, 12:44:03 pm
I think a simpler method for a home position indicator/sensor is a simple hall effect switch mounted on a fixed part and have a small permanent magnet attached to the rotating part. Won't be effected by light level or dirt/dust build up, etc.

http://www.sparkfun.com/products/9312

Lefty
Pages: 1 ... 792 793 [794] 795 796 ... 1167