Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2024, 12:06:30 12:06


Login with username, password and session length


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

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


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

Anybody succeeded simulating this in Proteus?
Logged
Flash50
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 16
-Receive: 3


« 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: 2420

Thank You
-Given: 862
-Receive: 678


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: 763

Thank You
-Given: 173
-Receive: 1298



« 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
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 16
-Receive: 3


« 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: 4667

Thank You
-Given: 834
-Receive: 4321


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: I stoped Muteing bad members OK I now put thier account in sleep mode
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


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: 294

Thank You
-Given: 175
-Receive: 802


« 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: 2420

Thank You
-Given: 862
-Receive: 678


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: 763

Thank You
-Given: 173
-Receive: 1298



« 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