Search found 34 matches

by icabjeff
Wed Jul 07, 2010 6:47 pm
Forum: General / Misc
Topic: flowcode Help
Replies: 12
Views: 6295

Re: flowcode Help

I removed the RS232 and was able to compile successfully, only to find that my program which accepted input for my multi-click switches in simulation doesn't do so after burning to the PIC. I broke my program into steps to find the segment causing the issue. I successfully tested the hardware inputs...
by icabjeff
Wed Jun 30, 2010 4:54 pm
Forum: General / Misc
Topic: flowcode Help
Replies: 12
Views: 6295

Re: flowcode Help

Sorry I neglected to attach the FCF and failed to metion I'm using a PIC 16F877A I should know better.

Thanks,
Jeff
by icabjeff
Wed Jun 30, 2010 1:10 am
Forum: General / Misc
Topic: flowcode Help
Replies: 12
Views: 6295

Re: flowcode Help

After getting output though port B through a screw terminal and connecting wires from the terminal to a keyboard encoder I was able to see letters from the encoder in notepad. When I tried to compile my multi-click test program it failed even though it worked in the simulation. I received the follow...
by icabjeff
Tue Feb 02, 2010 12:55 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I tried setting up the switches going into the screw terminal with 10k pull-down resistors.(monotoscrew.jpg) I get separate signals, but they don't appear to be going into the PIC. Is 10k too much resistance for the screw terminal?
by icabjeff
Thu Jan 21, 2010 6:21 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I'm not able to differentiate between each digital inputs. I even tried using individual inputs thinking the digital joystick might be the issue. No luck. Is there a schematic of a matrix multimedia project using a screw terminal I can look at to see where my mistake was made?
by icabjeff
Fri Dec 18, 2009 1:57 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I'm trying to connect an Atari 2600 compatible digital joystick to a MatrixMultimedia PICmicro MCU Multiprogrammer and Development board EB006-00-5 through a EB002 Screw terminal Board. I'm using a PIC 16F877A-I/P on the board. I found a project that uses a PIC to make a video game that uses two Ata...
by icabjeff
Mon Oct 05, 2009 5:13 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I'm not planning on connecting the PIC directly to the Playstation 2. I want to connect to a special keyboard encoder that allows me to use it on either a PC or most previous and current game consols including the PS2. So, I need something on PIC out to act as physical switches to be seem by the enc...
by icabjeff
Thu Oct 01, 2009 8:11 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

i'm having trouble getting input from my digital atari 2600 compatible control into my PIC chip. I have tried setting up an e-block proto board two different ways. When set up the first way (as seen at the top of the ipeg) each position on the stick gives the same signal to each slot on the screw te...
by icabjeff
Tue Aug 18, 2009 1:05 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

Could someone please review this wiring diagram and tell me why it doesn't work. Problem 1 On the encoder side of the optocupler power goes to terminal but does not pass through to the ground when a signal is present. No signal is picked up and sent to the encoder. Problem 2 On the signal/ joystick ...
by icabjeff
Tue Jun 23, 2009 1:53 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I fotnd one of the optos. I need somebody to confirm the specs so I knoy it will work. ISOCOM Newark Part Number: 40P0290 Manufacturer Part No: ISP321-4X RoHS Compliance : Yes Description • OPTOCOUPLER, DIP-16, QUAD, TR. O/P • Channels, No. of:4 • Voltage, Isolation:5300V rms • Output Type:P...
by icabjeff
Fri Jun 19, 2009 1:51 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I can't find the chios. Would either of these work. anufacturer: AVAGO TECHNOLOGIES Newark Part Number: 19M9315 Manufacturer Part No: ACPL-844-300E RoHS Compliance : Yes Description • Optocoupler • No. of Channels:4 • Isolation Voltage:5000Vrms • Optocoupler Output Type:Phototransistor • I...
by icabjeff
Wed May 27, 2009 1:08 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

If I want to be able to use all the buttons on the Playstation 2 I will need to use two ports aand fourteen opto couplers. I think this will use too much space on the final PCB and he too expensive. Are there any alternatives? Is there a resistor that can draw power down to zero and pull-down to gro...
by icabjeff
Sun May 24, 2009 4:49 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

Good idea, but I need a solution that will allow output from each of the eight individual bits. Do you know of anyway this can be done? Can you suggest any alternatives?

Jeff
by icabjeff
Sat May 23, 2009 12:54 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

Became the X-Arcade uses one ground for every four switches as opposed to a comman ground throughout all switches I found it necessary to use a different way to interface with the Playstation. Ultramart makes a keyboard encoder that can be used to connect to that Playstion with an adaptor. Here is t...
by icabjeff
Thu May 07, 2009 12:18 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I'm using my X-arcade modified with dsub 9pin connectors to test output signals from the PIC. When I tested the output with a multimeter I got a reading of 25ma for one second every time I pushed the joystick forward. Just as the program tells it to do. When I onnected the X-arcade to the breadboard...
by icabjeff
Fri Apr 17, 2009 1:58 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I'm only using LED's to test if my outputs work. I plan to output from two dsub9 ports to four dsub9 plugs set up with atari joystick wired pin arrangements with a proto board . So, how do I output a signal that will be seen as atari digital joystick signals. Signals that don't have any real possibl...
by icabjeff
Wed Apr 15, 2009 1:50 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I reburned to chip and now my program doesn't run slow. I tested a 3.5 volt LED with a 9 volt battery and a 10 k resistor successfully. So, I know that the LED lights up. I then used the LED to test output of a single bit. As you can see on LEDschem.jpg this didn't work because it was wired wrong. I...
by icabjeff
Tue Mar 31, 2009 12:49 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I forgot to mention that I'm using a PIC 16F877A1P. If that makes a difference.
by icabjeff
Tue Mar 31, 2009 1:58 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I wired up one pull-up resistor on a proto board connected to a multiprogramer through a screw terminal. I'm using an atari joystick connected to one the proto boards db9 plugs as an input switch. switch was held closed for 1 sec. outcome: LCD flashing cursor then SUCCESS!!!x2 approx. 10 sec after t...
by icabjeff
Wed Mar 18, 2009 1:20 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

I added the resistors to input and it checks out good. I checked for input using the LCD display e -block. I'm having trouble getting my flowcode program to display on my LCD display e-block. I ran the test HEX file successfully on a 16F88 PIC. So I know the LCD works. But when downloaded the RealTi...
by icabjeff
Tue Feb 17, 2009 3:01 am
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re: Using Flowcode to pgm an atari style joystick

Here is a diagram of my atari style joystick to multiprogrammer adapter. I added two mono plugs and a togle switch to get eight inputs screwterminal.jpg When i tested this with a multimeter checked out. Since the atari joystick uses a minute amount of flow could the safety resistors be preventing th...
by icabjeff
Sun Feb 15, 2009 8:52 pm
Forum: Flowcode V2 & V3
Topic: Using Flowcode to pgm an atari style joystick
Replies: 36
Views: 14522

Re:

The X and Y axis will probably be represented by a analogue signal. Eg when the joystick is centered both x and y signals will be around 2.5V. It is therefore simply a case of measuring the analogue voltage and working out the position. As for the buttons these should be standard digital inputs. De...
by icabjeff
Tue Jan 20, 2009 2:48 am
Forum: Bugs / Application Errors
Topic: Compile to chip error
Replies: 10
Views: 6635

Re: Compile to chip error

I corrected my errors and tried to compile to chip. Here is the report: File name: F:\multi-click_axiss1-s4copy4.c Generated by: Flowcode v3.2.2.40 Date: Monday, January 19, 2009 13:29:56 Licence: Professional Registered to: Jeffrey Gray http://www.matrixmultimedia.com Launching the compiler... C:\P...
by icabjeff
Sun Jan 18, 2009 9:24 pm
Forum: Bugs / Application Errors
Topic: Compile to chip error
Replies: 10
Views: 6635

Re: Compile to chip error

I need help finding my errors. When I look through the code I'm not sure what line number I'm on. Are blank lines couted? Can you take a look. I will post the code here.
Thanks, Jeff
multi-click_axiss1-s4copy4.fcf
(23.67 KiB) Downloaded 251 times
by icabjeff
Tue Jan 13, 2009 2:41 am
Forum: Bugs / Application Errors
Topic: Compile to chip error
Replies: 10
Views: 6635

Compile to chip error

Is there an easy way to find syntax errors in my flowchart. Or could it be in the code for simulated hardware. I'm using switches and a sensor interface. Here is the error report. File name: F:\multi-click_axiss1-s4copy4.c Generated by: Flowcode v3.2.2.40 Launching the compiler... C:\Program Files\M...