AnnexCAM

575 views
Skip to first unread message

cicciocb

unread,
Jan 20, 2020, 9:55:45 AM1/20/20
to Annex WiFi RDS
What do you think of a version including the camera support ?

Anyone have an ESP32-CAM module ?

cicciocb

Lizby

unread,
Jan 20, 2020, 10:28:55 AM1/20/20
to Annex WiFi RDS
Yes, I have several ESP-32CAM modules, and would love to have Annex32 support for the camera. I have the camera working, but have hesitated to do any development with them because Annex32 has me spoiled, and I'd really like to avoid development on the ESP32 with anything else.

PeterN

unread,
Jan 20, 2020, 11:19:01 AM1/20/20
to Annex WiFi RDS
My son gave me an M5CAMERA(PSram) module for Christmas and I am currently using it on a Celestron telescope.
It would be really great to use it with Annex32 as well.
Different ESP32 cam types explained : https://www.youtube.com/watch?v=pfQ5VgcnJhg

If I could do one (or two) wishes:  Right now it would be great to be able to use the RFID-RC522 not only on the ESP8266 but also on the ESP32 in combination with its MP3 capabilities.  

I apologize in advance for this additional wish ;-))

barry winch

unread,
Jan 20, 2020, 1:50:47 PM1/20/20
to Annex WiFi RDS
I have used the ESP-32CAM, Annex support would be fantastic!!!

Zim

unread,
Jan 20, 2020, 2:29:40 PM1/20/20
to Annex WiFi RDS
I don't have this module yet, but would certainly buy them if annex supported the camera!

cicciocb

unread,
Jan 20, 2020, 3:52:41 PM1/20/20
to Annex WiFi RDS
Hi all,
I think that the support of the camera could be implemented but ...

As you can see, at the bottom of this post there should be something like this :
This enable to vote (or unvote) for the request. 

As soon as the number is going to be important, I'll implement it.

I will try to apply the same logic to all other requests in order to implement and prioritize what is really important for most of people.

cicciocb

unread,
Jan 20, 2020, 4:05:22 PM1/20/20
to Annex WiFi RDS


On Monday, 20 January 2020 17:19:01 UTC+1, PeterN wrote:

 Right now it would be great to be able to use the RFID-RC522 not only on the ESP8266 but also on the ESP32 in combination with its MP3 capabilities.  


Peter,
place a "formal" request and let see how many people will vote ;-)

Dwight

unread,
Jan 20, 2020, 9:49:16 PM1/20/20
to Annex WiFi RDS
I have two the esp32-cam modules on order.  Would love to have Annex provide camera support.

Thanks Cicciocb for all your time and efforts!
dwight

cicciocb

unread,
Jan 22, 2020, 3:57:34 PM1/22/20
to Annex WiFi RDS
Only 10 requests! It's very disappointing ...

Have a look at this little demo

PeterN

unread,
Jan 22, 2020, 4:05:42 PM1/22/20
to Annex WiFi RDS
Good evening CiccioCB
The demo video looks great.  I am very unhappy with the rudimentary firmware of my M5CAMERA.

And 10 answers are good! This corresponds to the number of really active forum participants.

Don't get discouraged - I think all current developments are very good!

PeterN

unread,
Jan 22, 2020, 4:18:52 PM1/22/20
to Annex WiFi RDS
one more thing:
i can understand your intention to avoid the costly development of unnecessary unpopular features and therefore ask users for feedback. In the forum, however, the voting function is somewhat hidden for the occasional reader. Thus the real interest is certainly not reflected.

Electroguard

unread,
Jan 22, 2020, 4:51:26 PM1/22/20
to Annex WiFi RDS
CiccioCB keeps giving us new ways to do magic... it is up to us fans to show others what can be done with it.

Timothy Truckle

unread,
Jan 22, 2020, 5:12:56 PM1/22/20
to Annex WiFi RDS
Hi, CiccioCB, thanx for yout work!!! It makes the ESp-toy to a ESP-tool!

Where can I find the ESP-Cam version to play with it?

Regards from Germany

Peter

cicciocb

unread,
Jan 22, 2020, 5:18:53 PM1/22/20
to Annex WiFi RDS
Is not yet released but you can vote if you are interested

Lizby

unread,
Jan 22, 2020, 6:18:38 PM1/22/20
to Annex WiFi RDS


On Wednesday, January 22, 2020 at 3:57:34 PM UTC-5, cicciocb wrote:
Have a look at this little demo


Tantalizing. What is the video output being displayed on?
 

cicciocb

unread,
Jan 23, 2020, 1:14:11 AM1/23/20
to Annex WiFi RDS


On Thursday, 23 January 2020 00:18:38 UTC+1, Lizby wrote:


Tantalizing. What is the video output being displayed on?
 
The output is the Annex output web page  

PeterN

unread,
Jan 23, 2020, 2:01:45 AM1/23/20
to Annex WiFi RDS
I suspect that this is an MJPEG stream(?) sent to the browser.
I am very curious how this looks like when the ANNEX32 interpreter has to do other things at the same time. Here the 2-core processor probably proves itself.
Already when encoding MP3 there were sometimes short dropouts when the core had to deal intensively with WIFI etc. 

It is always amazing what you can do with these processors and your tireless technical effort!

cicciocb

unread,
Jan 23, 2020, 5:42:21 AM1/23/20
to Annex WiFi RDS
Probably the "demo" was not clear.
The module is an ESP32-CAM with a preliminary version of AnnexCAM.
The image shown comes from its camera and; in parallel, a program runs at the same time.

PeterN

unread,
Jan 23, 2020, 5:59:29 AM1/23/20
to Annex WiFi RDS
Thanks, that is indeed a bit hidden in the video. 
But if you know where to look at ... then I see some of my concerns already absolute dispelled :-))
I am very curios to see that with a M5CAMERA

pic.jpg


cicciocb

unread,
Jan 23, 2020, 6:06:08 AM1/23/20
to Annex WiFi RDS
Annex use both cores.
The core 0 is dedicated to the system (WiFi) and the core1 runs the basic interpreter.
The mp3 decoder runs also on the core 0, enabling the basic program to run always at (almost) the same speed.
But, because it runs on the same core as the WiFI, some little glitches may happen in case of big wifi activity.
This can be mitigated increasing the size of the I2S buffer in the function PLAY.SETUP

PeterN

unread,
Jan 23, 2020, 6:13:37 AM1/23/20
to Annex WiFi RDS
AH! This is a very good indication of the I2S buffer! 
This will improve my experiments with a talking clock.

Electroguard

unread,
Jan 23, 2020, 6:30:05 AM1/23/20
to Annex WiFi RDS
Hi Peter,
A side note - Serial TTS for a talking clock (or talking anything, including IP, temp, humidity etc) is very effective if the XFS5152CE speech module (which announces all my alerts) or SAM quality is acceptable.
Reduces the firmware IO load cos no big pre-recorded files need to be stored and loaded.

PeterN

unread,
Jan 23, 2020, 6:30:12 AM1/23/20
to Annex WiFi RDS
That leads directly to streaming the live vide with MJPEG and pan tilt control the ESP32-Camera with two miniservos

PeterN

unread,
Jan 23, 2020, 6:42:13 AM1/23/20
to Annex WiFi RDS
Hi electroguard 
I have your TTS  and MP3-Player projects and examples  in mind!
Since the memory on the ESP32 is now somewhat more generous, it is naturally obvious to store some things there and play them back selectively. 
I always find it very fascinating to be able to achieve  good results with as little hardware as possible.
Thanks again 

Electroguard

unread,
Jan 23, 2020, 6:45:13 AM1/23/20
to Annex WiFi RDS
Chinese dual axis pan & tilt kits complete with servos are available for about a fiver (usually needs self-assembly, but isn't difficult),
And 'pucker' RS485' PELCO compatible pan and tilt platforms are available for about 20 quid. Had both for over a year, but not had time for them yet.
An Annex PELCO RS485 remote controller for my PTZ's has been on my todo list since Annex was just a baby, the problem is that CiccioCB keeps bringing out ever more interesting Annex capabilities which keep side-tracking me.

PeterN

unread,
Jan 23, 2020, 7:14:15 AM1/23/20
to Annex WiFi RDS


Am Donnerstag, 23. Januar 2020 12:45:13 UTC+1 schrieb Electroguard:
... the problem is that CiccioCB keeps bringing out ever more interesting Annex capabilities which keep side-tracking me.


This is actually a factor that should not be underestimated!! ;-))))) 

George Towler

unread,
Jan 24, 2020, 11:27:00 AM1/24/20
to annex_w...@googlegroups.com
I bought an ESP32-CAM because they were dirt cheap albeit with slow boat from China delivery.

Seems like I bought the wrong one because I found a reference to it saying that you had to program it on 5v but run it on 3.3v (or maybe the other way round). Apparently the give away is that it doesn't say "AI-Thinker" and not "DM" althought both are ESP32-S.

I just can't be arsed to play with it in that dreadful mess called Arduino.

It would be great if you implemented ESP Cam, and I'd gladly buy the "correct" one if you did.

I guess it must be pretty disheartening when response seems a little sparse or when some grateful sh*t is wining at you but you have a fine product (I was going to add "stick with it" but that sounds patronizing so I just go with Thank You)

George 


Carla Huisman

unread,
Jan 24, 2020, 11:52:24 AM1/24/20
to Annex WiFi RDS
Hoi cicio,

I don't have the ESP32-CAM module yet, but wil definitly buy some if you support it in Annex.
I thank you very much for all your inspiring work upto now, already!.
@t

PeterN

unread,
Jan 24, 2020, 2:55:49 PM1/24/20
to Annex WiFi RDS
Good evening
I found an interesting comparison of the current different types of ESP cameras, 
showing the capabilities, the different interfaces and the GPIO usage.

Maybe useful for someone?

PeterN

unread,
Jan 25, 2020, 12:51:23 PM1/25/20
to Annex WiFi RDS
Good  evening  Cicciocb,

I would like to optimize my MP3 decoding by increasing the size of the I2S buffer to eliminate small glitches - as you recommended.
But currently I cannot find this option in the ANNEX32_1.38RC5 docu. 

Is it a currently undocumented feature or not yet available in RC5? 

cicciocb

unread,
Jan 25, 2020, 1:22:57 PM1/25/20
to Annex WiFi RDS
Yes,
it is present but I just discovered that is not documented.
sSmply add another value at the end of the command
PLAY.SETUP dest [,buffer_size]

By default the buffer is 8 and can go up to 64 maximum.


PeterN

unread,
Jan 25, 2020, 1:41:49 PM1/25/20
to Annex WiFi RDS
Thanks for the quick tip.
Today I received a nice very small I2S sound module (MAX 98357A) with integrated class-D 2-Watt audio-amplifier.
This allows together with the ESP32 a very compact design.
   



PeterN

unread,
Feb 1, 2020, 9:39:47 AM2/1/20
to Annex WiFi RDS
Hi ciccioCB

Since I now have an ESP32 camera and an M5 camera that differ in the  GPIO wiring: 
Will it be possible in ANNEX32 to support these different GPIO layouts? 
Or is it better now to stay in one of these worlds?

plasmamac

unread,
Feb 1, 2020, 9:28:21 PM2/1/20
to Annex WiFi RDS
Request +1.

thx

cicciocb

unread,
Feb 2, 2020, 4:36:13 PM2/2/20
to Annex WiFi RDS
Actually I'm playing with an esp32 cam that it seems to work very well with annex32 inside.
Still doing crash testing to check stability at the moment but I still don't know if and when I'll release it.

PeterN

unread,
Feb 3, 2020, 3:04:50 AM2/3/20
to Annex WiFi RDS
Oh !!!
I am pleased to hear that you are still working on it, ciccioCB  - but why do you want to hide it in the end?  
That would be a great expansion!! 
And I already had the following project plans:
 - Bird nesting box camera with IR light barrier or VL53LOX sensor as shutter release. A friend of mine is building a mount for a M5Camera in the lid of a nesting box. 
- Wild boar camera together with a radar sensor at a friend's place in the Sauerland area, one of the deepest wildernesses of Germany ;-) together with email notification and a horn to chase the animals away from the vegetable field.
- If the photo function is fast enough: light barrier or similar as shutter release to trigger a photo series (example: falling water drop) 

So: Please do not get discouraged!The world needs you and your programming skills!! We just have to make the world understand this a little better :-)))

cicciocb

unread,
Feb 3, 2020, 4:13:03 AM2/3/20
to Annex WiFi RDS
Peter,
if i had been discouraged you would still have stayed with esp basic and arduino.
I develop annex because I like and it makes me happy to know that there are people who use what I do.
This is my form of reward.
The support for the camera, on the other hand, is another story because it works so well that could easily become a commercial project.

PeterN

unread,
Feb 3, 2020, 4:27:09 AM2/3/20
to Annex WiFi RDS
These are very understandable thoughts, cicciocb
I just wanted to avoid that you misinterpret the sometimes missing exuberant euphoria here in the forum - the users are more technicians and less musicians ;-))

Bugs

unread,
Feb 3, 2020, 5:23:19 AM2/3/20
to Annex WiFi RDS
Well said Sir!

Now - how do you manage to send emails from the wilderness when I can't do it from my back garden??


PeterN

unread,
Feb 3, 2020, 5:57:31 AM2/3/20
to Annex WiFi RDS
Hi Bugs 
I'm a little careful about estimating the size of your garden. 
The wilderness in Germany is not quite so frightening... about 50 meters to the nearest wifi access point. 
Hopefully this will work fine with some antenna effort and the 200mW radio frequency from the ESP32-Cam Module. First tests give hope :-))

IMG_6203.jpgIMG_6204.jpg



Bugs

unread,
Feb 3, 2020, 6:13:03 AM2/3/20
to Annex WiFi RDS
Pocket handkerchief garden - just the metal greenhouse causes problem.
Looks like a very neat and compact solution. My attempts at (semi-)remote wireless monitoring have failed due to battery swapping and charging chores.
Perhaps you also monitor the battery state?

PeterN

unread,
Feb 3, 2020, 6:29:09 AM2/3/20
to Annex WiFi RDS
That is far better than my balcony-garden!:-)

I did no battery monitoring until now. I planed to use a 3000mAh-Pocket charger and buffer that with a solar battery charger.
For the Nesting box: Not so far away and I can use a very small 12Vto5V or12Vto3V3-switch converter at the end of a long bell wire to power the camera. 

Electroguard

unread,
Feb 3, 2020, 6:46:45 AM2/3/20
to Annex WiFi RDS
2 possibilities for remote power depending on circumstances are...


  Solar power bank - autonomous remote power, but doesn't increase comms range

  W5500 wired ethernet - increases comms range, and can supply power over ethernet (POE) down RJ45 UTP cable


Dwight

unread,
Feb 14, 2020, 9:31:32 AM2/14/20
to Annex WiFi RDS
Hi Cicciocb,

I received two of these ESP32 CAM modules in the mail, and would like to add my encouragement to make Annex available to work with the camera modules.
Thanks for all you do Cicciocb

cheers
dwight

cicciocb

unread,
Feb 14, 2020, 10:02:00 AM2/14/20
to Annex WiFi RDS
Hi Dwight,
happy to hear that you have received these modules.

You can start to use it with Arduino, there are some examples available.

PeterN

unread,
Feb 14, 2020, 10:02:55 AM2/14/20
to Annex WiFi RDS
Hi Dwight

I'd like to associate myself with your words.
I have equipped my modules for the first impression with the following software:

It is extremely impressive how face detection and face recognition works with this small module - I have used a RasberryPi for this purpose with similar results so far.

IMG_6220.JPG IMG_6221.JPG



PeterN

unread,
Feb 14, 2020, 10:06:25 AM2/14/20
to Annex WiFi RDS
Did you end up with this one too? :-))

cicciocb

unread,
Mar 10, 2020, 11:46:05 AM3/10/20
to Annex WiFi RDS
Just a little update on this subject.
This is actually a picture taken from the output page of AnnexCam.
Still in testing phase but yes, it is working and it is a real BOMB!
Obviously all the code is in Basic, including the web page that use external CSS for styling the objects.
In addition it controls an ESP8266 using ESP-NOW to turn ON/OFF a light.
This image is taken from a connection made with internet; 
This enable to control your devices and see what happens at the same time  :-)


Electroguard

unread,
Mar 10, 2020, 11:53:38 AM3/10/20
to Annex WiFi RDS
Hugely impressed - this will put Annex on a very serious level !

PeterN

unread,
Mar 10, 2020, 12:45:19 PM3/10/20
to Annex WiFi RDS
Wow!! This is extremely appetizing!!!
It's very mean, waving that bone around in front of us ;-)) 

Electroguard

unread,
Mar 10, 2020, 1:27:59 PM3/10/20
to Annex WiFi RDS
The lovely styled controls are interesting just by themselves.

Dwight

unread,
Mar 10, 2020, 3:50:19 PM3/10/20
to Annex WiFi RDS
looks Beautiful Cicciocb!!

I am drooling all over my keyboard as I type this :-)

Thanks? for enticing us with your work!
you are a master.
dwight

salvatore fusto

unread,
Mar 11, 2020, 4:07:24 AM3/11/20
to Annex WiFi RDS
Congrats Cicciocb, i've a little suggestion: as you already have an ESP8266 you can add and control a pan tilt sipport, with 2 servos, to move the esp32-cam on x and y axis, so controlling a wider area.
great and impressive project

PeterN

unread,
Mar 11, 2020, 4:45:39 AM3/11/20
to Annex WiFi RDS
Hello Salvatore

The fantastic thing about the camera integration in Annex seems to be that Annex32 with all known programming functions is available in parallel while the cam is running on one of the two ESP32-kernels. So you can freely design the user interface and program script yourself and use all pins of the ESP32 not occupied by the camera itself, or establish a communication with  one or more external controllers.
CiccioCB had already implemented such a control of an external switch with MQTT and placed a button in the web interface of the camera control.

You could also place two sliders and control two local servos with two PWM signals, or switch LEDs, couplers, relays etc.
 
Infinite and fantastic possibilities!

salvatore fusto

unread,
Mar 11, 2020, 4:59:04 AM3/11/20
to Annex WiFi RDS
CiccioCB,
as already i told you privately the main problem of Annex is the lack of any sort of commercial licence; i had a lot of experiment with your tool, but if i have to implement a commercial project based on ESP chips, i have to look at other languages, i.e. Arduino Micropython and so on.
i hope you will release a commercial license asap, in the meanwhile i have to use other languages.
congrats and regards

cicciocb

unread,
Mar 11, 2020, 10:12:22 AM3/11/20
to Annex WiFi RDS
Salvatore,
as Peter Says, the camera mouvement can be controlled autonomously by the module itself, using the free pins available.
About the commercial license, It could be an opportunity.

Carla Huisman

unread,
Mar 15, 2020, 12:55:43 PM3/15/20
to Annex WiFi RDS
CiccioCB,  fantastic, in one word.   This really makes our Annex future even more  beautiful .
@t.

Zim

unread,
Apr 22, 2020, 12:41:49 PM4/22/20
to Annex WiFi RDS
Hi cicciocb

After several weeks I have received my ESP32-cam.  Is there any news or ideas on the release of AnnexCAM?

Thanks
Zim

cicciocb

unread,
Apr 22, 2020, 12:50:51 PM4/22/20
to Annex WiFi RDS
The AnnexCam is still in development but is not too far from being published

Zim

unread,
Apr 22, 2020, 12:50:59 PM4/22/20
to Annex WiFi RDS
Thats great news!

Thanks
Zim

Dwight

unread,
Apr 22, 2020, 12:57:42 PM4/22/20
to Annex WiFi RDS
I too have an esp32cam module and loaded it with the Arduino (yuk!) pre configured camera "sketch" and it does work but the module seems to knock other devices off my network or cause network instability and overload due to the high amount of video data.  I gave up on it as I am not at all versed in the Arduino-C language.

Would love to try out the Annex software on the CAM module.

dwight


PrecisionClays

unread,
May 3, 2020, 1:07:12 PM5/3/20
to annex_w...@googlegroups.com
I just purchased an Arducam on Amazon.  Wanted to have one on hand when Annex has camera capability added.  A lot of power on a small Uno sized board.  I also liked the battery connection.

cicciocb

unread,
May 3, 2020, 1:12:37 PM5/3/20
to Annex WiFi RDS
On Sunday, 3 May 2020 19:07:12 UTC+2, PrecisionClays wrote:
I just purchased an Arducam on Amazon.  Wanted to have one on hand when Annex has camera capability added.  A lot of power on a small Uno sized board.  I also liked the battery connection.

You should try to find the schematic of this board to see how the camera is wired.

So far the best is the ESP32 CAM that is very cheap at around 5 Euros 

Timothy Truckle

unread,
Jun 28, 2020, 12:33:24 PM6/28/20
to Annex WiFi RDS
Hi all,

are there any news regarding Annex and ESPCam?

regards

Peter

cicciocb

unread,
Jun 30, 2020, 4:39:04 AM6/30/20
to Annex WiFi RDS
Not yet

hub...@dreiling-kamen.net

unread,
Dec 20, 2020, 7:36:00 AM12/20/20
to Annex WiFi RDS
I tried AnnexCAM with an ESP32-CAM Module from Ebay, looks like the same as in the photo Dwight posted,. 
The Arduino examples work fine for AI Thinker Cam Settings.
But when I flash AnnexCam, after restart the flash LED is always on. 
Is this a bug in hardware or software and how do I find the cause? 
Since the board gets really hot then, I have switched off the power before trying anything.


Hubert 

cicciocb schrieb am Dienstag, 30. Juni 2020 um 10:39:04 UTC+2:
Not yet

cicciocb

unread,
Dec 20, 2020, 7:58:41 AM12/20/20
to Annex WiFi RDS
Go in the config page and set ESP32-CAM in the module option

Dwight

unread,
Dec 20, 2020, 12:33:30 PM12/20/20
to Annex WiFi RDS
The LED is connected to GPIO4
So at the beginning of your program code change the state of PIN(4)=0 or 1 to turn off the LED
(I can't recall if it is 0 or 1 to turn it off)

You can also use the IMMEDIATE section of the code development window and quickly do the same thing to turn off the LED

Dwight

Dwight

unread,
Dec 20, 2020, 12:36:22 PM12/20/20