Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you really need Raspberry PI? #1

Open
happytm opened this issue Jun 17, 2021 · 9 comments
Open

Do you really need Raspberry PI? #1

happytm opened this issue Jun 17, 2021 · 9 comments
Labels
informative Conversations about the project.

Comments

@happytm
Copy link

happytm commented Jun 17, 2021

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
Copy link
Owner

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
Copy link
Author

happytm commented Jun 18, 2021

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 nielsnl68 added the informative Conversations about the project. label Jun 18, 2021
@nielsnl68
Copy link
Owner

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
Copy link

jamser commented Jul 1, 2021

@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
Copy link
Owner

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
Copy link

jamser commented Jul 1, 2021

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

@jamser
Copy link

jamser commented Jul 5, 2021

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
Copy link
Owner

nielsnl68 commented Jul 5, 2021

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
Copy link

jamser commented Jul 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
informative Conversations about the project.
Projects
None yet
Development

No branches or pull requests

3 participants