Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Re: MOSFET (10256) with a DC motor using PWM on: July 17, 2014, 06:43:50 am
Resolved.

I merely hooked up a motor.  It behaved as expected.  The voltages stayed as measured previously.
Dunno why.  Dunno how.  It works.

I had expected the voltage to start low and slowly rise as the PWM ramped up.  PWM(0) was 0 volts.  PWM(1) was 11.29 volts and slowly climbed to 11.44 volts at PWM(255).  (As measured on the motor side of the mosfet.)

Can anyone explain this behavior?

Thank you for your help.
2  Using Arduino / Motors, Mechanics, and Power / Re: MOSFET (10256) with a DC motor using PWM on: July 16, 2014, 11:26:38 am
I am using an Arduino Uno.

I have hooked the motor circuit as shown at - http://bildr.org/2012/03/rfp30n06le-arduino/

The specific MOSFET is - RFP30N06LE
The data sheet is at - https://www.sparkfun.com/products/10213

I am using a 12v power supply.

At the moment, there are no motors in the circuit.  I am merely measuring the voltage put out from the circuit.

The voltage I'm measuring is -
"I can send an analogwrite(10,0) and get 0v.  When I send an analogwrite(10,1), the voltage goes high to 11.4v."
3  Using Arduino / Motors, Mechanics, and Power / MOSFET (10256) with a DC motor using PWM on: July 15, 2014, 04:38:46 pm
I'm using a MOSFET Power Control Kit (COMM-10256) and am trying to control voltage going to a 12v DC motor.

I have a program that fades an LED using PWM, but when I replace the LED with a signal wire to the MOSFET, the voltage doesn't behave as I hoped.
I can send an analogwrite(10,0) and get 0v.  When I send an analogwrite(10,1), the voltage goes high to 11.4v.

What have I done wrong?
4  Using Arduino / Project Guidance / Interrupts with LCD, conflicting pins 2, 3 on: July 03, 2014, 12:48:26 pm
I need to set up an interrupt on an Uno, but am using an LCD display.  (pins 12, 11, 5, 4, 3, 2)
Since interrupts happen on pins 2 & 3, what am I supposed to do?

Thank you.
5  Community / Website and Forum / Re: Loop Back Test - Sticky? on: February 23, 2012, 08:06:35 pm
Thank you for the tip on ASCII chart. (Personally, I bleed EBCDIC.)

After seeing 'a'=97, I tried all println formats.  BYTE has been dropped, but the compiler pointed me in the right direction.  This is the code that works -
      int crap = Serial.read();
      Serial.write(crap);             


Thank you for the assist,
kk
6  Community / Website and Forum / Re: Loop Back Test - Sticky? on: February 23, 2012, 07:17:20 am
I've set it to a matching baud rate with the similar results.

I found a port monitor and sent it a string of 'a's.  Here's what the monitor saw-
Port opened by process "javaw.exe" (PID: 6424)

Request: 2/23/2012 7:14:25 AM.52364 (+180.2188 seconds)

 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61   aaaaaaaaaaaaaaaa
 61 61 61 61 0D 0A                                 aaaa..         

Answer: 2/23/2012 7:14:25 AM.53864 (+0.0156 seconds)

 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 31 33 0D 0A 31 30 0D 0A                           13..10..


Ideas anyone?
7  Community / Website and Forum / Re: Loop Back Test - Sticky? on: February 21, 2012, 01:51:55 pm
Great documentation!!!  (And I regularly read IBM mainframe docs.)
I followed the instructions and it behaved exactly as expected; a text version of ping.

I strung together some code to do the same thing.  The problem is all I get back is rectangles under the serial monitor.  Can you think of something to account for that?
Here's my code -
Quote
void setup() {
  Serial.begin(9600);
  pinMode(2, INPUT);
}

void loop() {
    if (Serial.available() > 0) {
      Serial.println(Serial.read());             
    }
  }
}



Any help would be appreciated.

Regards,
kk
8  Using Arduino / Installation & Troubleshooting / Re: Unable to enter any text on: February 19, 2012, 12:18:17 pm
BINGO!!

Give the man a cigar!!

Thank you very much,
kk
9  Using Arduino / Installation & Troubleshooting / Re: sketch_feb09a empty on: February 19, 2012, 09:33:23 am
He may be trolling but I'm not.

I see the date as sketch name when I start the software.  But I'm not able to type anything.  I can't paste anything.
I can load up an example, compile and send it to the board.  BUT I can't change anything in the code.

I've been able to use the software (0022) fine in the past.  I loaded 1.0 and have the same thing happen.

Has anyone seen this?

kk
10  Using Arduino / Installation & Troubleshooting / Unable to enter any text on: February 19, 2012, 09:24:24 am
I'm using 1.0 (but this happens on 0022 as well) and when I open the software, I'm not able to enter any text.
I can load an example and upload it to the board, but am unable to type anything in there either.

I know this is strange, but there it is.

Regards
kk
Pages: [1]