Search found 36 matches

by paulm
Tue May 30, 2017 4:41 pm
Forum: General Programming
Topic: USB Bootloader for PIC18F2455/2550/4455/4550
Replies: 3
Views: 5293

USB Bootloader for PIC18F2455/2550/4455/4550

Hi, I want to design a small PCB board using one of the PICs (PIC18F2455/2550/4455/4550) that uses USB comms to interface to a PC application. I also would like to use a bootloader so I could reprogram the PIC18F device so that I don't need an external programmer to update the code. Has anybody done...
by paulm
Wed Feb 11, 2015 12:56 am
Forum: Flowcode V6
Topic: Problem with Servo timing (Flowcode 6) with ECIO40P16
Replies: 6
Views: 4365

Re: Problem with Servo timing (Flowcode 6) with ECIO40P16

Hi, yes I have tried the default values of 1280 and 2500. Since the pulse width is only from 1000uSec to 2270uSec (i.e. net difference 1270uSec) this only represents 127Degrees of movement since the full range of the pulse is meant to go from 600uSec to 2400uSec (i.e. net difference of 1800uSec). I ...
by paulm
Tue Feb 10, 2015 12:51 pm
Forum: Flowcode V6
Topic: Problem with Servo timing (Flowcode 6) with ECIO40P16
Replies: 6
Views: 4365

Re: Problem with Servo timing (Flowcode 6) with ECIO40P16

Can anyone please advise?
by paulm
Sun Feb 08, 2015 11:59 pm
Forum: Flowcode V6
Topic: Problem with Servo timing (Flowcode 6) with ECIO40P16
Replies: 6
Views: 4365

Problem with Servo timing (Flowcode 6) with ECIO40P16

Hi, I have modified the "Single_servo_motor_control.fcfx" example on the wiki page for Flowcode 6 to try and drive a Tower Pro "SG-5010" Servo motor using the ECIO40P16. The example is "Servo Example 1":- http://www.matrixtsl.com/wiki/index.php?title=Component:_Servo_Co...
by paulm
Wed Feb 04, 2015 12:15 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

Re: ECIOP4016 comms with LabView

Hi Ben,

yes, I had already upgraded.

Did you get the error I received in relation to the USB driver?

Paul
by paulm
Tue Feb 03, 2015 1:00 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

Re: ECIOP4016 comms with LabView

Hi Ben, I followed your suggestion but still cannot get it going. I notice that the driver I generate from Flowcode 6, will not install from the control panel. I tried to send attached screenshot but it wont let me. Ill email you that directly. Also, I notice the VID & PID are not the same in th...
by paulm
Mon Feb 02, 2015 1:30 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

Re: ECIOP4016 comms with LabView

Hi Ben, I went back to an older device I have (ECIO40P) and I can get this communicating with Labview no problem, where I installed the driver as a Flowcode Slave USB device. I programmed that device from Flowcode 5. I have followed the same procedure with the ECIO40P16 within Flowcode 6, but I cann...
by paulm
Thu Jan 29, 2015 6:39 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

Re: ECIOP4016 comms with LabView

I has to rename driver extension to .txt to allow me to upload
by paulm
Thu Jan 29, 2015 6:37 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

Re: ECIOP4016 comms with LabView

Hi Ben, I have spent a couple of hours trying to get this working and I got to the point where it is recognised as a Slave USB device in the control panel but for some reason Labview is not picking up the device. I have attached the locally generated inf file. I notice that the VID and PID are not t...
by paulm
Tue Jan 27, 2015 5:56 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

Re: ECIOP4016 comms with LabView

Hi Ben, unfortunately when I create the flowcode file it gives errors when compiling. See attached file. The attached file is very similar to the way I did it in the past when using an earlier version of flowcode. Can you also explain the procedure for generating the .inf driver files for Labview fr...
by paulm
Mon Jan 26, 2015 7:04 pm
Forum: Flowcode V6
Topic: ECIOP4016 comms with LabView
Replies: 12
Views: 7514

ECIOP4016 comms with LabView

Hi,

just wondering if anybody has gotten the ECIOP4016 communicating with LabView through the virtual com port over USB ?

If possible could you share the procedure

Regards,
Paul
by paulm
Tue Dec 09, 2014 12:39 am
Forum: Flowcode V6
Topic: ECIO40P16 PWM Chip Output
Replies: 9
Views: 6861

Re: ECIO40P16 PWM Chip Output

Hi Ben, I bought Flowcode 6 and purchased the ECIO40P16 to drive a 5-axis servo motor robot simply because there are multiple PWM channels. I'm very surprised that the chip cannot output PWM frequencies of 20KHz for DC motors without using software interrupts. I'm curious as what you mean by advance...
by paulm
Tue Nov 11, 2014 12:18 am
Forum: General Programming
Topic: Comms for 5-axis Robot
Replies: 2
Views: 3735

Re: Comms for 5-axis Robot

Hi Peter, thanks you for the reply. Historically, most of the PICs that I have come across only have 1 or 2 PWM outputs. I see that the 40 pin dsPIC 33 ECIO has 16 PWM outputs. I will probably choose that. However, my problem is that I have only flowcode 5. I don't think I can program the dsPIC33 us...
by paulm
Mon Nov 10, 2014 1:05 pm
Forum: General Programming
Topic: Comms for 5-axis Robot
Replies: 2
Views: 3735

Comms for 5-axis Robot

Hi, I'm going to use a LabView software interface to control a 5-axis Robot via the RS232 interface. Each axis will have a dedicated PIC with a PID Servo loop controlling a DC motor. To address each axis (PIC) individually from the software interface there are a number of options:- (1) Use a dedicat...
by paulm
Thu Apr 11, 2013 2:48 pm
Forum: General Programming
Topic: How to use the internal oscillator on the PIC16F88
Replies: 4
Views: 4364

Re: How to use the internal oscillator on the PIC16F88

Hi Martin, is there documentation anywhere that describes the configuration options within flowcode for the various clocking options? I can never understand why when you select a certain clock mode in the simple config screen it does not update the clock mode in the expert config screen. It like the...
by paulm
Thu Apr 11, 2013 9:54 am
Forum: General Programming
Topic: How to use the internal oscillator on the PIC16F88
Replies: 4
Views: 4364

How to use the internal oscillator on the PIC16F88

Hi, I'm giving a basic course to secondary school teachers in teaching them how to incorporate the PIC into student engineering projects. I want to make the connections to the PIC as simple as possible an avoid having to use the external oscillator. I know I can use the internal oscillator by puttin...
by paulm
Fri Mar 15, 2013 3:41 pm
Forum: General Programming
Topic: PID MX009 (Flowcode V4 version of files)
Replies: 3
Views: 3477

Re: PID MX009 (Flowcode V4 version of files)

Hi, there is two files in there named:- "PID_demo.fcf_pic16" "PID_sim.fcf_pic16" I'm not sure why there is the ".fcf_16" extension on the files but when I delete the "_16" bit, flowcode V4 can then recognise the file type. However, when I try to open either fi...
by paulm
Fri Mar 15, 2013 2:30 pm
Forum: General Programming
Topic: PID MX009 (Flowcode V4 version of files)
Replies: 3
Views: 3477

PID MX009 (Flowcode V4 version of files)

Hi,

is the flowcode files for PID at the following location available for flowcode V4?

http://www.matrixmultimedia.com/article.php?a=56

Rgds,
Paul
by paulm
Wed Mar 06, 2013 10:59 am
Forum: General Programming
Topic: Using other PWM outputs aside from CCP1 and CCP2
Replies: 2
Views: 2964

Using other PWM outputs aside from CCP1 and CCP2

Hi, I'm using the PIC16F1824 which is a 14pin IC. I am using 2 PWM channels (CCP1 and CCP2) to drive a DC motor differentially for forward and reverse positional control. CCP1 and CCP2 are located at pins 5 and 7 of the IC which are on the left hand side of the chip. The PIC16F1824 supports 4 PWM ou...
by paulm
Mon Mar 04, 2013 8:52 am
Forum: General Programming
Topic: RS232 read string from Labview
Replies: 12
Views: 10478

Re: RS232 read string from Labview

Hi Ben, I managed to get it working by inserting zeros in front of digits that contained less than 3 characters within Labview:- "00" before any digit from 0-9. "0" before any digit from 10-99. No 0 insertion form 100-255. I'm curious to know if the RS232 string send macro insert...
by paulm
Thu Feb 28, 2013 3:38 pm
Forum: General Programming
Topic: RS232 read string from Labview
Replies: 12
Views: 10478

Re: RS232 read string from Labview

Hi Ben, thanks for the reply. In Labview you have to use a "Number to Decimal String" converter to send the data over RS232. Incidentelly, I'm sending the data continuosly from Labview every 50-100mSec. I have a couple of direct questions which may help me understand how flowcode works wit...
by paulm
Thu Feb 28, 2013 12:22 am
Forum: General Programming
Topic: RS232 read string from Labview
Replies: 12
Views: 10478

Re: RS232 read string from Labview

Correction in previous message:-
As I mentioned, there doesn't seem to be the same problem when I send data from the PIC to Labview. In otherwords each string is partitioned correctly when it is displayed in Labview.
by paulm
Thu Feb 28, 2013 12:19 am
Forum: General Programming
Topic: RS232 read string from Labview
Replies: 12
Views: 10478

Re: RS232 read string from Labview

Hi Martin, thanks for the reply, but I don't think your answer addresses my problem. Just to clarify, I'm only using the LCD screen to try and debug aswell as illustrate what is actually going on. I am trying get Labview to output a number between 0 to 255 via a decimal string over the RS232 port. T...
by paulm
Wed Feb 27, 2013 10:51 pm
Forum: General Programming
Topic: RS232 read string from Labview
Replies: 12
Views: 10478

RS232 read string from Labview

Hi, I'm using Labview to send and receive data to and from a PIC16F877A via the RS232 port on a PC. I'm using the E-blocks board with flowcode V4.5 to prototype the system before I send it to a PCB. In Labview, I'm effectively trying to send a value that ranges from 0 - 255 to the PIC in order to co...
by paulm
Wed May 23, 2012 10:52 pm
Forum: Flowcode V4
Topic: Problem programming PIC16F1824
Replies: 3
Views: 3508

Re: Problem programming PIC16F1824

Thanks a mil Martin. That seems to have done the trick.