Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / 0-15 V DC motor on: February 22, 2011, 07:50:53 pm
Is there a good way to get the ArduinoMega2560 to output 0-15 volts?  Our motor needs at least 10 Volts to spin at the speed we need and a smaller motor wont work due to the load we are trying to spin.  We have tried a MOSFET and it keeps blowing the IC.  The only answer we have come up with is to put a 7.5 volt battery in series with the 5 volt output from the arduino board. 

Any ideas?
2  Using Arduino / Programming Questions / Re: simple C question on: February 08, 2011, 07:45:17 pm
That works great.  Thanks everybody!  I'll have a video of my project up soon.
3  Using Arduino / Programming Questions / Re: simple C question on: February 01, 2011, 05:19:45 pm
well basically what I am trying to do is light 2 different pins of the same RGB LED to 2 different intensities.  When I try and make yellow (green + red) there is too much red.  So what I want is green at 100% and red at 75%.  It needs to be done in the same time frame which is why I want a multi variable loop.  I will definately try these suggestions out.  Thanks
4  Using Arduino / Programming Questions / Re: simple C question on: February 01, 2011, 04:12:28 pm
I will give it a try.  Thanks!
5  Using Arduino / Project Guidance / modbus on: February 01, 2011, 04:04:46 pm
has anyone tried to communicate with an arduino using ModBus or TCP/IP?  Are there protocols for this already?
6  Using Arduino / Programming Questions / simple C question on: February 01, 2011, 04:00:17 pm
What I want to do is control a loop with 2 independent variables (x and y for instance).  Something like this.

   for (int x=0,int y=0; x<=100 && y<=255; x++, y++){     
     analogWrite(PWMpin13, x);
     analogWrite(PWMpin12, y);
     delay(10);
     analogWrite(PWMpin13, 0);
     analogWrite(PWMpin12, 0);
   }

I want one write sequence to max out at 100 (x) and a seperate write sequence to max out at 255 (y). 
I know there is a way to do this, but everything I try either errors or doesn't work correctly.  It's probably some silly syntax mistake. 

I appreciate any help you can offer.

 smiley-lol
7  Using Arduino / Interfacing w/ Software on the Computer / Re: download lost program on: January 31, 2011, 12:08:45 am
Well that's thoroughly crap! It wasn't too bad. I salvaged a piece of the code from another file but I still have to rewrite the rest.

I appreciate the help and the quick response.

Thanks guys.  smiley
8  Using Arduino / Interfacing w/ Software on the Computer / download lost program on: January 30, 2011, 08:39:18 pm
I made a goofy "new guy" mistake.  I got busy writing a program and had a fair amount of work put into it and didn't save the sketch.  I did have it uploaded onto my Arduino Mega and it is still there running.  How can I download that sketch from the board to my computer?  I thought maybe the EEPROM read would do that but I get the error

In file included from C:\Users\Brad Dickerson\Desktop\New Folder (3)\Arduino\arduino-0021\libraries\EEPROM\EEPROM.cpp:24:
c:/users/brad dickerson/desktop/new folder (3)/arduino/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/avr/eeprom.h: In function 'void eeprom_read_block(void*, const void*, size_t)':
c:/users/brad dickerson/desktop/new folder (3)/arduino/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/avr/eeprom.h:290: error: ISO C++ forbids incrementing a pointer of type 'void*'

etc... 

Which I have no idea what it means
I really don't want to start over it possible.
 please help
Pages: [1]