boon1987
Newbie level 6
- Joined
- Sep 18, 2009
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- malaysia
- Activity points
- 1,437
Hi,
I am working on a project related to ultrasonic transmitter. I get the PWM signal from PIC18f452 to ultrasonic sensor. The PWM signal can get 40kHz frequency but the voltage is from 0 to 5V only. My question how to make the PWM signal become peak to peak voltage from -10 V to 10 V?
My concern is generate a 40kHz signal with -10V to 10 V peak to peak voltage square wave to ultrasonic transmitter.Does anyone have any idea on it? It is on the robot, so cannot use signal genearator. I need to use some circuit or PIC to do this task. Please provide me assistance, thank.
Thank in Advance.
Added after 4 hours 46 minutes:
Hi,
I found a schematic of Ultrasonic Circuit from internet. The person who design it using connect the output of PIC to RS232 chip. After that, the output of RS232 chip is connect to buzzer.
I understand that the PWM of the signal from PIC can achieve 5V. But I don't understand how they convert the PWM signal to peak to peak 20V(from -10 V to 10 V) square wave. Anybody can give me the explaination? Image of schematic is below. I circle the area with red pen.
They connect GP4 and GP5 to RS232 chip and connect both output of RS232 to ultrasonic transmitter N1076.
The RS232 chip is normally a MAX232 IC.
Can anyone help me on this. Thank.
Added after 1 minutes:
Schematic
I am working on a project related to ultrasonic transmitter. I get the PWM signal from PIC18f452 to ultrasonic sensor. The PWM signal can get 40kHz frequency but the voltage is from 0 to 5V only. My question how to make the PWM signal become peak to peak voltage from -10 V to 10 V?
My concern is generate a 40kHz signal with -10V to 10 V peak to peak voltage square wave to ultrasonic transmitter.Does anyone have any idea on it? It is on the robot, so cannot use signal genearator. I need to use some circuit or PIC to do this task. Please provide me assistance, thank.
Thank in Advance.
Added after 4 hours 46 minutes:
Hi,
I found a schematic of Ultrasonic Circuit from internet. The person who design it using connect the output of PIC to RS232 chip. After that, the output of RS232 chip is connect to buzzer.
I understand that the PWM of the signal from PIC can achieve 5V. But I don't understand how they convert the PWM signal to peak to peak 20V(from -10 V to 10 V) square wave. Anybody can give me the explaination? Image of schematic is below. I circle the area with red pen.
They connect GP4 and GP5 to RS232 chip and connect both output of RS232 to ultrasonic transmitter N1076.
The RS232 chip is normally a MAX232 IC.
Can anyone help me on this. Thank.
Added after 1 minutes:
Schematic