nielsnl68 / nowtalk

It is always my dream to build my own commbadge. With the ESP-NOW protocol this could be the solution.
GNU General Public License v3.0
9 stars 2 forks source link

Do you really need Raspberry PI? #1

Open happytm opened 3 years ago

happytm commented 3 years ago

I have read through readme. From your description what I understood was Raspberry Pi stores the data for all commbadges. What is the other thing RPI do? Is it possible to avoid RPI and do everything on master ESP32?

Watching your project eagerly. Thanks.

nielsnl68 commented 3 years ago

The idea of the Raspberry pi is to be able to control offline STT and TTS support.

When you do not care using online services then you could use an other ESP32 as switchboard. I started that way but i found out i did not have enough memory space to be able to setup it right.

quite frankly i would want to move everything to the pi ... but i did have managed to run espnow on the pi it self, so now i use an ESP32 as bridge between the pi and the network.

At the moment i have managed the basic communication between the esp's etc. I'm a bit hesitating to start the audio part of the project.

I'm following atomic14 on youtube for that part and what he is doing is amazing with his walky talky project.

What makes you so interesting in this project of my?

happytm commented 3 years ago

I follow excellent videos put out by atomic14 on youtube. They are very educational for I2S audio. I am always interested in out of box and challanging ideas and your project is one of them.When I was poking around this repo I saw you use SQLite library and I am right now working on a home automation project which uses this library for database with LittleFS instead of SPIFFS. That got me more interested.

Have you considered using LoRa protocol instead of ESPNow for audio transmission. There is Samtech chip SX1280 which can handle higher data rate at larger distance. Stuart Robinson wrote library for this chip and is experimenting with sending image over LoRa. His blog is at https://stuartsprojects.github.io/ .

Thanks.

nielsnl68 commented 3 years ago

I know to little about Lora to tell of it will fit my needs, the main reason i use ESPNOW is that it can be used out of the box without any peering.

That said, in my setup you also need to peer up with the switchboard. And with the upcoming push that needs to be done over USB instead over the air. I saw to many bears on the road (dutch saying) to use the over the air peering.

Meanly the badge did broadcast a peer request to very one in the neighborhood and and every switchboard could react on it. Although a badge id needed to be entered ,,, i did not found it save enough.

jamser commented 3 years ago

@niesnI68 your project so cool ,among these, can you make a diagram. pi ,birdge,commbadge,dataChain,the relationship between them,thank y very much!~

nielsnl68 commented 3 years ago

thanks.

the pi and the bridge talking to each other over usb-serial. the bridge is only added to allow the pi communicate over espnow network. so the bridge communicate with the commbadges over espnow.

The datachain subproject is a black sheep in this, it is a prototype to create a new audio lib allow us to have multiple in- and output sources chaining up with some converters etc.

At the moment it is all in one project just because, It is for me easier to have all together. It will split in separated projects on github.

jamser commented 3 years ago

Thank you for your reply and keep an eye on it. keep go on hoho!~

jamser commented 3 years ago

hi,nielsn168.I connected bridge&pi zero at the weekend,about commbadges, what kind of hardware combination + display do you use when testing? lilygo t-watch-2020 v3?,thanks.

nielsnl68 commented 3 years ago

I use the togo t-display atm as commbadges. I have also a t-watch v3 to be used in the future.

Also it can be used with the ESP32-Audio-Kit (the esp32-A1S) Only it does not have a display yet. I ordered some but they never arrived :(

jamser commented 3 years ago

i am trying togo t-display and t-watch v3 waiting for you great daring,hehe!~