Go to advanced search

by paulw25
Sun Nov 19, 2017 9:54 am
Forum: AIY Projects
Topic: AIY Hat Alsa Mixer Blank
Replies: 1
Views: 722

Re: AIY Hat Alsa Mixer Blank

As usual the answer to this is in the documentation! https://alsa.opensrc.org/Softvol Note:The new volume control won't appear immediately! Only after the first usage of the newly defined device (e.g. with speaker-test), should amixer sget Softmaster display the new control. Mixers that were already...
by paulw25
Sun Oct 15, 2017 9:33 am
Forum: AIY Projects
Topic: AIY Hat Alsa Mixer Blank
Replies: 1
Views: 722

AIY Hat Alsa Mixer Blank

I am using the Voice Hat with my own software. The problem I have is that the alsa 'amixer' command returns nothing. No error. Just blank. Following this my python script errors as it is unable to find the Master mixer. The fix for this is to run a speaker-test, and then miraculously the mixer appea...
by paulw25
Sat Dec 31, 2016 10:00 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BME 280 SPI Interface in Python
Replies: 14
Views: 10967

Re: BME 280 SPI Interface in Python

OK I finally read the data sheet and found the problem! In SPI mode, only 7 bits of the register addresses are used; the MSB of register address is not used and replaced by a read/write bit (RW = ‘0’ for write and RW = ‘1’ for read). Example: address 0xF7 is accessed by using SPI register address 0x...
by paulw25
Fri Dec 30, 2016 11:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BME 280 SPI Interface in Python
Replies: 14
Views: 10967

Re: BME 280 SPI Interface in Python

I did manage to get the PigPio code working, but unfortunately I could not slow the clock down far enough for my needs. I need a very slow clock, because I am running the sensor over a long cable (~ 8m). I think I need to use software bit-banging.
by paulw25
Mon Dec 26, 2016 10:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BME 280 SPI Interface in Python
Replies: 14
Views: 10967

Re: BME 280 SPI Interface in Python

I wonder if anyone has had any success interfacing the Pi to the BME280 over SPI? I can successfully read the chip ID, and the calibration data, but the temp, pressure and humidity always read as [0, 128, 0, 0, 128, 0, 0, 128]. I suspect I am not correctly writing to the control registers to initiat...

Go to advanced search