Search found 5 matches

by chinluh
Mon Apr 21, 2014 10:12 am
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Generating 1ms Pulse in Easylab with Scicos?
Replies: 8
Views: 16877

Re: Generating 1ms Pulse in Easylab with Scicos?

Hi Paolo,

thanks for the suggestion, I will work on it.

regards,
Chin Luh
by chinluh
Mon Apr 21, 2014 9:30 am
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Generating 1ms Pulse in Easylab with Scicos?
Replies: 8
Views: 16877

Re: Generating 1ms Pulse in Easylab with Scicos?

Hi Paolo,

I am trying to control SG90 9 g Micro Servo, which need to be controlled by 50Hz, and 1.5 ms pulse for 0 degree, 1ms of -90 degree and 2 ms for 90 degree.

Thanks.

Regards,
Chin Luh
by chinluh
Mon Apr 21, 2014 8:48 am
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Generating 1ms Pulse in Easylab with Scicos?
Replies: 8
Views: 16877

Re: Generating 1ms Pulse in Easylab with Scicos?

Hi Paolo, Thanks for your reply. Yes I just tried this combination and it seems to be working. However, the pulse generated still do not have enough 'sharp edge' to control the position of servo precisely. I tried to use 10U and it won't work, perhaps this is the limit? Also I did try to modify the ...
by chinluh
Sat Apr 19, 2014 5:25 pm
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Generating 1ms Pulse in Easylab with Scicos?
Replies: 8
Views: 16877

Re: Generating 1ms Pulse in Easylab with Scicos?

Hi Paolo,

Thanks for your prompt reply.

Sorry for my limited knowledge in C language, could you provide the values for 3 lines for a sampling time of 0.1 ms?

thanks.

rgds,
CL
by chinluh
Fri Apr 18, 2014 7:24 am
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Generating 1ms Pulse in Easylab with Scicos?
Replies: 8
Views: 16877

Generating 1ms Pulse in Easylab with Scicos?

Hi, I am trying to generate a 1ms pulse with the PWM period of 20ms (50Hz). I tried the following: 1. Using the PWM blocks, but it seems the min PWM freq is 1000 Hz. 2. Using the mathematic block to generate pulse to the digital out. The problem is the sampling time seems to have fix at min of 1 KHz...