Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Arbitary waveform generator using a micro-controller

Status
Not open for further replies.

Tapajit Mondal

New Member
Hello dear friends,

The following image is that of a Data signal, one waveform is used to represent logic level 1 and other 180 degree phase shifted waveform represents logic 0. Can someone please provide some input on how I may be able to generate the following waveforms on a micro-controller ?

Regards,
TM
 

Attachments

  • 1.jpg
    1.jpg
    48.1 KB · Views: 344
Do you need help with the code, or how to build a two-bit Digital to Analog converter?
 
5V micro?
25mA or 40mA source/sink port pins?
What is the load? (capacitance?)

Here is a guess:

30..png


You may have to tweak the resistor values a bit after you see the loaded micro port voltages. PortA can source current to the voltage divider tap; PortB can only sink current.
 
Last edited:
Dear Sir,
This image below is the signal on an Oscilloscope. The signal is generated from a Training Setup. Please let me know if any modification is required to the above circuit.

IMG-20161015-WA0013.jpg
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top