Go to advanced search

by penguintutor
Sat Sep 02, 2017 7:48 am
Forum: Python
Topic: RF transmission and receiving using python
Replies: 3
Views: 328

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: 129

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: 778

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: 2051

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: 399

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: 2051

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: 496

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: 1731

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: 563

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: 721

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: 391

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: 1002

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: 274

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: 1523

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: 1833

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: 1833

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: 16608

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.
by penguintutor
Wed Feb 18, 2015 7:40 pm
Forum: Troubleshooting
Topic: Wifi access point - no more
Replies: 5
Views: 502

Re: Wifi access point - no more

I don't think that link is related, but remove ifplugd is an alternative, although it may be better to leave it installed if you intend to connect a connection to the ethernet port at any point in future.
by penguintutor
Tue Feb 17, 2015 11:20 pm
Forum: Troubleshooting
Topic: Wifi access point - no more
Replies: 5
Views: 502

Re: Wifi access point - no more

After spending a lot of time looking at the various bits that make up the system I think I've found what the problem is. The daemon that monitors the state of the network connection is ifplugd. This handles when a cable is unplugged and plugged in on a physical ethernet port. What appears to be happ...
by penguintutor
Mon Feb 16, 2015 9:10 pm
Forum: Troubleshooting
Topic: Wifi access point - no more
Replies: 5
Views: 502

Re: Wifi access point - no more

I am having a similar problem, although mine appeared to break before the latest update. Mine worked some time ago, but I couldn't get it to work recently. I updated the OS and it worked a couple of times, but now I'm struggling to get it to work again. I have tried with 4 different adapters with 3 ...
by penguintutor
Mon Jul 07, 2014 10:57 am
Forum: Beginners
Topic: How to hook a battery to the pi
Replies: 15
Views: 1898

Re: How to hook a battery to the pi

did your motors come with pre-soldered connections or do did your just twist the wires onto them? The motors has male headers pre-soldered so they could be plugged direct into a breadboard. Alternatively you could use PCB terminal blocks such as these http://www.easyflip.co.uk/CPC_2014/?page=1586 B...
by penguintutor
Mon Jul 07, 2014 10:41 am
Forum: Troubleshooting
Topic: WiFi ONLY works if Ethernet is plugged in
Replies: 45
Views: 19626

Re: WiFi ONLY works if Ethernet is plugged in

I notice that you don't have the entry: allow-hotplug wlan0 I'm not sure if that could be your problem, but there shouldn't be a problem with putting it in. Add it before the definition for the wlan0 device. That way if it detects the wireless device being removed and reconnected then it will try an...
by penguintutor
Fri Jul 04, 2014 2:55 pm
Forum: Python
Topic: python noob need help
Replies: 23
Views: 1855

Re: python noob need help

Says runtimewarning: This channel is already in use, continuing away..... That's because you have already accessed the GPIO port and not cleaned up properly. You can remove that warning message by adding the following after the import statement GPIO.setwarnings(False) Or you could just ignore it.
by penguintutor
Fri Jul 04, 2014 11:35 am
Forum: Troubleshooting
Topic: WiFi ONLY works if Ethernet is plugged in
Replies: 45
Views: 19626

Re: WiFi ONLY works if Ethernet is plugged in

I expect that your default route is defined against the Ethernet port - in which case it is trying to channel all traffic through the ethernet port even if it's disconnected. Easiest may be to reconfigure these as DHCP (you could perhaps set a static ip address in your router if you wanted to be abl...
by penguintutor
Fri Jul 04, 2014 11:06 am
Forum: Off topic discussion
Topic: external camera with pi sd card
Replies: 5
Views: 1658

Re: external camera with pi sd card

It should be possible by changing the partition sizes. I'd suggest using a Linux computer to do the resizing (you can run the software on the Raspberry Pi, but you can't resize a partition that you are running off). You need to move the ext partition further up the SD card to give yourself contiguou...

Go to advanced search