Search found 28 matches

by ahmedkhalid
Sat Aug 08, 2015 7:38 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Hello everyone,

CIPSTART="TCP","www.matrixtsl.com",80

gives :

OK
Linked

now how to send a GET request to this site as mentioned by benj

I am using RealTerm..

Firmware version is:
00170901
by ahmedkhalid
Mon Dec 29, 2014 10:32 pm
Forum: Flowcode V6
Topic: Writing between the text in a text file
Replies: 10
Views: 5368

Re: Writing between the text in a text file

@Benj

Did you try your code of FAT insert? Is it working?
by ahmedkhalid
Wed Dec 24, 2014 8:57 pm
Forum: Flowcode V6
Topic: Writing between the text in a text file
Replies: 10
Views: 5368

Re: Writing between the text in a text file

How long will it take to make a new Fat component?
by ahmedkhalid
Fri Dec 19, 2014 11:28 pm
Forum: Flowcode V6
Topic: Writing between the text in a text file
Replies: 10
Views: 5368

Re: Writing between the text in a text file

Moreover, the code seems to be a bit tricky.

Ben can u make a function for the FAT component which can insert a text at anywhere in the text file? It will be a great help!
by ahmedkhalid
Fri Dec 19, 2014 4:47 pm
Forum: Flowcode V6
Topic: Writing between the text in a text file
Replies: 10
Views: 5368

Re: Writing between the text in a text file

I ran your simulation. The code seems to work but what happens is the file occupies some space for text but the text does not appear.

Even the already written text got disappear. I did not run it on hardware though. Did you test the simulation now?
by ahmedkhalid
Wed Dec 17, 2014 9:12 pm
Forum: Flowcode V6
Topic: Writing between the text in a text file
Replies: 10
Views: 5368

Re: Writing between the text in a text file

kersing wrote:The only way to do this is to read the file contents, modify it and write it back.
ok reading the content is fine but how to modify it and write it back? can u show me a simple simulation please?
by ahmedkhalid
Tue Dec 16, 2014 7:43 pm
Forum: Flowcode V6
Topic: Writing between the text in a text file
Replies: 10
Views: 5368

Writing between the text in a text file

Hello everyone! I have got a small problem here and need your help. I want to make a program which inserts a text in a text file using FAT component of flowcode. The thing is the text file is already written with text and the text which needs to be insert have to reside between particular texts. Obv...
by ahmedkhalid
Sun Nov 02, 2014 8:08 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Kersing worte: Please post all output lines as these lines do not contain the information we need to help. (The output can be found in a .txt file starting with the project name located in the same folder your project is saved.) Adding your flowcode file to your post also helps... Here is the text ...
by ahmedkhalid
Thu Oct 30, 2014 7:44 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Just tried the latest version of the component upload by ben and got this error while making hex file of it.

Error returned from [avr-gcc.exe]
Completed compilation, return = 1
C:\Program Files (x86)\Flowcode 6\compilers\avr\batchfiles\avra.bat reported error code 1
by ahmedkhalid
Mon Oct 27, 2014 9:06 pm
Forum: Flowcode V6
Topic: UART Communication (TX/RX pins)
Replies: 3
Views: 3923

Re: UART Communication (TX/RX pins)

Hello I am using ESP8266 WiFi module and RS232 at the same time for my project. There are many AVR atmega micro-controllers which have two UART interfaces, each having a pair of TX/RX pins. Like atmega 324V, atmega 644p, atmega 164P, atmega 161, atmega 162, atmega 164A etc etc. But the thing is flow...
by ahmedkhalid
Sat Oct 11, 2014 4:08 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

If you read data from a file into a variable you can then send it to your computer and have the computer append the data to a file of your choosing.
How to do this?
by ahmedkhalid
Sat Oct 11, 2014 4:02 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Rudi wrote; choices: -------- RST if you want to Reset by Mikrocontroller, you can connect it to a pin and switch ~20ms to gnd GPIO0 if you want to Firmware update over Mikrocontroller then you must connect to a pin and make this procedure RST + GPIO0 goes GND ( LOW ) ~20ms this will reset the ESP8...
by ahmedkhalid
Sat Oct 11, 2014 1:37 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Plus one thing more!

I have to send a text file to my laptop using ESP8266. The file will be in SD card. I know how to handle files in SD card but don't know how to transmit it using ESP8266?
by ahmedkhalid
Sat Oct 11, 2014 1:31 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Hello Everyone!! After reading all the conversation I am a bit confuse now regarding the pin connections of ESP8266 module. Kindly tell me the correct pin connection whether to connect RST to ground or to connect it with VCC? What to do with CH-PD pin? Please briefly tell the connection which work i...
by ahmedkhalid
Mon Sep 29, 2014 9:01 am
Forum: Flowcode V6
Topic: UART Communication (TX/RX pins)
Replies: 3
Views: 3923

UART Communication (TX/RX pins)

Hello Everyone!! I am currently working on a module which has two sub-modules which uses TX/RX pins for UART communication.The Controller I am using is Atmega 32 which has only one pair of pins meant for UART communication (one TX and One RX). These sub- modules works on different baud rate. So my q...
by ahmedkhalid
Sat Sep 27, 2014 2:24 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Thanks for the guidance and support! It really means alot!! Now the thing is I was able to create an AP and also joined the module with the existing WiFi AP. But now when I am trying to create an AP again, Lcd displays "Fail". Do I have to connect the RST pin of the module with any of the micro-cont...
by ahmedkhalid
Fri Sep 26, 2014 4:45 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Hello Benj! The sample code you provided, I use them on my hardware. When WiFi module is not connected to micro-controller, even then it initializes the module. So I used a while loop and now it does not initializes the module. I am using: > ATMEGA 16 >internal clock frequency 8 Mhz >using potentiom...
by ahmedkhalid
Thu Sep 25, 2014 8:38 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Thanks a ton Benj!
I just want to know is there any way to simulate this module in flowcode? Like any injector or any thing else for simulation?
by ahmedkhalid
Wed Sep 24, 2014 8:25 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

Re: WiFi Communication with ESP8266

Hello Benj!

I am desperately waiting for this flowcode component.
by ahmedkhalid
Wed Sep 24, 2014 5:20 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94879

WiFi Communication with ESP8266

Hello Everyone!! Today I an in need of great favor from you guys. I want to interface AVR ATMEGA-32 mico-controller with the latest and the cheapest WiFi module (ESP8266) available. But the thing is I don't have any previous knowledge about WiFi Communication. I don't know how to configure this modu...
by ahmedkhalid
Thu Sep 11, 2014 9:18 pm
Forum: Flowcode V6
Topic: Absolute of Integer Variable
Replies: 2
Views: 2278

Absolute of Integer Variable

Hello!
Can Anyone tell me how to take absolute of an integer variable? Is there any built-in function/command in flowcode v6 for such task?
by ahmedkhalid
Wed Sep 10, 2014 9:04 pm
Forum: Flowcode V6
Topic: Writing to SD Card
Replies: 4
Views: 3400

Re: Writing to SD Card

Plus one more thing, how can I create a file and write on it simultaneously? Like I created a file and after opening it tried to write something but when the program was executed, during its first execution only a file was created and nothing get written, but when the program was executed again then...
by ahmedkhalid
Wed Sep 10, 2014 8:33 pm
Forum: Flowcode V6
Topic: Writing to SD Card
Replies: 4
Views: 3400

Re: Writing to SD Card

Well Thanks for the response! But in my case I have to write into the text file and after writing few bytes I have to move to the next line. How I can do that?
by ahmedkhalid
Tue Sep 09, 2014 11:50 pm
Forum: Flowcode V6
Topic: Writing to SD Card
Replies: 4
Views: 3400

Writing to SD Card

Hello Everyone!!
Sorry I am here to disturb you guys again :). I want to know how I can move to next line of a text editor file using SD/FAT functions?
by ahmedkhalid
Thu Sep 04, 2014 9:12 pm
Forum: Flowcode V6
Topic: Opening file in SD card
Replies: 2
Views: 2143

Re: Opening file in SD card

Thanks Benj!
I really appreciate your prompt reply.