Search found 266 matches

by Sparkoids
Wed Jan 09, 2013 4:16 pm
Forum: General Programming
Topic: Floating Pins?
Replies: 3
Views: 2094

Re: Floating Pins?

Perfect - thank you Enamul!
by Sparkoids
Wed Jan 09, 2013 9:41 am
Forum: General Programming
Topic: Floating Pins?
Replies: 3
Views: 2094

Floating Pins?

Hi all. I am reading a current sensing chip into the analogue ports of an ECIO28 and it is all good. If however there is no chip attached to the port and the PIC is set to read anyway then the input is all over the place which I understand but is there a way to fix this please? Do I need to put a re...
by Sparkoids
Thu Jan 03, 2013 7:46 pm
Forum: General Programming
Topic: OK Try This Problem Please....
Replies: 15
Views: 9457

Re: OK Try This Problem Please....

Thanks for the help all - I've actually got something working for a change!

I'd forgotten to put a fuse in as well Steve and I am going on your solution thank you - perfect!

Soon as it's finalised I'll PM you and let you see what it's doing - it's a corker ;-}
by Sparkoids
Thu Jan 03, 2013 11:37 am
Forum: General Programming
Topic: OK Try This Problem Please....
Replies: 15
Views: 9457

Re: OK Try This Problem Please....

In fact I'm making it overly complicated and just need to use the 5V line from the PSU to be detected when the button is pressed....
by Sparkoids
Thu Jan 03, 2013 11:19 am
Forum: General Programming
Topic: OK Try This Problem Please....
Replies: 15
Views: 9457

Re: OK Try This Problem Please....

Thanks everyone. I'm going to see what Steve posts but am thinking now of the double pole switch solution where I take the relay latching signal output through the second poles on the switch. That way the relay will still be energised and the switch will either provide bypass power to the circuit or...
by Sparkoids
Thu Jan 03, 2013 10:38 am
Forum: General Programming
Topic: OK Try This Problem Please....
Replies: 15
Views: 9457

Re: OK Try This Problem Please....

I was thinking if I put a resistor in series with the switch then there would only be a current through the switch when it was pressed? The diodes I get but seems a lot of fuss!
by Sparkoids
Thu Jan 03, 2013 10:36 am
Forum: General Programming
Topic: OK Try This Problem Please....
Replies: 15
Views: 9457

Re: OK Try This Problem Please....

Here is the schematic - if anyone has a better solution please feel free to enlighten me!
by Sparkoids
Wed Jan 02, 2013 2:20 pm
Forum: General Programming
Topic: Merry christmas to all
Replies: 12
Views: 5983

Re: Merry christmas to all

Missed this but Happy Christmas and thanks for (yet) another year of help with PIC's!
by Sparkoids
Wed Jan 02, 2013 2:17 pm
Forum: General Programming
Topic: OK Try This Problem Please....
Replies: 15
Views: 9457

OK Try This Problem Please....

I have a circuit that runs from a 5v power supply and is powered from the mains. I have put a momentary mains switch in to bypass the relay temporarily to power the circuit and then the PIC holds it high once powered all well and good. Press the button and there is a nice click as the circuit jumps ...
by Sparkoids
Sat Dec 15, 2012 6:56 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

This is my fault - I had exported some Macro's and reused them although I was using a Bi-Colour LED that was Active High and not Active Low :-{ Believe it or not I spent four hours of my life and built 3 different veroboard circuits and tested with a logic probe before actually reading what the Flow...
by Sparkoids
Thu Dec 13, 2012 1:46 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

Is there anything weird in Ports C1 and C2 on an ECIO because it is still playing up and I've run out of ideas! I have a 1 second delay between Call Macro for RED, Delay 1 Second, Call Macro for OFF, Delay 1 Second, Call Macro for Green etc etc It is supposed to go RED, OFF, ORANGE, OFF, GREEN, OFF ...
by Sparkoids
Thu Dec 13, 2012 12:15 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

I'll try the 1ms delay now Ben...
by Sparkoids
Thu Dec 13, 2012 9:11 am
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

Hi Enamul,

No the code doesn't work on the Eblock EB_004 LED board either so it is not the Bi-Colour that is at fault. It's weird but I think it must be something to do with the ports being cleared or not being cleared.

Maybe there is a bug in the Flowcode 5 program....
by Sparkoids
Wed Dec 12, 2012 8:05 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

Hi Enamul, If you have the LED Eblock it works on that OK - I have my LED active hight with in series resistors to get the right colours if you get me but set up the Eblock and you will see what I mean... Not sure what you mean regarding the masking though - is the code OK because it doesn't work in...
by Sparkoids
Wed Dec 12, 2012 7:52 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

Meant to say ECIO28 Port C0, C1 and C2 active high....
by Sparkoids
Wed Dec 12, 2012 7:51 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Re: Clearing Pins - Simulates Correctly Not Hardware....

This one should go Red, Orange, Green but goes Red, Orange, Off Orange Green in hardware!

Help!!


James :-{
by Sparkoids
Wed Dec 12, 2012 6:28 pm
Forum: Flowcode V5
Topic: Clearing Pins - Simulates Correctly Not Hardware....
Replies: 12
Views: 6397

Clearing Pins - Simulates Correctly Not Hardware....

I have a program where I have made up a Macro to control a Bi-Colour LED and send a '1' to either the Green, Red or Both. To speed up the process I have made four Macros; RED_ON. ORANGE_ON, GREEN_ON and LED_OFF obviously send a combination of '1's and '0's. In Flowcode 5 everything works perfectly o...
by Sparkoids
Mon Dec 10, 2012 2:31 pm
Forum: General Programming
Topic: String Decimal Places....
Replies: 1
Views: 1507

String Decimal Places....

If I set a string up as six characters [6] or 4 characters [4] does the PIC do the rounding up automatically please?

James Dexter :-}
by Sparkoids
Mon Dec 10, 2012 9:04 am
Forum: General Programming
Topic: ECIO28 Help Please - Why So Slow Please?
Replies: 8
Views: 3672

Re: ECIO28 Help Please - Why So Slow Please?

Works instantly from external power!

The reassuring sound of the relay clicking on and off is perfect ;-}
by Sparkoids
Sun Dec 09, 2012 10:22 am
Forum: General Programming
Topic: ECIO28 Help Please - Why So Slow Please?
Replies: 8
Views: 3672

Re: ECIO28 Help Please - Why So Slow Please?

I'm going on the bootloader as well but will try it Monday and let you know.....
by Sparkoids
Sat Dec 08, 2012 8:30 pm
Forum: General Programming
Topic: ECIO28 Help Please - Why So Slow Please?
Replies: 8
Views: 3672

Re: ECIO28 Help Please - Why So Slow Please?

No I'm going to test it on Monday at work Enamul!
by Sparkoids
Sat Dec 08, 2012 5:22 pm
Forum: General Programming
Topic: ECIO28 Help Please - Why So Slow Please?
Replies: 8
Views: 3672

Re: ECIO28 Help Please - Why So Slow Please?

Oh and it's in the hardware that it doesn't run... I use Flowcode with a Mac so no anti-virus needed...
by Sparkoids
Sat Dec 08, 2012 5:21 pm
Forum: General Programming
Topic: ECIO28 Help Please - Why So Slow Please?
Replies: 8
Views: 3672

Re: ECIO28 Help Please - Why So Slow Please?

Hi Enamul,

I can try it on Monday but think it is something to do with the bootloader because the LED flashes etc before it executes the first instruction to send out the '1'....

Thanks for your reply at the weekend!
by Sparkoids
Sat Dec 08, 2012 2:18 pm
Forum: General Programming
Topic: ECIO28 Help Please - Why So Slow Please?
Replies: 8
Views: 3672

ECIO28 Help Please - Why So Slow Please?

I have a problem here where my circuit needs to output a '1' to a relay to switch it on as it's first instruction on my Flowchart but even with a 4Mhz crystal fitted on the ECIO28 it takes an age to initialise turn on the relay. Is this because the ECIO has a program (bootloader?) that has to boot f...
by Sparkoids
Fri Dec 07, 2012 12:04 pm
Forum: Flowcode V5
Topic: Eagle PCB Parts - PIC18F13K50 or PIC18F14K50
Replies: 1
Views: 1858

Eagle PCB Parts - PIC18F13K50 or PIC18F14K50

Does anyone have the part for Eagle at all please to save me the hassle of part editing. On this great forum people seem to have everything!!