Go to advanced search

by Hove
Fri Nov 08, 2013 5:37 pm
Forum: Beginners
Topic: Accessing a Raspberry Pi over a WiFi Connection.
Replies: 6
Views: 1282

Re: Accessing a Raspberry Pi over a WiFi Connection.

And about the power supply, will a USB connection with a separator (two male USB ports on one end) connected to the Raspi and the other connected to USB charger work? If it's a phone style USB charger, then probably not. That sort of power supply is designed for a single USB device attached (i.e a ...
by Hove
Fri Nov 08, 2013 9:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Can't get SPI devices
Replies: 21
Views: 23165

Re: Can't get SPI devices

Is there an equivalent to this for spi? Certainly i2c needs the user to be granted permission.

Code: Select all

adduser pi i2c
by Hove
Fri Nov 08, 2013 9:14 am
Forum: Python
Topic: Problem with unexpected event detection in GPIO pin
Replies: 9
Views: 4400

Re: Problem with unexpected event detection in GPIO pin

Fantastic news, made even better because you worked out the problem. Problems are frustrating, but fixing them is hugely satisfying (perhaps even addictive) isn't it!
by Hove
Thu Nov 07, 2013 7:50 pm
Forum: Beginners
Topic: Stuck at start
Replies: 1
Views: 450

Re: Stuck at start

Couple of questions and a couple of suggestions: When your RPi starts, does it go straight to the GUI (with a big Raspberry Pi logo) or does it stop at a the console (black with characters only)? If you're start the console, run startx to bring up a GUI that will make it a bit easier to find things....
by Hove
Thu Nov 07, 2013 5:37 pm
Forum: Raspberry Pi OS
Topic: Report: Raspbian Server from hard drive
Replies: 4
Views: 1331

Re: Report: Raspbian Server from hard drive

Do you have any more details you could share, there's a lot of gaps in your story but it sounds very interesting / useful: Where did you get / how did you build the Wheezy server edition How did you connect your sata drives to the RPi You say "from the instructions..." - Do you have a link to those ...
by Hove
Thu Nov 07, 2013 4:28 pm
Forum: General discussion
Topic: What to buy?
Replies: 1
Views: 425

Re: What to buy?

IMHO you've got it the wrong way round; find something you want to do with the RPi, work out how to do it, and then buy stuff for it. Not point buying stuff for something that bores you :lol: If you have to buy something arbitrary, buy one of the kits with a breadboard, wires and LEDs - they're chea...
by Hove
Thu Nov 07, 2013 4:16 pm
Forum: General discussion
Topic: MagPi Kindle Editions
Replies: 9
Views: 3065

Re: MagPi Kindle Editions

I converted all magpi magazines to pdfs that can be viewed on Kindle 4 by using this program: http://www.willus.com/k2pdfopt/ The result isn't perfect but it is pretty good. Why did you convert them to PDF? They are all available on the TheMagPi.com site as PDFs - it's their preferred method of dis...
by Hove
Wed Nov 06, 2013 9:13 pm
Forum: Beginners
Topic: Square force resistor to breadboard
Replies: 5
Views: 914

Re: Square force resistor to breadboard

so i need another square force resistor? or a resistor in the sense of http://upload.wikimedia.org/wikipedia/commons/b/b9/Resistors_color_code.jpg as i have a few of these :p Just a normal resistor like the picture - from gordon77's link, it looks like 10k is a good value. The link shows the 10k an...
by Hove
Wed Nov 06, 2013 8:12 pm
Forum: Beginners
Topic: Square force resistor to breadboard
Replies: 5
Views: 914

Re: Square force resistor to breadboard

To make this thing useful, first you need to make it produce an output voltage. The easiest way would be to add another resistor. One wire from your sensor goes to positive, the other to the resistor. The other end of the resistor goes to ground. That means now that the voltage at the point they joi...
by Hove
Wed Nov 06, 2013 1:19 pm
Forum: Python
Topic: Problem with unexpected event detection in GPIO pin
Replies: 9
Views: 4400

Re: Problem with unexpected event detection in GPIO pin

Sorry I didn't spot it before, and I can't remember off-hand what the spec for the gpio pins is but I'm pretty sure it's a bad idea to feed them 5V. That might be the cause of your problem and the pull down, maybe that input has been fried. You could try a different pin and switch your + to 3.3. Or...
by Hove
Wed Nov 06, 2013 1:00 pm
Forum: Python
Topic: Problem with unexpected event detection in GPIO pin
Replies: 9
Views: 4400

Re: Problem with unexpected event detection in GPIO pin

Your pull down 10k resistor isn't necessary - you've set it in code gpio.setup(channel, gpio.IN, pull_up_down=gpio.PUD_DOWN) It will just improve the pull-down from ~50k to roughtly 9k when the button is not pushed, though I can't immediately see why that might affect the resultant behaviour to gene...
by Hove
Wed Nov 06, 2013 8:44 am
Forum: Python
Topic: how to send more than a byte in i2c?
Replies: 3
Views: 3174

Re: how to send more than a byte in i2c?

Ignore my previous advice - it's the answer when your device has a number of registers and you want to write to a whole series of those registers in one go. If your device has no registers, but just fed data, the I think the code here is what you need: http://www.raspberrypi.org/phpBB3/viewtopic.php...
by Hove
Wed Nov 06, 2013 7:43 am
Forum: Python
Topic: how to send more than a byte in i2c?
Replies: 3
Views: 3174

Re: how to send more than a byte in i2c?

A single byte (8 bits) can only store 0 - 255, so if you write 256, (0x100 in hex or 0b100000000 in binary) all that gets written is the trailing 8 bits - i.e. 0; Do the same for 257 and you'll get 1. If you want to read / write larger numbers, they get written to neighbouring registers. There's som...
by Hove
Tue Nov 05, 2013 7:54 pm
Forum: Python
Topic: Updating from Python2.7 to Python3.3
Replies: 4
Views: 6100

Re: Updating from Python2.7 to Python3.3

Can you tell us what modules are missing from your Python 3.3 installation and did you install then separately for 2.7 or did they come as part of the basic package? I don't know whether I can fix the problem, but I sure someone who does will ask the same question, so I thought I'd save them some ti...
by Hove
Tue Nov 05, 2013 8:47 am
Forum: General discussion
Topic: Raspberry Pi makes appearance on "Arrow"
Replies: 2
Views: 956

Re: Raspberry Pi makes appearance on "Arrow"

Here's a screen capture:

Image
by Hove
Tue Nov 05, 2013 8:41 am
Forum: Networking and servers
Topic: Is there a simple way to make a cluster running Wordpress?
Replies: 3
Views: 1071

Re: Is there a simple way to make a cluster running Wordpres

Wordpress web serving has been done many time: just google "wordpress web server site:raspberrypi.org" Clustering is an interesting project, but probably unnecessary unless you have very fast broadband (i.e. fibre optic cable to the home (ftth) or the local exchange (ftte) or 4G. Otherwise you'll pr...
by Hove
Mon Nov 04, 2013 5:45 pm
Forum: Other projects
Topic: Getting custom surface-mount PCB's cut and soldered?
Replies: 12
Views: 3082

Re: Getting custom surface-mount PCB's cut and soldered?

Use PCB pool - they batch up lots of small boards into a single large board and then cut it up. I did a one-off board with them at a very reasonable price. They do a cheaper price if you're willing to wait a few days longer. It's a bit of a gimmick, but they send you photos of your board through th...
by Hove
Mon Nov 04, 2013 5:16 pm
Forum: Other projects
Topic: Getting custom surface-mount PCB's cut and soldered?
Replies: 12
Views: 3082

Re: Getting custom surface-mount PCB's cut and soldered?

Problem solved - MPU9150 is no longer manufacture - it's superceded by MPU9250 for release imminently. That's not pin compatible, so any breakout will be a start from scratch design. I'll just have to wait patiently and see what breakouts result, and therefore whether I need to consider DIY then.
by Hove
Mon Nov 04, 2013 2:38 pm
Forum: Other projects
Topic: Getting custom surface-mount PCB's cut and soldered?
Replies: 12
Views: 3082

Re: Getting custom surface-mount PCB's cut and soldered?

Thanks all. This is only a one-off, or perhaps a run of 10 just to offset the one-off costs by selling the rest on e-bay. I've found a local company who are willing to have a look and quote (and critical may be able to put the gerber files together based upon the info I have), so I'll find out soon ...
by Hove
Mon Nov 04, 2013 1:02 pm
Forum: Other projects
Topic: Getting custom surface-mount PCB's cut and soldered?
Replies: 12
Views: 3082

Re: Getting custom surface-mount PCB's cut and soldered?

Thanks Ivan,

That would be my preferred approach - supporting local businesses, but I'd assumed that ones that would do just a few PCBs were rare - hence my post. I'll investigate and find out, thank you.

Andy
by Hove
Mon Nov 04, 2013 9:15 am
Forum: Raspberry Pi OS
Topic: Auto login and start a script
Replies: 10
Views: 93276

Re: Auto login and start a script

If you want it to run without a user logging in, you could add an init.d boot time script: I used this as my starting point and tweaked it to use my python script instead - the changes to use your bash script will be similar. http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up...
by Hove
Mon Nov 04, 2013 7:46 am
Forum: Other projects
Topic: Getting custom surface-mount PCB's cut and soldered?
Replies: 12
Views: 3082

Getting custom surface-mount PCB's cut and soldered?

I'm using this breakout board for MPU6050 motion detector (accelerometer + gyro) by Invensense. http://flyduino.net/bilder/produkte/gross/MPU6050-Break-Out-onboard-33V-reg.jpg I'd like to swap the MPU6050 for the MPU9150 which is pin compatible but offers compass function too - the breakouts for the...
by Hove
Sat Nov 02, 2013 9:26 am
Forum: Networking and servers
Topic: Recommendations wanted: high gain, USB-only wireless adaptor
Replies: 4
Views: 1248

Re: Recommendations wanted: high gain, USB-only wireless ada

Just found the black model from the EDUP range that offers soft AP / WAP suppoprt: EP-MS1537

http://www.szedup.com/show.aspx?id=1745

Available on ebay in the UK:

http://www.ebay.co.uk/itm/310697357317? ... 1438.l2649
by Hove
Sat Nov 02, 2013 7:56 am
Forum: Staffroom, classroom and projects
Topic: How To Get Donated?
Replies: 3
Views: 1369

Re: How To Get Donated?

It never ceases to amaze me the number of schools which cannot afford £25 / $30 for a Raspberry Pi, and so the teachers send one of the kids to the forum to beg of a batch for free, often on the basis the school is low on funds. This must be the fourth or fifth I've seen recently. Surely the way to ...
by Hove
Sat Nov 02, 2013 7:45 am
Forum: Advanced users
Topic: Running Raspberry on 3.3 V
Replies: 33
Views: 25484

Re: Running Raspberry on 3.3 V

Yes, it can be made to work like a dream - follow the link from the previous post showing the hydrogen balloons sent into near space running off 3.3v (instructions included) - it does involve desoldering bits of the Pi so any warranty will be void thereafter.

Go to advanced search