Reading then transmitting a signal over BLE for Raspberry Pi 3 - bluetooth

I'm trying to read a signal from a magnetic sensor then want to send it over BLE to a Raspberry Pi 3 module.
What device(s) can I use for the BLE signal reading / transmitting and how do I pair it with a Raspberry Pi 3? Did anyone else try doing this?

There are a lots of modules that you can use for transmitting over bluetooth, SimModules and Hc Modules are two of them. Sim modules also support GPRS and 2G networks. both of them works with At Commands and it can be controlled by a simple MicroController like Arduino series.

Related

Raspberry pi zero interface with gsm/gprs module

I am new to raspberry pi zero and I want to connect it with gsm module for gprs connectivity .
I bought sim800a gsm module but its led not even blinking single time
I am able to turn on the UART on pi zero and coonect it over usb cable through ssh .
Can anyone help me out how to achieve what I want and also suggest a better gsm module for gprs if sim800a is not good enough

transfering data between 2 python programs on different devices

I'm working on a project to control a drone using an EEG headset. The EEG headset is connected to my laptop [runnig ubuntu 18.04] and the drone to the raspberry pi [raspbian].
The code for processing the EEG data on the laptop as well as the code to control the drone is written on python 3.6 and work without any problems.
setup:
the EEG headset[ neurosky mindwave mobile 2] and the drone[ parrot mambo] both use BLE[bluetooth low energy] to connect with the devices. since both of them use Bluetooth it would be hard to send and receive data simultaneously to both the devices using a single code and laptop as they require a continuous uninterrupted connection and high data rates. hence the EEG headset is connected to the laptop via BLE and similarly the drone to the raspberry pi 3b+. The laptop takes care of processing the EEG signal and determining the desired command, while the raspberry pi acts as a wireless controller for the drone.
system setup
I need to pass the values between these 2 codes[and devices] so as to control the drone using the EEG signal. For eg, if I want to make the drone go forward after processing the signal I need to send say "1" or "f" to the raspberry pi from the laptop.
A wired connection such as Ethernet cable or USB is preferred over a wireless method.
The data size and rate is very less as a single character is sufficient and it will be sent only once every few seconds.
Which would be the best method to achieve this sort of communication
Use kafka or 0mq to loosely couple the laptop sender to the rasp pi receiver.
If one of them reboots, that's ok, the other will keep plugging away.
In the kafka case, you will enjoy the advantage of being able to replay a laptop publisher session again and again as you tweak and test the rasp pi client code.

How to handle voice from Bluetooth?

I am working on a Raspberry pi based embedded project which turn a raspberry pi to a bluetooth based voice processing system. I have a BLE mic and BLE receiver connected to the RPI, I have BlueZ integrated to my stack. I am able to connect both together. But the problem I am facing now is in handling Audio from the mic. I don't have ALSA or pulse audio in my system. Is there a way to get PCM data from the bluez stack directly? it would be helpful if there is a architecture for handling voice with BLE.

How to setup a raspberry pi 3 with two bluetooth connections at the same time?

Hello my name is Edris,
I am looking to make a connection between a raspberry and 2 arduino's with bluetooth. So the raspberry pi 3 would be the master and the arduino's slaves.
But then I thought mayby is it easier to have two connections at the same time.
So one with the build in bluetooth chip
and the other
with a usb bluetooth stick.
The bluetooth chips are all BLUE LoW Energy. Also the build in chip in the raspberry pi 3
Looking forward to hear from someone.
Edris
here are a couple of ways to connect
my preference is bluetoothctl. you'll be able to control each dongle by it's ID, given its ID appears when you do scan on and a list of IDs prints

Connect sensors to the raspberry pi using the inbuilt wifi

I am able to connect sensors using the GPIO pins.
My Question is:
Is there any possible way to connect any kind of sensors to the raspberry pi via Bluetooth or wifi?
And get the data via the same!
If you want to do it with any kind of sensors. I should be:
Sensor -> Micro-Controller <- Bluetooth/Wifi Module )))))))))))((((((((((( Bluetooth/Wifi Module -> Raspberry Pi

Resources