Go to advanced search

by MattHawkinsUK
Mon May 05, 2014 7:26 pm
Forum: Troubleshooting
Topic: Problem with mcp3008/following a moisture tutorial
Replies: 6
Views: 1557

Re: Problem with mcp3008/following a moisture tutorial

Where is the "mcp3008.py" file relative to your Python script? The error message means what it says. It doesn't know where mcp3008.py is. Which means it either doesn't exist or isn't in the same directory as your script. In the tutorial he runs the Python shell from "/py/tutorials/moisture". Are you...
by MattHawkinsUK
Fri May 02, 2014 2:09 pm
Forum: General discussion
Topic: Bitscope - watch out for import duty
Replies: 3
Views: 1511

Re: Bitscope - watch out for import duty

In the UK you can expect to pay VAT (20%) + whatever fee the courier charges to charge you.

It applies to all that eBay stuff we buy from China but it is usually over looked. You are much more likely to get charged if the package is sent via courier rather than standard mail.
by MattHawkinsUK
Wed Apr 30, 2014 7:56 am
Forum: C/C++
Topic: Help with 16x2 LCD
Replies: 34
Views: 13545

Re: Help with 16x2 LCD

It says PCF8574 in eBay description.
by MattHawkinsUK
Sat Apr 26, 2014 10:09 pm
Forum: General discussion
Topic: My raspberry Pi say pi@(none) instead of pi@raspberry pi. Pl
Replies: 6
Views: 1224

Re: My raspberry Pi say pi@(none) instead of pi@raspberry pi

Not sure a space character is valid in a hostname.
by MattHawkinsUK
Sat Apr 26, 2014 7:23 am
Forum: General discussion
Topic: Is the RPi Logo Copyrighted?
Replies: 12
Views: 2462

Re: Is the RPi Logo Copyrighted?

If you take your own photos or get permission you can use whatever photos you like. If you mention "Raspberry Pi" always state somewhere that it is the registered trademark of the foundation. The exact wording is mentioned in the trademarks rules section of the main site. Acknowledging the trademark...
by MattHawkinsUK
Fri Apr 25, 2014 12:44 pm
Forum: Beginners
Topic: How to connect Speaker to Pi ?
Replies: 10
Views: 25624

Re: How to connect Speaker to Pi ?

The best way of attaching a speaker to the Pi is via the 3.5mm audio jack. Use a portable amplified speaker with a suitable cable.

Trying to connect a speaker to the GPIO pins is going to be a lot of work if you expect music/speech. Attaching a buzzer is ok if all you want to do is bleep/buzz.
by MattHawkinsUK
Wed Apr 23, 2014 8:52 pm
Forum: Automation, sensing and robotics
Topic: Ultrasonic Module Circuit Difference?
Replies: 8
Views: 2030

Re: Ultrasonic Module Circuit Difference?

As far as I know the HC-SR04 should be powered from 5V. The trigger can be connected directly to the Pi. The 5V level from the Echo needs to be brought down to <3.3V so it is safe for the Pi. Not quite sure what the resistor is for in the instructables circuit. They are powering the whole device fro...
by MattHawkinsUK
Wed Apr 23, 2014 2:01 pm
Forum: Python
Topic: Temperature and hours daily plotting
Replies: 6
Views: 1731

Re: Temperature and hours daily plotting

Weird. I've just written a blog post on plotting data from a sensor log using gnuplot. Dougie's answer if probably best if you want to keep it all within Python.

gnuplot is quite handy when you are experimenting but you need the data in a separate text file.
by MattHawkinsUK
Tue Apr 22, 2014 8:08 pm
Forum: General discussion
Topic: Mini-monitor *-*
Replies: 4
Views: 653

Re: Mini-monitor *-*

It's a composite monitor. You can see the yellow plug in the composite socket. They are usually sold as car reversing cameras and are fairly cheap. I think I paid £15 for mine which was a bargain as they sent two by mistake!
by MattHawkinsUK
Tue Apr 22, 2014 2:17 pm
Forum: General discussion
Topic: Banana pi, 1ghz duel core clone.
Replies: 52
Views: 18861

Re: Banana pi, 1ghz duel core clone.

I think the fact their site is full of broken links says a lot about their quality control!
by MattHawkinsUK
Tue Apr 22, 2014 1:17 pm
Forum: Staffroom, classroom and projects
Topic: Why use a RPi at school?
Replies: 32
Views: 7832

Re: Why use a RPi at school?

You could also consider Python + Minecraft. A near perfect combination if you want kids to dabble in programming and have fun without getting too serious.
by MattHawkinsUK
Sun Apr 20, 2014 8:57 pm
Forum: General discussion
Topic: Pi Hater?
Replies: 20
Views: 3102

Re: Pi Hater?

The guy clearly has issues. What has the Pi's educational credentials got to do with Debian? Looks like that Wiki page is the only bit of control he has on the World and he is using it to grind his little axe.

Sad. I hope he gets help.
by MattHawkinsUK
Sun Apr 20, 2014 4:26 pm
Forum: Python
Topic: Help Request - Python RPi.GPIO Buttons
Replies: 5
Views: 1093

Re: Help Request - Python RPi.GPIO Buttons

Re-do the indents in your script. Remove all of them and add them again. Ensure you are using spaces not tabs. As it stands it should not do anything because main isn't being called. Therefore I suspect the code below isn't what your Pi is running. Try adding print statements to track what lines are...
by MattHawkinsUK
Sat Apr 19, 2014 11:26 pm
Forum: Other projects
Topic: Colonial Marines Motion Tracker for Pi
Replies: 11
Views: 7302

Re: Colonial Marines Motion Tracker for Pi

Not sure how I missed this. I'll give it a try when I get a chance. Fancy creating a robot sentry gun interface :-)
by MattHawkinsUK
Sun Apr 13, 2014 9:35 pm
Forum: Compute Module
Topic: Does this mean we'll get a cut down OS ...?
Replies: 45
Views: 7481

Re: Does this mean we'll get a cut down OS ...?

I'm really grateful for all the hard work that has taken place on Raspbian but I'd like a lighter version as well. Perhaps without Wolfram and Java. If the intention is to better support the Compute module then I guess MP4 files and Scratch could go as well. I'm happy to strip out stuff but not sure...
by MattHawkinsUK
Sun Apr 13, 2014 8:21 am
Forum: Graphics, sound and multimedia
Topic: How to adjust LCD backlight intensity ?
Replies: 16
Views: 15213

Re: How to adjust LCD backlight intensity ?

I control the backlight intensity of an LCD using a potentiometer and a fixed resistor. The resistor ensures there is always some resistance there if the pot is zero. They go in series with one of the LED connections. http://www.raspberrypi-spy.co.uk/2012/08/20x4-lcd-module-control-using-python/ PWM...
by MattHawkinsUK
Wed Apr 09, 2014 9:39 pm
Forum: General discussion
Topic: Raspberry Pi generation
Replies: 7
Views: 1129

Re: Raspberry Pi generation

I've just checked. I've got 210 passwords to change. I'm going off the Raspberry Pi generation :D
by MattHawkinsUK
Wed Apr 09, 2014 6:43 pm
Forum: General discussion
Topic: Battery Pack/Bank Recommendations
Replies: 8
Views: 1162

Re: Battery Pack/Bank Recommendations

I've got three battery packs. The first two I've written up articles talking about how they perform with the Raspberry Pi : RAVPower 10400mAh Li-on Battery Power Bank Test 12000mAh Li-on Battery Power Bank Test This week I got a new one : Lumsing 11000mAh 5 x USB External Battery Pack On a day to da...
by MattHawkinsUK
Wed Apr 09, 2014 10:49 am
Forum: Staffroom, classroom and projects
Topic: "Education release planned for 2014"
Replies: 3
Views: 2690

Re: "Education release planned for 2014"

I love these forum teasers :)
by MattHawkinsUK
Thu Apr 03, 2014 5:03 pm
Forum: General discussion
Topic: New Website
Replies: 94
Views: 35764

Re: New Website

That's a bit harsh. "Responsive" doesn't just relate to speed. "Response time" might be a common usage in an electronics lab but in the real world most people would use it in plenty of other contexts. Responsive designs are great but it is a choice not the law. I still use tables for layout purposes...
by MattHawkinsUK
Tue Apr 01, 2014 7:58 pm
Forum: Automation, sensing and robotics
Topic: Alarm System or AntiTheft System ?
Replies: 3
Views: 1830

Re: Alarm System or AntiTheft System ?

I've done something similar but I used an Internet SMS Gateway to send text messages. You can build the entire system on your desk to test it. PIR, switches etc. I had 1 PIR and 2 switches on my garage doors. I tested each bit of the system (which resulted in a few blog posts on my website) and then...
by MattHawkinsUK
Wed Mar 26, 2014 9:42 pm
Forum: Beginners
Topic: Autostart my python script
Replies: 2
Views: 558

Re: Autostart my python script

You need to include the full path to the Python script.

eg.
@reboot sudo python /home/pi/greenhouse_5.py &
by MattHawkinsUK
Sun Mar 23, 2014 4:56 pm
Forum: Graphics programming
Topic: The fasters way to get started with a 3D game
Replies: 4
Views: 2872

Re: The fasters way to get started with a 3D game

One option is to use Minecraft and the Python API. Then the basics are covered and you can concentrate on the shooting part.
by MattHawkinsUK
Sat Mar 22, 2014 7:30 pm
Forum: Troubleshooting
Topic: Raspberry Pi Stopped Working Suddenly
Replies: 9
Views: 6000

Re: Raspberry Pi Stopped Working Suddenly

If in doubt always prepare a fresh SD card with an up to date image. Ideally use a spare card to rule out a duff card. It is vary rare to get a broken Pi and the problem is nearly always SD card or power supply related.

What power supply are you using?
by MattHawkinsUK
Thu Mar 20, 2014 12:00 pm
Forum: Troubleshooting
Topic: SD card starting to bend
Replies: 32
Views: 11036

Re: SD card starting to bend

What brand cards are people using? I only tend to use SanDisk and Kingston from major retailers. Never eBay. I've never had any problems with either the cards or the slot. I can't really see how the pins in the SD card slot could cause that sort of bending.

My money is on an SD card quality issue.

Go to advanced search