CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: Encoder motor control
Fruppy

Replies: 10
Views: 26266

PostForum: General CCS C Discussion   Posted: Fri May 28, 2021 8:40 am   Subject: Encoder motor control
I'm new to coding, so I didn't know that long int16 and int32 mean the same thing. Code is below


#include <16F877A.h>
#device adc=10 //set the bit value of adc
#FUSES XT, NOWDT, NOPROT ...
  Topic: Encoder motor control
Fruppy

Replies: 10
Views: 26266

PostForum: General CCS C Discussion   Posted: Fri May 28, 2021 4:46 am   Subject: Encoder motor control
This is my project. I used 877.
The circuit is as in the picture below:



https://i.hizliresim.com/7kbi2g0.png
  Topic: Encoder motor control
Fruppy

Replies: 10
Views: 26266

PostForum: General CCS C Discussion   Posted: Fri May 28, 2021 4:26 am   Subject: Encoder motor control
It is a simulation.
  Topic: Encoder motor control
Fruppy

Replies: 10
Views: 26266

PostForum: General CCS C Discussion   Posted: Fri May 28, 2021 3:51 am   Subject: Encoder motor control
Nothing has changed. The position is always 0. It should normally approach and equalize the reference value.


https://i.hizliresim.com/d1h8464.png
  Topic: Encoder motor control
Fruppy

Replies: 10
Views: 26266

PostForum: General CCS C Discussion   Posted: Thu May 27, 2021 4:08 pm   Subject: Encoder motor control
Hi everyone. I have a problem. I wanna find angle but I couldn't find.
I don't know where is my mistakes. I need help. My code are below:

#include <16F877A.h>
#device adc=10 //set the bi ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group