if i use this the output freq and wave will be 12hz and modified squr duty= sample * amp_scale duty = temp_math_H ' Taking the High byte is faster than but if i use "duty= sample" the freq and wave for will be okay
here is the GCB file, i'm using proteus for simulating should i post the proteus file?
yes here is the picture
Hi everyone, I'm trying to add feedback, but when ever i add it the modulation frequency ll be dropping from 50Hz to 12Hz and the wave will be modified wave , but if i remove the feedback the modulating frq will be stable to 50Hz and the wave will be clean what will be the solution? chip 16F876A, 16 option explicit config FOSC = HS config WDTE = OFF config PWRTE = ON config CP = OFF config BOREN = ON // ===== I/O ===== Dir PORTC.3 Out ' H-bridge direction A Dir PORTC.4 Out ' H-bridge direction B...
all in zip
Ok, thank you Anobium for the point out ;correction. i have tested it and it works i attached the reading pictures for more verifications
Ok, thank you Anobium for the point out ;correction. i have tested it and it works i attached the reading pictures for more verifications
I think this can help some newbie to get started to read current with hall sensor ACS785, the accuracy is 98% ; ============================================================== ; ACS758-100B SENSOR TEST TOOL ; Target: PIC16F886 (20MHz) ; By Samco, maker-brainy ; ============================================================== chip 16F886, 20 option explicit ; --- LCD Setup (Change if your pins differ) --- define LCD_IO 4 define LCD_NO_RW define LCD_Speed fast define LCD_RS PORTB.2 define LCD_Enable PORTB.3...