Go to advanced search

by Mettauk
Fri Jan 08, 2016 9:52 am
Forum: Official Foundation Display
Topic: Pi Touch Screen falling apart - Contacting the Swag Store
Replies: 10
Views: 1213

Re: Pi Touch Screen falling apart - Contacting the Swag Stor

Hello Mettauk, Did you make any progress in this issue? Yesterday I noticed, too, that the glass lid separated itself from the LCD panel. It seems that the used glue is of poor quality. I read that the screen was a industrial-quality one... No comment. Can someone recommend an appropriate glue to r...
by Mettauk
Thu Jan 07, 2016 3:56 pm
Forum: Python
Topic: Sound to Bluetooth from python
Replies: 14
Views: 4822

Re: Sound to Bluetooth from python

-rst- wrote:And the Python code you use to call mplayer?
imports within script are

Code: Select all

#import
import RPi.GPIO as GPIO

#time
import time

#IP etc
import socket
import os

#DHT 
import Adafruit_DHT
I'm not sure how to import mplayer?
by Mettauk
Wed Jan 06, 2016 4:45 pm
Forum: Python
Topic: Capacitative touch switch(s)
Replies: 2
Views: 1341

Re: Capacitative touch switch(s)

Thank you,
I think I will attempt event_detected() as it looks like what I'm looking for, if I can get my head round it! :)
by Mettauk
Wed Jan 06, 2016 8:49 am
Forum: Windows 10 for IoT
Topic: Powering RPi and 12v device with single power cable
Replies: 3
Views: 701

Re: Powering RPi and 12v device with single power cable

You can buy 12v with 5v DC transformers, often used for old portable hard drives etc. You could split the cable or use an adaptor to split the 5 and 12 volts. Something like this http://m.ebay.co.uk/itm/12V-5V-AC-Power-Supply-Adapter-with-14-2-Cable-for-HDD-HARD-DISK-DRIVE-IDE-/171708566445?nav=SEAR...
by Mettauk
Mon Jan 04, 2016 3:09 pm
Forum: Python
Topic: Capacitative touch switch(s)
Replies: 2
Views: 1341

Capacitative touch switch(s)

I'm sort of teaching myself python... so please forgive this attempt #!/usr/bin/python #-------------------------------------- #import import RPi.GPIO as GPIO import time # Define GPIO mapping TOUCH = 17 LED_01 = 27 # Use BCM GPIO numbers GPIO.setmode(GPIO.BCM) # Use BCM GPIO numbers GPIO.setup(TOUC...
by Mettauk
Sun Jan 03, 2016 8:29 pm
Forum: Python
Topic: Sound to Bluetooth from python
Replies: 14
Views: 4822

Sound to Bluetooth from python

Hi I can play sound on a Bluetooth speaker via the command line with say mplayer -ao alsa:device=bluetooth /nums/32.wav but if I put this in a python file I get the following MPlayer svn r34540 (Raspbian), built with gcc-4.6 (C) 2000-2012 MPlayer Team mplayer: could not connect to socket mplayer: No...
by Mettauk
Tue Dec 22, 2015 2:24 pm
Forum: Official Foundation Display
Topic: Screen slid down
Replies: 2
Views: 846

Re: Screen slid down

I have had the official display in use for a few weeks, standing upright on one of the shorter sides. Not it seems to have slid down a few millimeters that way. I've attached a picture of it. Not only is part of the display now no longer visible, the touchscreen is no longer calibrated right. Can I...
by Mettauk
Tue Dec 22, 2015 2:11 pm
Forum: Official Foundation Display
Topic: Pi Touch Screen falling apart - Contacting the Swag Store
Replies: 10
Views: 1213

Re: Pi Touch Screen falling apart - Contacting the Swag Stor

you will have got a email with the order - respond to that remember that is is now Christmas week so things will be delayed support@pimoroni.com is as good as anywhere - be polite, provide as much info as you can , and see what is said I've tried replying to the original order i placed with the Swa...
by Mettauk
Tue Dec 22, 2015 1:34 pm
Forum: Official Foundation Display
Topic: Pi Touch Screen falling apart - Contacting the Swag Store
Replies: 10
Views: 1213

Re: Pi Touch Screen falling apart - Contacting the Swag Stor

https://shop.pimoroni.com/ is where the swag store goes Yes, I noticed "fulfilment is by Pimoroni" but that's technically another business as far as I can tell and they don't have a phone number either, nor an obvious system for returns beyond post it back at your expense and we'll think about what...
by Mettauk
Tue Dec 22, 2015 1:13 pm
Forum: Official Foundation Display
Topic: Pi Touch Screen falling apart - Contacting the Swag Store
Replies: 10
Views: 1213

Pi Touch Screen falling apart - Contacting the Swag Store

After I finally got round to trying to sort out a de-laminating Raspberry Pi touch screen after realigning it to many times, leaving it for a few months to "set" failed miserably. Info at http://swag.raspberrypi.org seems almost non existent, aside from a rather dodgy "policy" and an email address w...
by Mettauk
Tue Dec 22, 2015 12:02 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

I would google servoblaster, read the documentation, use the appropriate option, and then test. Thanks for the advise but I've given up and gone for a USB solution, mainly because I need pins for other things and expandability (manual gpio switching) and it seems USB audio is "good enough" I'm stil...
by Mettauk
Sun Dec 20, 2015 12:06 pm
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

joan wrote: I think by default servoblaster uses the PWM peripheral which conflicts with audio. It should have a startup option to use the PCM peripheral instead.
Er, how do I find this/change it to see if that resolves it?
by Mettauk
Sun Dec 20, 2015 11:59 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

Further attempt (borrowed a USB audio thingy) which works!! However, having tried a DAC card (with nothing interfering) I would rather go along that path simply because the sound is clearer/sharper. My other question is about overloading the "draw" on the Pi? 4 DS18B20 temp sensors being read every ...
by Mettauk
Sun Dec 20, 2015 11:26 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

Ah, yes your right, sorry, this was me fiddling using pHat DAC on a Pi zero with a DHT22 on gpio 21 which is a conflict. Iv'e just tried internal sound again (On Pi2) with my set up and it sounds terrible with a white noise type sound that wont stop without a reboot. I then tried moving the servos a...
by Mettauk
Sun Dec 20, 2015 9:46 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

Your diagram mentions ServoBlaster. If you are using servoblaster to drive the servos that may be using PWM which would stop audio working properly. How are you reading the DHT22? Yes, Servoblaster is used for the servo's (RPi Cam). I'm using python to get the temperatures including Adafruits DHT s...
by Mettauk
Sun Dec 20, 2015 1:21 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

Built-in audio sounds ok. If it crashes when you read the DHT22 then you ought to figure out why. What interference do you expect with a USB sound card? It's probably the best and cheapest option. Hissing and crackle on direct sound out. As to why calling the DHT22 causes problems, thats part of my...
by Mettauk
Sun Dec 20, 2015 12:48 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Re: Finding enough and the correct GPIO for a mixed project

Can't you use built-in audio? Or a USB audio dongle? No GPIO required. Thanks for that. Built in audio crashes whenever DHT22 is called, suspect if I moved it from gpio21 it might solve the problem but that's why i'm asking for help here, where to move stuff to to avoid problems with sound... Also ...
by Mettauk
Sun Dec 20, 2015 12:29 am
Forum: General discussion
Topic: Finding enough and the correct GPIO for a mixed project
Replies: 15
Views: 2352

Finding enough and the correct GPIO for a mixed project

I'm building a sauna and have got to the point of building the controls for lighting, heat, and monitoring. the test set up works OK but software needs further work. I have two way switching via manual and relays and temperature monitoring. However... I thought it would be nice to add audio inc warn...
by Mettauk
Thu Dec 17, 2015 9:52 pm
Forum: General discussion
Topic: Pi Zero £4 - how long can the A+ stay at £18 ???
Replies: 38
Views: 5440

Re: Pi Zero £4 - how long can the A+ stay at £18 ???

Monitor???? Run it headless and use the purchase change to buy a Pi0 or two!!
by Mettauk
Thu Dec 17, 2015 9:45 pm
Forum: General discussion
Topic: Pi Zero £4 - how long can the A+ stay at £18 ???
Replies: 38
Views: 5440

Re: Pi Zero £4 - how long can the A+ stay at £18 ???

While the Pi Zero is getting ridiculously expensive, another crowd funded project comes up with a considerably smaller version with full size USB and breakout thats only half the size of the now huge Zero!! https://www.crowdsupply.com/inverse-path/usb-armory Of course while the Pi Zero is a rip off ...
by Mettauk
Mon Dec 14, 2015 11:40 am
Forum: Camera board
Topic: OV5647 Discontinued
Replies: 15
Views: 12040

Re: OV5647 Discontinued

Well now, given a whole Pi0 computer is only £5 the updated camera module should only be around £3 but cut down on connectors, perhaps it will be missing a lens!
by Mettauk
Mon Dec 14, 2015 10:59 am
Forum: Camera board
Topic: OV5647 Discontinued
Replies: 15
Views: 12040

Re: OV5647 Discontinued

Wish list for updated camera module. (Probably too late)

1:Better night vision
2:Better resolution
3:Autofocus
4:IR Heat sensative
5:Changeable lenses
6:Smaller footprint
7:See round corners!

Given massive price drop of NOIR unit I'm guessing release of new module is iminant
by Mettauk
Tue Dec 01, 2015 5:53 am
Forum: Troubleshooting
Topic: dist-upgrade interrupted, now what?
Replies: 3
Views: 2420

dist-upgrade interrupted, now what?

The following packages will be upgraded: libpng12-0 libpng12-dev 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 439 kB of archives. After this operation, 104 kB disk space will be freed. Do you want to continue [Y/n]? y Get:1 http://mirrordirector.raspbian.org/raspbian/ ...
by Mettauk
Fri Nov 13, 2015 6:42 pm
Forum: Troubleshooting
Topic: Restoring a 32gb backed up Raspbian image
Replies: 5
Views: 761

Re: Restoring a 32gb backed up Raspbian image

RaTTuS wrote:backup partitions via rsync [on the network or locally added hard disk]
if you have to rebuild then burn a new image and or rsync back
Ug, not ideal, especially as restoring a back up to a new image may break what seems to be a fragile system.

Any other ideas anyone?
by Mettauk
Fri Nov 13, 2015 9:31 am
Forum: Troubleshooting
Topic: Restoring a 32gb backed up Raspbian image
Replies: 5
Views: 761

Re: Restoring a 32gb backed up Raspbian image

With same type of same manufacturer? There are (small but significant ) size variations between the indicated value such as 32 GB and the actual number of available blocks. Yes, I get that! However I'm looking for a more robust restore solution than having exactly the same matching cards. The probl...

Go to advanced search