Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:58 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Is there a way

     Page 2 of 2    
Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 03:49pm 18 Jan 2022
Copy link to clipboard 
Print this post

I don't remember the details, but 17 months ago, I flashed an ESP8285 with SDK 2.2.1, and got it to work with serial from a PC via a CH340 usb/serial module, and then flashed with ESP-Link and got it to work via serial with an F4.

What exact problem are you having with trying to communicate via serial?

Why should the question be specifically about the ESP8285, since I think any software solutions would equally apply to the ESP-01, and it can be easier to use (and especially to program) than the ESP8285?

~
Edited 2022-01-19 02:07 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 04:27pm 18 Jan 2022
Copy link to clipboard 
Print this post

  lizby said  I
What exact problem are you having with trying to communicate via serial?

Why should the question be specifically about the ESP8285, since I think any software solutions would equally apply to the ESP-01, and it can be easier to use (and especially to program) than the ESP8285?
~


Because the questions refer to the WIO RP2040 board with built in Wifi which has an integeraged ESP8285 and most similar RP2040 boards with Wifi use this chip for wifi

It's configured to use SPI in the wp2040 uf2 file. it might be also configured to use uart but I cannor see how to get it working (yet)

Seed adds these things but don't develop software for them properly
It would be great if the ESP8285 could be flashed with WI-FI RDS and then this communicated with the rp2040 internally via uart and could be programmed to do "web stuff" and the pico do the rest
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 05:07pm 18 Jan 2022
Copy link to clipboard 
Print this post

  lew247 said  the WIO RP2040 board with built in Wifi which has an integeraged ESP8285 and most similar RP2040 boards with Wifi use this chip for wifi


Which similar RP2040 boards do?

  lew247 said  It would be great if the ESP8285 could be flashed with WI-FI RDS

What is it?

Does it support the 8285?

Are you happy with products from Seeed that Seeed barely support?

(I'd avoid such!!)

John
Edited 2022-01-19 03:08 by JohnS
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 06:37pm 18 Jan 2022
Copy link to clipboard 
Print this post

  lew247 said  It would be great if the ESP8285 could be flashed with WI-FI RDS and then this communicated with the rp2040 internally via uart and could be programmed to do "web stuff" and the pico do the rest


Is there a way to flash the 8285? If so, flashing it with Annex RDS should be easy. Annex can do your wget.


~
Edited 2022-01-19 04:39 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 07:10pm 18 Jan 2022
Copy link to clipboard 
Print this post

Sounds like anything from Seeed should be regarded with suspicion. If they can't support the stuff they are selling then they can hardly be regarded as reliable. Why not just use something that *is* supported by someone?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 07:55pm 18 Jan 2022
Copy link to clipboard 
Print this post

It depends on what level of support you expect, as well as the gear provided. I've happily used the seeedstudio ESP32-CAM-Development-Board-with-camera.

If this is the device, it would appear that the ESP8285 is contained in the soldered-on module with the PF2040, with a cover, and the ESP8285 is not separately flashable, so you would seem to be stuck with whatever firmware the ESP8285 has.

It might increase their sales, but I'm not sure why seeedstudio should be expected to document how users could deploy other firmware to their products.

But a question is, why this particular device? VegiPete's PCB after Mick's design, and my own PicoMite PCB offer ESP-01 connections. They may not be as compact as the SeeedStudio part, but they certainly provide the means to prove the functionality of any design, and they don't require firmware changes to undocumented parts.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 05:28pm 19 Jan 2022
Copy link to clipboard 
Print this post

I'll put this question here so as not to start a new thread for something that probably is really simple

I've tried the ESP8285 it's ONLY connected on the SPI bus using PINS 8, 11 and 10

If I was using serial I would do something similar to this
[quote]SETPIN GP9, GP8, COM2
OPEN "COM2:57600" AS #1
PRINT #1, "AT+CWLAP"
dat$= INPUT$(20, #1)
CLOSE #1
PRINT dat$[/quote]

Can I do the same using SPI rather than serial?
How would I do this with SPI
  Quote  PRINT #1, "AT+CWLAP"
dat$= INPUT$(20, #1)


I'm "guessing" that this would work  
SETPIN GP11, GP8, GP10, SPI2  ' MISO GP8, MOSI DP9, CLK GP10
SPI2 OPEN speed, mode, bits

I've read the manual but I don't have any clue what mode or speed to use, and I've no way of knowing how many data bits are going to be sent or received?
I "think" I would use the bulk send/recieve commands but again how do I get past not knowing how many bits might be received or sent?


or do I just give up and design my own RP2040 board with an ESP32 with 32MB sram onboard that's programmed with Annex WiFi RDS so it can be used as a seperate wifi board but connected directly to the com port of the RP2040
That way the RP2040 can do everything it already does other than one com port would be tied up for the ESP32 and the ESP32 will be able to run it's own programs, have extra ports for use if needed and still be able to send and receive wifi commands from the RP2040
for instance if you wanted to use WGET you'd just write the program into the ESP via it's web interface and parse the results and send any data you want to the RP2040

The reason I said esp32 rather than esp8266 is because they have wifi and bluetooth in and the ANNEX basic is pretty close to MM and easy to use.
And it has support for many peripherals built into it already without having to write programs to read them
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 07:21pm 19 Jan 2022
Copy link to clipboard 
Print this post

  lew247 said  do I just give up and design my own RP2040 board with an ESP32 with 32MB sram onboard that's programmed with Annex WiFi RDS so it can be used as a seperate wifi board but connected directly to the com port of the RP2040


A question at that point would be, what would you need the RP2040 for? Some possibilities are: more speed, more display peripheral options, VGA output, more memory. What are the requirements of the system that you envision?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025