I want to make a Walkie Talkie that uses the NRF 24 L 01 antenna that can also show who is talking for example when i press my talk button it will say "You are talking" on my WT but on the other WT it will say "You are listening". Should i also use RF antennas too?
My available components:
RF reciever
RF transmitter
NRF 24 L 01 (not yet)
Speaker
Button
2 LCDs (1 oLED 1 LCD)
Does anyone know how i can make the speaker louder too?
I want it to be not smaller than a pager but not bigger than a small sized pocket. I could use PCBs.
Also, on a quick note, can i use the RF for audio over 150MT (~450FT) or is it a no?
As you know, the antenna is part of the circuit board. By putting the circuit board together with the other boards you mention, then putting them into an enclosure then putting the enclosure next to the human body means there will be NO ability to use the NRF to communicate with any other NRF device. ALL the rf signal will be absorbed by the surroundings.
Do appreciate that when you say things like "not bigger than a small sized pocket" and "the X(width) and Y(height) is changing a little bit but the Z(depth) is changing slightly" you probably have in mind an actual size.
Where does it show this text?
Will there be a display?
How about a green LED when you are talking, a RED led when you are actually receiving audio from someone and a yellow LED for when you are just waiting for someone to call.
The nRF24L01 is a 2Mbps transceiver, it is more than capable of handling audio given a powerful microcontroller.
For AVR devices there is:
For the Due or the XIAO 52840 there is:
This would be relatively easy to accomplish with either library, you need to assign a separate "pipe" on the radio to handle data. Then whenever you transmit audio, the MCU transmits a bit of data, say on pipe2 using address2, then switches back to pipe1 address1 for audio.
Since the OP's question comes up quite frequently on this forum, with no visible progress, perhaps you could help out the OP and others by pointing to or creating a basic working example of their idea.
Hmm, I have a working example of one-way encrypted communication/walkie talkies using the XIAO 52840, which has a built in radio and microphone:
It uses the same principle of using one pipe for data, and one pipe for audio. Basically you set up the addresses correctly, then just need to call radio.openWritingPipe(yourPipeHere); to choose the data pipe or the audio pipe.
Beyond that I would have to put something together specifically for this, but I don't want to do the whole thing myself. If people are having problems following the documentation etc, I can answer questions and offer help with code etc.
I would however choose to use an arduino due, or due-based board which might make it a bit large. This would allow very good quality audio compared to the other options which are OK for voice, but not that great for other audio.
That looks like a decent starting point, at least for voice, and using a fairly powerful MCU such as the nRF52840. Thanks for posting the link!
You may recall that we communicated a while back about dropped samples during voice recording to SPI flash with that processor, which was solved by using a very large sample buffer. So, I'm wondering if you checked whether audio samples were dropped in your example with the NRF24.
There is a very simple test, which is to transmit an audio sine wave. Example of the problem, which creates a very irritating buzzing sound.
The max buffer size default is 1600 for the 52840, so I'd think that is enough for most things, but no I haven't tested it like that. I probably should, and find the best setting that works with the default examples.
It is of course easy enough to modify by editing the config.h file included with the library, but I should still find the lowest number it works cleanly at.
Exactly how many are you intending to manufacturer? Will they ALL be the same? How will you be able to identify who you are talking to is there are multiple devices all operating at the same time?