Go to advanced search

by penguintutor
Tue Jun 14, 2016 1:46 pm
Forum: Beginners
Topic: the most irritating PI Zero question
Replies: 16
Views: 2556

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 56
Views: 32205

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

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: 56
Views: 32205

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

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...
by penguintutor
Fri Jul 04, 2014 10:50 am
Forum: Beginners
Topic: Raspb -Debian and Proxy setup
Replies: 4
Views: 1157

Re: Raspb -Debian and Proxy setup

Take a look at squid. It's available from the Raspbian repositories and can be fully configured from editing standard files. http://www.squid-cache.org/ There are lots of options in squid, but it has sensible defaults that work for a "typical" setup. It's what I used when creating my own family filt...
by penguintutor
Fri Jul 04, 2014 10:43 am
Forum: Beginners
Topic: How to hook a battery to the pi
Replies: 15
Views: 2339

Re: How to hook a battery to the pi

My first version of my robot vehicle didn't use any soldering, although it's better if you can solder.

Take a look at my guide - replacing the Raspberry Pi Cobbler with some male-to-female jump leads instead.

http://www.penguintutor.com/electronics/rubyrobot
by penguintutor
Fri Jul 04, 2014 10:28 am
Forum: Troubleshooting
Topic: Absolute max/min supply voltage?
Replies: 15
Views: 14831

Re: Absolute max/min supply voltage?

Guys, Has anyone else used rechargeable batteries and did you use 4 or 5 cells I have run with 4 x AA (Hi Capacity Hybrid batteries). Despite nominal voltage of 1.2v per battery you actually get slightly more on fresh batteries. This is enough to run the Pi and power small motors: See my battery po...
by penguintutor
Fri Jul 04, 2014 10:23 am
Forum: Python
Topic: python noob need help
Replies: 23
Views: 2488

Re: python noob need help

setupException: No access to /dev/mem. Try running as root!
You don't have sufficient permission to access the GPIO ports.

You need to run as the root (superuser).
To run IDLE as root then open a terminal and enter

Code: Select all

sudo idle
by penguintutor
Thu Jun 12, 2014 1:16 pm
Forum: Advanced users
Topic: NOOBS - auto start of Raspi-Config
Replies: 6
Views: 3789

Re: NOOBS - auto start of Raspi-Config

For Q1:

There are two places that need to be changed to disable raspi-config

Remove the script from profile.d if it exists

rm -f /etc/profile.d/raspi-config.sh

Remove the entry from /etc/inittab that ends with RPICFG_TO_ENABLE
by penguintutor
Thu Jun 12, 2014 11:44 am
Forum: Beginners
Topic: Pi clock
Replies: 2
Views: 2184

Re: Pi clock

Here's a few ideas to get you started. You could run a browser full screen with a Javascript clock (eg. http://clock.bralla.com/ ) Or you should be able to use xscreensaver with a clock screensaver xscreensaver is on the Raspberry Pi repositories, but not sure about the clock part Or create your own...
by penguintutor
Thu Jun 12, 2014 11:29 am
Forum: Teaching and learning resources
Topic: Worksheet for programming the Raspberry Pi GPIO port
Replies: 1
Views: 1664

Worksheet for programming the Raspberry Pi GPIO port

This is a worksheet I created for a school Raspberry Pi club.

Creates a simple circuit on a breadboard and programs it in a traffic light sequence using Python.

Worksheet: Programming the Raspberry Pi GPIO

Image

Go to advanced search