Show Posts
Pages: 1 ... 55 56 [57] 58 59 ... 73
841  Using Arduino / Programming Questions / Re: Building Atmel programmer yourself? on: March 12, 2012, 04:04:38 pm
If you have an Arduino you already have the necesary hardware for a programmer. Would be real easy to get hold of a 328 and make a dedicated programmer. I built a small board that I hook to my Arduino and program 328 and tiny2313 chips using it.

There already exists the ArduinoISP sketch so it would just be a matter of figuring out whether you want a shield or a dedicated board to do the programming.
842  Community / Products and Services / Re: Very Inexpensive Rotary Encoder (2 Bit Gray Code) on: March 12, 2012, 12:41:14 pm
Digikey has some comparable units for less than US$5.  Made by CTS Electrocomponents.

I used some $2.58 16 posistion units on a welder control panel. All metal and very reliable.
843  Using Arduino / General Electronics / Re: Simple question about watts and amps on: March 08, 2012, 01:58:48 pm
Power supply Amps rating is like the water tower down the road. Just because it can supply the 10 inch pipe coming out the bottom doesn't mean that my 1/2 water line going to the outside faucet can carry the same capacity.
844  Using Arduino / General Electronics / Re: How can I go from using an Arduino Duemilanove board to just using the chip.? on: March 08, 2012, 01:55:12 pm
Look up Arduino Breadboard.

You will need a couple capacitors and whatever you want to use for the oscilator - crystal or resonator. 1 10K resistor for the reset pin.
845  Using Arduino / Programming Questions / Re: help with pwm on: March 08, 2012, 01:51:58 pm
It would appear that your circuit is working correctly. At analogWrite 1 the transistor is off so the SSR sees max voltage on its input.
846  Using Arduino / Project Guidance / Re: AccelStepper - do other tasks at the same time? on: March 08, 2012, 01:48:22 pm
The code to move a stepper is pretty involved. These little machines we call Arduino (and the underlying AVR) don't have a whole lot of excess resources...
847  Development / Other Hardware Development / Re: Removable programmer idea... where to post schematics, if there is interest on: March 06, 2012, 10:37:06 pm
Okay folks - If the idea were to never try anything that might already be available from somebody else then why do we have some many clones of the basic Arduino?

Post your Idea here and it might turn out that you have a different/cheaper/simpler/quirkier/more useful/less useful idea that others can look at, and make suggestions over so that you and others can have the chance to learn and develop the art of hardware and software.
848  Using Arduino / General Electronics / Re: Calculating amps!! on: March 06, 2012, 10:28:41 pm
Adding 4 batteries and making it 6v should work for 2500mA for 4 hours. So basically it depends on the load.. rite??


Not quite ... You are using the term battery to mean 2 different things.

A single "battery" is properly a CELL. Several cells in series of parallel is a BATTERY. Comes from the idea of artilery. 1 gun is just a gun, a group of guns is a battery.

Cells in series add their voltages so 4 cells in series for 6V is still only 2500mA for 1 hour. 4 cells in parallel would add their current capacity and provide you with 1.5V at 2500mA for 4 hours.
849  Using Arduino / General Electronics / Re: resistors change value with tension? on: March 06, 2012, 10:19:07 pm
Mecahincally stressed carbon resistors can change in resistance.

As a kid I had a slotcar set that compressed a carbon stack to vary the resistance to control the speed of the cars.
850  Using Arduino / Programming Questions / Re: how to handle multiple switches on: March 06, 2012, 10:12:05 pm
Look for debouncing a switch to begin with. Any switch is likeley to have the contacts close more that 1 time for and given closure and you need to "debounce" it so you only see it as one button press. I had one switch on the job that was capable of giving 15 bounces for 1 press.

851  Using Arduino / Programming Questions / Re: Running the sample "BLINK" program @ 16 MHz on: March 06, 2012, 01:15:18 pm
Underground - If you can get you program to execute 16 million times a second, YES, but what you need to understand is that the code to blink takes many instructions, ans thus there is no way you can get anywhere close.
 
If you write some really tight, dedicated code in assembly language you can get rid if all the extra instructions that are there from compiling the c code, then you can get the numbers higher for PWM frequency.

I took some stepper driver code from 1260 bytes to 88 bytes by coding in assembler.
852  Using Arduino / Project Guidance / Re: Invention Help. Need 8 hour delay off with 5 minutes on and then repeat on: March 05, 2012, 09:18:10 pm
How accurate does the timing need to be? 8 hours give or take 10 minutes?

How much air (volumn & pressure) do you need?

Under $20? that probably going to be a problem.

You need to define your specifications so you can then do some web searches and see what might be available.
853  Using Arduino / Microcontrollers / Re: Atmega328 (no p) has compile/upload catch-22? on: March 02, 2012, 11:03:38 am
Find your AVRDude.conf and make sure there is a 328 chip defined. It can be the same as the 328P except for the signature. Once you have a bootloader it will load from Arduino without a problem.
854  Using Arduino / Project Guidance / Re: Changing HIGH voltage value of digital pins on: March 02, 2012, 10:01:18 am
First off 1A is not a small current it is quite large.
Next you can't switch that much from UNL2003. Each channel can switch up to half an amp, but you have a limit of about 650mA being on at any one time.

That was 0.1 amp
855  Using Arduino / Motors, Mechanics, and Power / Re: Running two steppers at the same time on: March 01, 2012, 06:22:20 pm
It would appear that the libraries are designed for moving one motor at a time. You will probably have to write your own code to move 2 motors at the same time.
Pages: 1 ... 55 56 [57] 58 59 ... 73