Go to advanced search

by gregeric
Tue May 16, 2017 6:58 pm
Forum: AIY Projects
Topic: Play through bluetooth speakers instead.
Replies: 11
Views: 2964

Re: Play through bluetooth speakers instead.

Those changes will not affect any of your mods, and are easily reversible by simply re-enabling the google dtoverlay= and commenting out mine.
by gregeric
Tue May 16, 2017 6:26 pm
Forum: AIY Projects
Topic: Play through bluetooth speakers instead.
Replies: 11
Views: 2964

Re: Play through bluetooth speakers instead.

You could replicate my current setup: comment out the dtoverlay=googlevoicehat-soundcard in config.txt, & add drivers only for the mics by following my guide here: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=173640. You only need follow the steps in the first post there, no asound.rc twe...
by gregeric
Tue May 16, 2017 5:37 pm
Forum: AIY Projects
Topic: Play through bluetooth speakers instead.
Replies: 11
Views: 2964

Re: Play through bluetooth speakers instead.

I'm pretty sure it worked in that configuration when I first played with the Voice HAT & AIY (I'm now running it without any google hardware / Voice HAT drivers). If you're running headless, & you encounter any Bluetooth connectivity issues, you'll find it will revert to the Google hardware for outp...
by gregeric
Tue May 16, 2017 5:16 pm
Forum: AIY Projects
Topic: Play through bluetooth speakers instead.
Replies: 11
Views: 2964

Re: Play through bluetooth speakers instead.

All that's required is firstly to pair the speaker from the Bluetooth menu: left-click -> "Add Device", then right-click on the Speaker icon to selecting your BT speaker.
by gregeric
Mon May 15, 2017 9:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Add an I2S mic using device tree & simple-audio-card
Replies: 37
Views: 27347

Re: Add an I2S mic using device tree & simple-audio-card

Google's Voice HAT (ICS43432 mics + MAX98357 DAC) ignores the ICS43432 codec & employs its own machine & codec drivers.

Maybe you could use that as a template, but it would be nice to figure out how to use simple-audio-card & device tree in lieu.
by gregeric
Thu May 11, 2017 5:15 pm
Forum: Troubleshooting
Topic: GPIO pins seem to be dying one by one
Replies: 14
Views: 2338

Re: GPIO pins seem to be dying one by one

davidcoton wrote:If not, reduce R1 on the relay board, or short IN1 (which will then not illuminate, of course). Don't try both mods at the same time!
Or leave unmodded & use pcmanbib's circuit on that 2xrelay board :)
by gregeric
Thu May 11, 2017 1:10 pm
Forum: Troubleshooting
Topic: GPIO pins seem to be dying one by one
Replies: 14
Views: 2338

Re: GPIO pins seem to be dying one by one

If your original board is the same as this one , which it appears to be, then I suspect the reason your GPIO goes pop eventually is more likely because you're drawing too much current , not because somehow 5V is magically finding its way back to the GPIO. Looking closely at the picture, it looks lik...
by gregeric
Thu May 11, 2017 10:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How to save the power consumption in raspberry pi 3
Replies: 5
Views: 3351

Re: How to save the power consumption in raspberry pi 3

500mAh spent over 30 hours is roughly 160mA average current draw.

You might acheive that with a Zero or A+.

Does your task need to be always-on? If not, an alternative would be to use a MoPower or WittyPi to automatically power on/off the Pi at suitable intervals, thus extending run time.
by gregeric
Tue May 09, 2017 11:59 am
Forum: AIY Projects
Topic: Best questions to ask AIY. ..
Replies: 25
Views: 3542

Re: Best questions to ask AIY. ..

kusti8 wrote:it'll bring up a trivia game of your choice and start playing it with you right there.
When I ask to play a trivia game, I can't get past "how many people want to play?" - I say a number and there it ends.
by gregeric
Tue May 09, 2017 10:06 am
Forum: General discussion
Topic: Which 3 things do you want to see in the Raspberry Pi 4?
Replies: 79
Views: 9639

Re: Which 3 things do you want to see in the Raspberry Pi 4?

Why waste time and money pushing hardware with a small team, when the larger manufacturers can do it for you, unless it is cost effective (I don't know and not going to guess if it is.) Use an off the shelf GPU/SoC & the cloners will be very happy. Meanwhile, RPiF's revenue stream will suffer. So y...
by gregeric
Tue May 09, 2017 8:56 am
Forum: General discussion
Topic: Which 3 things do you want to see in the Raspberry Pi 4?
Replies: 79
Views: 9639

Re: Which 3 things do you want to see in the Raspberry Pi 4?

What I don't understand is the obsession that it has to have VC4 and not a more generally available processor. A large number of the RPi engineers, software & hardware, are the same team who designed & refined the VC4. Why wouldn't they want to stick to what they know, when they can perhaps tweak i...
by gregeric
Tue May 09, 2017 8:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474675

Re: The I2S sound thread.

YCN- wrote:That means that the device will give me both clocks isn't it ?
No, it means that if your circuit does not itself inject a clock into SCK, the PCM5102 will generate a SCK with a PLL from BCK.

BCK & LRCK are provided by the Pi's I2S peripheral when it is in master mode.
by gregeric
Mon May 08, 2017 7:12 pm
Forum: AIY Projects
Topic: Don't have AIY, now what?
Replies: 10
Views: 1169

Re: Don't have AIY, now what?

Sorry, I meant that the USB mic drivers will automatically load. In total, you need a working mic, sound output, button on GPIO 23, & helpful to have the LED on GPIO 23. Then go play.
by gregeric
Mon May 08, 2017 6:43 pm
Forum: AIY Projects
Topic: Don't have AIY, now what?
Replies: 10
Views: 1169

Re: Don't have AIY, now what?

Any links or 'How To' guides ? I had searched but turned up empty. If it's a USB mic, I guess it will just work. If you obtain an I2S mic breakout, you can add such a mic using the instructions here: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=173640 (You could just use the provided goo...
by gregeric
Mon May 08, 2017 6:22 pm
Forum: AIY Projects
Topic: AIY Voice HAT Hardware Reverse Engineering
Replies: 19
Views: 7303

Re: AIY Voice HAT Hardware Reverse Engineering

I answered jhewitt123 on twitter, but for the benefit of anyone else: The leftmost pad of the Drivers header is the raw GPIO - leave it alone. The centre pad is for the positive side of your load, so the anode of an LED with series resistor for example. The right hand pad, nearest the board edge, is...
by gregeric
Mon May 08, 2017 5:15 pm
Forum: AIY Projects
Topic: Don't have AIY, now what?
Replies: 10
Views: 1169

Re: Don't have AIY, now what?

You don't need a compatible DAC/Amp either. I'm using ZeroW, Bluetooth speaker, and my hand-soldered ICS43432 mic.

So it seems any mic, & any sound output will suffice to play with it...
by gregeric
Sun May 07, 2017 7:14 pm
Forum: General discussion
Topic: Raspberry Pi power cut torture test using a MoPower UPS
Replies: 30
Views: 6136

Re: Raspberry Pi power cut torture test using a MoPower UPS

I will indeed test older hardware when this is done. I have a feeling it will not fare as well. I would expect little difference between hardware revisions. OTOH older firmwares/kernels may not fare so well - there have been bugfixes, & switches between the eMMC & sdhost peripherals used for SD acc...
by gregeric
Sun May 07, 2017 6:21 pm
Forum: AIY Projects
Topic: Add a voice command to take a picture
Replies: 0
Views: 382

Add a voice command to take a picture

Edit actions.py, inserting near line 195: # User: Take a photo # # ======================== # # Take a still photo # class RaspiStill(object): def __init__(self, say, keyword): self.say = say self.keyword = keyword def run(self, voice_command): to_warn = self.keyword subprocess.call(["/home/pi/takes...
by gregeric
Sun May 07, 2017 6:05 pm
Forum: AIY Projects
Topic: How do you Shutdown?
Replies: 21
Views: 15379

Re: How do you Shutdown?

I couldn't get it to autostart with the recommended systemd .service, although I had modified it to insert a delay while the system made my BT speaker become the current audio device. It seemed to loop, restarting, even after fixing that dependency warning. In the end, similarly to you, I modified /...
by gregeric
Sun May 07, 2017 4:36 pm
Forum: AIY Projects
Topic: Alarms not Working
Replies: 9
Views: 1076

Re: Alarms not Working

LeoWhite wrote:You can run sudo dpkg-reconfigure tzdata to select a different timezone.
Already did that. If you ask "what time is it?", it will respond with time appropriate to your TZ.

Yet, asking it to set an alarm in + 5 mins, the confirmation is in UTC-7, and no alarm is set/nothing happens.
by gregeric
Sun May 07, 2017 7:03 am
Forum: AIY Projects
Topic: Alarms not Working
Replies: 9
Views: 1076

Re: Alarms not Working

If you ask "wake me in 1 minute", it acknowledges with a time set in UTC -7, likely California time. And, as you note, it fails to go off.
by gregeric
Sat May 06, 2017 6:00 pm
Forum: AIY Projects
Topic: How do you Shutdown?
Replies: 21
Views: 15379

Re: How do you Shutdown?

Maybe someone could work out a clever circuit that allowed the AIY hardware button to trigger a reset when system is not booted. There's the gpio-poweroff-overlay to throw a gpio pin to a known state on shutdown. You could tickle the RUN header if your circuit sees the chosen power-off-overlay pin ...
by gregeric
Sat May 06, 2017 5:56 am
Forum: AIY Projects
Topic: AIY Voice HAT Hardware Reverse Engineering
Replies: 19
Views: 7303

Re: AIY Voice HAT Hardware Reverse Engineering

Possibly compatible with an Adafruit module attached for stereo...
http://garagetech.tips/aiy-project-kit- ... connector/
by gregeric
Fri May 05, 2017 3:56 pm
Forum: AIY Projects
Topic: AIY Voice HAT Hardware Reverse Engineering
Replies: 19
Views: 7303

Re: AIY Voice HAT Hardware Reverse Engineering

The traces from the terminal block through holes terminate at those two through holes next to the eeprom...
by gregeric
Fri May 05, 2017 10:41 am
Forum: AIY Projects
Topic: Faulty HAT?
Replies: 19
Views: 2130

Re: Faulty HAT?

Does aplay -Dplughw:sndrpigooglevoi test.wav error out or just give silence? Triple checked your connections to the speaker? Try a different speaker?

Go to advanced search