Search found 1217 matches

by QMESAR
Sun Nov 15, 2020 1:07 pm
Forum: General Programming
Topic: Proteus
Replies: 6
Views: 5468

Re: Proteus

Hi.

Ok I was in opinion you are using a PIC micro then it will be a COFF file, however for arduino it can be a ELF file,I never used Arduino (ATMEL)

However it seems from your screen print it is working now with you ?
by QMESAR
Fri Nov 13, 2020 5:51 pm
Forum: General Programming
Topic: Proteus
Replies: 6
Views: 5468

Re: Proteus

Hi

What file are you using
hex or COFF file in your Proteus project?
by QMESAR
Wed Nov 11, 2020 2:11 pm
Forum: Flowcode V8
Topic: Simulated encoder connected to the motor
Replies: 3
Views: 2016

Re: Simulated encoder connected to the motor

Hi
You can do this in Proteus
by QMESAR
Fri Oct 30, 2020 1:44 pm
Forum: Flowcode V8
Topic: Interrupt Help
Replies: 3
Views: 1790

Re: Interrupt Help

Hi
No problem made this mistake many times and look hours for the bug :D
by QMESAR
Fri Oct 30, 2020 6:55 am
Forum: Flowcode V8
Topic: Interrupt Help
Replies: 3
Views: 1790

Re: Interrupt Help

Hi

If you are not supplying a clock signal to the Timer 0 external clock Pin then the interrupt will never fire,in this case set the Timer clock to Internal Clock (Clock Source Property)

P5.jpg
P5.jpg (22.53 KiB) Viewed 1788 times
Set The property to Internal as shown below
P6.jpg
P6.jpg (19.23 KiB) Viewed 1788 times
by QMESAR
Wed Oct 28, 2020 3:00 pm
Forum: Flowcode V8
Topic: Cannot configure Internal Oscillator
Replies: 7
Views: 3318

Re: Cannot configure Internal Oscillator

Hi I never used this chip however I haven't seen a PIC18 that can run at 80Mhz the max I expects 64Mhz I would guess that in the OSC Helper you select the Internal OSC speed as 16Mhz (click on the OSC parameter and a list box will open that shows the various speeds the Internal OSC can run at. Then ...
by QMESAR
Thu Oct 22, 2020 10:03 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Thanks Ben and leigh

Much appreciated !
by QMESAR
Thu Oct 22, 2020 9:00 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Hi Guys, Adding a password to the broker in the RPI (as per your document Ben) publishing to the topic by the commnad window in the RPI works However How do I add the password as a parameter to the publish component in FC mosquitto_pub -h localhost -t "test" -m "Sensor/Pot" -u "Fred" -P "password" S...
by QMESAR
Tue Oct 20, 2020 6:21 pm
Forum: General Programming
Topic: calculation question
Replies: 11
Views: 7157

Re: calculation question

No Problem ,I had a quick look and saw you are using local variables ,I am not so well informed with this in FC
maybe Martin or someone that works a lot with FC can help you here ,I know how to solve this in C code but that helps you nothing
by QMESAR
Tue Oct 20, 2020 5:33 pm
Forum: General Programming
Topic: calculation question
Replies: 11
Views: 7157

Re: calculation question

Hi data200= .data129/.data109 t Is the data200 of type Integer or float? if it is type integer or unsigned integer you loose the decimal part by the nature of the variable type is my guess, if data200 is type float then you will see the vale of 1-3.xxx you can then do the multiplication by 10 000 an...
by QMESAR
Tue Oct 20, 2020 9:53 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Hi Ben, Thank a million for the example once again ,I have it now running on HW my sensor node is connecting to the RPI successfully :D and I publish the sensor data to the Broker on the RPI and see the real data in the terminal window. With that said there is a long way still ,I am still confused w...
by QMESAR
Tue Oct 20, 2020 6:41 am
Forum: Bug Reports
Topic: PIC18F2685 CAN with wrong BAUD Rate
Replies: 6
Views: 4112

Re: PIC18F2685 CAN with wrong BAUD Rate

As Ben said use a higher Clock Frequency ,4MHZ clock for a CAN application is not desired :D
by QMESAR
Tue Oct 20, 2020 6:30 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Hallo Ben. Just an interesting thing I notice when using the MOTT components with ESP Component your example FC Chart compiles perfectly for all the bigger RAM values like the PIC182585,16F18877,16F18857 etc these chips has 2096 and 4096 RAM the chips such as PIC16F1938,16F18855 with 1024 RAM the co...
by QMESAR
Mon Oct 19, 2020 5:12 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 5486

Re: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.

Hi Martin

No issues ,I just did not see you already replied and that was the meaning not to double post the same things ,
I apologize if you feel I did not like that you posted That was really not the intention .

Chad as Martin I really hope you get things going all fingers crossed ,
by QMESAR
Mon Oct 19, 2020 4:33 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 5486

Re: Bringing up a new chip 18f24k50 Having some problems.

Ok Martin
I leave this post now ,Sorry I posted just after you posted did not see your response
by QMESAR
Mon Oct 19, 2020 2:58 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 5486

Re: Bringing up a new chip 18f24k50 Having some problems.

With me these settings compile just fine
?
can you upload your FC files and I will try to compile it !

P1.jpg
P1.jpg (37.48 KiB) Viewed 5433 times
by QMESAR
Mon Oct 19, 2020 2:38 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 5486

Re: Bringing up a new chip 18f24k50 Having some problems.

Hi Chad The OSChelper gives all the possible Frequencies for the internal OSC if you select 16Mhz then the Internal OSC is running at 16Mhz which is the input frequency to the MUX unit then by setting the PLL bit to 3 times is 3 x16 = 48Mhz Clock frequency as you will see in the above post OSC block...
by QMESAR
Mon Oct 19, 2020 1:31 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 5486

Re: Bringing up a new chip 18f24k50 Having some problems.

Hi Guys, I do not have such an device however In my opinion it should work as follow You need to set the frequency of the Internal OSC use the OSC helper the setting of the PLL 3 or 4 times depend on the setting of the OSCCon register if 16MHz is used the you can only set the PLL to 3 which expects ...
by QMESAR
Mon Oct 19, 2020 11:16 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Hallo Ben,

Thank you this helps a lot ,I will try it with the 5V at the Pins Vdd I hooked up to 3v3 . :D

Have good time
by QMESAR
Mon Oct 19, 2020 11:03 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Hi Guys, The ESP8266 module is 3.3V so my question do I need to use level shifter for the UART RX and TX pins and the Enable and reset Pins as I am hooking up to a 5V mcu ,I am not sure if the ESP pins are 5V tolerant and any help is appreciated Secondly the enable pin is not included in the ESP Com...
by QMESAR
Fri Oct 16, 2020 2:18 pm
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Hi Ben,

Thank you this is very helpful lot of stuff I still did not do or even know about thank you so much :D
by QMESAR
Thu Oct 15, 2020 5:27 pm
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

Re: MQTT Basics and FC

Ben

Thank you very much I appreciate your help with the example :D
by QMESAR
Thu Oct 15, 2020 1:10 pm
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 4210

MQTT Basics and FC

Dear Ben/Leigh and Guys, This is my first attempt with IOT and MQTT I will be glad if you will share some light on my confusion, I have a EB006V9 with EB083 Combo board and an ESP8266 WiFi module as my sensor Node and I have a Broker(Mosquitto) Running on my RPI3 from the flowchart of scada example ...
by QMESAR
Sun Oct 04, 2020 8:55 am
Forum: Flowcode V8
Topic: DHT11 why simulation failure in proteus?
Replies: 1
Views: 1112

Re: DHT11 why simulation failure in proteus?

Hi.
There are many possibilities why your Proteus simulation does not work
post your Proteus project and people here which use Proteus can try to help or ask in Proteus Forum for help