Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:46 23 Nov 2024 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 : I wish

Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 01:23pm 08 Oct 2024
Copy link to clipboard 
Print this post

I wish it was possible to port and use this $12.99

ESP32-S3-LCD-1.47
Espressif's ESP32-S3R8, a dual-core Tensilica LX7 processor clocked at up to 240 MHz
wireless connectivity
512KB of RAM
8MB of PSRAM
16MB of Flash memory
1.47-inch TFT LCD screen, offering a resolution of 320×172 pixels
display is driven by the ST7789 controller


Edited 2024-10-08 23:29 by lew247
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 01:32pm 08 Oct 2024
Copy link to clipboard 
Print this post

Annex32 Territory?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4221
Posted: 02:05pm 08 Oct 2024
Copy link to clipboard 
Print this post

MMBasic runs on it, even has OPTION RESET RP2040-GEEK




@Phenix: thanks, I though Annex was stopped. But apprently it is alive again.


Volhout
Edited 2024-10-09 00:37 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6765
Posted: 02:36pm 08 Oct 2024
Copy link to clipboard 
Print this post

Or even, <Deity> help us, this!  :)
Mick

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

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 02:54pm 08 Oct 2024
Copy link to clipboard 
Print this post

  Volhout said  I though Annex was stopped. But apprently it is alive again.


Annex has never been stopped. It's a very powerful web-enabled rapid development system in BASIC, focusing now on the ESP32 series, with browser-based module flashing and browser-based code development.

Introductiory links

Forum
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 03:40pm 08 Oct 2024
Copy link to clipboard 
Print this post

Matherp have you seen this?Have you seen this?
  Quote  ESP32: a look at the built-in BASIC interpreter
n this article, however, we will explore a somewhat hidden and little-known functionality of the ESP32 module: the ROM-based BASIC interpreter

the ROM console is based on the TinyBasic Plus tool developed by Mike Field and Scott Lawrence. With the help command, we get a list of the available commands.
people who have already used BASIC on other hardware platforms will immediately feel at ease.
As for me, I found the commands that allow you to configure the direction and status of GPIOs very useful.

The first way for configuring I/O signals is based on the memory read and write functions, PEEK and POKE, respectively. This is a very low level mode and requires in-depth knowledge of the ESP32 module, which can also be found by consulting the component datasheet. The following example reads the contents of address 0x3FF44004 (register GPIO_OUT_REG), put it in OR with 0x04 (binary 100) and finally writes the value at the same address. This corresponds to setting GPIO2 high:

Could this make a port hypothetically possible?


 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 04:07pm 08 Oct 2024
Copy link to clipboard 
Print this post

  lizby said  
  Volhout said  I though Annex was stopped. But apprently it is alive again.


Annex has never been stopped. It's a very powerful web-enabled rapid development system in BASIC, focusing now on the ESP32 series, with browser-based module flashing and browser-based code development.

Introductiory links

Forum


That ESPNOW is pretty darned exciting; I've read round-trip latencies in like 1 or 2ms.

Bummer about his terms or I'd be using it for WiFi, BT, Ethernet and ESPNOW. I'll use B4R instead which is compiled Basic syntax.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 06:11pm 08 Oct 2024
Copy link to clipboard 
Print this post

  PhenixRising said  That ESPNOW is pretty darned exciting


I've just gotten 5 ESP32s talking with ESP-Now under Annex, two of them gateways talking through serial to a Raspberry Pi 4B. Pretty nifty, with supposedly better range than via UDP, and with notification of failed delivery.

No commercial use, though--you're right. Not a problem for me.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 07:25pm 08 Oct 2024
Copy link to clipboard 
Print this post

I've been watching for someone who is actively using ESP-NOW and here you are, holding out on us dammit  

I understand that nothing WiFi can get in its way but do you think those claimed response times are for real?
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3797
Posted: 09:01pm 08 Oct 2024
Copy link to clipboard 
Print this post

And are they the max or typical or what?

(OK, the max will be forever but you know what I mean...)

John
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 09:16pm 08 Oct 2024
Copy link to clipboard 
Print this post

Might be misunderstanding you John but the ESP32 and now the Pico, I guess we can assume are ubiquitous.

ESP-NOW is an Espressif technology and PIO is RPI Pico.

I think that committing to both of these is pretty darned safe.

Not sure if we're on the same track  
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 09:49pm 08 Oct 2024
Copy link to clipboard 
Print this post

Why am I excited?

Well because I look, constantly for "better methods".

I want to see wires go away.

When one talks wireless, many think about the tranny radio that had all kinds of interference issues.

And yet, overhead cranes have had wireless controls for many years.

There are even wireless e-stop devices that can't be jumpered "because they're a nuisance"

I'm thinking about a machine controller where the only wiring is for a 200VDC bus..period  
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 09:49pm 08 Oct 2024
Copy link to clipboard 
Print this post

Duplicate
Edited 2024-10-09 07:50 by PhenixRising
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 11:34pm 08 Oct 2024
Copy link to clipboard 
Print this post

  PhenixRising said   and here you are, holding out on us


Harsh judgement to say I've been holding out when I only got my preliminary setup working to my satisfaction yesterday --  

  Quote  do you think those claimed response times are for real?


My needed timescale for response of an actuator is more likely to be minutes rather than milliseconds (and maybe hours of human time).

I put in a test timer. The sender saves the Annex millisecond timer and sends the message with ESP-now. The receiver does a fair amount of processing to see that the message is for itself, actuates the relay, and rebuilds and posts the web page which is the alternate method of setting the relay, and then transmits a response; the sender does a bit of processing on the responding message, and prints the message and the elapsed time.

I'm seeing 14-15 milliseconds. I'm sure it would be much faster in C code and optimized for response time (and no web page build). You could also send directly to a specific MAC address rather than broadcast and have each receiver determine if the message is for it.

~
Edited 2024-10-09 09:39 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 06:23am 09 Oct 2024
Copy link to clipboard 
Print this post

  lizby said  

I'm seeing 14-15 milliseconds. I'm sure it would be much faster in C code and optimized for response time (and no web page build). You could also send directly to a specific MAC address rather than broadcast and have each receiver determine if the message is for it.

~


Impressive  
 
Print this page


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

© JAQ Software 2024