CMM2 Compagnion with ESP32 and AnneX Wifi
CMM2 Compagnion with ESP32 and AnneX Wifi
HI ,
iam a big fan of the Cmm2 (https://geoffg.net/maximite.html) and a big fan from ANNEX WIFI.
so i create a COMMAND Bridge over Serial .
first comands are supported :
hope you like it
iam a big fan of the Cmm2 (https://geoffg.net/maximite.html) and a big fan from ANNEX WIFI.
so i create a COMMAND Bridge over Serial .
first comands are supported :
hope you like it
Last edited by PANNO on Wed May 05, 2021 6:16 pm, edited 1 time in total.
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 426 times
- Been thanked: 1321 times
- Contact:
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
Yes, it is interesting.
I know that the CMM2 is a nice "vintage like" computer based on the ARM processor running Basic.
What do you did exactly?
A bridge using the serial port and a massive use of the COMMAND command?
I know that the CMM2 is a nice "vintage like" computer based on the ARM processor running Basic.
What do you did exactly?
A bridge using the serial port and a massive use of the COMMAND command?
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
Yes cicciocb ,
exactly this is what i do. i use serial2.mode here and check every Command in a do:loop such like :
if cmd$="PLAY.ISPLAYING" then
ok = PLAY.ISPLAYING
print2 "PLAY.ISPLAYING: ";ok;eofc$
return
endif
No Command Table at the Moment, but i will optimize the Code later.
An Spi port is also possible (u know) but first i will create a working Solution.
Have you a better Idea for this Project?
btw:
Unfortunately i found the ANNEX WI-FI RDS User Manual Version 1.43 isnt a full description of Annex. No Play.xxx inside.
gtx
exactly this is what i do. i use serial2.mode here and check every Command in a do:loop such like :
if cmd$="PLAY.ISPLAYING" then
ok = PLAY.ISPLAYING
print2 "PLAY.ISPLAYING: ";ok;eofc$
return
endif
No Command Table at the Moment, but i will optimize the Code later.
An Spi port is also possible (u know) but first i will create a working Solution.
Have you a better Idea for this Project?
btw:
Unfortunately i found the ANNEX WI-FI RDS User Manual Version 1.43 isnt a full description of Annex. No Play.xxx inside.
gtx
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 426 times
- Been thanked: 1321 times
- Contact:
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
Hi,
maybe you are mixing with the ESP8266 help that does not contains the PLAY.xxx commands.
The help for the ESP32 can be simply called with the F2 key (in the editor page).
The ESP32 help contains a complete chapter about the sound player
The exact link is : [Local Link Removed for Guests]
maybe you are mixing with the ESP8266 help that does not contains the PLAY.xxx commands.
The help for the ESP32 can be simply called with the F2 key (in the editor page).
The ESP32 help contains a complete chapter about the sound player
The exact link is : [Local Link Removed for Guests]
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 426 times
- Been thanked: 1321 times
- Contact:
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
Hi Panno,
for your information, there is an useful command that can fit for your needs :
the COMMAND cmd$ [Local Link Removed for Guests]
This could be useful for you to run any commands simply specifying it as a string
For example, if you would like to get the free ram available, you could just transfer from the CMM2 the instruction "print2 ramfree"
and, supposing that this string will be received into C$, you could just run
COMMAND C$
for your information, there is an useful command that can fit for your needs :
the COMMAND cmd$ [Local Link Removed for Guests]
This could be useful for you to run any commands simply specifying it as a string
For example, if you would like to get the free ram available, you could just transfer from the CMM2 the instruction "print2 ramfree"
and, supposing that this string will be received into C$, you could just run
COMMAND C$
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
HI cicciocb ,
thanks for your Hint about the "Command" Command . i rewrite my code with it.
thx a lot
gtx
thanks for your Hint about the "Command" Command . i rewrite my code with it.
thx a lot
gtx
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
HI cicciocb ,
command$ problem :
b$= "play.setup 0,32"
command b$ works
b$= "play.mp3 /scatman.mp3"
command b$ <- type mismatch. what do i wrong ?
thx
command$ problem :
b$= "play.setup 0,32"
command b$ works
b$= "play.mp3 /scatman.mp3"
command b$ <- type mismatch. what do i wrong ?
thx
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 426 times
- Been thanked: 1321 times
- Contact:
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
Hi Panno
you must use the string separators because the argument of PLAY.MP3 must be a string
You just need
As Annex accepts both | or " as string delimiters you can also use
you must use the string separators because the argument of PLAY.MP3 must be a string
You just need
Code: [Local Link Removed for Guests]
b$= "play.mp3 |/scatman.mp3|"
Code: [Local Link Removed for Guests]
b$= |play.mp3 "/scatman.mp3"|
-
- Posts: 12
- Joined: Tue Feb 23, 2021 8:00 pm
- Location: Hoorn (Netherlands)
- Has thanked: 87 times
- Been thanked: 3 times
Re: CMM2 Compagnion with ESP32 and AnneX Wifi
Hello Panno,
How is your COMMAND Bridge project going?
I think it's a usefull Idea.
Greetings, At.
How is your COMMAND Bridge project going?
I think it's a usefull Idea.
Greetings, At.