Search found 3087 matches
- Fri Sep 15, 2006 4:08 pm
- Forum: C and ASM Programming
- Topic: PC to matrixmultimedia board
- Replies: 3
- Views: 6449
- Tue Sep 12, 2006 9:16 am
- Forum: C and ASM Programming
- Topic: PC to matrixmultimedia board
- Replies: 3
- Views: 6449
You will need some kind of add-on hardware to do this. For example, we produce an RS232 E-Block (connects to the COM port of a PC) and a USB232 E-Block (connects to a USB port). You will also need to write an application on the PC that communicates via RS232. These E-Blocks are compatible with the v...
- Tue Sep 12, 2006 9:06 am
- Forum: Flowcode V2 & V3
- Topic: Errors using SensLib and tutorial Temperature Probe
- Replies: 3
- Views: 5071
- Fri Sep 08, 2006 10:30 am
- Forum: C and ASM Programming
- Topic: LCD RS, E, RW and Data pins
- Replies: 1
- Views: 6496
We connect to it using the 4bit interface. The LCD driver chip used is the KS0066U. Looking at its datasheet (do a web search) might give you some more clues, although I think we have replicated most of the important info inour own datasheets. Here's the basic procedure to send info to the LCD: Put ...
- Mon Sep 04, 2006 9:01 am
- Forum: Flowcode V2 & V3
- Topic: Update PPP V3.3.6.17 to V3.8.11.24 failed
- Replies: 1
- Views: 3235
This error may be ok to ignore - it means that the configuration word could not be set exactly to the value specified. This can happen because some chips have config bits that are always zero (for example). Another reason for this happening is when you are trying to disable LVP cabability without ha...
- Fri Sep 01, 2006 3:57 pm
- Forum: General Programming
- Topic: Does xm10u contain an rs232 chip in it ?
- Replies: 1
- Views: 4324
Nope, the XM10U basically translates the modulation sent along the power line into TTL level signals that can then be interpreted/generated by a micro. It also provides some basic error checking (e.g. waiting for the repeated second message to appear before relaying it to the micro). There is a simi...
- Fri Sep 01, 2006 3:41 pm
- Forum: Flowcode V2 & V3
- Topic: Flip-Flop
- Replies: 1
- Views: 3564
I suggest you use a variable, STATE, to define which state the outputs should be (i.e. should RB0 be on or should RB1 be on). You could then react to changes in the input and set this state appropriately. If you want to be neater, your STATE variable could flip between 1 and 2 as these values (when ...
- Thu Aug 31, 2006 9:27 am
- Forum: C and ASM Programming
- Topic: v2 16f876 to xm10u
- Replies: 1
- Views: 4383
If I remember correctly, the XM10U communicates using TTL-level logic (5V), so you will not need a max232. Although I would suggest using some kind of protection. As for the comms itself (and indeed for the interfacing circuitry), there are a few references on the web. We have a "strategy guide" doc...
- Wed Aug 30, 2006 10:42 am
- Forum: E-blocks
- Topic: EB-007 switches
- Replies: 3
- Views: 7687
We did develop a prototype of a simple toggle-switch E-Block, but didn't actually manufacture it because we were not sure if the demand was there. If there was enough demand, we could actually produce a small quantity of toggle-switch E-Blocks. But I guess the cost to manufacture a small quantity wo...
- Wed Aug 30, 2006 10:16 am
- Forum: General Programming
- Topic: 16f876 28 pin connecting x10
- Replies: 1
- Views: 4166
The screw terminals on the v2 board are located at either side of the board, just above the sensor sockets - portA to the left and portB to the right. If you are using an '876 I would suggest using portC via the 40-way expansion header. This header is next to the DIL socket for 40-pin PICmicros. It'...
- Tue Aug 29, 2006 2:40 pm
- Forum: General Programming
- Topic: version 2 analogue and digital sensors
- Replies: 1
- Views: 4327
I presume you are asking about the 2 white "BT" sockets. I wouldn't recomment using them for anything other than the range of sensors we supply. The pin-outs are shown in the circuit diagram for the board (probably on the ELSAM CD) if you're really interested. I would suggest you used the screw term...
- Mon Aug 28, 2006 3:09 pm
- Forum: E-blocks
- Topic: data sheet for x10 home automation board
- Replies: 1
- Views: 4621
- Mon Aug 28, 2006 3:06 pm
- Forum: C and ASM Programming
- Topic: Simple output 2
- Replies: 2
- Views: 5686
The adcon1 register is in bank 1, so you need to set its value when the RP0 bit of the status register is set, ie: #include <system.h> main() { set_bit(STATUS, RP0); //SELECTS BANK 1 TRISB=0x00; //MAKES PORTB OUTPUT TRISA=0xff; //MAKES PORTA INPUT adcon1=0x07; //Set all A/D i/o lines to digital clea...
- Mon Aug 28, 2006 2:59 pm
- Forum: General Programming
- Topic: data sheet for x10 home automation board
- Replies: 1
- Views: 4232
- Mon Aug 28, 2006 2:58 pm
- Forum: General Programming
- Topic: Connecting Matrix multimedia board to x10
- Replies: 2
- Views: 5437
We have created an X-10 E-Block (EB-028) which provides the electronic interface between a microcontroller and a TTL-level X-10 transceiver (eg, the XM10U, XM10E and TW523). In addition to this, we offer code examples and suggestions to help you write code for this E-Block (in C and ASM). We may als...
- Tue Aug 15, 2006 12:51 pm
- Forum: Flowcode V2 & V3
- Topic: FlowCode v3
- Replies: 72
- Views: 62150
V3 is close, but decided to add a few extra bits (which have taken longer than I anticipated). I've done that now, and we are currently doing some internal BETA testing. But today is my last day of work for a week and a half (for a much needed holiday), so we will not release a public BETA for a few...
- Mon Aug 14, 2006 12:48 pm
- Forum: Flowcode V2 & V3
- Topic: Flowcode maths problem help please
- Replies: 6
- Views: 6949
In v2 of FlowCode, you can use a "#defines" component with code similar to the following to define a lookup table: const char table[] = {10, 20, 30, 40, 50, 60, 70, 80}; Assuming you have 2 variables IDX and VAL in FlowCode, you would access this table using a 'C' icon with the following code: FCV_V...
- Mon Aug 14, 2006 9:19 am
- Forum: Flowcode V2 & V3
- Topic: Flowcode maths problem help please
- Replies: 6
- Views: 6949
32-bit maths is going to be tricky on an 8-bit micro and take up a fair bit of space within the program memory, so I would suggest a different route - use of a lookup table. 50 32-bit words can be stored in 50*4 = 200 8-bit bytes, which can be pre-calculated on a PC using a spreadsheet. Your values ...
- Mon Aug 14, 2006 9:10 am
- Forum: Flowcode V2 & V3
- Topic: Help me please
- Replies: 1
- Views: 3287
It has not been 100% finalised, but I believe that all FlowCode components will be available in the professional version of FlowCode v3. So you will have access to RS232, EEPROM, LCD, A/D, SPI, I2C, CAN, LIN, PWM, TCP/IP, etc. And no, you do not need to be using E-Blocks to use these components. How...
- Fri Aug 11, 2006 11:59 am
- Forum: Flowcode V2 & V3
- Topic: How do I make a AM , PM clock
- Replies: 3
- Views: 4981
- Wed Aug 09, 2006 1:25 pm
- Forum: Flowcode V2 & V3
- Topic: How many levels deep can macros be called?
- Replies: 3
- Views: 4399
- Wed Aug 09, 2006 1:22 pm
- Forum: Flowcode V2 & V3
- Topic: How many levels deep can macros be called?
- Replies: 3
- Views: 4399
There is a limit because the 16F PICmicros have an internal stack limited to 8 addresses. This means that you can only have 8 nested macro calls (assuming interrupts are not used). This is plenty for the majority of apps. Incidentally, the new v3 of FlowCode uses a different underlying compiler whic...
- Tue Aug 08, 2006 2:47 pm
- Forum: Flowcode V2 & V3
- Topic: Using Warp13a with Flowcode
- Replies: 8
- Views: 7635
- Tue Aug 08, 2006 9:16 am
- Forum: Flowcode V2 & V3
- Topic: Using Warp13a with Flowcode
- Replies: 8
- Views: 7635
I think it won't be possible - the filename is always appended to the end of the command line given in the "compiler options" entry (it is like this because it was originally intended for use with our PPP programmer only). You may be able to find a way around it by using an intermediate batch file t...
- Mon Aug 07, 2006 11:05 am
- Forum: Flowcode V2 & V3
- Topic: quad seven segment display------- help needed
- Replies: 1
- Views: 3168
My suggestion would be to use the timer interrupt. Maintain and update your count as you are doing in your main flowchart, but display the digits within the interrupt timer. Use quite a fast interrupt frequency (around 100Hz should be ok), and use a variable "SHOW_TENS" to track which digit you are ...