Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 03:31:01 15:31


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC12F1612 ZCD IN Proteus  (Read 5436 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: 747

Thank You
-Given: 169
-Receive: 1289



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

Thank You
-Given: 826
-Receive: 4207


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

Thank You
-Given: 175
-Receive: 801


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

Thank You
-Given: 169
-Receive: 1289



« 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