Search found 679 matches

by chipfryer27
Wed May 22, 2024 11:47 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi I'm not at my PC so can only give brief comment. That looks like a good square wave so we now know that your clock and connections are good. It is always, always worth checking these at the beginning. You cannot over emphasise how valuable this check is. Next, we will prove the port. In your flas...
by chipfryer27
Wed May 22, 2024 6:24 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

The LCD doesn't care what speed your controller is running at, it will work regardless of clock speed. Your FC file should be outputting the letter "U" every two seconds as you have two one second delays in the loop, and the letter "U" should have 10-bits in each "burst". Your scope doesn't suggest ...
by chipfryer27
Tue May 21, 2024 8:44 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

I just tested the controller and the indicator, everything works according to the program. It seems that you have the hardware or software to see how the esp modules work, and now you are trying to protect or hack them. :shock: It isn't working according to your scope trace and your esp isn't respo...
by chipfryer27
Tue May 21, 2024 8:39 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi the "one-second flash test" is probably the best test you can do with microcontrollers and whilst so simple is equally so very great. https://www.matrixtsl.com/wiki/index.php?title=One_second_LED_flasher You can either connect an LED or just use your scope on the pin. If a scope you should see a ...
by chipfryer27
Tue May 21, 2024 8:22 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi

Looking at the trace you just shared has me confused if related to the FC file also included.

Have you done a one-second flash check? Just connect your scope to a pin and toggle the pin every second.

Regards
by chipfryer27
Tue May 21, 2024 7:26 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi Just remembered you don't have a USB-TTL adapter as such, rather a plug in "piggy back" that takes your esp. With that in mind my previous suggestion of using the adapter to monitor is a non-starter. Disconnect the esp and adapter from your microcontroller and then try the one-second flash test. ...
by chipfryer27
Tue May 21, 2024 6:23 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi Sorry I'm confused. Are you saying you still had the ESP8266 adapter board still in-circuit? The one that allows you to connect to a PC? If so that will be the cause of your problems, or very likely to be. The uC should be connecting directly to the Tx / Rx pins of the ESP8266 (possibly reset too...
by chipfryer27
Tue May 21, 2024 4:08 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi I'm guessing there won't be. Sounds like it is settings / connections with the uC. Go right back to basics and do a one-second flash test on your uC with no components. Pick any free port and monitor with your scope. You should see a square wave. Add in your LCD and ESP8266 components and initial...
by chipfryer27
Sun May 19, 2024 9:38 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi You can use your PC to check. Using your USB-TTL adapter, ensure settings are correct and then connect the USB gadget Rx pin to the uC Tx pin. Run your chart and see what you capture coming out of the uC Tx pin going to the ESP. If nothing then double check connections. If you see an "AT" command...
by chipfryer27
Sun May 19, 2024 7:56 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi

First, double check your connections and settings. I assume this is all hardware and not simulation?

Regards
by chipfryer27
Sun May 19, 2024 6:26 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi Yep, the "witchcraft" of Flowcode...... Never say "Matrix" three times in front of a mirror at midnight........ :twisted: :twisted: Components when included in your chart take control over certain pins. The ESP8266 component pins (see component properties) connect the microcontroller to the esp82...
by chipfryer27
Sun May 19, 2024 1:04 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi

Get rid of the UART component (as per my previous post). There is no need whatsover to include it in your chart at all.

I'd be wary of any simulation.

Regards
by chipfryer27
Fri May 17, 2024 1:41 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi Looking at your chart. You are using an ATMEGA and have an LCD, ESP8266 and a UART component added which shares the same connections as the ESP. This is problematic and I'm unsure why you need the UART at all. If you remove this and check other connections/settings you should get some reply. Howe...
by chipfryer27
Fri May 17, 2024 10:24 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi I still have little access to hardware or Flowcode, so... I looked at this web page with different examples. Which website? First thing to check is settings, especially connections if you have altered anything from the example you mention. it is not entirely clear when the esp 8266 module sends a...
by chipfryer27
Thu May 16, 2024 10:48 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi

Very easy to overlook when a "PC" is taking care of everything as you don't get to see what is going on behind the scenes. Not so with a uC though :)

Regards
by chipfryer27
Thu May 16, 2024 9:59 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi If you reread my answer (# Two) you will see that I inform of what a server expects and what we need to do to achieve this. Only sending part of the required string is very unlikely to achieve results and hitting the enter key before you have sent the entire command will cause the esp to attempt ...
by chipfryer27
Wed May 15, 2024 9:22 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi You posted three screenshots. One The "empty" macro you refer to is just an example. You would instead add whatever macros you need to gather whatever data you desire. Two We are using AT commands to control the esp8266. If you refer to the AT Commands and look at CIPSEND you will find out how it...
by chipfryer27
Wed May 15, 2024 3:59 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi No access to FC / hardware at present. Good afternoon! I'm sorry, maybe you misunderstood me or I didn't understand you. When information is transmitted from one esp-01 module to another of the same module without using an external router, do these esp-01 modules create a network among themselves...
by chipfryer27
Mon May 13, 2024 8:05 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi Sorry, I've no access to the actual files at present. I used an internal oscillator for the PIC microcontroller. It has an inbuilt stable oscillator that can be selected. OSCCON is the register and 0xF0 would be the setting for the chosen speed. Each PIC may be different. Using the internal oscil...
by chipfryer27
Sun May 12, 2024 8:22 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi

Have a read

https://www.flowcode.co.uk/forums/viewt ... 616#p10616

Although not your target chip, the principles are the same. In the posts two ESP8266 chips send data to each other in two ways. The first uses existing WiFi router, then they talk directly.

Regards
by chipfryer27
Sat May 11, 2024 8:43 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi I was a bit busy this week, catching up over the weekend. As mentioned before, Flowcode interacts with the ESP8266 using the "AT" commands and you can monitor commands / responses using your USB-TTL Serial convertor (more on this later). This also means you can use your PC to interact too, just b...
by chipfryer27
Wed May 08, 2024 5:13 am
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi I'm a little busy for the next day or so but when I get a chance I'll send links to examples you can follow. One quick question though, will the building have its own WiFi infrastructure (i.e. a router providing WiFi internet access throughout) or will the modules need to create their own point-t...
by chipfryer27
Mon May 06, 2024 8:20 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi Now I understand a bit better. If so, what you want is the ability to have: Multiple sensors throughout building Each sensor is "managed" by a microcontroller (each microcontroller may have multiple sensors) Each microcontroller will gather data and send to a "receiver" microcontroller This recei...
by chipfryer27
Mon May 06, 2024 5:21 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 222
Views: 7490

Re: Download the program for the device via the Internet.

Hi I would hope any future firmware upgrades would be done in a similar manner but as none have been released in years it is unlikely you will need to do so again. Everything from now on just operates by sending specific AT commands which is why I recommend you download a copy. The ESP8266 modules, ...