Search found 688 matches
- Sun May 26, 2024 2:02 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi This is what I'm expecting to see when you "scope" the pins. Triggering on rising edge of "LED" pin (C0). Trace-1.jpg You can see the one-second flash on the first trace and each time it rises you can see the "blip" on the second trace. In the screenshot you can see two "blips" and I have set up ...
- Sun May 26, 2024 8:20 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi
OK so we can now explain the levels. Easy done and if I've not used my scope for a while I too usually have something not right
Regards
OK so we can now explain the levels. Easy done and if I've not used my scope for a while I too usually have something not right
Regards
- Sat May 25, 2024 9:46 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi In the screenshots your time base seems to be 200mS per division which means five divisions per second. Looking at your green trace you can see that each high / low change is one second in length suggesting that it is your "led" pin (C0). However I don't understand why the level of a "high" is on...
- Sat May 25, 2024 7:13 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi As we are seeing unexpected things on the traces, we need to move forward a step at a time to establish where things go wrong. If you could redo the tests with nothing but the scope leads connected to the microcontroller as per above that would be a big help. I'm unfamiliar with your scope, but I...
- Sat May 25, 2024 6:04 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi Your microcontroller should have the following connections for these tests (other than power / crystal / programming etc) Pin 2 (D0) = Rx - unconnected Pin 3 (D1) = Tx - connect to ch2 of Scope - nothing else connected to this pin Pin 23 (C0) = connect to ch1 of Scope - nothing else connected to ...
- Fri May 24, 2024 10:36 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi
I'm not familiar with your scope. Are you sure you are set to trigger on ch1 (yellow trace)?
Irrespective of such, your Tx pin trace doesn't look correct.
Can you confirm nothing other than your scope is connected to your Tx (D1) pin?
Regards
I'm not familiar with your scope. Are you sure you are set to trigger on ch1 (yellow trace)?
Irrespective of such, your Tx pin trace doesn't look correct.
Can you confirm nothing other than your scope is connected to your Tx (D1) pin?
Regards
- Fri May 24, 2024 8:33 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi I think I see the issue. Lets make the settings / connections as follows Flowcode ESP8266 Settings Tx = D1 Rx = Don't Care / Unconnected Reset Mode = Software ESP SendString macro Text = "U" SendCR = 0 LED Any unused pin you want e.g. C0 Ensure your clock speed matches your crystal. In your chart...
- Thu May 23, 2024 7:44 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi Great, all pins / connections / settings work as expected. Now we will verify component functionality. Change the flash output to a pin not being used by the ESP8266 Tx / Rx (example change to C1) Add in the ESP8266 component and in properties set it for 9600 baud with Tx on D1 (or whatever your ...
- Wed May 22, 2024 5:26 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
Re: Download the program for the device via the Internet.
Hi Back at a PC. As mentioned that's a good square wave. Next we "prove" the port we will transmit on. Using your flasher chart as above, change the output to be D1 as this is the port that will eventually transmit to the ESP. You should get another nice clean square wave. Once you have that we can ...
- Wed May 22, 2024 11:47 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Wed May 22, 2024 6:24 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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 ...
- Tue May 21, 2024 8:44 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Tue May 21, 2024 8:39 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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 ...
- Tue May 21, 2024 8:22 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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
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
- Tue May 21, 2024 7:26 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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. ...
- Tue May 21, 2024 6:23 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Tue May 21, 2024 4:08 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Sun May 19, 2024 9:38 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Sun May 19, 2024 7:56 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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
First, double check your connections and settings. I assume this is all hardware and not simulation?
Regards
- Sun May 19, 2024 6:26 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Sun May 19, 2024 1:04 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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
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
- Fri May 17, 2024 1:41 pm
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Fri May 17, 2024 10:24 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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...
- Thu May 16, 2024 10:48 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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
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
- Thu May 16, 2024 9:59 am
- Forum: Flowcode V8
- Topic: Download the program for the device via the Internet.
- Replies: 240
- Views: 8233
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 ...