Author |
Message |
Topic: FingerPrint Transferring 4 bit |
Zek_De
Replies: 9
Views: 16645
|
Forum: General CCS C Discussion Posted: Sat Nov 16, 2019 1:08 pm Subject: FingerPrint Transferring 4 bit |
Okay thank you guys for information. |
Topic: FingerPrint Transferring 4 bit |
Zek_De
Replies: 9
Views: 16645
|
Forum: General CCS C Discussion Posted: Sat Nov 16, 2019 2:09 am Subject: FingerPrint Transferring 4 bit |
We will use option #1, any PIC to send data to PC as in control. Heavy work will be done in PC that will register all data and compare persons. |
Topic: FingerPrint Transferring 4 bit |
Zek_De
Replies: 9
Views: 16645
|
Forum: General CCS C Discussion Posted: Fri Nov 15, 2019 2:49 am Subject: FingerPrint Transferring 4 bit |
Probably I should read about bmp file to understand details actually me and my friends working together and I am gonna say him about dspic to search suitable device.Thank you again friends. |
Topic: BLDC Sinusoidal Control |
Zek_De
Replies: 2
Views: 8871
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2019 11:36 pm Subject: BLDC Sinusoidal Control |
Hey Jay, of course I know shifting. I asked actually why this shifting used, actually it was probably about sinusoidal wave. >>10 is val/1024. I didn't realised it and I didn't use like that ... |
Topic: BLDC Sinusoidal Control |
Zek_De
Replies: 2
Views: 8871
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2019 12:48 am Subject: BLDC Sinusoidal Control |
Hi guys, I am trying to understand how to use sinusoidal control. I have codes someone did it. But I couldn't understand somewhere maybe someone have this experience, maybe can understand the basic po ... |
Topic: FingerPrint Transferring 4 bit |
Zek_De
Replies: 9
Views: 16645
|
Forum: General CCS C Discussion Posted: Wed Nov 13, 2019 11:34 pm Subject: FingerPrint Transferring 4 bit |
Hi guys, I am going to use fingerprint sensor and the values that I have got are about 34000 and datasheet tell me:
ImageBuffer serves for image storage and the image format is 256*288 pixels.
Whe ... |
Topic: PID motor control |
Zek_De
Replies: 5
Views: 13845
|
Forum: General CCS C Discussion Posted: Fri Nov 08, 2019 6:27 am Subject: PID motor control |
Actually I can't set it any new rpm that is lower than previous rpm. Just I can set it for higher rpm. Why it behaves like that ? |
Topic: PID motor control |
Zek_De
Replies: 5
Views: 13845
|
Forum: General CCS C Discussion Posted: Fri Nov 08, 2019 3:40 am Subject: PID motor control |
y[n] = y[n-1] + A0 * x[n] + A1 * x[n-1] + A2 * x[n-2] * x[n]*e[n]
x[n]*e[n] comes back calc using z transform. x[n] equals current limited value for pid. I couldn't write for a while sorry for that ... |
Topic: PID motor control |
Zek_De
Replies: 5
Views: 13845
|
Forum: General CCS C Discussion Posted: Fri Nov 08, 2019 3:36 am Subject: PID motor control |
rpm = bldcObj->func.Get_RPM(bldcObj);
//rpm = kalman1Dobj->func.Calculate(kalman1Dobj,rpm);
err = setRpm - rpm;
saturation=err;
if(err>3000) satur ... |
Topic: PID motor control |
Zek_De
Replies: 5
Views: 13845
|
Forum: General CCS C Discussion Posted: Wed Nov 06, 2019 8:29 am Subject: PID motor control |
Hi guys
Codes below control the motor speed with PID but I have a problem. If I change the speed like rpm=1000 and then rpm= 100. PID calculation produce very big negative value and this is why I c ... |
Topic: BLDC control with encoder and encoder zero crossing |
Zek_De
Replies: 9
Views: 17976
|
Forum: General CCS C Discussion Posted: Fri Oct 25, 2019 7:14 am Subject: BLDC control with encoder and encoder zero crossing |
Okay it is not about resolution. If I put there delay_ms(3) there is no problem. I have to handle it, but do you have a nice solution ? Of course I can apply. |
Topic: BLDC control with encoder and encoder zero crossing |
Zek_De
Replies: 9
Views: 17976
|
Forum: General CCS C Discussion Posted: Fri Oct 25, 2019 7:02 am Subject: BLDC control with encoder and encoder zero crossing |
Now it works yes It moves ccw for trying but new problem is after a while when motor moving it is getting slow and stop for a moment and again moving. I am thinking about resolution. This is the algor ... |
Topic: BLDC control with encoder and encoder zero crossing |
Zek_De
Replies: 9
Views: 17976
|
Forum: General CCS C Discussion Posted: Fri Oct 25, 2019 4:57 am Subject: BLDC control with encoder and encoder zero crossing |
Probably I couldn't tell its right because language. I mean I couldn't move the motor for next commutation. Of course I can read motor position. But if I need to find motor position for commutation in ... |
Topic: BLDC control with encoder and encoder zero crossing |
Zek_De
Replies: 9
Views: 17976
|
Forum: General CCS C Discussion Posted: Fri Oct 25, 2019 3:46 am Subject: BLDC control with encoder and encoder zero crossing |
Hi Ttelmah, I didn't understand what you mean exactly. Encoder give uint16 0-1023. I converted these value using asin(sin(enc_val*(360/1024))) to get result in -90 and 90 in this case I can take the ... |
Topic: BLDC control with encoder and encoder zero crossing |
Zek_De
Replies: 9
Views: 17976
|
Forum: General CCS C Discussion Posted: Fri Oct 25, 2019 1:09 am Subject: BLDC control with encoder and encoder zero crossing |
Hi guys,
I would like to sense commutation sequence using encoder (1024 resolution) for bldc motor and if current state - previous state >= a then motor can move for other sequence but if enco ... |
|