Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 26, 2020, 04:54:34 04:54


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC12F1612 ZCD IN Proteus  (Read 1046 times)
0 Members and 1 Guest are viewing this topic.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2326

Thank You
-Given: 755
-Receive: 603


Top Topic Starter


« on: September 09, 2020, 11:03:52 23:03 »

Anybody succeeded simulating this in Proteus?
Logged
Flash50
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 2
-Receive: 0


« Reply #1 on: September 12, 2020, 03:23:18 15:23 »

I have just tried, yes it is working in Proteus release8.10 sp3.
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2326

Thank You
-Given: 755
-Receive: 603


Top Topic Starter


« Reply #2 on: September 12, 2020, 08:22:47 20:22 »

No it is not.
Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 726

Thank You
-Given: 165
-Receive: 1212



« Reply #3 on: September 13, 2020, 07:12:46 07:12 »

I have just tried, yes it is working in Proteus release8.10 sp3.

Saying just a yes is not a proof, share your test code, because it is really not working.

No it is not.

Maybe he didn't notice ZCD, he just tried the PIC itself
Logged
Flash50
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 2
-Receive: 0


« Reply #4 on: September 13, 2020, 08:33:46 08:33 »

Maybe he didn't notice ZCD, he just tried the PIC itself

Sorry. I didn't notice ZCD.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4393

Thank You
-Given: 758
-Receive: 3235


There is no evidence that I muted SoNsIvRi


« Reply #5 on: September 13, 2020, 09:16:18 09:16 »

My thoughts are as the model don't need patching, it's a Labcenter issue.

https://www.microchip.com/design-centers/8-bit/peripherals/intelligent-analog/zero-cross-detect
« Last Edit: September 13, 2020, 09:18:53 09:18 by pickit2 » Logged

Note: So you have Not made a Post in the Forum. Without Posts we have No Forum, That's ok Can I Mute you now sir
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2326

Thank You
-Given: 755
-Receive: 603


Top Topic Starter


« Reply #6 on: September 13, 2020, 09:32:30 09:32 »

Ahmad_k found that ZCDxCON value is not changing in Proteus.
Logged
HackAndCrack
Senior Member
****
Offline Offline

Posts: 282

Thank You
-Given: 173
-Receive: 714


« Reply #7 on: September 13, 2020, 11:25:32 11:25 »

CM1CON0 and if needed CM2CON0 and ANSELx registers have to be configured as required to disable analog and comparator functions on ZCD pins. Maybe other features on those pins might also needs to be disabled.
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2326

Thank You
-Given: 755
-Receive: 603


Top Topic Starter


« Reply #8 on: September 13, 2020, 11:41:54 11:41 »

Here is a quick project + Proteus.
Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 726

Thank You
-Given: 165
-Receive: 1212



« Reply #9 on: September 13, 2020, 12:12:49 12:12 »

CM1CON0 and if needed CM2CON0 and ANSELx registers have to be configured as required to disable analog and comparator functions on ZCD pins. Maybe other features on those pins might also needs to be disabled.

The pin used for ZCD must be configured as analog input.

The problem with PROTEUS is that ZCD1CON keeps its value to 0
« Last Edit: September 13, 2020, 12:15:15 12:15 by Ahmad_k » Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC