Search found 40 matches

by kirstom14
Thu Feb 14, 2008 9:15 am
Forum: Flowcode V2 & V3
Topic: adc problem + display
Replies: 4
Views: 3505

Re: adc problem + display

Hi I divided the integer by 10 and then multipling it by 5, as the maximum input voltage is 50V. Then I used the string manipulation to divide the number in two parts and then displaying them. This worked fine on the flowcode simulation. But when simulating the whole cct on Proteus Isis, when I give...
by kirstom14
Tue Feb 12, 2008 8:16 pm
Forum: Flowcode V2 & V3
Topic: adc problem + display
Replies: 4
Views: 3505

adc problem + display

Hi I am using an adc to monitor a variable voltage from 0V to 50V. I am using a potential divider, so as a 50V input to the divider, would mean a 5V input on the adc and 1024 as integer variable. Up to here its ok. My problem is when I am going to display that integer on the LCD. I am dividing the i...
by kirstom14
Mon Jan 28, 2008 10:54 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Hi Ben Regarding my problem. With a help of another flowcode forum user, we tried the same cct on a different breadboard [as we were in a prototyping stage] and the program worked ok. Then we found that the breadboard that I was using has a high capacitance between its tracks and so it was interfera...
by kirstom14
Fri Jan 25, 2008 6:26 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Hi Ben

Yes, the LED is still flashing although no signal on the LCD.
I am thinking that the LCD is not being recognised by the PIC, could it be it???
by kirstom14
Fri Jan 25, 2008 10:15 am
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Hi Ben,

Regarding your last reply.
Yes, I am setting both the software and the hardware to XTAL (HS) mode. But still the LCD is not working.

WHAT CAN I DO? try another type of LCD?!

thanks
by kirstom14
Thu Jan 24, 2008 5:49 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Hi,

I set it to XTAL but nothing happened. It is working as it was working, i.e. the LCD not functioning.
I am using a serial PIC programmer, and I set it the oscillator to HS, the write protect off, the low voltage programming on and the brown out reset on. Could it be because of one of these?
by kirstom14
Thu Jan 24, 2008 10:58 am
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

I sent you the file.

The program intention is only to work the LCD. then after it I will use it for my project. as I am testing bits and pieces of the final program then I compile it all together.

I am using the Flowcode v3.2.2 (the last update).

thanks
by kirstom14
Wed Jan 23, 2008 5:33 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Yes, the LCD start is the first thing in the program and the program clk is set to 16000000 [16MHz].

What can I do?????

Thanks
by kirstom14
Wed Jan 23, 2008 1:49 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Hi
regarding my question, I used another LCD but with the same result. I did a simple program a flashing led and the lcd to display a word. The led is flashing but the lcd does nothing.
Thanks
by kirstom14
Tue Jan 22, 2008 6:44 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

HI I tried what you told but the lcd remained the same. There are 2 rows that are with some shadow. But nothing is happening on the LCD. I put a flashing LED on port A, to see if the PIC is working and the LED is Flashing as I set it. But the LCD is not working. To make a silly question: Does flowco...
by kirstom14
Tue Jan 22, 2008 5:22 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 71382

Re: Connecting a alphanumeric LCD to Flowcode

Hi I am using a PIC16F877A and on port D I am connecting the alphanumeric 20*4 LCD. The crystal is of 16MHz. But, the program works but nothing id displayed on the LCD. Does flowcode support connecting LCD's on Port D as by default it is connected to Port B. And does it support the HD44780 LCD Displ...
by kirstom14
Fri Nov 23, 2007 8:18 am
Forum: Flowcode V2 & V3
Topic: Calculating the time of a positive pulse
Replies: 4
Views: 3788

Hi Benj, Sorry for my delayed reply. I did the counter that will count from 0to 60sec and it works ok. But the problem is when I am adding the decision in the TMR_INT macro. The interrupts are still being incremented by 1, but the sec_cont [i.e. the 0sec-60sec] isn't being incremented. I added the d...
by kirstom14
Sun Nov 18, 2007 11:15 am
Forum: Flowcode V2 & V3
Topic: Calculating the time of a positive pulse
Replies: 4
Views: 3788

Yes, the pulse is occurring every cycle, but it is variable, that is the pulse can be more than one in one second. I want to show the speed, so if the speed is high then the pulses will be frequent and if slow the pulse will not be that frequent. I am going to use it as speed detector so the output ...
by kirstom14
Fri Nov 16, 2007 4:52 pm
Forum: Flowcode V2 & V3
Topic: Calculating the time of a positive pulse
Replies: 4
Views: 3788

Calculating the time of a positive pulse

I want to build a tachometer. I think that by calculating the time of the positive part of a pulse, I can find the rpm. I was going to use the formula w=rad/s, where w is rev/sec, rad is the angle and s the time. I know the angle and if I can calculate the time I could find the rpm then by w*60sec. ...
by kirstom14
Thu Nov 15, 2007 12:49 pm
Forum: Flowcode V2 & V3
Topic: RPM COUNTER
Replies: 15
Views: 11954

Hi,
I want to create a rpm counter for an anemometer, and then i must convert the rpm to m/s. I am using a 16F877A microprocessor. Can you tell how how I can do it using Flowcode? Thanks