Show Posts
Pages: [1]
1  Using Arduino / Sensors / Re: 1 Microsecond pulses on: October 04, 2012, 06:58:47 pm
Hey Mark,

Yours also works.


I am curious, did you get any overshooting with your pulse?  I was using a 60 MHz scope.
2  Using Arduino / Sensors / Re: 1 Microsecond pulses on: October 04, 2012, 12:25:48 pm
Thanks,

I finally got it.  There is a bit of overshooting at the top and bottom of the pulsing, but I can work with this.  Thanks.
3  Using Arduino / Sensors / Re: 1 Microsecond pulses on: October 04, 2012, 08:54:04 am
I am getting a sawtooth pattern decay with this pulse?

4  Using Arduino / Sensors / Re: 1 Microsecond pulses on: October 04, 2012, 05:06:43 am
All the output pins are grouped in PORTs: PORTB, PORTC: PORTD.  Each port has a corresponding PIN register: PINB, PINC, PIND.  If you write a 1 to a bit in the PIN register the output pin will flip:

Code:
PIND = 0x10;  // Toggle Pin 4 (Port D bit 4)
PIND = 0x10;  // Toggle Pin 4  back (Port D bit 4)

This should cause a very short pulse on Pin 4.

Thanks, I will try this today.

What exactly is this code saying?  I like to know what I am doing so I can learn from this.
5  Using Arduino / Sensors / 1 Microsecond pulses on: October 03, 2012, 07:23:56 pm
Hi,

I am new here and do not know much about programming, YET.

I am looking to control a gate two switch a HV supply to a transducer/receiver.

I need to control the gate with very short 5V pulses.  Approximately 1.2microseconds.  I hooked my arduino to a scope using the microsecond command, but the shortest pulse duration I can get is about 4 microseconds.

Does anyone know how to reduce this pulse duration down to 1.2 microseconds.

For my program:

Loop
30 microsecond (Low)
1.2 microsecond (High)
About a 10 second Delay
End Loop


If anyone can help me out with this short program I would very much appreciate it.

Thanks.


 
Pages: [1]