2024年11月24日星期日 下午4:57:24

Home Automation Using Raspberry Pi via Bluetooth third-party USB adapter

1 年 前
#18907 引用


Deploying a Bluetooth gateway on your Raspberry Pi

https://subscription.packtpub.com/book/hardware-and-creative/9781786461087/7/ch07lvl1sec34/deploying-a-bluetooth-gateway-on-your-raspberry-pi


If you don’t have a model of Raspberry Pi that has Bluetooth built-in, you can use a third-party USB adapter to add support.


一款 MPOW 的 BH519A USB adapter
https://blog.src.moe/post/install-bluetooth-adapter-for-linux/
0
1 年 前
#18908 引用
Home Automation Using Raspberry Pi via Bluetooth

https://projectiot123.com/2019/01/27/home-automation-using-raspberry-pi-via-bluetooth/





0
1 年 前
#18909 引用
Hareware Required:

Raspberry Pi
Relay module.
A bulb

Smart phone with app (described later in the post).


0
1 年 前
#18910 引用
software Required


Installing the Requisite Files  based on Raspberry Pi for Bluetooth and GPIO:

0
1 年 前
#18911 引用

Raspberry Pi Bluetooth

The Raspberry Pi has a built in Bluetooth which makes it very handy and easy to use in our wireless applications.

But like many other peripherals
on the Raspberry Pi Bluetooth also is disabled by default.


So we need to
install some packages to be able to manipulate the Bluetooth in the Raspberry Pi. 


The Python library for Bluetooth wireless communication also needs some libraries to install in the Raspberry Pi, so you can write the code for Bluetooth in the Python IDLE.

If you have all the required files for the Bluetooth wireless communication between the Raspberry Pi and other Bluetooth devices you need to follow some instructions to be able to pair up with the Bluetooth devices.

The method of installation of all the Bluetooth files for the Raspberry Pi will be discussed in detail in the sections to follow.
0
1 年 前
#18912 引用
Bluetooth on Raspberry Pi

The Raspberry Pi has a built in Bluetooth which makes it very handy and easy to use in our wireless applications.

But like many other peripherals
on the Raspberry Pi Bluetooth also is disabled by default.


So we need to
install some packages to be able to manipulate the Bluetooth in the Raspberry Pi. 


The Python library for Bluetooth wireless communication also needs some libraries to install in the Raspberry Pi, so you can write the code for Bluetooth in the Python IDLE.

If you have all the required files for the Bluetooth wireless communication between the Raspberry Pi and other Bluetooth devices you need to follow some instructions to be able to pair up with the Bluetooth devices.

The method of installation of all the Bluetooth files for the Raspberry Pi will be discussed in detail in the sections to follow.
0
1 年 前
#18913 引用
1
0
1 年 前
#18914 引用

sudo apt-get install Bluetooth blueman bluez


Here we have installed “blueman” and “bluez” by typing the above command.

Bluez

Bluez is the Linux Bluetooth protocol stack which supports all the core Bluetooth protocols


Blueman
 Blueman provides the Graphical Interfaces for interacting and managing the available Bluetooth devices.


These are the files for the Bluetooth wireless communication protocol now let us install the Python library for Bluetooth wireless communication.
0
1 年 前
#18915 引用

sudo apt-get install python-bluetooth


python-bluetooth will install the required files for supporting code writing in the Python IDLE.

0
1 年 前
#18916 引用

sudo apt-get install python-rpi.gpio


Now after Bluetooth install the Python GPIO library.
0