Go to advanced search

by LeoWhite
Thu Jun 29, 2017 6:01 pm
Forum: AIY Projects
Topic: Example Servo Use Python Code
Replies: 3
Views: 2708

Re: Example Servo Use Python Code

Hiya, I setup some basic scripts for driving the servos, each one being triggered via a different voice command, using the pigpio library. One of the scripts is below.. import time import pigpio pi = pigpio.pi() # Connect to local Pi. # AIY will say the string printed here print("standing") pi.set_s...
by LeoWhite
Sun May 14, 2017 8:43 pm
Forum: AIY Projects
Topic: AIY "listening" for too long?
Replies: 4
Views: 657

Re: AIY "listening" for too long?

The reason for the poor performance I was seeing was down to me grabbing a B+ from my box of Pis... Once I switched over to a 2B the response time was reduced down to ~2 seconds, which makes it much more usable.

Leo
by LeoWhite
Wed May 10, 2017 11:52 am
Forum: AIY Projects
Topic: Alarms not Working
Replies: 9
Views: 1078

Re: Alarms not Working

Alexgl wrote:I have the same problem with the timers and alarms. Mine has the correct time
According to the release notes (https://developers.google.com/assistant ... ease-notes) alarms and timers are not yet supported.

Leo
by LeoWhite
Wed May 10, 2017 11:46 am
Forum: AIY Projects
Topic: Battery power
Replies: 5
Views: 767

Re: Battery power

Thanks for feedback on the amount of power, but I am wondering about powering via the Voice Hat. Is there anything more to do than just connecting 5v to the unused solder pads? That should be all you need to do. I soldered a 2 pin terminal block to mine (As I couldn't find an appropriate barrel jac...
by LeoWhite
Tue May 09, 2017 7:14 am
Forum: AIY Projects
Topic: Listening on boot.
Replies: 3
Views: 550

Re: Listening on boot.

louiepi wrote:The final step in the magazine, step 17, says : 'Listen on boot. Now set up your device to start listening automatically. Double click 'start dev terminal' and enter the following command:
sudo systemct1 enable voice-recognizer.'

When I do this it says no known command: sudo systemct1
by LeoWhite
Mon May 08, 2017 12:55 pm
Forum: AIY Projects
Topic: AIY "listening" for too long?
Replies: 4
Views: 657

Re: AIY "listening" for too long?

In my experience it usually takes about 8-10 seconds from pressing the button to getting a response back from the server (Regardless of if you say a single word or an entire sentence), and then it takes a few more seconds before working out what to do with the response (e.g. run a local command, or ...
by LeoWhite
Sun May 07, 2017 3:51 pm
Forum: AIY Projects
Topic: Alarms not Working
Replies: 9
Views: 1078

Re: Alarms not Working

lostelements wrote:So that leaves 2 questions:

1. how to you get it to use local time (or at least GMT the start of all time!)
You can run sudo dpkg-reconfigure tzdata to select a different timezone.

Leo
by LeoWhite
Sun May 07, 2017 3:48 pm
Forum: AIY Projects
Topic: [Solved] AIY Red Button
Replies: 5
Views: 883

Re: AIY Red Button

I was wondering, does anyone know what the red button on the Google AIY Projects Kit does? The one on the HAT itself? As far as I can tell it does exactly the same as the external button you plug in. Makes it a little easier to develop on the board as you don't have the large arcade button getting ...
by LeoWhite
Mon Sep 12, 2016 8:00 am
Forum: Troubleshooting
Topic: Simple Pi Zero WiFi CCTV not so simple after all...
Replies: 11
Views: 2333

Re: Simple Pi Zero WiFi CCTV not so simple after all...

I've tried this: HDMI out to monitor GTO plugged into -left- USB port Power supply plugged into GTO Keyboard plugged into GTO (keyboard has independent power supply and works with two different windows laptops and one mac, I don't have a USB converter so I'm using the GTO for that, as later it's wh...
by LeoWhite
Sat Sep 10, 2016 8:15 pm
Forum: Troubleshooting
Topic: Simple Pi Zero WiFi CCTV not so simple after all...
Replies: 11
Views: 2333

Re: Simple Pi Zero WiFi CCTV not so simple after all...

I've read the stickies and nothing seems to be quite specific to my set up, but certain elements perhaps. I'm using the newest Raspian, but not NOOBS. I'm not a programmer, and have even less of an idea on a Linux environment. Here's the basics: Reading up on Pi Zero and using a webcam, looked like...
by LeoWhite
Fri Sep 09, 2016 11:48 am
Forum: HATs and other add-ons
Topic: Adafruit PowerBoost 1000 Charger
Replies: 1
Views: 1804

Re: Adafruit PowerBoost 1000 Charger

Hi, I have a few questions about the Adafruit PowerBoost 1000 Charger (https://learn.adafruit.com/adafruit-powerboost-1000c-load-share-usb-charge-boost/overview) 1. I can charge the battery and power the circuit at the same time correct? Yes, when you connect a USB power cable to the PowerBoost it w...
by LeoWhite
Wed Mar 02, 2016 1:56 pm
Forum: C/C++
Topic: Raspberry Pi 2 RAM usage
Replies: 10
Views: 1565

Re: Raspberry Pi 2 RAM usage

// Work OK #define ADC_CHANNELS 8 // Number of ADC channels #define RECORD_LENGTH 524000 // 524000 samples (times 8 channels) is the array maximum size signed short ADC_Measurements[RECORD_LENGTH][ADC_CHANNELS]; memset(ADC_Measurements, 0, sizeof(ADC_Measurements)); It looks like you are declaring ...
by LeoWhite
Wed Jan 20, 2016 7:58 am
Forum: HATs and other add-ons
Topic: Piggy back on Sense HAT
Replies: 16
Views: 5110

Re: Piggy back on Sense HAT

I have a Pi 2B with a sense hat attached. I plan on adding a Real Time Clock module. And maybe a few other odds and ends. What I am going to do is take one of these, https://www.adafruit.com/products/2310 and solder this to it, https://www.adafruit.com/products/2223 instead of the header that comes...
by LeoWhite
Tue Jan 19, 2016 1:48 pm
Forum: HATs and other add-ons
Topic: Piggy back on Sense HAT
Replies: 16
Views: 5110

Re: Piggy back on Sense HAT

Got it, understood - I see now how it's been put together - the top header was confusing me as it looked like it should come off. Glad I didn't try! It took me a little while to work it out too. Especially as the header was stiff enough that I thought it wasn't meant to come out! The video is perfe...
by LeoWhite
Tue Jan 19, 2016 1:35 pm
Forum: HATs and other add-ons
Topic: Piggy back on Sense HAT
Replies: 16
Views: 5110

Re: Piggy back on Sense HAT

Many thanks for the replies, much appreciated. Leo - I was hoping that I may be able to remove the header but I dared not try and prize it off, but that's fantastic news and solves the problem (but like you say I could get a clash if I try and use both together...that'll be a pain). Do you know if ...
by LeoWhite
Tue Jan 19, 2016 12:58 pm
Forum: HATs and other add-ons
Topic: Piggy back on Sense HAT
Replies: 16
Views: 5110

Re: Piggy back on Sense HAT

Hi, I want to connect my Sense HAT to my Pi zero, but also add an IR controller. I thought from the pictures of Sense HAT that it already had passthrough GPIO pins, but when I received it I found that it doesn't unfortunately. The Sense HAT has a surface mounted GPIO header on it, with an 'extension...
by LeoWhite
Mon Jan 18, 2016 1:38 pm
Forum: RISCOS
Topic: Making a wifi bridge so risc os can work any where in house
Replies: 5
Views: 2323

Re: Making a wifi bridge so risc os can work any where in ho

I've successfully used a Vonets Mini300 ethernet to WiFi Bridge under RISC OS before. Its relatively cheap from ebay , small and is powered via USB. I did set it up on a non-RISC OS machine first (To connect to my WiFi Access Point), although the latest version of NetSurf or Otter browser may be abl...
by LeoWhite
Fri Dec 25, 2015 8:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C bit banging question/request
Replies: 3
Views: 1847

Re: I2C bit banging question/request

Hiya, I had similar issues with controlling my T'Rex controller via I2C on the Raspberry Pi, with the Arduino seemingly locking up in the I2C handler code. I tried various things to work around it but, at the time, the best I managed was to enable the hardware watchdog on the Arduino so it would res...
by LeoWhite
Tue Dec 22, 2015 8:24 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C bit banging question/request
Replies: 3
Views: 1847

Re: I2C bit banging question/request

Hiya, I had similar issues with controlling my T'Rex controller via I2C on the Raspberry Pi, with the Arduino seemingly locking up in the I2C handler code. I tried various things to work around it but, at the time, the best I managed was to enable the hardware watchdog on the Arduino so it would res...
by LeoWhite
Thu Nov 26, 2015 6:58 am
Forum: Off topic discussion
Topic: Is a new Raspberry Pi model coming?
Replies: 265
Views: 42589

Re: Is a new Raspberry Pi model coming?

I picked up a copy of The MagPi.. Then a second..
by LeoWhite
Mon Nov 16, 2015 2:09 pm
Forum: Troubleshooting
Topic: WiringPi i2c problem
Replies: 1
Views: 641

Re: WiringPi i2c problem

Hiya, When you pass an integer into the Wire.write call it only sends it as a single byte (https://www.arduino.cc/en/Reference/WireWrite) which has a range of 0-255. To send values greater than that you need to encode it into multiple bytes. So on the Arduino you would need to do something similar t...
by LeoWhite
Tue Oct 13, 2015 7:19 am
Forum: HATs and other add-ons
Topic: using gpio with servo hat
Replies: 4
Views: 1156

Re: using gpio with servo hat

So by using the extended header I can connect my LCD and keyboard to the gpio right? The hat uses only the i2c pins from RPI? As far as I'm aware its only uses the i2c pins (I also have the non-HAT version of this board and that is i2c only). You can certainly use any of the GPIO pins that are brok...
by LeoWhite
Sat Oct 10, 2015 6:51 pm
Forum: Astro Pi
Topic: Adding a timer to Sense Hat
Replies: 3
Views: 1406

Re: Adding a timer to Sense Hat

Woll wrote:Thanks alot for your reply. I tend to spell commands wrong quit a bit. I'm still at the basics. :|
Everybody spells things wrong! Although mine usually get reported by the compiler!

Have fun playing around with the Sense HAT!

Leo
by LeoWhite
Sat Oct 10, 2015 2:40 pm
Forum: HATs and other add-ons
Topic: using gpio with servo hat
Replies: 4
Views: 1156

Re: using gpio with servo hat

hi this is my first project with raspberry pi. Hi! I've just ordered Adafruit 16 channel servo hat to control 6 servo motors. I also need to connect an lcd, a keypad and a vibration sensor to the rpi 2. will i be able to access the gpio after connecting the servo hat? or should I use some extention...
by LeoWhite
Sat Oct 10, 2015 2:22 pm
Forum: Astro Pi
Topic: Adding a timer to Sense Hat
Replies: 3
Views: 1406

Re: Adding a timer to Sense Hat

Hi, I've brought a Sense Hat, which I'm really impressed with. I'm coping code from a RPF tutorial and I'm trying to add a timer to it which I've modified from a pygame tutorial from Magpi 2. The only problem is, it doesn't seem to work. Has anyone got any ideas about where I'm going wrong? Shouldn'...

Go to advanced search