Search found 40 matches

by kirstom14
Thu Oct 13, 2011 3:59 pm
Forum: General / Misc
Topic: FlowCode interrupts for RB0
Replies: 4
Views: 9886

Re: FlowCode interrupts for RB0

Hi, I am trying to do an emergency stop using the RB0 interrupt. The problem is that when the interrupt is triggered, the macro chosen is only done once, When the interrupt is triggered the macro you selected via Flowcode will be run once , and I need it to continue to run until the emergency stop i...
by kirstom14
Wed Jul 28, 2010 11:29 am
Forum: Flowcode V2 & V3
Topic: ECIO crystal frequency
Replies: 3
Views: 3993

Re: ECIO crystal frequency

Hi, I need to have a PWM frequency which is less than 200Hz, which I cannot achieve. If I build the circuit myself, and dumping a boot-loader in the PIC will I still be able to program it like I program the ECIO, using the "Compile to Chip" button? As if this is possible it would solve my problem. T...
by kirstom14
Tue Jul 27, 2010 5:00 pm
Forum: Flowcode V2 & V3
Topic: ECIO crystal frequency
Replies: 3
Views: 3993

ECIO crystal frequency

Sorry if this sounds stupid. But I am using the ECIO-40P, and for my application the crystal is too fast.
What can I do to decrease the crystal frequency to about 16MHz?? I need to use USB communication also.
When reducing the frequency can I still use the USB (D+, D-)?

Thanks
by kirstom14
Sat Jun 26, 2010 3:10 pm
Forum: Flowcode V2 & V3
Topic: Servo Motor
Replies: 1
Views: 3266

Servo Motor

Hi

How can I control a servo motor?
I am using the ECIO-40, and PWM, I have reduced the PWM frequency to a minimum, but nothing is happening!
I also tried turning on a pin for a few milli seconds, but it is only turning a few degrees and then stops.

What can I do?

Thanks
by kirstom14
Fri May 14, 2010 7:57 am
Forum: Flowcode V2 & V3
Topic: PWM, can I control more than 2PWMs?
Replies: 6
Views: 6484

Re: PWM, can I control more than 2PWMs?

Hi medelec35, I have adjusted the settings like you told me. I have set the ECIO PWM freq to 3kHz. But the problem is that on the simulation the PWM is varying, but when I dump the program and send it to the ECIO, there is a square wave on the scope. But when I am varying the pot, there is only a sl...
by kirstom14
Wed May 12, 2010 9:42 pm
Forum: Flowcode V2 & V3
Topic: PWM, can I control more than 2PWMs?
Replies: 6
Views: 6484

Re: PWM, can I control more than 2PWMs?

Hi, Well I came out with a circuit that controls the speed and direction of the motor using only 1 PWM for each motor, with the aid of some simple logic. The problem that I am encountering is that, I am controlling the direction of the motor, but when I vary the ADC (using a pot), the PWM must chang...
by kirstom14
Wed May 05, 2010 8:19 pm
Forum: Flowcode V2 & V3
Topic: using serial with ECIO
Replies: 5
Views: 5215

Re: using serial with ECIO

Hi Benj,

Well I re-opened the flowcode window, re-generated the driver and installed it, and it worked fine.

Thanks
by kirstom14
Wed May 05, 2010 11:15 am
Forum: Flowcode V2 & V3
Topic: using serial with ECIO
Replies: 5
Views: 5215

Re: using serial with ECIO

Hi, Thanks I am trying to do the video demonstration program, but instead of using a keypad, I am using a switch. And it is complying ok. Now the problem is that when that the ECIO is programmed, and the driver is installed, the PC is giving an error: " The device cannot start (code 10)". Is the pro...
by kirstom14
Wed May 05, 2010 9:57 am
Forum: Flowcode V2 & V3
Topic: using serial with ECIO
Replies: 5
Views: 5215

using serial with ECIO

Hi, I am a newbie in serial communication. I want to receive data from the PC to the ECIO, but I dont know how to do it. The only thing that I know is that I need to use an interrupt for sure, so not to keep the ECIO searching the serial port. Any help please, and sorry if my question is babyish. Th...
by kirstom14
Sun Apr 11, 2010 8:58 pm
Forum: Electronics products
Topic: ECIO40 not working
Replies: 2
Views: 4231

Re: ECIO40 not working

Hi Ben, Sorry for my delay. Well, I installed the drivers before I used it the first time. It only worked one time. The first time I used it, I tested it with a simple flashing led program, which worked. But then when I wanted to dump the project, the laptop was always crashing. I have bought anothe...
by kirstom14
Mon Apr 05, 2010 12:47 pm
Forum: Electronics products
Topic: ECIO40 not working
Replies: 2
Views: 4231

ECIO40 not working

Hi, I have a ECIO40P, and it is giving me some trouble when I try to dump the hex file to it. I am dumping the hex file directly from Flowcode, but either the OS (Windows Vista) does not find the module or a blue screen comes, physical memory dump screen, and then restarts the laptop. I installed th...
by kirstom14
Sun Mar 14, 2010 11:14 am
Forum: Flowcode V2 & V3
Topic: C Simulation
Replies: 2
Views: 2929

Re: C Simulation

Eh, thanks then
by kirstom14
Sat Mar 13, 2010 4:34 pm
Forum: Flowcode V2 & V3
Topic: C Simulation
Replies: 2
Views: 2929

C Simulation

Hi,

Sorry if I am asking, but does Flowcode simulate code that has been written by C, using the C Code component ??
As when I compile no errors are found, but when I run the simulation nothing happens!
I am interfacing an LCD, keypad with the ECIO-40.

Thanks for the help.
by kirstom14
Sat Feb 27, 2010 10:07 pm
Forum: Flowcode V2 & V3
Topic: keypad and arrays
Replies: 15
Views: 14616

Re: keypad and arrays

Hi,

Thanks for the reply. The attachment gave me, a very good start. The concept that I was using was pretty much the same,
but I was using the string arrays wrongly, so I adjusted my program to use bytes instead of strings, and it worked fine.

Thanks again for the great help
by kirstom14
Sat Feb 27, 2010 12:23 pm
Forum: Flowcode V2 & V3
Topic: keypad and arrays
Replies: 15
Views: 14616

Re: keypad and arrays

Hi,
Sorry if I am asking again, But I cannot understand how to adopt the code in Tut_32 to a keypad, as there you are always incrementing the current_char according to the switch pressed. I am having some difficulty as the keypad is only reading a 255!!

Thanks again
by kirstom14
Fri Feb 26, 2010 2:15 pm
Forum: Flowcode V2 & V3
Topic: keypad and arrays
Replies: 15
Views: 14616

keypad and arrays

Hi, I am trying to read 8 consecutive numbers from a keypad, and then compare them to a variable which is made up from 8 numbers. Like a digital lock system. But I am having trouble to enter the inputted number into one array (after converting each variable to string) and compare them to a string va...
by kirstom14
Sun Jan 24, 2010 11:39 am
Forum: Flowcode V2 & V3
Topic: PWM, can I control more than 2PWMs?
Replies: 6
Views: 6484

PWM, can I control more than 2PWMs?

Hi,
I am using Flowcode v3, and I need to interface a dc motor and a dc servo motor using a PWM H-bridge for each.
Thus this requires 4 PWM pins, but Flowcode only have 2!

What can I do, as I need to control both motors at the same time?

Thanks
by kirstom14
Thu Dec 24, 2009 1:36 pm
Forum: Flowcode V2 & V3
Topic: using USb with PIC18F4550
Replies: 5
Views: 4802

Re: using USb with PIC18F4550

Hi, sorry for the long delay.

The driver that you have sent me didn't work either, and so I bought the ECIO module. And it is working fine.

Now I need to communicate with the ECIO using C# through USB. Do you have any idea of how this can be done??

Thanks
by kirstom14
Sun Nov 29, 2009 5:45 pm
Forum: Flowcode V2 & V3
Topic: using USb with PIC18F4550
Replies: 5
Views: 4802

using USb with PIC18F4550

Hi, I am using Flowcode v3 and I am trying to interface the 18F4550 with the PC through the USB. I saw the video tutorial about the USB and how to install the drivers, etc. But I am having a problem: Windows Vista is not accepting the driver that I generated from the USB component. It is saying that...
by kirstom14
Thu Sep 25, 2008 1:48 pm
Forum: Flowcode V2 & V3
Topic: Current Sensing
Replies: 2
Views: 2831

Current Sensing

I want to sense the current that is passing through a particular point in a circuit. What can I do?
[A very small value resistor than sense the voltage over it that it would be approx. the same as the
current????]
Thanks
by kirstom14
Tue Jul 22, 2008 4:19 pm
Forum: Flowcode V2 & V3
Topic: Custom Interrupts
Replies: 3
Views: 3388

Custom Interrupts

Can you help with with a custom interrupt for an RS-232 communication for the 16F877A and for the 18F452?
Thanks in advance
by kirstom14
Wed Jul 02, 2008 3:20 pm
Forum: Flowcode V2 & V3
Topic: Electronic Switch
Replies: 3
Views: 3444

Electronic Switch

I want to select between 3 types of waveforms: a square wave, a triangular wave and a sine wave. Then the selection must be the output. Can I use a PIC to do so, as when I tried it, I noticed a change in frequency but the output was always a square wave type. I want to use it as a sort of electronic...
by kirstom14
Fri May 23, 2008 6:40 am
Forum: Flowcode V2 & V3
Topic: Gadget for a quiz
Replies: 4
Views: 3701

Re: Gadget for a quiz

Thanks. I understood where the problem was. And it is working up to my requirements.

Thanks again
by kirstom14
Thu May 22, 2008 3:13 pm
Forum: Flowcode V2 & V3
Topic: Gadget for a quiz
Replies: 4
Views: 3701

Re: Gadget for a quiz

I tried what you have said. And if I have understood well than the program should look like the attached one.
But the problem with what I've done is that it is not resetting.
by kirstom14
Wed May 21, 2008 4:01 pm
Forum: Flowcode V2 & V3
Topic: Gadget for a quiz
Replies: 4
Views: 3701

Gadget for a quiz

I want to make a gadget that is going to be used in a quiz. The quiz have 4 teams. The first team that presses the switch first, will answer. That is when pressed, an LED referring to that team will light up, and the other switches must be disabled until the system is reset through a reset switch. T...