Go to advanced search

by Douglas6
Mon Sep 30, 2019 2:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using bluetooth from raspberry pi to send commands to PC
Replies: 3
Views: 544

Re: Using bluetooth from raspberry pi to send commands to PC

This post may help: https://www.raspberrypi.org/forums/view ... 85#p947185
After that, simply connect the devices using PySerial (with Python) or another programming language. You'll need to research how to do that on the PC.
by Douglas6
Mon Sep 30, 2019 1:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using bluetooth from raspberry pi to send commands to PC
Replies: 3
Views: 544

Re: Using bluetooth from raspberry pi to send commands to PC

Yes, a couple of ways to go. 1. If it's not a Macintosh PC, you can connect from the Pi using Bluetooth's Serial Port Profile (SSP). Then read and write to a program running on the Pi using serial communications. 2. You could make the Pi emulate a Bluetooth HID device that would send actual joystick...
by Douglas6
Thu Sep 26, 2019 12:23 pm
Forum: Beginners
Topic: Get Bluetooth device song info through dbus
Replies: 3
Views: 399

Re: Get Bluetooth device song info through dbus

I'm not sure you can using dbus-send. You need to receive D-Bus signals, not send them. There's example code for receiving track and artist information in Python here: https://github.com/Douglas6/blueplayer
by Douglas6
Tue Sep 24, 2019 7:16 pm
Forum: Troubleshooting
Topic: Bluetooth connection - Raspberry Pi 3 B + with IoS devices.
Replies: 1
Views: 254

Re: Bluetooth connection - Raspberry Pi 3 B + with IoS devices.

Apple has proscribed the use of SPP (Serial Port Profile) on their operating systems. The only way to transfer data with an Apple product with Bluetooth is via BLE (or, I suppose, file transfer).
by Douglas6
Mon Sep 23, 2019 6:22 pm
Forum: General discussion
Topic: Oracle's New Supercomputer Has 1,060 Raspberry Pis
Replies: 37
Views: 3340

Re: Oracle's New Supercomputer Has 1,060 Raspberry Pis

pi-tastic wrote:
Mon Sep 23, 2019 1:41 pm
when will RPF make a $35 quantum computer? :-)
It exists now, it just hasn't been observed.
by Douglas6
Sat Sep 21, 2019 9:27 pm
Forum: Troubleshooting
Topic: pulseaudio not working with bluetooth
Replies: 3
Views: 323

Re: pulseaudio not working with bluetooth

PulseAudio is no longer required or recommended for Bluetooth audio streaming. It's possible the pre-installed software for streaming (BlueALSA) is conflicting with PulseAudio.
by Douglas6
Tue Sep 17, 2019 11:37 am
Forum: Troubleshooting
Topic: Bluetooth not working after update - need info [obsolete]
Replies: 178
Views: 193669

Re: STICKY: Bluetooth not working after update - need info

If the hciuart service is failing, nothing Bluetooth related is going to work. Depending on your operating system, you might try installing pi-bluetooth: 'sudo apt install pi-bluetooth'. Otherwise, I would image a new SD card with the latest Buster Raspbian. If hciuart is still failing, you could ha...
by Douglas6
Mon Sep 16, 2019 12:03 am
Forum: Beginners
Topic: Soldering
Replies: 21
Views: 1028

Re: Soldering

LTolledo wrote:
Sun Sep 15, 2019 11:38 pm
picture posted for soldering reference only:
Is that your own work? Artful. A lost art, I fear.
by Douglas6
Sun Sep 15, 2019 11:14 pm
Forum: Beginners
Topic: Soldering
Replies: 21
Views: 1028

Re: Soldering

You can connect pads on a perfboard with insulated wire (two pads), or uninsulated wire (multiple pads) flat against the bottom side of the perf. I like to use the severed leads of a resistor, LED, etc. With a little practice, it can be very neat. Or, you can create solder bridges between adjacent p...
by Douglas6
Sat Sep 14, 2019 4:59 pm
Forum: General discussion
Topic: Raspberry PI 4 and battery
Replies: 5
Views: 1014

Re: Raspberry PI 4 and battery

W. H. Heydt wrote:
Sat Sep 14, 2019 4:44 pm
Certainly. What other constraints do you have, such as "is it reasonably portable"?
Or:
"How long will it last?"
"Is additional hardware required?"
"Is it prone to catching fire?"
"Can it be recharged? How?"
by Douglas6
Sat Sep 14, 2019 1:18 am
Forum: Troubleshooting
Topic: Set bluetooth audio as default output
Replies: 1
Views: 276

Re: Set bluetooth audio as default output

See this post: https://www.raspberrypi.org/forums/view ... c#p1344830. Don't worry about connecting, BlueALSA will do that for you.
by Douglas6
Fri Sep 13, 2019 8:25 pm
Forum: Graphics, sound and multimedia
Topic: Bluetooth Headset not working on RPi4B
Replies: 8
Views: 1081

Re: Bluetooth Headset not working on RPi4B

I'm afraid I have nothing to say regarding an Arch distro. I tend to stick with Raspbian, and I would not use PulseAudio, Blueman, or alarm-bluetooth-raspberrypi (whatever that does). The standard Raspbian comes with everything you need for Bluetooth streaming audio, and in my experience, it works q...
by Douglas6
Fri Sep 13, 2019 6:00 pm
Forum: Beginners
Topic: pi zero w and aptx
Replies: 2
Views: 421

Re: pi zero w and aptx

I'm not certain that aptX is down to the hardware alone (or at all); it must also be supported in software. I don't believe aptX is included with the BlueALSA version in the repo; it may need to be compiled in. The Pi won't 'get confused' with multiple Bluetooth adapters, they will be numbered hci0,...
by Douglas6
Fri Sep 13, 2019 3:34 pm
Forum: Graphics, sound and multimedia
Topic: Bluetooth Headset not working on RPi4B
Replies: 8
Views: 1081

Re: Bluetooth Headset not working on RPi4B

I have not heard of any complaints regarding audio streaming on the Pi4. I have not tried streaming from my Pi4, but I have tested streaming TO it, and it's been working fine. I doubt if it's due to a module mismatch. You didn't mention much about your system. You're not using PulseAudio, are you? B...
by Douglas6
Fri Sep 13, 2019 10:19 am
Forum: Graphics, sound and multimedia
Topic: omxplayer + Bluetooth = new problems... need some help
Replies: 5
Views: 378

Re: omxplayer + Bluetooth = new problems... need some help

I'm afraid I'm not familiar with radios apart from WiFi and Bluetooth. I can't think of any advantage using a different frequency would have.
by Douglas6
Thu Sep 12, 2019 11:00 pm
Forum: Graphics, sound and multimedia
Topic: omxplayer + Bluetooth = new problems... need some help
Replies: 5
Views: 378

Re: omxplayer + Bluetooth = new problems... need some help

1. how can I make the player to play the file instantly just like when using wired speakers? You can't. Bluetooth streaming will always exhibit more latency than a wired connection. That's just Bluetooth. One second latency sounds a little extreme, but I would be surprised if you can cut it down to...
by Douglas6
Thu Sep 12, 2019 12:30 pm
Forum: General discussion
Topic: Steps to setup the communication of rasp pi 3 with hm-10 installed on tm4c microcontroller
Replies: 1
Views: 98

Re: Steps to setup the communication of rasp pi 3 with hm-10 installed on tm4c microcontroller

First step is to see if the Pi recognizes the HM-10. Use the bluetoothctl command 'scan' to see if the device is recognized. If so, you can use bluetoothctl or gatttool to connect and read or write characteristics. That's assuming you have a valid BLE service and advertising running on the TM4C. You...
by Douglas6
Wed Sep 11, 2019 9:43 pm
Forum: Off topic discussion
Topic: [Solved] Very busy today?
Replies: 23
Views: 3445

Re: Very busy today?

pcmanbob wrote:
Wed Sep 11, 2019 9:30 pm
Seems particularly bad this evening.
Ditto.
by Douglas6
Wed Sep 11, 2019 1:07 am
Forum: Troubleshooting
Topic: Bluetooth not working after update - need info [obsolete]
Replies: 178
Views: 193669

Re: STICKY: Bluetooth not working after update - need info

Your post would be much more helpful and informative if you mentioned what you "have been tweaking and changing parameters for days". Also what you mean by "Rpi 4b's Wifi/BT module". "Sleeping mode" I'll just ignore for now.
by Douglas6
Mon Sep 09, 2019 3:24 pm
Forum: General discussion
Topic: How to make money with a Raspberry Pi?
Replies: 40
Views: 7867

Re: How to make money with a Raspberry Pi?

1. Learn how to program on the Pi.
2. Get a job.
by Douglas6
Mon Sep 09, 2019 1:38 pm
Forum: Beginners
Topic: Bluetooth Data Logging Project
Replies: 3
Views: 348

Re: Bluetooth Data Logging Project

No problem communicating between a Pi and an HC-05, although BLE is not an option.

However, from what I can see, communications between an ADXL345 and an HC-05 may be a problem. I notice Adafruit has an ADXL345 breakout board, but only with I2C / SPI interfaces. The HC-05 requires a serial interface.
by Douglas6
Sun Sep 01, 2019 12:27 pm
Forum: Troubleshooting
Topic: Connect to BT device after it is turned on, or reconnect if it goes off then on
Replies: 3
Views: 242

Re: Connect to BT device after it is turned on, or reconnect if it goes off then on

Not that I am aware of. There is nothing magic about Bluetooth; such that two devices intrinsically know when they are close and active. If one device goes out of range, start looping again.
by Douglas6
Sat Aug 31, 2019 11:41 am
Forum: Troubleshooting
Topic: Connect to BT device after it is turned on, or reconnect if it goes off then on
Replies: 3
Views: 242

Re: Connect to BT device after it is turned on, or reconnect if it goes off then on

Rfcomm will only connect when told to, via 'rfcomm connect'. You could put that command in a loop, and try to connect periodically, until successful.
by Douglas6
Fri Aug 30, 2019 11:34 am
Forum: Beginners
Topic: Raspberry Pi, Bluetooth Beacon Project. IoT.
Replies: 2
Views: 508

Re: Raspberry Pi, Bluetooth Beacon Project. IoT.

A Google for 'Raspberry Pi beacon presence detection' brings up quite a few.

Go to advanced search