Search found 548 matches

by Sean
Fri Aug 12, 2011 5:12 pm
Forum: E-blocks
Topic: EB024 / Bluetooth component buffer size
Replies: 5
Views: 5383

Re: EB024 / Bluetooth component buffer size

Customisation applies only to individual projects. Any changes that are likely to be a common requirement can be made to the corresponding component C file in the Components folder of the Flowcode installation. The changes would then affect every program using the component (save a backup of the ori...
by Sean
Fri Aug 12, 2011 9:49 am
Forum: E-blocks
Topic: EB024 / Bluetooth component buffer size
Replies: 5
Views: 5383

Re: EB024 / Bluetooth component buffer size

Hello Robin, The size of the Bluetooth string buffer is set to a default value of 32 bytes. The buffer size can be adjusted from Flowcode by using the 'Custom Code' feature. With the Bluetooth component selected in the Properties panel, click on the dots next to 'Custom Code'. Select [Defines] and c...
by Sean
Fri Aug 05, 2011 2:23 pm
Forum: Flowcode V4
Topic: Flowcode for dsPIC/PIC24 'best chip'
Replies: 2
Views: 3146

Re: Flowcode for dsPIC/PIC24 'best chip'

The 40-pin socket of the EB064 is compatible with two devices from the current 16-bit PIC range: the dsPIC30F3014 and dsPIC30F4013. The 3014 can be considered to be a good general purpose device (5V operation, maximum number of port pins available in this format); the 4013 is similar but with more m...
by Sean
Thu Aug 04, 2011 9:59 am
Forum: E-blocks
Topic: Problem with EB063
Replies: 13
Views: 12495

Re: Problem with EB063

Thanks John.

I have edited the original post to try to avoid any confusion.
by Sean
Wed Aug 03, 2011 11:31 am
Forum: E-blocks
Topic: Problem with EB063
Replies: 13
Views: 12495

Re: Problem with EB063

Hello Andreas, The connection jumper links on the E-blocks are used to provide default connections that are useful for most devices. In the case of the EB-063 the connections selected with the jumper in the B position are based on the hardware SPI connections of the PIC16F877A on Port C (used if Har...
by Sean
Wed Aug 03, 2011 10:13 am
Forum: E-blocks
Topic: Problem with EB063
Replies: 13
Views: 12495

Re: Problem with EB063

Hello, I have checked your program. The connections selected for the RF component do not match either of the default jumper options. Can you confirm that the EB063 jumper is in the 'PATCH' location and that all the signal connections have been correctly made using wire links. In receive mode, the rf...
by Sean
Thu Jul 28, 2011 10:27 am
Forum: Flowcode V4
Topic: Flowcode 4.5 & GLCD (EB057)
Replies: 3
Views: 3612

Re: Flowcode 4.5 & GLCD (EB057)

Hello John, The gLCD component uses the hardware SPI connections (defined in the target .FCD file) for data transfer when the EB057 option is selected, so does not make them available for selection. The Chip Select connection is not defined, so is available for selection. The connections and jumper ...
by Sean
Wed Jul 27, 2011 3:56 pm
Forum: MIAC
Topic: Compiler Errors
Replies: 2
Views: 4103

Re: Compiler Errors

Hello, The linker parameters used during compilation seem to be out of date. If you have updated from an earlier version it is possible that the old settings were retained. The easiest way to correct this setting is to open the Chip -> Compiler Options menu in Flowcode and click on the 'Restore Defa...
by Sean
Tue Jul 12, 2011 9:54 am
Forum: E-blocks
Topic: EB-011 & Stepper Motors
Replies: 4
Views: 5059

Re: EB-011 & Stepper Motors

The motor is a good match with the L293D. If the common wites are connected to the 12V supply, the 'Unipolar -ve' configuration option should be selected (-ve logic used for the output signals). Alternatively, the common wires could be connected to 0V with +ve polarity signals sourcing the coil curr...
by Sean
Tue Jul 05, 2011 4:40 pm
Forum: Flowcode V4
Topic: AVR-EEPROM gets erased during programming
Replies: 3
Views: 3652

Re: AVR-EEPROM gets erased during programming

The option to save EEPROM data during a program download is controlled by the EESAVE fuse. The default fuse settings recommended in the Flowcode documentation (Chip -> Configure menu) select the external crystal oscillator and cause all additional features to be disabled.: 0x0, 0xdf 0x1, 0xff It is ...
by Sean
Fri Jul 01, 2011 10:02 am
Forum: C and ASM Programming
Topic: AVR Studio
Replies: 7
Views: 8562

Re: AVR Studio

There are also some project and compiler options that are set by Flowcode via the avra.bat and avrb.bat files (in the Tools\MX_bats folder of the Flowcode installation). These are accesible via the Project options menu and sub menus in AVR Studio One of the most important is the -funsigned-char opti...
by Sean
Tue May 31, 2011 5:34 pm
Forum: Flowcode V2 & V3
Topic: quadrature encoders pic18f2331
Replies: 18
Views: 15480

Re: quadrature encoders pic18f2331

The encoder module can be configured to generate an interrupt when an over/under-flow occurs. Alternatively, the count value can be polled regularly so that over/under-flow events can be detected in software. In either case, the events can be used to increment/decrement an additional counter (e.g. a...
by Sean
Tue May 24, 2011 11:26 am
Forum: Flowcode V2 & V3
Topic: quadrature encoders pic18f2331
Replies: 18
Views: 15480

Re: quadrature encoders pic18f2331

The MAXCOUNT value demonstrates a feature of the encoder module that allows the position to overflow back to zero at values other than the 65535 limit of the main counter. This value is also loaded into the main counter if it underflows (running backwards) instead of 65535. The value can be used to ...
by Sean
Fri May 20, 2011 1:09 pm
Forum: MIAC
Topic: MIAC as cental heating programmer
Replies: 41
Views: 36449

Re: MIAC as cental heating programmer

There is a discussion of the MIAC input circuit in this thread:

http://www.matrixmultimedia.com/mmforum ... =28&t=8017

The inputs have been tested with a 12V, 10KHz square wave signal.
by Sean
Tue May 10, 2011 3:04 pm
Forum: MIAC
Topic: MIAC as cental heating programmer
Replies: 41
Views: 36449

Re: MIAC as cental heating programmer

The microcontroller in the MIAC has 24K bytes of program memory (12K instructions). A small amount is reserved for the bootloader, but the remainder is available for the application program.
by Sean
Tue May 10, 2011 11:37 am
Forum: MIAC
Topic: MIAC as cental heating programmer
Replies: 41
Views: 36449

Re: MIAC as cental heating programmer

In answer to your questions: 1. The MIAC has 4 mains rated, normally-open, relay outputs (Q1, Q2, Q3, Q4). The ratings are 250V, 8A. The terminals provide direct access to the relay contanct, which have no internal protection, so must be supplied from a suitably protected and fused source. Any work ...
by Sean
Mon May 09, 2011 11:50 am
Forum: Flowcode V4
Topic: RF ds-pic
Replies: 3
Views: 3145

Re: RF ds-pic

Here are the temporary Flowcode files required for the remote control article. RF patch.zip A professional license for the apprropriate V4 version of Flowcode is required. We hope to be able to release an official installation soon. There are two folders in the attachment: The PIC16BIT folder contai...
by Sean
Thu Apr 21, 2011 1:25 pm
Forum: Flowcode V2 & V3
Topic: Flowcode V3 RS232 Component -> RS485 UPDATED
Replies: 15
Views: 29432

Re: Flowcode V3 RS232 Component -> RS485 UPDATED

Bias is not used as frequently as termination, but can be used to impose a logic state if the bus lines are not being driven (all network transmitters disabled). The bias state requirement can depend on the application. If the normal J5 and J15 jumpers are connected to enable bias (connecting pins 1...
by Sean
Fri Apr 15, 2011 4:25 pm
Forum: Flowcode V4
Topic: Problem to program 24F16KA101
Replies: 21
Views: 9535

Re: Problem to program 24F16KA101

Can you post a copy of your program and/or the error message?

I have compiled several different led flashing programs for this device (using I/O and the LED component), but have not receive any compilation errors.
by Sean
Thu Apr 14, 2011 3:44 pm
Forum: E-blocks
Topic: Need help with rs232 & LCD board
Replies: 2
Views: 2943

Re: Need help with rs232 & LCD board

Another possible problem, if you have configured the device to use the external crystal oscillator, is that the EB019 is supplied with a 20MHz crystal and you appear to be using a 16MHz device.

You might need to change the crystal to allow it to be used by a 16MHz spec device.
by Sean
Thu Apr 14, 2011 3:19 pm
Forum: Flowcode V4
Topic: Timer Interrupt Flow code V4 AVR
Replies: 1
Views: 2177

Re: Timer Interrupt Flow code V4 AVR

The missing interrupt frequency calculation is caused by an omission from a file used for each AVR device. This only affects the displayed calculation and does not prevent the interrupt from operating. The details are described at the link below (along with a replacement file for the ATmega324P). ht...
by Sean
Thu Apr 14, 2011 1:16 pm
Forum: MIAC
Topic: A/D Acquisition
Replies: 11
Views: 13575

Re: A/D Acquisition

The 12V conversion range of the MIAC ADC is a fundamental requirement of the device spoecification. The I/O on the expansion modules will operate over the normal 5V logic range. We can not release the full schematics for the MIAC, but the details included in previous posts provide a complete descrip...
by Sean
Tue Apr 12, 2011 9:54 am
Forum: MIAC
Topic: A/D Acquisition
Replies: 11
Views: 13575

Re: A/D Acquisition

The input circuit shown in the previous post feeds directly into the non-inverting input of the op-amp.

The op-amp is configured as a simple voltage follower (unity gain, no additional filter).
by Sean
Mon Apr 11, 2011 4:57 pm
Forum: Flowcode V4
Topic: MIAC with CAN
Replies: 21
Views: 10080

Re: MIAC with CAN

In the property pages (tabs) of the CAN component for RX Buffer 0 and RX Buffer 1 there is a checkbox in the top left-hand corner marked 'Simple settings'. The pages default to the simple option, but if the checkbox is unchecked , more advanced mask and filter settings are displayed. The can compone...
by Sean
Mon Apr 11, 2011 3:12 pm
Forum: Flowcode V4
Topic: MIAC with CAN
Replies: 21
Views: 10080

Re: MIAC with CAN

Does the second MIAC respond to some messages? If the second MIAC responds to some, but not all, messages, the basic settings and connections must be correct. The problem could be with the filter and mask settings in the component. Are you using the advanced settings for the receive buffers ('simple...