Search found 14581 matches

by Benj
Tue Nov 18, 2008 5:30 pm
Forum: Flowcode V2 & V3
Topic: Hex to Decimal
Replies: 17
Views: 10742

Re: Hex to Decimal

Hello Wayne

In Flowcode click on Help and Contents, Then scroll down to the section entitled working with macros and variables and look at the relevant help topics. Hopefully this should get you up to speed with using macros.
by Benj
Tue Nov 18, 2008 3:55 pm
Forum: Programming Tips & Tricks
Topic: Adding USB functionality to your projects
Replies: 0
Views: 9104

Adding USB functionality to your projects

http://www.matrixmultimedia.com/images/Article_NoStudentPic.png Using the new Flowcode USB pack it is possible to create interface devices that will plug directly into your user software. Examples of this included mice and keyboards, seeing as these examples are already included as part of the USB ...
by Benj
Tue Nov 18, 2008 3:28 pm
Forum: Programming Tips & Tricks
Topic: Reviving serial COM port functionality using Flowcode + USB
Replies: 0
Views: 8411

Reviving serial COM port functionality using Flowcode + USB

http://www.matrixmultimedia.com/images/Article_NoStudentPic.png COM ports and serial data have been around for a long time and have been built into a wide range of electronics devices. Computers are now being built without the standard COM and Parallel ports so there needs to be a new way of interf...
by Benj
Tue Nov 18, 2008 10:20 am
Forum: E-blocks
Topic: ECIO28P - No USB cable attached
Replies: 14
Views: 10534

Re: ECIO28P - No USB cable attached

I think that the problem is due to the fact that your running an earlier version of Flowcode. Eg there is no ECIOProg.exe tool located in your Flowcode V3 folder. The latest version of Flowcode 3.4.7 can be downloaded from here.

http://www.matrixmultimedia.com/Flowcode3a-X.php
by Benj
Mon Nov 17, 2008 3:44 pm
Forum: Flowcode V2 & V3
Topic: Geiger Counter
Replies: 2
Views: 2779

Re: Geiger Counter

Hello You might be able to do this with the PIC floating point librarys. Refer to this forum topic for more information. http://www.matrixmultimedia.com/support/viewtopic.php?t=505 It might be easier to do this as a look up table though, this way you will not need such large calculations to work out...
by Benj
Mon Nov 17, 2008 3:38 pm
Forum: General Programming
Topic: Sending data to LCD using PIC
Replies: 2
Views: 3578

Re: Sending data to LCD using PIC

Hello

Google "PIC Alphanumeric LCD Source Code" and you should get lots of hits showing exactly how to create your code. For an assembler version of the driver code try searching for "LCDTERM"
by Benj
Mon Nov 17, 2008 2:51 pm
Forum: Electronics products
Topic: Relay Driver.
Replies: 6
Views: 7428

Re: Relay Driver.

Hello Achillis

Yes that should do it and yes you will have to common the 5V ground and the 12V ground. If you are using our EB006 or HP488 boards then you can use the +14V terminal output for the 12V output to the transistor.
by Benj
Mon Nov 17, 2008 2:02 pm
Forum: Electronics products
Topic: Relay Driver.
Replies: 6
Views: 7428

Re: Relay Driver.

Hello

Your circuit is nearly correct. But the voltage to drive the relay coil must be 12V for a 12V relay rather then 5V.
by Benj
Mon Nov 17, 2008 10:33 am
Forum: Flowcode V2 & V3
Topic: Flowcode claims ECIO-28P (USB) not connected
Replies: 15
Views: 10627

Re: Flowcode claims ECIO-28P (USB) not connected

Hello The ECIOs do not use PPP as a method of programming. Open your Flowcode V3 folder and run the ECIOProg.exe tool that is available there. Then reset your ECIO and it should remain flashing while the ECIOProg tool is open. The ECIOProg tool should also state that the ECIO has been detected. If t...
by Benj
Mon Nov 17, 2008 10:29 am
Forum: General Programming
Topic: 44pin TQFP
Replies: 3
Views: 3614

Re: 44pin TQFP

Hello

Yes just the normal pins are used. If you want you can use the expansion dil header to take the connections to your external board. You will have to keep the connections relativly short (approx 5-15cm) for the programming to work correctly.
by Benj
Mon Nov 17, 2008 10:27 am
Forum: Electronics products
Topic: V2 Pic dev board. Can I use parallel to usb cable?
Replies: 3
Views: 4869

Re: V2 Pic dev board. Can I use parallel to usb cable?

Hello Dave Yes this would work in theory but you would still need the external 12V + to allow the PICmicro devices to be reprogrammed. Warning though some USB to Parrallel converters may be unsuitable as they may include extra functionality for printers etc. If your computer already has the parralle...
by Benj
Mon Nov 17, 2008 10:24 am
Forum: Electronics products
Topic: Relay Driver.
Replies: 6
Views: 7428

Re: Relay Driver.

Hello Achillis This is the circuit that I use to switch 12V stepper motor coils with, it should work for your application. 12V supply for relay - Collector of NPN 5V signal from uC - 1Kresistor - Base of NPN Coil of relay - Emitter of NPN Other End of Coil - Ground For the NPN transistor try somethi...
by Benj
Mon Nov 17, 2008 10:16 am
Forum: General / Misc
Topic: temperature sensor
Replies: 1
Views: 3035

Re: temperature sensor

Hello

If you are using a EB006 or an ECIO then yes you will need a sensor board to interface to our temperature sensor. If you have the HP488 Dev Board then you can interface directly with the sensor without the need of the sensor board.
by Benj
Thu Nov 13, 2008 2:40 pm
Forum: General Programming
Topic: Problem in RS232 Communication after programing to IC18f4550
Replies: 3
Views: 3636

Re: Problem in RS232 Communication after programing to IC18f4550

Hello

Yes I think this is possible. There might be a guide on how to do this on our forums but if not then Sean should know how this is done.
by Benj
Thu Nov 13, 2008 2:24 pm
Forum: Components (Other)
Topic: Help me an example....
Replies: 6
Views: 5789

Re: Help me an example....

Hello Ok I have hard wired the LCD connections in this code file. Please make a backup of your LCDDisplay_Code.c file located in your Flowcode V3/Components folder and then replace with the file attached to this posting. Once you have done this restart Flowcode and your LCD on the PICDEM board shoul...
by Benj
Thu Nov 13, 2008 2:11 pm
Forum: Components (Other)
Topic: Help me an example....
Replies: 6
Views: 5789

Re: Help me an example....

Hello

Looking at the PICDEM schematic it is clear that the LCD uses a section of PortA for the control and PortD for the Data. Flowcode is not currently capable of using split ports without editing the component code by hand. If you need help doing this then let me know.
by Benj
Thu Nov 13, 2008 2:05 pm
Forum: Components (Other)
Topic: Help me an example....
Replies: 6
Views: 5789

Re: Help me an example....

Hello The compiler warnings are simply optimizations that remove code you are not using. Note the LCD Start and LCD Print functions are not in the list. Are you sure that you have assigned the connections of the LCD correctly using the Flowcode component connections settings. The PICDEM 2 board may ...
by Benj
Thu Nov 13, 2008 1:19 pm
Forum: General Programming
Topic: How do I know the PIC is programmed?
Replies: 1
Views: 2513

Re: How do I know the PIC is programmed?

Hello Create a simple program to toggle the output on a single pin. If the pin toggles as it should then you know the device is being programmed. You can then take it from there. Note: If the pin does not toggle as expected then this does not mean that the chip was not programmed correctly. It could...
by Benj
Thu Nov 13, 2008 1:15 pm
Forum: General Programming
Topic: Problem in RS232 Communication after programing to IC18f4550
Replies: 3
Views: 3636

Re: Problem in RS232 Communication after programing to IC18f4550

Hello Are you programming directly from MPLAB? Ive found that the configuration data in MPLAB is strange eg for a standard build the configuration data will not be included. You have to do an extra file->export to actually get the configuration data into a hex file. Ive also never programmed a chip ...
by Benj
Thu Nov 13, 2008 1:11 pm
Forum: General Programming
Topic: 44pin TQFP
Replies: 3
Views: 3614

Re: 44pin TQFP

Hello Carl

The standard ICSP (In Circuit Serial Programming) circuit includes the MCLR, VDD, VSS, RB6, RB7 and also the Low Voltage Programming Pin if required. There should be tonnes of schematics for this available. Try googling "PIC ICSP Schematic"
by Benj
Thu Nov 13, 2008 10:27 am
Forum: General / Misc
Topic: Help needed using vref with adc
Replies: 7
Views: 6734

Re: Help needed using vref with adc

Hello Dave

The attached file should work correctly. The problem was that each channel was assigning its own value to the adcon1 register which was overwriting your value. I have edited the channel values and the +Vref should be working correctly now.
by Benj
Fri Nov 07, 2008 5:33 pm
Forum: Flowcode V2 & V3
Topic: Caparing vals to find the most common numbers
Replies: 7
Views: 4620

Re: Caparing vals to find the most common numbers

Hello Ondra Yes an array of integers is possible. In the variables window when creating your integer variable give the variable an array size by adding [5] where 5 is the number if integers in the array. Var_Name[5] You can then reference the components of the arrays by using calulation icons eg Var...
by Benj
Fri Nov 07, 2008 5:29 pm
Forum: General Programming
Topic: Factory Default
Replies: 5
Views: 4862

Re: Factory Default

Hello

If the masks are set to 0 then is this maybe disabling all of the reception? Masks with a value of 1 normally allow the data to come through. Maybe this will help anyway. If it doesnt then keep me posted and I will have a bit of a better dig in.
by Benj
Fri Nov 07, 2008 5:03 pm
Forum: Flowcode V2 & V3
Topic: Flowcode V3 PIC USB Pack Released
Replies: 33
Views: 80272

Re: Flowcode V3 PIC USB Pack Released

There is now a short powerpoint presentation on the advantages and usage of the USB pack available from here.

http://www.matrixmultimedia.com/softwar ... tation.ppt
by Benj
Fri Nov 07, 2008 3:37 pm
Forum: Flowcode V2 & V3
Topic: Caparing vals to find the most common numbers
Replies: 7
Views: 4620

Re: Caparing vals to find the most common numbers

Sorry just noticed the double equals on the while loop. You will need to make this just one equals to make the code work correctly.

Eg. valid = 0

Sorry been programming too much C recently :)