Search found 115 matches

by chevy6600
Tue Mar 04, 2008 2:18 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi benj , the data output as you have suggested, does not realy relate to what i get, if i make variable string as `variable[111]` . This is the maximum size i can get working, this comes up with memory data as ` 758 out of 8192 program words used 0 out of 256 data bytes used That took 1.61 seconds...
by chevy6600
Tue Mar 04, 2008 1:02 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi , i wonder if you could suggest what could be done here. I setup the prog multi servo2 so that the potentiometer reading pointed to another number from a list, and this list/number is the one used to operate the servo. All works ok in flowcode but i could not down load it onto the development bo...
by chevy6600
Mon Mar 03, 2008 6:59 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi sean , i have been playing around with your new prog, i must say it is a lot better. :mrgreen: i did a rough bench mark with the other one...sort of similar setup...and the first prog you sent to try (as i set it up with my altered version :P ) came out at doing a 200 cycle in 10 seconds. Your n...
by chevy6600
Sat Mar 01, 2008 6:41 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi sean, thanks for the effort you have given this and for the explanation, i do appreciate it. I note that you have been here on the forum today - a saturday. i thought i might let you know what i have done , i tweaked the `77` to a `52` which adjusted the potentiometer on the development board to ...
by chevy6600
Fri Feb 29, 2008 5:26 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

HI me again , i have been playing around wth the prog you made up. Works ok. :mrgreen: but i have a few questions you may be able to shed some light on. I set up a program based on yours, with a button which puts a 5 into the servo position when NOT pressed, and a potentiometer which gives it`s num...
by chevy6600
Thu Feb 28, 2008 4:58 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Thank you very much benj and sean, i shall have a little play with your prog for a while.
Glad that it is me not getting it right! and not expecting too much from the flowcode! :lol:
I have the pic 16F877A that came with the development board.
by chevy6600
Thu Feb 28, 2008 3:27 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi all , well i`m sorry to say i could do with some help again,after setting up a simple program to use pwm to operate a led, working off the potentiometer on the ver3 development board, all seemed ok as the led dimmed as expected. Next step was to replace the led with a servo as found in r/c model...
by chevy6600
Tue Feb 26, 2008 2:58 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

EUREKA ! :lol: Hi, thanks benj, i have put together a sightly simpler version of your `ADC CONTROLED PWM` program by editing it (as proof i understand it and to change the chip). I have got a led to work dimming in proportion to the pot an1. What i did not realise when i used it before you explaine...
by chevy6600
Tue Feb 26, 2008 2:06 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hello chevy There is a ADC controlled PWM example available from the downloads section of the website that will show you the LED getting dimmer and brighter with regards to the POT on AN1. You will have to switch the RA1 jumper from Digital to Analogue on your dev board to see it working. I have be...
by chevy6600
Tue Feb 26, 2008 1:57 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi again, i think i am getting closer ! O.k. i can get the led on the development board to dim according to a pwm duty cycle setting, but i would like to get straight why the delay is needed, as if it is needed for the led to be seen working, would i need the delay if i connected it to a servo? Can ...
by chevy6600
Tue Feb 26, 2008 1:38 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi benj, thanks for the input but you miss understand my intentions, the reason for me to try and operate the led in flowcode is because there is no servo component, and i hope a led would make use of the pwm function, it is the pwm function i need to get to grasp. I hoped to be able to see flowcode...
by chevy6600
Tue Feb 26, 2008 1:20 pm
Forum: Flowcode V2 & V3
Topic: Components
Replies: 30
Views: 68359

Re:

Hello What I really like to see is a servo component and a servo signal input component. These two are quite tricky to program using the present components and it is even harder to have them both in one program. I second the above. :mrgreen: There is a growing push in industry to use pwm to control...
by chevy6600
Tue Feb 26, 2008 12:09 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi again, well o.k. so the software cannot flash the leds but should it not be possible to make them come ON or OFF. I setup a simple program (chip 16f88), that uses a switch to switch a pwm to max of 255 when pressed and to set pwm to min of 0 when not pressed. I setup a row of leds on port B so th...
by chevy6600
Tue Feb 26, 2008 1:54 am
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

Re: pwm examples needed

Hi, tried your `adc controlled pwm` program, i can see how it all works but as proof of concept i thought that it should be possible to have the signal opperate a led or leds. So i thought all that was needed was to slap on a row of leds on port B and i should be able to see port B bit 0 and bit 3 c...
by chevy6600
Sat Feb 23, 2008 12:02 am
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65395

pwm examples needed

Hi all, from what i can see on this forum there are a few like myself who would like to know more on how to use the pwm function. I have already picked up the fact that flowcode will only display 2 pwm functions even if the chip has more!....hope this is put right in the next update!.....I have alre...