Go to advanced search

by StevenP
Thu Nov 29, 2018 7:26 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: RPD virtual machine in Hyper-V - screen size 800x600?
Replies: 2
Views: 1441

Re: RPD virtual machine in Hyper-V - screen size 800x600? - SOLVED

Thanks topguy, that worked! I used the guide https://blogs.msdn.microsoft.com/virtua ... yper-v-vm/ i.e. edit the grub file to set the resolution: sudo nano /etc/default/grub I changed the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash plymouth.ignore-serial-consoles" to be: GRUB_CMDLINE_LINUX_DEFAU...
by StevenP
Wed Nov 28, 2018 2:12 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: RPD virtual machine in Hyper-V - screen size 800x600?
Replies: 2
Views: 1441

RPD virtual machine in Hyper-V - screen size 800x600?

I'm running the Raspberry Pi desktop as a virtual machine in Microsoft Hyper-V, but cannot change the screen size from 800x600. I know VirtualBox and VMware have guest additions which help, but unfortunately I must use Hyper-V due to company security policy. Any ideas how to change the screen resolu...
by StevenP
Thu Oct 18, 2018 1:29 pm
Forum: Python
Topic: Python use 100% of CPU
Replies: 2
Views: 500

Re: Python use 100% of CPU

You have a tight loop here: while (GPIO.input(RCpin) == GPIO.HIGH): reading += 1 which will cause the 100% CPU usage. You could put a small delay in this loop to give the CPU time to do other things. e.g. while (GPIO.input(RCpin) == GPIO.HIGH): reading += 1 time.sleep(0.05) I'm not sure the other sl...
by StevenP
Wed Sep 19, 2018 8:10 am
Forum: Automation, sensing and robotics
Topic: Relay Module KY-019 5V
Replies: 488
Views: 89536

Re: Relay Module KY-019 5V

Very impressive use of space on your workbench! I wish my own wiring was as neat! ;)
by StevenP
Sat Jun 16, 2018 3:36 pm
Forum: Python
Topic: ''import paho.mqtt.client as mqtt'' gives import error
Replies: 2
Views: 6482

Re: ''import paho.mqtt.client as mqtt'' gives import error

Just tried your suggestion, moved paho.py and payo.pyc into a sub-folder, and it runs now from the original folder!

Many thanks for the explanation, B.Goode - I had thought I was going mad... :(

Cheers,
Steven
by StevenP
Sat Jun 16, 2018 3:09 pm
Forum: Python
Topic: ''import paho.mqtt.client as mqtt'' gives import error
Replies: 2
Views: 6482

''import paho.mqtt.client as mqtt'' gives import error

Hi, I've been trying to get paho MQTT working on my RPi Zero for a couple of days, but just cannot get past an import error message: <see bottom of this post for a solution I just found!> import paho.mqtt.client as mqtt ImportError: No module named ''paho.mqtt"; 'paho' is not a package I thought I'd...
by StevenP
Mon Jan 01, 2018 12:39 pm
Forum: Media centres
Topic: Kodi - Amazon Prime Video Addon- does it work?
Replies: 6
Views: 14881

Re: Kodi - Amazon Prime Video Addon- does it work?

That's a great writeup, RobbesUK very comprehensive and clear!
Cheers, Steven.
by StevenP
Mon Oct 30, 2017 11:27 am
Forum: Automation, sensing and robotics
Topic: Halloween, pir sensor, scary video
Replies: 14
Views: 4376

Re: Halloween, pir sensor, scary video

Great project, I made a similar device to play scary Halloween mp3 clips - a random choice of 25 clips. My code was also similar, but there was one small improvment I used to avoid hard coding the filenames into the program. Instead of: scarefile = ["15.mp4", "16.mp4", "17.mp4"] For your example, it...
by StevenP
Thu Aug 10, 2017 6:45 am
Forum: Deutsch
Topic: Raspberry Jam in Kassel - Hilfe?..
Replies: 1
Views: 708

Re: Raspberry Jam in Kassel - Hilfe?..

I know there are a lot of Raspberry Pi s in Germany, many colleagues of mine have them. So, is everyone reading a diffferent forum to this one - on a different website maybe? :cry: If anyone can let me know where best to contact German RPI owners about organising a Jam in Kassel I would be very grat...
by StevenP
Tue Aug 08, 2017 9:14 am
Forum: Deutsch
Topic: Raspberry Jam in Kassel - Hilfe?..
Replies: 1
Views: 708

Raspberry Jam in Kassel - Hilfe?..

Hallo, hat jemand Interesse mir zu helfen, um ein kleines Raspberry Jam in Kassel zu machen? Ich bin ziemlich enttäuscht dass so wenig Jams in Deutschland passieren. Besonders im Vergleich zu England (meine Heimat).. Das Jam soll nur klein sein - vielleicht 3-5 Raspberry Pi mit Bildschirm usw. Viell...
by StevenP
Tue Aug 01, 2017 12:39 pm
Forum: General discussion
Topic: My Raspberry Pi 3 Speed
Replies: 8
Views: 1387

Re: My Raspberry Pi 3 Speed

Good point, I was not aware of that in the ARM: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790 It seems if the supply voltage drops below 4.63V then Turbo mode is turned off. So if mom's vacuum cleaner was drawing so much power from the electricity mains that the RPi...
by StevenP
Tue Aug 01, 2017 8:12 am
Forum: General discussion
Topic: My Raspberry Pi 3 Speed
Replies: 8
Views: 1387

Re: My Raspberry Pi 3 Speed

A computer's speed it determined by its crystal controlled clock. How this is configured may change with processor loading and/or its temperature. The power supply voltage does not have any influence on the speed of the computer. So as far as the power supply is concerned, the computer is either wor...
by StevenP
Thu Jun 22, 2017 5:38 am
Forum: Media centres
Topic: Kodi - Amazon Prime Video Addon- does it work?
Replies: 6
Views: 14881

Re: Kodi - Amazon Prime Video Addon- does it work?

Thanks Topguy, I had read that post.

Just to reconfirm - has anyone a currently working Amazon Prime Video AddOn for RPi Kodi?
by StevenP
Wed Jun 21, 2017 4:57 pm
Forum: Media centres
Topic: Kodi - Amazon Prime Video Addon- does it work?
Replies: 6
Views: 14881

Kodi - Amazon Prime Video Addon- does it work?

I know this is a common question, but thought it's worth asking again.. Has anyone a currently working Amazon Prime Video AddOn for RPi Kodi? I tried installing the Amazon Prime Video AddOn from the XLordX Repo - as described in http://www.kodireviews.com/amazon-prime-addon/ It all went well, but wh...
by StevenP
Thu Dec 22, 2016 2:22 pm
Forum: Python
Topic: Google Text To Speech
Replies: 46
Views: 26034

Re: Google Text To Speech

Hi, this is how I used Picospeak in Python. I wrote a function to make it easier. The example below speaks a string, and then a string and the time. Make sure you get the python indents right, of course. import subprocess import time def picoSpeakWait( text ): "Function to speak using Google Android...
by StevenP
Wed Dec 21, 2016 5:07 pm
Forum: Python
Topic: Google Text To Speech
Replies: 46
Views: 26034

Re: Google Text To Speech

Hi guys. Are those TTS (eSpeak, Festival and Pico) applicable on Rpi3? And is there any suggestion for a better offline STT as well? If so, please give me some simple codes in applying it to python. I'm just a newbie. Hi skumberly, compatibility between the RPi hardware versions is very good - they...
by StevenP
Sat Dec 10, 2016 5:38 pm
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 37
Views: 20204

Re: Multiple DS18B20 temperature sensors

OK, sorry I did not realise it was Dallas one-wire, although you are using it with separate 3V3 which is a very good idea. As rpdom said, the star topology will be the worst, a daisy chained the best. I had a look at the Dallas datasheet, the device is OK with sinking 4mA. This means they will be OK...
by StevenP
Fri Dec 09, 2016 10:41 am
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 37
Views: 20204

Re: Multiple DS18B20 temperature sensors

You can check if voltage drop at the end of the cable is a problem by measuring the supply voltage at the sensor itself. It should not be too much less than 3.3V. Another possibility is the capacitance of the cable, causing the rise/fall times of the I2C waveforms to be slowed down. You could check ...
by StevenP
Thu Dec 08, 2016 2:33 pm
Forum: Troubleshooting
Topic: Not negligible CPU usage when waiting for GPIO pin state
Replies: 3
Views: 877

Re: Not negligible CPU usage when waiting for GPIO pin state

Yes, but it depends what language your program is written in. Some kind of wait command is probably needed. You could also put that part of your program in a separate thread.

What language are your using?
by StevenP
Tue Nov 22, 2016 10:23 am
Forum: Troubleshooting
Topic: Pi Zeros Dying
Replies: 20
Views: 3411

Re: Pi Zeros Dying

You said "The Pi is attached to a wood panel behind the TV using velcro". ESD (electrostatic discharge) is a big problem for any electronic equipment and since the RPi is not in a case then it will more susceptible than other consumer electronics. Anything which generates ESD could kill the RPi and ...
by StevenP
Thu Nov 17, 2016 1:34 pm
Forum: Beginners
Topic: Raspberry Pi 3: HDMI -> SCART
Replies: 7
Views: 6699

Re: Raspberry Pi 3: HDMI -> SCART

Hi,

PiHut has this device which converts both video and audio from HDMI to VGA and 3.5mm audio jack:

https://thepihut.com/products/raspberry ... -convertor

I just reread you message - But as you want SCART that doesn't help much, sorry!
by StevenP
Fri Oct 28, 2016 10:04 am
Forum: Python
Topic: Google Text To Speech
Replies: 46
Views: 26034

Re: Google Text To Speech

Have a look at Espeak, Pico or Festival as an alternative to Google's online TTS.
Here is my webpage about this:

http://elinux.org/RPi_Text_to_Speech_(Speech_Synthesis)

They all work without any internet connection, unlike Google TTS. I use Pico currently.

Cheers,
Steven
by StevenP
Fri Sep 09, 2016 12:26 pm
Forum: User groups and events
Topic: Raspberry Jam/Marmalade - Kassel, Deutschland - Hilfe?
Replies: 0
Views: 1479

Raspberry Jam/Marmalade - Kassel, Deutschland - Hilfe?

Great news about the German version of Magpi magazine! As a British ex-pat living in Germany what we now need here are many many more local Raspberry Jams! Germany is a big place and just having one or two per year covering the whole country has very little impact. If anyone is interested in helping...
by StevenP
Thu Feb 12, 2015 5:02 pm
Forum: Troubleshooting
Topic: mpd mpc - BBC radio internet streams stopped
Replies: 16
Views: 14069

Re: mpd mpc - BBC radio internet streams stopped

Hi All. I edited my script to the following URLs and all is hunky-dory now.. :lol: (I was getting a bit fed up with listening to Classic FM all the time :mrgreen: ... great to have Radio 2 back!) Works fine with MPC/MPD at 128kbps MP3. Cheers, Steven, radios["BBC Radio 2"]="http://www.radiofeeds.co....
by StevenP
Thu Feb 05, 2015 7:52 pm
Forum: Troubleshooting
Topic: mpd mpc - BBC radio internet streams stopped
Replies: 16
Views: 14069

Re: mpd mpc - BBC radio internet streams stopped

Hi All. The BBC international (and national too?) streaming links are changing. Radio 2 does not work from Germany with my MPD player since a couple of days. On the BBC website they mention they are stopping WMA and moving to AAC only. However MP3 will be supported for year or two apparently. I was ...

Go to advanced search