Search found 473 matches

by hyperion007
Wed Oct 15, 2014 4:01 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors and a ton of warnings

Ok, first time I have a go at a dsPIC. Good to know.
by hyperion007
Wed Oct 15, 2014 2:18 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors and a ton of warnings

Ben, do you have any input on these warnings etc?
by hyperion007
Sun Oct 12, 2014 1:00 am
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors and a ton of warnings

It is still working without the option for /r or /r/n
by hyperion007
Sat Oct 11, 2014 10:41 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors and a ton of warnings

Right, forgot about that :) Thanks, I'll have a go anyway.
by hyperion007
Sat Oct 11, 2014 10:30 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors and a ton of warnings

Thanks, it compiles.

But the option for /r or /r/n is gone.
by hyperion007
Sat Oct 11, 2014 8:15 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors and a ton of warnings

or you can download Ben's example from here: http://www.matrixtsl.com/mmforums/downl ... p?id=15832

from the thread: http://www.matrixtsl.com/mmforums/viewt ... 54&t=15362

As it will not compile neither.
by hyperion007
Sat Oct 11, 2014 7:45 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors

Ok sure, Warnings then, a ton of them and with the ESP8266 component at least one Error.
by hyperion007
Sat Oct 11, 2014 6:18 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

Re: ECIO40P16 compile errors

A small update: The ESP8266 component is causing the compilation to fail. I have tried compiling Ben's TCP/IP server example from the WiFi thread that is for the same dsPIC as this ECIO40P16 and it fails too. When I removed that component from my program and only used the buffered SSD1306 GLCD compo...
by hyperion007
Sat Oct 11, 2014 4:04 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Start with what Ben wrote and then when you get it to work and want to change it then you'll know what to do.
by hyperion007
Sat Oct 11, 2014 3:47 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

I have made to following connections to the module. GND -> GND VCC -> 3V3 with at least 300mA spare current TXD -> RX on Microcontroller RXD -> TX on Microcontroller RST -> VCC CH_PD -> VCC This is from the first page of this thread (which is only three pages long) so why the confusion? There is no...
by hyperion007
Fri Oct 10, 2014 9:03 pm
Forum: Flowcode V6
Topic: ECIO40P16 compile errors and a ton of warnings
Replies: 13
Views: 8100

ECIO40P16 compile errors and a ton of warnings

So I got the ECIO40P16 in the mail today. Tried the 1 second flashing LED and that works just fine. Then I tried to transfer my latest working project over from a PIC18F26K80 to the new ECIO but got a heap of errors and warnings that I don't know what to do with :( See below: C:\Program Files (x86)\...
by hyperion007
Fri Oct 10, 2014 10:07 am
Forum: General Programming
Topic: ECIO DS pic
Replies: 18
Views: 11547

Re: ECIO DS pic

I ordered a ECIO40P16 last week and it hasn't arrived yet. Any ideas on when it will show up? Very eager to try it!
by hyperion007
Sun Oct 05, 2014 7:08 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Well since I first make a TCP connection to the same host on port 80, and then send the data "in.php?variable....." I thought that would be enough. But now I know :)
by hyperion007
Sun Oct 05, 2014 3:51 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

I changed to this:

Data_String = "GET in.php?variable1="
Data_String = Data_String + DS18B20_String
Data_String = Data_String + " HTTP/1.1\r\nHost: www.level6.se\r\n\r\n"

Then send Data_String
by hyperion007
Sun Oct 05, 2014 2:21 am
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Got it working.

Updating my database with the temperature from a DS18B20 one wire temperature sensor over WiFi-router-internet-server :)

http://level6.se/wifi_temperature.html
by hyperion007
Fri Oct 03, 2014 11:35 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Ok so I did, it looks fine to me but it will not work "for real"...
Realterm01.jpg
(209.45 KiB) Downloaded 6909 times
TCP connection.jpg
TCP connection.jpg (50.9 KiB) Viewed 20007 times
by hyperion007
Fri Oct 03, 2014 5:32 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

I did update to 0018000902 firmware and I still can't get it to work with sending any data to my mySQL database. I tried the GET /demo/test.txt using realterm and I at least got a response! +IPD,166:<html> <head><title>400 Bad Request</title></head> <body bgcolor="white"> <center><h1>400 Bad Request...
by hyperion007
Fri Oct 03, 2014 12:03 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

But then again, why do I get an error if I do see this:

AT+CIUPDATE
CIUPDATE:1
CIUPDATE:2
CIUPDATE:3
CIUPDATE:4

ERROR


???
by hyperion007
Fri Oct 03, 2014 6:03 am
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

That is what I said I have been doing. I guess I have to try several times. It would help if they informed us about what the server address is so we could check if it's online before attempting to do the update.
by hyperion007
Thu Oct 02, 2014 10:44 am
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

The module responds when hooked up to the PIC, reports IP etc as expected. The firmware update had to be done with it hooked up to a computer to get it to this first firmware that I now run. It should support cloud update which I didn't get to work but basically yes you should be able to do AT+CIUPD...
by hyperion007
Thu Oct 02, 2014 8:14 am
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Just want to point out that the firmware update was quite easy, except the last step which is the cloud update. It looks fine,

AT+CIUPDATE
CIUPDATE:1
CIUPDATE:2
CIUPDATE:3
CIUPDATE:4

then it takes a long time (30 seconds maybe)

Then:
ERROR

So I am running 00170901
by hyperion007
Wed Oct 01, 2014 5:54 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

So I updated the firmware on one of the modules and using RealTerm I managed to connect to my domain without the IP address: +CIPSTART="TCP","www.level6.se",80 OK Linked OK I might be wrong here but looking at the component macro, isn't it sending the port like "80" and not just 80 without " "? Anyw...
by hyperion007
Wed Oct 01, 2014 2:02 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Oh and yes I remember what I did to get it working :) After I had tried a million things without success I had changed the RX/TX lines around to see if I got it wrong. I then gave up, forgetting to change back :) So I had to get out of bed last night when I realized my mistake and bingo was his name...
by hyperion007
Wed Oct 01, 2014 1:14 pm
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

Yeah you are probably correct. didn't think of that.

I will have to try to update the firmware then because my website is hosted and don't have a static IP which I thought it did. oh well.
by hyperion007
Wed Oct 01, 2014 10:12 am
Forum: Flowcode V6
Topic: WiFi Communication with ESP8266
Replies: 121
Views: 94907

Re: WiFi Communication with ESP8266

I did try to do it as you did in you TCPclient example but had no luck. Putting that URL in a browser on my computer it works fine and the value 10 is added to the database. Tried using the DNS name and also tried the IP. I'm able to do it using AT commands and the SIM900 GPRS module. not sure about...