Search found 31 matches

by kg300
Thu Feb 03, 2022 7:53 pm
Forum: General Programming
Topic: help needed to make a tcp/ip server using ESP01(ESP8266)
Replies: 0
Views: 52583

help needed to make a tcp/ip server using ESP01(ESP8266)

Trying to make a tcp/ip server using Nono and ESP01(ESP8266) . Naon use software serial and read data from a serial port and store in string variable (work ok), ESP2866 also connected successfully to a local network modem. Now what to do next in flowcode that nano send this serial data on network ip...
by kg300
Wed Dec 15, 2021 5:30 pm
Forum: General Programming
Topic: How to do Pwm off and on in flowcode??
Replies: 9
Views: 7391

Re: How to do Pwm off and on in flowcode??

medelec35 wrote:
Wed Dec 15, 2021 3:54 pm
You can set the duty to 0 for PWM off.
No need to disable then:
PWM Burst.png
Thanks :D
by kg300
Wed Dec 15, 2021 2:40 pm
Forum: General Programming
Topic: How to do Pwm off and on in flowcode??
Replies: 9
Views: 7391

How to do Pwm off and on in flowcode??

This is c code
// Send 9ms burst
pwm_on();
delay_ms(9);
// Send 4.5ms space
pwm_off();
delay_us(4500);

How can i do this in flowcode?. Desiable pwm component madule for 9ms and enable it again or there is another way??
by kg300
Tue Feb 09, 2021 5:56 am
Forum: General Programming
Topic: how to split a variable data??
Replies: 2
Views: 11209

Re: how to split a variable data??

kersing wrote:
Sat Feb 06, 2021 12:15 pm
A = X & 0xFFFF
B = ( X >> 16 ) & 0xFF
C = ( X >> 24 ) & 0xFF
thanks "kersing " :)
by kg300
Sat Feb 06, 2021 11:44 am
Forum: General Programming
Topic: RC5 component not working
Replies: 17
Views: 23632

Re: RC5 component not working

Bachman wrote:
Fri Feb 05, 2021 9:52 am
If you know how UART (RS232) is working, try IR remote decoder module. Works fine and it has UART input and output. I've tested all IR remotes at home, it's sees all one of them.
IR decoder.png
Thanks :D
by kg300
Sat Feb 06, 2021 11:42 am
Forum: General Programming
Topic: how to split a variable data??
Replies: 2
Views: 11209

how to split a variable data??

If X= FF B0 FC FE
So how can I split into?
A=FC FE
B= B0
C= FF
by kg300
Wed Feb 03, 2021 10:28 am
Forum: General Programming
Topic: how to set or clear individual bits in a veriable??
Replies: 3
Views: 4703

how to set or clear individual bits in a veriable??

in the C compiler get this code working but how to do it in flowcode, any idae pls..

unsigned int32 code;

for(i = 0; i < 32; i++)

if( count > 20)
bit_set(code, (31 - i));

else

bit_clear(code, (31 - i));
by kg300
Wed Jan 06, 2021 8:36 am
Forum: General Programming
Topic: RC5 component not working
Replies: 17
Views: 23632

Re: RC5 component not working

I have changed to the flowchart to run with 8MHz internal osc. RC5 IR input has been changed to RA4. if it does not work for you, I will try on hardware with internal osc. thanks Martin for your responce. I checked your flowchart but it not working on hardware, even it not detect any IR signal from...
by kg300
Tue Jan 05, 2021 1:50 pm
Forum: General Programming
Topic: RC5 component not working
Replies: 17
Views: 23632

Re: RC5 component not working

medelec35 wrote:
Tue Jan 05, 2021 1:31 pm
Did you try the 1 sec flash test first as it's important timing is correct?
Does the crystal you are using not require load capacitors to make sure frequency is correct?
Can RC5 wil work with 4mhz internal clock. I try it but did not work.
by kg300
Tue Jan 05, 2021 9:08 am
Forum: General Programming
Topic: RC5 component not working
Replies: 17
Views: 23632

Re: RC5 component not working

when i attached the IR sensor and remote with Nano and IDE the result is here
by kg300
Tue Jan 05, 2021 8:33 am
Forum: General Programming
Topic: RC5 component not working
Replies: 17
Views: 23632

Re: RC5 component not working

Hi kg300, As you have posted in the General Programming section we won't know what Flowcode version you are referring to? I have just tested RC5 component. Working correctly with Flowcode V7,8 & 9. Have you tried the 1 Sec flash test ? Your circuit shows no crystal or resonator connected, your flow...
by kg300
Sat Jan 02, 2021 7:26 am
Forum: General Programming
Topic: RC5 component not working
Replies: 17
Views: 23632

RC5 component not working

I create Flowchart for rc5 that encode data from remote control and display on port-C to on off LEDs, but it not working. My remote and sensor is ok and work fine with Arduino IDE but not working with Flowchart and RC5.
by kg300
Wed Apr 29, 2020 8:24 am
Forum: General Programming
Topic: Need help in array calculation
Replies: 2
Views: 2812

Need help in array calculation

Put data in array through keypad then combine it in integier variable. When i press 1234 the result is same 1234. But when i put 12 the result is 1200 insted of 12. Please help to solve this problem
by kg300
Tue Mar 24, 2020 9:36 am
Forum: General Programming
Topic: need a water flow sensor example
Replies: 9
Views: 5902

Re: need a water flow sensor example

medelec35 wrote:
kg300 wrote:Yes, it's working.
Thank you, that's good to know.
kg300 wrote: actually i'm trying to build a bottle filling project.
After modifying flowchart, you can post it if stuck?
yes
by kg300
Wed Mar 18, 2020 8:39 am
Forum: General Programming
Topic: need a water flow sensor example
Replies: 9
Views: 5902

Re: need a water flow sensor example

You're welcome. Can you please let me know if works OK or not? Yes, it's working. your example show me the way how i use this sensor. actually i'm trying to build a bottle filling project. the MCU start a small pump and sensor start to count flow, when 1 liter is done the MCU stop the pump. now i'm...
by kg300
Tue Mar 17, 2020 7:06 am
Forum: General Programming
Topic: need a water flow sensor example
Replies: 9
Views: 5902

Re: need a water flow sensor example

Testing Water Flow Meter hardware.png I tried the attached Flowchart for my hardware (different target device) and injected a 225Hz signal into INT pin. Result was good as getting a value between 29.9 and 30.0 L/S So its slightly more accurate than arduino version. This the accuracy appears to be c...
by kg300
Sat Mar 07, 2020 10:03 am
Forum: General Programming
Topic: need a water flow sensor example
Replies: 9
Views: 5902

Re: need a water flow sensor example

That should be fairly easy to sort out. Do you have hardware details in mind, e.g. Microcontroller (freq, internal/External osc.), LCD etc? Perhaps would be better if you started the flowchart by setting up configuration settings and adding LCD. hardware is so simple, pic16f683 with intrnl Osc and ...
by kg300
Fri Mar 06, 2020 7:33 am
Forum: General Programming
Topic: need a water flow sensor example
Replies: 9
Views: 5902

need a water flow sensor example

Any flowcode exemple of using this sensor? Actually i want to use this sensor to measure total flow pass in liters/minut and display on lcd. And i need starting point by a flowcode example
by kg300
Wed Dec 19, 2018 9:14 am
Forum: Flowcode V8
Topic: How to save ULong variable value in EEPROM?
Replies: 7
Views: 4318

Re: How to save ULong variable value in EEPROM?

Its working ok. thanks Benj :D
by kg300
Tue Dec 18, 2018 10:45 am
Forum: Flowcode V8
Topic: How to save ULong variable value in EEPROM?
Replies: 7
Views: 4318

How to save ULong variable value in EEPROM?

Hi, I want to save a Ulong Variable (06 digits) in EEPROM, any example for me.? I get a code from Arduino forum, writing in the eeprom memory locations is ok, but when i tried to get back data from these locations variable only show the value less then 65000. mean only get back Unint value from eepr...
by kg300
Tue Nov 06, 2018 5:54 am
Forum: General Programming
Topic: convert string value into binary or decimal
Replies: 2
Views: 3235

Re: convert string value into binary or decimal

Thanks 'mnf' its working as i required :D
by kg300
Mon Nov 05, 2018 10:33 am
Forum: General Programming
Topic: convert string value into binary or decimal
Replies: 2
Views: 3235

convert string value into binary or decimal

In a 485 serial network, one master and 4 slaves boards. Each Slave board read the position of 02 switchs attach with its port and send the switch logic state to master as a string. For example if both 02 switchs are logic high it send string “11” and if both low it send string “00”. master receive ...
by kg300
Sat Oct 13, 2018 2:50 pm
Forum: Flowcode V8
Topic: Long and ULong variables not working in fc8
Replies: 9
Views: 5575

Re: Long and ULong variables not working in fc8

kersing can u modify it for me.
it working both on hardware and in simulation in fc6.
but in fc8, it simulate ok but not working on hardware. if i do something wrong in fc8 so please modify it for better understand
by kg300
Sat Oct 13, 2018 1:17 pm
Forum: Flowcode V8
Topic: Long and ULong variables not working in fc8
Replies: 9
Views: 5575

Re: Long and ULong variables not working in fc8

but the same program working fine with FC5, FC6 & FC7, not in FC8. Calculation not exceed more then 32000
:(