Zero Crossing help
 
Notifications
Clear all

Zero Crossing help

15 Posts
5 Users
0 Reactions
6,869 Views
Posts: 274
 Matt
Topic starter
(@matt)
Reputable Member
Joined: 19 years ago

I'll give it a try later today.

-Matt


Reply
Posts: 274
 Matt
Topic starter
(@matt)
Reputable Member
Joined: 19 years ago

Ignore my last post. I noticed that I got about the same results whether the ends were hooked to anything or not. Turns out that I had the wrong audio channel, and there was still an earbud attached to it. The above chart was influenced by the noise in the room. I chopped off the earbud and switched channels, and now I have a good signal.

So, here's what I see coming into pin 4 on the PIC... what's your take on it?

-Matt


Reply
RavingLunatic
Posts: 1502
(@ravinglunatic)
Noble Member
Joined: 19 years ago

Check your diodes, it looks like you are getting a positive and negative AC cycle.

Are both D1 and D2 wired up correctly?

Is your D3 getting AC on it's cathode?

Double/triple check how your diodes are hooked up in comparison with the Ren-T design.

Edit: I noticed that the current Ren-T schematic in the wiki is from the XB proto version and doesn't show how a center-tap transformer hooks up. I made a drawing of how the ZC is done on the current Ren-T with a center-tap transformer.


Reply
Posts: 274
 Matt
Topic starter
(@matt)
Reputable Member
Joined: 19 years ago

The diodes are wired correctly. My Ren-T is wired to the schematic in Wayne J's post.

I did another test on my Line In port this time and got this...looking better but still not a clean digital signal. Those spikes in the positive direction seem to flash up and down while the analyser is on.

I'll actually have some time tomorrow to test what the serial data or clock look like to confirm the workings of the scope.

Thoughts?
-Matt


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago

Matt, it looks like its working fine to me. Now check the output of Q1; this is the square pin. It should look similar except it will be inverted.


Reply
Page 2 / 2
Share: