Go to advanced search

by penguintutor
Fri Feb 09, 2018 10:49 am
Forum: General discussion
Topic: Telephone and Raspberry Pi
Replies: 5
Views: 568

Re: Telephone and Raspberry Pi

First a disclaimer - always be legal! You may need to check what the law says about recording calls. It sounds like you should be okay with what you are planning, but even if recording your own calls you may have a legal obligation to warn others when you are recording the calls. Whether it's possi...
by penguintutor
Fri Feb 09, 2018 10:11 am
Forum: General discussion
Topic: Pi and Paintball
Replies: 1
Views: 165

Re: Pi and Paintball

I can't comment much about paintball. Last time I took part in a paintball I took a shot in the head which was incredibly painful! Showing a timer should be fairly straight forward. To create a view of the battlefield then I'd suggest something like pygame zero, which makes creating a GUI easier tha...
by penguintutor
Thu Feb 08, 2018 5:05 pm
Forum: General discussion
Topic: GPIO pin and button
Replies: 2
Views: 187

Re: GPIO pin and button

The GPIO pins operate differently depending upon whether they are configured as an input or an output. When using the GPIO pin as an output then they can provide a reasonable current (enough to light an LED with appropriate resistor), but when they are configured as an input they will not provide an...
by penguintutor
Fri Feb 02, 2018 2:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DH11 Sensor over longer distance
Replies: 2
Views: 485

Re: DH11 Sensor over longer distance

Presumably you are using the DHT11 - rather than DH11. That particular sensor only has a small range of around 20cm when run at 3.5V. If connecting to the GPIO 3.3V then that will likely drop off sooner. Using a 5V supply may not help either as you still need to use 3.3V for the pull-up resistor to ...
by penguintutor
Fri Feb 02, 2018 1:34 pm
Forum: General discussion
Topic: Difference Running program from Python Shell or Terminal
Replies: 3
Views: 378

Re: Difference Running program from Python Shell or Terminal

Any manner to change it defaulting Python 3 as main Shell ?? Is that really what you want to do, as that will break it when you run from the shell as well as from the python shell? If so then the version of python that runs is based on a link in /usr/bin - so that when you run /usr/bin/python it ca...
by penguintutor
Fri Feb 02, 2018 1:06 pm
Forum: General discussion
Topic: PiClock help
Replies: 2
Views: 228

Re: PiClock help

There is nothing in the documentation that provides an option to turn-off the fullscreen, but it should be possible by modifying the source code. It looks like you need to edit the file PiClock/PyQtPiClock.py Near the end of the file is a line: w.showFullScreen() remove that line by commenting it ou...
by penguintutor
Fri Feb 02, 2018 12:49 pm
Forum: General discussion
Topic: octoprint exceeding cpu power of old pi B ?
Replies: 7
Views: 1030

Re: octoprint exceeding cpu power of old pi B ?

I've only run Octoprint on a Pi 3.

Considering a Pi3 costs about the same as 2 reels of PLA then it may be worth upgrading if you are struggling with performance running it on older hardware.

Although saying that it sounds like it may be your 3D printer as much as a problem with Octoprint.
by penguintutor
Fri Feb 02, 2018 12:36 pm
Forum: General discussion
Topic: How to store data from OpenCV to cloud?
Replies: 1
Views: 150

Re: How to store data from OpenCV to cloud?

OpenCV is a library for processing image data. The cloud in this case is anything that's on the Internet. So is that just the same as saying how can I put some kind of data on the Internet? If so then you could either make your Pi accessible from the Internet (port forwarding on your local router an...
by penguintutor
Sat Sep 02, 2017 7:48 am
Forum: Python
Topic: RF transmission and receiving using python
Replies: 3
Views: 696

Re: RF transmission and receiving using python

I'm not familiar with 433Utils, but it looks like it's a basic library for sending short command codes rather than transmitting data. It looks like it sends integer values as the command codes. Presumably you could use that to send whatever data you wanted as long as the client and server are talkin...
by penguintutor
Fri Sep 01, 2017 8:34 pm
Forum: Python
Topic: Python program results in system unstable - Possible Bottle mutex problem?
Replies: 0
Views: 213

Python program results in system unstable - Possible Bottle mutex problem?

Has anyone experienced any issues when using Python Bottle which results in extremely poor performance and/or system instability? I have a problem with a program I'm writing using Python3. It's a fairly complex bit of code involving Python Tk, which uses python urllib to connect to a webserver using...
by penguintutor
Thu Jun 16, 2016 3:47 pm
Forum: Beginners
Topic: Auto type "vncserver :1" on reboot
Replies: 6
Views: 1060

Re: Auto type "vncserver :1" on reboot

As an alternative I've written a guide to starting tightvnc at startup, it uses a systemd startup file, which is the same way that other services are started on the Raspberry Pi.

http://www.penguintutor.com/linux/tightvnc
by penguintutor
Thu Jun 16, 2016 2:06 pm
Forum: Troubleshooting
Topic: noobs 1.9 build
Replies: 12
Views: 2622

Re: noobs 1.9 build

It could be a faulty SD card, but you may get similar issues if you don't have enough power. Make sure that you have a decent power supply able to provide at least 1A.
by penguintutor
Tue Jun 14, 2016 2:16 pm
Forum: Troubleshooting
Topic: LED strip on USB hub
Replies: 2
Views: 625

Re: LED strip on USB hub

Could the LED strip be trying to pull more than the 720mA? I've seen other types of LED bulbs where they have quoted the amount of power used by the LED bulbs, but not included power lost in the resistors included in the lights. This could mean that it is pulling more power than the USB hub is able ...
by penguintutor
Tue Jun 14, 2016 2:02 pm
Forum: Troubleshooting
Topic: noobs 1.9 build
Replies: 12
Views: 2622

Re: noobs 1.9 build

It looks like OpenELEC has been replaced on NOOBS with LibreELEC. See more about LibreELEC here https://libreelec.tv/about/ It sounds like some of the developers from OpenELEC have moved to LibreELEC, but both projects are being developed. Other than that I don't know much about the reasoning / poli...
by penguintutor
Tue Jun 14, 2016 1:50 pm
Forum: Beginners
Topic: How d I build a rc raspberry pi robot?
Replies: 3
Views: 611

Re: How d I build a rc raspberry pi robot?

I have written a guide at: http://www.penguintutor.com/electronics/rpirobot

It was written before GPIO Zero which could be used to make the code a bit easier to learn, but it should give you a good idea of how to get started.
by penguintutor
Tue Jun 14, 2016 1:46 pm
Forum: Beginners
Topic: the most irritating PI Zero question
Replies: 16
Views: 2082

Re: the most irritating question

See the following announcement and get ordering now...
http://us7.campaign-archive2.com/?u=219 ... a72f8a68f3

Or I'm guessing that Pimoroni may have some in tomorrow (usually Wednesday morning that Pi Zeros go on sale).
by penguintutor
Tue Jun 14, 2016 1:31 pm
Forum: Beginners
Topic: Power model A+ with doorbell tranformer
Replies: 5
Views: 728

Re: Power model A+ with doorbell tranformer

I'm not aware of anything you can buy that will do what you want. It is possible to make one, but would need a bit of electronics. As the transformer is AC and the Raspberry Pi is DC then you will need a bridge rectifier circuit. You would need to connect a bridge rectifier to the 8V output of the t...
by penguintutor
Tue Jun 14, 2016 1:17 pm
Forum: Beginners
Topic: Temperature controlled slowcooker: What to Buy?
Replies: 3
Views: 1032

Re: Temperature controlled slowcooker: What to Buy?

There's a write-up on a Sous-Vide project at: https://www.raspberrypi.org/blog/sous-vide-cooking-with-the-wolfram-language/ I believe Rachel (from the Foundation) also created a Sous-vide cooker using Energenie remote control sockets. Essentially you need Input In addition to the thermocouple then y...
by penguintutor
Wed Jun 08, 2016 11:08 am
Forum: Troubleshooting
Topic: LIRC- can't get response irw
Replies: 2
Views: 930

Re: LIRC- can't get response irw

LIRC will stop at almost any excuse (ie. slight error in any of the config files).

To check whether it started successfully or not then run

sudo service lircd status

Any problems then as suggested by MikeDK look in /var/log/syslog and it usually gives a good indication of where to look.
by penguintutor
Wed Jun 08, 2016 11:02 am
Forum: Troubleshooting
Topic: can't connect to the internet Raspberry Pi 3
Replies: 16
Views: 1346

Re: can't connect to the internet Raspberry Pi 3

You shouldn't need to do anything special as long as the router is giving out IP addresses using DHCP. If you are getting an IP address starting with 169 then that normally means that you are unable to get a DHCP address from your router. You may need to log in to your router and make sure that it d...
by penguintutor
Fri May 13, 2016 9:13 am
Forum: General discussion
Topic: bluetooth
Replies: 2
Views: 351

Re: bluetooth

Details for configuring Bluetooth are at: https://www.raspberrypi.org/learning/ro ... oth-setup/

Although you may also want to look at the latest blog post which adds a new user interface: https://www.raspberrypi.org/blog/anothe ... -raspbian/
by penguintutor
Fri May 13, 2016 9:08 am
Forum: General discussion
Topic: Help with connecting Pi Zero to RFID!
Replies: 3
Views: 2593

Re: Help with connecting Pi Zero to RFID!

I have just been adding RFID to a project of my own. I used mine on a Pi 2 and I haven't tried with the Pi Zero, but don't see any reason why it wouldn't work.

Instructions are available at: http://www.penguintutor.com/news/raspberrypi/rfid-rc522
by penguintutor
Sat Apr 30, 2016 11:30 pm
Forum: Troubleshooting
Topic: Energenie Wall plugs & Raspberry PI
Replies: 12
Views: 2297

Re: Energenie Wall plugs & Raspberry PI

I have now updated the code to use the GPIO Zero module instead of the Energenie module used previously. Also thanks to other updates to the Raspbian image and converting the startup to systemd the install is now slightly easier. Details are provided on my website: http://www.penguintutor.com/raspbe...
by penguintutor
Sun Apr 24, 2016 5:22 pm
Forum: Troubleshooting
Topic: Energenie Wall plugs & Raspberry PI
Replies: 12
Views: 2297

Re: Energenie Wall plugs & Raspberry PI

I'm not sure what you mean from your post. What do you mean by "I've loaded the web address but nothing appears to happen" - do you get to the web page showing the on/off buttons or do you not get that far? Also have you registered the Pi-Mote with the socket by using the on button after plugging in...
by penguintutor
Wed Oct 28, 2015 11:53 am
Forum: Beginners
Topic: Give pi account sudo access to www?
Replies: 9
Views: 19341

Re: Give pi account sudo access to www?

This thread is over 3 years old. It has been superseded by both the Wheezy (as mentioned) and Jesse updates since.

Go to advanced search