BHARGAVSHANKHALPARA
Junior Member level 3
- Joined
- May 6, 2010
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- GUJARAT INDIA
- Activity points
- 1,592
Hello everyone...!!
i am working on one old circuit. Now i want to make same circuit with another microcontroller but i want same output as now old circuit is giving.
My old circuit contain ATMEGA16A Microcontroller. form its datasheet i come to know at its pin no.1 have three functions like XCK for USART Purpose, T0 for timer/counter external pulse for counting and third is Simple port I/O Pin.
I am getting squarewave in nature. which i have seen in my DSO NANO. see attached photo for wavefarm...!!
My question is that...
i can obtain this square type wave on pin no. 1 (positive terminal of DSO) only when i connect ground terminal of DSO with Positive supply which i have given to microcontroller. but when i connect ground terminal of DSO with supply ground i get straight line like dc of 0 volts.
so why this signal i can see only with respect to positive terminal...why not with ground.(as it should be show in inverted form but it should be....).
which type of this wave...?
some attributes i have read on DSO ( With DSO + terminal at pin no.1 of microcontroller and - terminal of DSO with positive supply of microcontroller) are as bellow...
1. Vrms = 3.04V
2. Vavg = -2.28V
3. Vp-p = 4.60V
4. Vmax = +320mV
5. Vmin = -4.28V
Wavefarm image is attached.
https://obrazki.elektroda.pl/1832621300_1409857001.jpg
Thank you...!!
i am working on one old circuit. Now i want to make same circuit with another microcontroller but i want same output as now old circuit is giving.
My old circuit contain ATMEGA16A Microcontroller. form its datasheet i come to know at its pin no.1 have three functions like XCK for USART Purpose, T0 for timer/counter external pulse for counting and third is Simple port I/O Pin.
I am getting squarewave in nature. which i have seen in my DSO NANO. see attached photo for wavefarm...!!
My question is that...
i can obtain this square type wave on pin no. 1 (positive terminal of DSO) only when i connect ground terminal of DSO with Positive supply which i have given to microcontroller. but when i connect ground terminal of DSO with supply ground i get straight line like dc of 0 volts.
so why this signal i can see only with respect to positive terminal...why not with ground.(as it should be show in inverted form but it should be....).
which type of this wave...?
some attributes i have read on DSO ( With DSO + terminal at pin no.1 of microcontroller and - terminal of DSO with positive supply of microcontroller) are as bellow...
1. Vrms = 3.04V
2. Vavg = -2.28V
3. Vp-p = 4.60V
4. Vmax = +320mV
5. Vmin = -4.28V
Wavefarm image is attached.
https://obrazki.elektroda.pl/1832621300_1409857001.jpg
Thank you...!!