Go to advanced search

by mattura
Sat Aug 31, 2013 5:14 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 17135

Re: Don your testing hats, it's WiringPi2-Python

Managed to compile onto Arch. Found a couple of build issues that had snuck into the PiPy package and fixed them. Eeek! If anyone has had an error about a missing README.rst, it's now fixed. Compiling for arch needs: pacman -S base-devel, along with the usual requirements. Except Python-dev headers...
by mattura
Thu Aug 29, 2013 8:37 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 17135

Re: Don your testing hats, it's WiringPi2-Python

Managed to compile onto Arch. Found a couple of build issues that had snuck into the PiPy package and fixed them. Eeek! If anyone has had an error about a missing README.rst, it's now fixed. Compiling for arch needs: pacman -S base-devel, along with the usual requirements. Except Python-dev headers...
by mattura
Sun May 19, 2013 1:07 pm
Forum: Automation, sensing and robotics
Topic: Ultrasonic distance sensor...
Replies: 35
Views: 21708

Re: Ultrasonic distance sensor...

I've got one of those Ultrasonic modules. I used a simple resistor divider to convert the 5V output to a more Pi friendly 3V I tried this but failed at first as I was using resistor values that were too large. The input then floated high and never went low. I replaced them with lower values (<1k) a...
by mattura
Fri Mar 22, 2013 12:55 pm
Forum: Media centres
Topic: AirPlay
Replies: 39
Views: 36363

Re: AirPlay

In case anyone needs, you can direct the audio output to a usb soundcard by using the following:

Code: Select all

sudo ./shairport.pl -a AirPi -ao_devicename=plughw:1,0
That is assuming you have a usb soundcard plugged in card 1, device 0 (check with "aplay -l")
by mattura
Mon Sep 17, 2012 7:52 pm
Forum: Beginners
Topic: Wifi Reconnect on drop
Replies: 61
Views: 140480

Re: Wifi Reconnect on drop

@MrEngman: Why would you have to enter 60 commands? Wouldn't prefixing it with "* * * * *" make it run every minute from crontab? Anyway, thanks for the script, I'm going to try it out! OK maybe got that wrong then. But the script will still need updating to ensure only one copy is running. Without...
by mattura
Mon Sep 17, 2012 7:45 pm
Forum: General discussion
Topic: Piezo Transducer
Replies: 4
Views: 6018

Re: Piezo Transducer

toxibunny wrote:You've invented the 'PC speaker' for raspberry Pi, by hooking up a 'musical birthday card' type piezo speaker directly to a couple of GPIO pins?
Pretty much!
Well if you are interested in proper sound, you can use the audio out to drive a speaker, this is just an experiment, but easy to set up.
by mattura
Sun Sep 16, 2012 5:53 pm
Forum: General discussion
Topic: Piezo Transducer
Replies: 4
Views: 6018

Piezo Transducer

I purchased a cheap (£1) piezo transducer, wired it up through a pot (for volume) to the 3V3 and a GPIO pin. I used the python RPi.GPIO module and made a basic script to work the piezo. And of course I had to add some flashing LEDs in the mix! See the video ( mov ) import RPi.GPIO as gpio gpio.setmo...
by mattura
Thu Sep 13, 2012 1:47 pm
Forum: Automation, sensing and robotics
Topic: help and advices for a sailboat telemetry project
Replies: 4
Views: 1261

Re: help and advices for a sailboat telemetry project

Here are a couple of useful links for i2c: http://elinux.org/Interfacing_with_I2C_Devices http://www.acmesystems.it/i2c If you install the i2tools package, you can use "i2cdetect -y 0" to see if your device is wired in correctly (the address will appear in the table). With a bit of trial and error, ...
by mattura
Tue Sep 11, 2012 8:39 pm
Forum: Beginners
Topic: Wifi Reconnect on drop
Replies: 61
Views: 140480

Re: Wifi Reconnect on drop

Or instead of using 'sleep' and running in the background, you could set up a cron

Code: Select all

sudo crontab -e
by mattura
Tue Sep 11, 2012 7:23 pm
Forum: Troubleshooting
Topic: Keyboard Typing Problem [Power?]
Replies: 7
Views: 1163

Re: Keyboard Typing Problem [Power?]

I bought the Perixx 707W wireless mouse and keyboard. I did have issues with repeating/sticky keys, but they were solved by shorting the polyfuses next to the usb port (I used a crocodile clip to test this first). If your Pi has these polyfuses (the newer ones have 0Ohm resistors I believe), it may ...
by mattura
Sat Sep 01, 2012 8:03 am
Forum: Automation, sensing and robotics
Topic: Using the BMP085 with Raspberry Pi
Replies: 1
Views: 979

Re: Using the BMP085 with Raspberry Pi

I have ordered a BMP085, and this looks very useful, thanks!
by mattura
Tue Aug 28, 2012 6:28 pm
Forum: HATs and other add-ons
Topic: Battery bank - charge and serve at a time
Replies: 80
Views: 102184

Re: Battery bank - charge and serve at a time

Like Plugs7, I bought the Anker Astro-3 10,000mAh for £33 (Anker, EasyAcc, PowerGen and a few other companies seem to sell branded versions of the same hardware, so shop around). There are also various other versions of various sizes and mAh with/without LED torches etc (use the dropdown box on Amaz...
by mattura
Tue Aug 28, 2012 5:49 pm
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 633220

Re: Automatic setup for RTL8188CUS based wifi adapters

Having no success so far with Berryboot, I decided to check my wireless usb dongle (a TRENDnet TEW648UBM) with the standard Debian build. I ran a fresh install of 2012-08-16-Wheezy, which comes out as kernel version: Linux raspberrypi 3.2.27+ #66 PREEMPT Fri Aug 24 23:52:42 BST 2012 armv6l GNU/Linux...
by mattura
Tue Aug 21, 2012 11:48 am
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 633220

Re: Automatic setup for RTL8188CUS based wifi adapters

My version is: Linux raspberrypi 3.1.9-cutdown-aufs #23 PREEMPT Mon Aug 13 15:20:21 CEST 2012 armv6l GNU/Linux Due to this, the script fails. Is there a driver file for this distro? If not, how would I go about compiling it? Thanks Where can I find this image? Sorry for the delay, work tends to get...
by mattura
Fri Aug 17, 2012 9:36 pm
Forum: General discussion
Topic: Berryboot v1.1 - Boot menu / OS installer
Replies: 557
Views: 255908

Re: Berryboot v1.1 - Boot menu / OS installer

Does Berryboot only work with squashFS or can I use root file systems on different partitions also? Only support SquashFS/aufs for now. I did some experimenting with using BTRFS without SquashFS the other day, as that also allows you to easily put multiple distributions inside the same partition, a...
by mattura
Fri Aug 17, 2012 9:26 pm
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 633220

Re: Automatic setup for RTL8188CUS based wifi adapters

for anyone needs the driver for latest version of linux which is currently: Linux pi2 3.1.9+ #272 PREEMPT Tue Aug 7 22:51:44 BST 2012 armv6l GNU/Linux Here is the compiled driver file: (took ages on my raspi to compile) https://bitly.com/Ooigu1 just copy it to your modules directory and replace it ...
by mattura
Wed Aug 15, 2012 10:29 am
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 633220

Re: Automatic setup for RTL8188CUS based wifi adapters

I have a wired connection to the Pi. I'm using Wheezy as downloaded with Berryboot, which gives: Linux raspberrypi 3.1.9-cutdown-aufs #23 PREEMPT Mon Aug 13 15:20:21 CEST 2012 armv6l GNU/Linux On a fresh install of the above your script now bombs out with an "unrecognised software version". It seems...
by mattura
Tue Aug 14, 2012 10:49 pm
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 633220

Re: Automatic setup for RTL8188CUS based wifi adapters

Looks like a nice tool.
But it has a problem when it lists the wireless networks, I get a list of one:
wlan0 interface doesn't support scanning

My dmesg also has the following line after the usb adapter:
8192cu: disagrees about version of symbol module_layout

Any ideas?
by mattura
Tue Aug 14, 2012 8:59 pm
Forum: General discussion
Topic: Berryboot v1.1 - Boot menu / OS installer
Replies: 557
Views: 255908

Re: Berryboot v1.1 - Boot menu / OS installer

I'm glad I found this - I had been having a difficult time choosing between operating systems (a cut-back, quick OpenElec for a media centre, or a fuller-featured wheezy for experimentation or ...?!) and this gives the possibility of having my cake and eating it! Well done for making such an excelle...
by mattura
Tue Aug 14, 2012 6:55 pm
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3520
Views: 104970

Re: Introduce yourself!

Hi Everybody!
I'm from London.
I just got myself a Raspberry Pi, have tried a few things and I'm loving it :)
So many ideas...so little time!

Go to advanced search