Search found 25 matches

by KrisJeff
Sat Mar 20, 2021 2:50 pm
Forum: Flowcode V8
Topic: Home Automation/MQTT
Replies: 2
Views: 1742

Home Automation/MQTT

Looking at home automation on the Raspberry Pi as the Broker with MQTT and Mosquitto. I already have a small system running on CANBus using several PIC16F877A. I now would like to enhance my system and have been playing with Node Red and Pi3. However, at one point there was a MQTT Client in the Comm...
by KrisJeff
Sat Feb 06, 2021 3:01 pm
Forum: Flowcode V8
Topic: Convert Int to a decimal number
Replies: 4
Views: 2887

Re: Convert Int to a decimal number

Dear Martin,
Thank you for your help to date. Done as instructed. Now get to 2 decimal places but still printing only the whole number.
Sorry, I'm not very good with string manipulations etc. Please see amended as per attached.
by KrisJeff
Fri Feb 05, 2021 8:30 pm
Forum: Flowcode V8
Topic: Convert Int to a decimal number
Replies: 4
Views: 2887

Convert Int to a decimal number

Can someone help with the attached. I want to be able to print an amps value in decimal to 2 decimal places?
by KrisJeff
Fri Mar 27, 2020 9:03 pm
Forum: Flowcode V8
Topic: HX711 Not zeroing
Replies: 1
Views: 1355

HX711 Not zeroing

Several months ago I downloaded the example for the HX711 and had the example running on my BLOO80 EBlocks 2 programmer. I'm trying to design a weighing device to weigh my gas bottles so I can see how much gas is left in the bottle. I acquired a load cell and connected this to the HX711 and then I d...
by KrisJeff
Thu Jan 10, 2019 8:10 pm
Forum: Flowcode V8
Topic: PIC16F877A-PWM Output x 2
Replies: 4
Views: 2914

Re: PIC16F877A-PWM Output x 2

Dear medelec,
Thank you. I'm new to version 8. My properties panel was not set wide enough so I could only see the left column? What a plonker?
Thank you so much. :D
by KrisJeff
Wed Jan 09, 2019 8:57 pm
Forum: Flowcode V8
Topic: PIC16F877A-PWM Output x 2
Replies: 4
Views: 2914

PIC16F877A-PWM Output x 2

I require 2 PWM outputs from my 16F877A. I can simulate OK but the chip only outputs to PWM-1 I realize that you can assign the PWM outputs to the pins require but I just cant understand how? In properties I can highlight the pwm_pin and nothing comes up to confirm the pin? Also can expose but again...
by KrisJeff
Fri Nov 16, 2018 8:32 pm
Forum: Flowcode V8
Topic: Simple flash LED
Replies: 5
Views: 3318

Re: Simple flash LED

OK, I see. Thank you very much.
by KrisJeff
Thu Nov 15, 2018 8:20 pm
Forum: Flowcode V8
Topic: Simple flash LED
Replies: 5
Views: 3318

Re: Simple flash LED

Dear Benj,
Thank you. I can see where I went wrong. However, 2 Port A outputs faulty on my combo board which also led me up the garden path?
This is a new board, do I need to return, and do I need any return paperwork/code?

Thanks once again I will now get some sleep tonight.
by KrisJeff
Wed Nov 14, 2018 9:22 pm
Forum: Flowcode V8
Topic: Simple flash LED
Replies: 5
Views: 3318

Simple flash LED

Using BL-80 Multiprogrammer with BL114 Combo Board. Used Flowcode 5 & 6 in the past but not for about 18 months. Decided to get back to Flowcode due to recent retirement and move to Spain. Invested in Flowcode 8 and several new F8 Boards. Tried to get some of my older programs working using the new ...
by KrisJeff
Mon Nov 05, 2018 4:46 pm
Forum: Flowcode V8
Topic: Print Flowchart
Replies: 1
Views: 1905

Print Flowchart

Just spent last couple of hours trying to print off my Flowcode project. All help points to the printer icon on the Main Toolbar? Well on my latest up dated version their is no printer icon it's missing? I have managed to print by Ctrl + P after lot's of searching? This is pretty basic stuff and nev...
by KrisJeff
Sat Oct 20, 2012 9:41 am
Forum: General Programming
Topic: CANBus using 18F4580
Replies: 8
Views: 6345

Re: CANBus using 18F4580

Dear Enamul, I want to send and receive data by CANBus see my original post. Say just one port on TX to one port on RX. I have this working fine using 16F877A but experience problems when turning into PCB for actual use in a project of mine. Also want to understand CAN better as this is used in lift...
by KrisJeff
Fri Oct 19, 2012 7:32 pm
Forum: General Programming
Topic: CANBus using 18F4580
Replies: 8
Views: 6345

Re: CANBus using 18F4580

Dear John, Thanks for your help. I'm using EB-006 to program with EB-017 patch board with the 2551 on it. Checking CAN with Microchip CAN Bus Analyzer. Programme will now download. However, if in the CANBus properties I check the "USE INTERNAL CAN" and attempt a download I get nothing but error afte...
by KrisJeff
Thu Oct 18, 2012 8:41 pm
Forum: General Programming
Topic: CANBus using 18F4580
Replies: 8
Views: 6345

CANBus using 18F4580

Flowcode 5 Recently had occasion to use CANBus for the first time. Built TX & RX Nodes using 16F877A chips and e-block CAN module EB-18 and managed to send data from port on TX to port on RX. Tried to convert to PCB's but only had sucess with RX? I still don't know why as I've given up. To simplify...
by KrisJeff
Thu Jul 01, 2010 6:57 pm
Forum: Formula Flowcode
Topic: Installing Flowcode PICV4.3
Replies: 5
Views: 8858

Re: Installing Flowcode PICV4.3

Dear David,

Thanks, worked a treat.

Kris.
by KrisJeff
Wed Jun 30, 2010 3:57 pm
Forum: Formula Flowcode
Topic: Installing Flowcode PICV4.3
Replies: 5
Views: 8858

Re: Installing Flowcode PICV4.3

Done exactly as recommended but I still get "Flowcode V4.exe is not a valid Win32 application"?

Kris.
by KrisJeff
Tue Jun 29, 2010 8:25 pm
Forum: Formula Flowcode
Topic: Installing Flowcode PICV4.3
Replies: 5
Views: 8858

Installing Flowcode PICV4.3

Computer crashed with 4.3 up to date Flowcode. New computer up and running with Windows 7. Installed my version 4 straight off the CD ROM, registered and all apeared OK. However, I later realised that the version I had installed was not the latest version? I have tried in the past at installing up t...
by KrisJeff
Tue Jun 08, 2010 6:12 pm
Forum: MIAC
Topic: MIAC Programming
Replies: 5
Views: 6642

Re: MIAC Programming

Thanks Chap's now up and running. Some sort of driver issue even though drivers loaded from the start.
The clue was in the device manager which only showed the MIAC when trying to programme?
Highlighted MIAC searched driver from disk and rodger me with a ragman's trumpet! THANKS.

Kris.xxxxxx
by KrisJeff
Mon Jun 07, 2010 8:03 pm
Forum: MIAC
Topic: MIAC Programming
Replies: 5
Views: 6642

Re: MIAC Programming

Dear Ben, Nothing else plugged in? Straight from USB to MIAC. Help files do not even mention MIAC? FAQ only 1 post. Forums not helpful. Where do I go now? I've used many PLC controllers in the past 30 years. So far this is the only one that has beat me? What about the fault code what does this tell ...
by KrisJeff
Mon May 31, 2010 7:10 pm
Forum: MIAC
Topic: MIAC Programming
Replies: 5
Views: 6642

MIAC Programming

Running latest Flowcode 4.3.7.63 (already on my computer) instead of 3 which was included with th MIAC. Drivers downloaded as required. WhenI try to send program (any program) to the MIAC I always get " failed with error 997: overlapped I/O operation in progress"? This is staight out of the box? Ple...
by KrisJeff
Sun Nov 15, 2009 8:02 pm
Forum: Formula Flowcode
Topic: Quadrature Encoder 18F2331
Replies: 7
Views: 12365

Re: Quadrature Encoder 18F2331

Changed 2331 to 18F4331 with better results. I have this running in my version 3 programmer/simulator. It will count up and down but well out of sync with the QEA and QEB inputs from the encoder. Also the INDEX input has not effect on the count. The count I get is very slow and somewhat unstable as ...
by KrisJeff
Tue Nov 10, 2009 8:08 pm
Forum: Formula Flowcode
Topic: Quadrature Encoder 18F2331
Replies: 7
Views: 12365

Re: Quadrature Encoder 18F2331

Ben,

All settings as per your earlier reply regarding PIC18F2331 with clock of 19.6608MHz ?

Kris
by KrisJeff
Sun Nov 08, 2009 5:33 pm
Forum: Formula Flowcode
Topic: Quadrature Encoder 18F2331
Replies: 7
Views: 12365

Re: Quadrature Encoder 18F2331

Dear Steve, Up dated this week end to Flowecode 4.2.3.58 with PPP 3.11.15.30. Everything the exact same? I thought I would try the code to a 4331 as this was the basis of Seans original quaderature encoder. Now it will compile to the chip but does not run properly. Even the LCD display does not work...
by KrisJeff
Thu Nov 05, 2009 6:56 pm
Forum: Formula Flowcode
Topic: Quadrature Encoder 18F2331
Replies: 7
Views: 12365

Re: Quadrature Encoder 18F2331

Dear Ben,

Thanks but no different. Simple program as stated. Programming fine until the end then "programming failed <1> <2> <3> <6>
Return code 0


This is pretty much where I was but I could manage just programming failed <1>, return code 0.

Kris.
by KrisJeff
Tue Nov 03, 2009 7:08 pm
Forum: Formula Flowcode
Topic: Quadrature Encoder 18F2331
Replies: 7
Views: 12365

Quadrature Encoder 18F2331

I have Flowcode 4, Development board 3 with up to date PPP. I cant run a sample program Encoder2 posted by sean on the 26th Feb 2008. Sean surgested that the program was OK but configuration could be wrong. Despite hours of trying I still can't get it to run using flowcode. However to veryfy the PIC...
by KrisJeff
Mon Feb 02, 2009 7:48 pm
Forum: Components (Comms)
Topic: RS 232 Bit Banging PIC to PIC
Replies: 1
Views: 3462

RS 232 Bit Banging PIC to PIC

Downloaded Bit Banging RS232 Data out and Data in from the Matrix examples site. Slightly changed Data out to suit 8 bits input. This seems to work spot on as with one start bit (0) 8 data bits and one stop bit (1). Had my scope on this and seems perfect. Timing also looks correct. The problems are ...