Search found 325 matches

by Ondra
Fri Feb 15, 2008 12:22 pm
Forum: Components (Other)
Topic: NVM and DAC
Replies: 26
Views: 14150

NVM and DAC

Good day all. I am trying to use the Flowcode SPI interface component and need some assistance. The microcontroller has SPI connections SDO,SDI, SCK, SS. The flowcode componet List NVM and DAC enable pins. I'm not using the eblocks so what happens to the NVM and DAC enable pins? Thanks in advance fo...
by Ondra
Wed Feb 06, 2008 1:50 pm
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8389

Re: Timer1

No I didn't. Thanks

Ondra
by Ondra
Tue Feb 05, 2008 5:19 pm
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8389

Re: Timer1

IT WORKSSSSSS!
Thanks Ben
by Ondra
Tue Feb 05, 2008 4:35 pm
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8389

Re: Timer1 not working

Ok. I tried this and can't get it working. I changed the fcd file and created a small program that blinks an Led. I chose the a prescaler of 1:8 which gave me a frequence of 2400Hz. I set a variable to increment and a light to blink ever second through an "If" block. when I use the TMR0 at...
by Ondra
Tue Jan 29, 2008 5:09 am
Forum: Flowcode V2 & V3
Topic: SPI and I2C programming
Replies: 1
Views: 1293

SPI and I2C programming

Good day all. Can someone help me? I have an embedded modem that has an SPI an I2C and RS232 interface. I am somewhat comfortable using the RS232 interface but would like to use the SPI or I2C interface. The device uses simple AT commands to configure and control it. My question is, are there any tu...
by Ondra
Tue Jan 15, 2008 5:55 pm
Forum: Electronics products
Topic: calculating series and pullup resistance needed
Replies: 2
Views: 3620

calculating series and pullup resistance needed

I would like to know if anyone can help me. I am working on a project. And I need to get the resistance values of a series and pullup resistor in three applications. In the first situation I am using a PIC microcontroller powered at 5V connected to a fairchild 2N3906 PNP transistor used to control a...
by Ondra
Fri Jan 04, 2008 4:17 pm
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8389

Thanks Steve. I'll give it try.
by Ondra
Fri Jan 04, 2008 2:00 pm
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8389

Thanks Steve.
I don't want to make a mess of this. Could you give me just a little more detail. In particular which line of code would I be looking to change changing?

Ondra
by Ondra
Fri Jan 04, 2008 3:08 am
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8389

Hi I am using the PIC16F690 and want to use timer1. Can the above work for me? Also do you have a list of the PIC's where Flowcode already has support for timer1 built in.

Ondra
by Ondra
Wed Dec 12, 2007 3:31 am
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Hi Benj. You were helping with this project. I was pulled off of it to work on something else. I am back on it and would like to know if you can help me complete it? Getting the C code part working is where I need help. I am using a PIC 18F258 with a 1843200Hz crystal. Could correct the C code so th...
by Ondra
Fri Dec 07, 2007 4:27 am
Forum: Flowcode V2 & V3
Topic: Interrupts?
Replies: 1
Views: 1353

Interrupts?

Hi all. I am trying to use interrupts in my program.
I am confused as to, do Interrupts fire on an input of logic 1 or 0.
I can't get any consistency. I am using PIC18F258 clock speed 18432000
What am I missing.

Ondra Simons
by Ondra
Tue Nov 27, 2007 5:36 am
Forum: Electronics products
Topic: Interfacing to, and using PCI devices.
Replies: 1
Views: 2953

Interfacing to, and using PCI devices.

Hi I would like to know if anyone knows what would be the process, if at all possible, required to build a PIC based module that would communicate to a PCI device. That is, using the PIC device as the Processor controlling the device. I want to control if posible a PCI modem device.

Ondra
by Ondra
Wed Oct 31, 2007 10:13 pm
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Hi Ben thanks for all you help, I'm still at it. the flow of the program works fine. I have setup the system so that it prints out the data through the RS232 port. I keep getting a 0 value. I can hear the sensor clicking, I tested that all the circuits are all switching correctly but again no data. ...
by Ondra
Tue Oct 30, 2007 1:51 pm
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Ok just to make sure I have this right. I would create 2 macros the first with the following code: 1. turn sensor Pwr Hi 2. wait ( delay ) 10mills 3. INT on 4. C Icon containing the following:- t1con = 0x3B; //Enable timer1 with 1:8 prescaler tmr1h = 0x00; tmr1l = 0x00; The second macro would contai...
by Ondra
Mon Oct 29, 2007 4:20 pm
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Thanks Ben. I used a C icon and inserted the code: t1con = 0x3B; //Enable timer1 with 1:8 prescaler tmr1 = 0x00; //Initialise the timer value to 0 when I tried to compile the program I got back this response:- C:\Flocode Projects\elink10_24_07.c(2085:2): error: unknown identifier 'tmr1' C:\Flocode P...
by Ondra
Thu Oct 25, 2007 4:19 pm
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Thanks ben. I am using the 18F258 PIC.
by Ondra
Thu Oct 25, 2007 3:02 pm
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Thanks ben. I am using Timer0 interrupt to run my time_clock. Is there a way to create another timer? Say timer1.

Ondra
by Ondra
Wed Oct 24, 2007 4:18 pm
Forum: Flowcode V2 & V3
Topic: Help Programming Ranging Sensor
Replies: 14
Views: 5542

Help Programming Ranging Sensor

Good day all. I am working with a ranging sensor unit. I would like to use it but don't know where to begin. Here is the instruction on using the unit. What I don't know is how to program for this "[b]The time between INIT going high and the Echo (ECHO) output going high is proportional to the ...
by Ondra
Mon Oct 22, 2007 1:39 pm
Forum: Flowcode V2 & V3
Topic: ADC ?
Replies: 5
Views: 2726

Thanks Sean
by Ondra
Mon Oct 22, 2007 12:36 pm
Forum: Flowcode V2 & V3
Topic: ADC ?
Replies: 5
Views: 2726

ADC ?

lam working with the ADC component. I have a device that is out-putting .460mv as read by my multimeter. When I program the PIC to sample, read and then output, the value out of the RS232 port what I get is the number 23. What should I be seeing and why am I not getting the value as measured with my...
by Ondra
Thu Sep 27, 2007 4:51 pm
Forum: Flowcode V2 & V3
Topic: Muiltiple RS232 outputs
Replies: 1
Views: 1143

Muiltiple RS232 outputs

Is it possible to program using flowcode multiple RS232 outputs from a PIC device. Please explain.
by Ondra
Thu Sep 27, 2007 3:41 am
Forum: Flowcode V2 & V3
Topic: Adding USB interface
Replies: 1
Views: 1377

Adding USB interface

I am working on a project and would like to add a USB interface instead of the RS232 interface I am currently using. Using Flowcode is it as straight forward as working with the RS232 interface? Are there any examples available? Thanks in advance.

Ondra
by Ondra
Mon Sep 24, 2007 3:24 pm
Forum: Flowcode V2 & V3
Topic: TMRO
Replies: 7
Views: 2801

Thanks again Ben.
Got a question for you. When I run the program it prints "this a test" about 37 times why and how do I print it just once.

Ondra
by Ondra
Mon Sep 24, 2007 2:44 pm
Forum: Flowcode V2 & V3
Topic: UDP over serial or Modem connection
Replies: 16
Views: 5587

Any plans to include point to point protocol(PPP) in the TCP/IP component. If not could you build it for me? :D
by Ondra
Fri Sep 21, 2007 10:35 am
Forum: Flowcode V2 & V3
Topic: TMRO
Replies: 7
Views: 2801

I think I found the problem. I was calling a routine that updated a variable call seconds every time the interrupt fired. I understand that I should have a separate interrupt routine counter variable. Question: Should I put a Macro call inside the interrupt routine or should I just reference the int...