Go to advanced search

by Grumpy Mike
Thu May 31, 2018 4:27 pm
Forum: Camera board
Topic: Quality Web Cam - not high res
Replies: 1
Views: 117

Quality Web Cam - not high res

I need a few quality Web Cams, just basic 640 x 480 resolution but it is pointing down at a light table. All the ones I have tried, including the Raspberry Pi's camera give washed out image. They seem resistance to accepting camera control parameters or to have those stick once they go through Pygam...
by Grumpy Mike
Sun May 27, 2018 9:10 am
Forum: Python
Topic: Pygame set_gamma doesn't work
Replies: 0
Views: 80

Pygame set_gamma doesn't work

Pygame set_gamma doesn't appear to work. I have tried gamma = 0.8 print(pygame.display.set_gamma(gamma,gamma,gamma)) and print(pygame.display.set_gamma(gamma)) and even pygame.display.set_gamma(gamma) The call is supposed to return true when successful and these calls in the print statement all prin...
by Grumpy Mike
Wed May 16, 2018 4:04 am
Forum: Python
Topic: Streaming a Pygame window
Replies: 2
Views: 149

Re: Streaming a Pygame window

Thanks for that.
It might do, I am after replaying clips from three Pi's on a big Mac ( without fries ).
by Grumpy Mike
Mon May 14, 2018 3:36 am
Forum: Python
Topic: Streaming a Pygame window
Replies: 2
Views: 149

Streaming a Pygame window

I have a Pygame window showing an animation. I would like stream this window over Wi-Fi or Ethernet for display on another remote computer. Most of the solutions I have seen on line involve saving each frame to a folder and then stitching them together as an animated GIF or converting them into a mo...
by Grumpy Mike
Fri Apr 27, 2018 12:07 pm
Forum: Troubleshooting
Topic: wrong i2c address
Replies: 12
Views: 5544

Re: wrong i2c address

write_byte(9, 0b00000000|0b00000000|0b00001100|0b00000001) #config

Is a rather silly line, it is the logic or of 4 bytes and could be replaced with:-
write_byte(9, 0b00001101) #config
Or even better if you replaced it with:-
write_byte(9, 0xD) #config
by Grumpy Mike
Mon Apr 23, 2018 4:16 pm
Forum: Raspbian
Topic: How to disable screen timeout? Raspbian Jessie
Replies: 8
Views: 15102

Re: How to disable screen timeout? Raspbian Jessie

Dosn't work on the new OS for the V3B+ Pi
by Grumpy Mike
Fri Apr 20, 2018 6:50 pm
Forum: Networking and servers
Topic: Getting Wi-Fi to work once you have followed a bad tutorial
Replies: 2
Views: 267

Getting Wi-Fi to work once you have followed a bad tutorial

As the previous (OLD) thread has been locked I have been told by the moderators to start a new one. So please read this first:- https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=164993&p=1305471#p1305471 Basically how can I get the Wi-Fi to work again after following out of date information, w...
by Grumpy Mike
Fri Apr 20, 2018 3:44 pm
Forum: Networking and servers
Topic: how to setup RPI wireless adhoc network without internet
Replies: 15
Views: 4466

Re: how to setup RPI wireless adhoc network without internet

Thanks but sadly failed at:- pi@raspberrypi3:~ $ sudo systemctl start hostapd pi@raspberrypi3:~ $ sudo systemctl start dnsmasq Job for dnsmasq.service failed. See 'systemctl status dnsmasq.service' and 'journalctl -xn' for details. pi@raspberrypi3:~ $ systemctl status dnsmasq.service ● dnsmasq.servi...
by Grumpy Mike
Tue Apr 17, 2018 3:38 pm
Forum: Networking and servers
Topic: how to setup RPI wireless adhoc network without internet
Replies: 15
Views: 4466

Re: how to setup RPI wireless adhoc network without internet

For a RPi3 there's an execellent article at: https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ It might have been an excellent article in 2016 but now it just bricks the Wi-Fi. Although half way through I saw the Pi3-AP server, but now no more. Tried the edits in th...
by Grumpy Mike
Thu Mar 01, 2018 10:47 am
Forum: Troubleshooting
Topic: Trying to install L2Ork - missing packages
Replies: 1
Views: 151

Trying to install L2Ork - missing packages

I am trying to install the sound processing L2Ork on a Pi3. It is a variant on the PD ( Pure Data ) language and has specific extensions for using the Pi's GPIO port. I have followed the instructions on http://l2ork.music.vt.edu/main/make-your-own-l2ork/software/raspberry-pi/ but I am still having p...
by Grumpy Mike
Sat Feb 17, 2018 3:18 pm
Forum: Troubleshooting
Topic: wrong i2c address
Replies: 12
Views: 5544

Re: wrong i2c address

its only the differences in address of resistors.
No the registers inside the chip are at a different address and they do different things. You need to read the data sheet to see what they are.
by Grumpy Mike
Sun Dec 31, 2017 6:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C not reliable on a Pi3
Replies: 12
Views: 5247

Re: I2C not reliable on a Pi3

I just used this:- def init(): global bus if rpi.RPI_REVISION == 1: i2c_bus = 0 else : i2c_bus = 1 bus = SMBus(i2c_bus) bus.write_byte_data(0x52,0xF0,0x55) def readDJ(): # Currently an issue with the I2C drivers or something that throws up an occasional error - this is the sticking plaster try: bus....
by Grumpy Mike
Fri Oct 27, 2017 8:03 pm
Forum: Python
Topic: Eval function in Python
Replies: 7
Views: 602

Eval function in Python

In the old BBC BASIC their was a function called Eval. It would take a string and evaluate it as if it were a typed in program line. This allowed you amongst other things to type in a formula from the keyboard and have a program use it as if it were a written part of the program. It could only do th...
by Grumpy Mike
Fri Aug 25, 2017 7:42 pm
Forum: General discussion
Topic: Raspberry PI 3 GPIO
Replies: 6
Views: 3326

Re: Raspberry PI 3 GPIO

I currently have a raspberry pi 3 and trying to get it interfaced to 4 5volt single relays. You can not do that without an interface of some sorts. The signals from the GPIO pins are only 3V3 and trying to connect them to a 5V signal could damage your Pi. How are you wiring up the relays to the Pi?...
by Grumpy Mike
Tue Aug 08, 2017 9:48 am
Forum: Python
Topic: Installing aubio for Python3
Replies: 4
Views: 702

Re: Installing aubio for Python3

Thanks scruss, that did the trick instantly. I guess it was all the previous efforts of loading stuff in. I'm not sure what could possibly be confusing about the installation instructions. Well their are too many options for a start, you need experience to know what options you want to ignore and as...
by Grumpy Mike
Mon Aug 07, 2017 2:25 pm
Forum: Python
Topic: Installing aubio for Python3
Replies: 4
Views: 702

Installing aubio for Python3

After a full day's frustration does anyone know a way to install aubio for Python3?
Sadly all the aubio.org pages are very confusing and don't actually work.
Anyone done this?
by Grumpy Mike
Wed Jun 28, 2017 6:11 pm
Forum: RISCOS
Topic: Is it possible to install RISC OS on a Pi Zero?
Replies: 19
Views: 7490

Re: Is it possible to install RISC OS on a Pi Zero?

Thanks a lot Etcher worked a treat.
Cheers
by Grumpy Mike
Wed Jun 28, 2017 4:12 pm
Forum: RISCOS
Topic: Is it possible to install RISC OS on a Pi Zero?
Replies: 19
Views: 7490

Re: Is it possible to install RISC OS on a Pi Zero?

Supported method is probably to run the latest NOOBS install on a network connected pi3 , select and install riscos I tried that and riscos does not come up as an option. Iv'e just tried R15 as I read this. Stock SD w/RiscOS wont boot on Pi0 but boots fine on original Pi Can you be a bit more speci...
by Grumpy Mike
Thu May 25, 2017 8:24 pm
Forum: Troubleshooting
Topic: wrong i2c address
Replies: 12
Views: 5544

Re: wrong i2c address

Any ideas on if it is possible to get this potentially fake device to give me something more useful than 0? If so, how? I would go with the links posted by @dpouw I have not had time to try it but I have downloaded the data sheet it looks like it might be the answer. The data sheet shows that it is...
by Grumpy Mike
Thu May 18, 2017 12:12 pm
Forum: Troubleshooting
Topic: wrong i2c address
Replies: 12
Views: 5544

Re: wrong i2c address

Yes I just got taken in with a fake HMC5883 board from eBay. On the fake board the chip is marked DA 5883 xxx those last four digits look like a manufacturing date code because mine said 5012. There is a thread in German discussing this:- http://www.forum-raspberrypi.de/Thread-magnetometer-hmc5883l-...
by Grumpy Mike
Tue Apr 04, 2017 10:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C not reliable on a Pi3
Replies: 12
Views: 5247

Re: I2C not reliable on a Pi3

Just to wrap things up. I put a sticking plaster over the problem to trap the error and re initialise the I2C when ever this error occurred, using a try: ... except.. structure. The code then did not crash. Now today upgrading to NOBOS V 2.3.0 fixed the problem, and one created I think by applying t...
by Grumpy Mike
Tue Apr 04, 2017 10:39 pm
Forum: Python
Topic: What ever happend to WiringPi?
Replies: 18
Views: 2268

Re: What ever happend to WiringPi?

Thanks for all the input, I have finally resolved the issue. The original I2C problem I had is in this link. https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=178000&p=1137681#p1137681 In it I was informed by notro that:- Phil recently added a commit to fix the i2c bus clock on 4.9: clk-bcm283...
by Grumpy Mike
Tue Apr 04, 2017 9:52 am
Forum: Python
Topic: What ever happend to WiringPi?
Replies: 18
Views: 2268

Re: What ever happend to WiringPi?

Thanks for your observations. But yes designed to take the faff out of just doing, it's not for you I guess. Well I would suggest it is not for beginners either. It is heading in the way that killed software writing on mainstream computers. By doing it all, sure you get things done, but you have to ...
by Grumpy Mike
Tue Apr 04, 2017 8:00 am
Forum: Python
Topic: What ever happend to WiringPi?
Replies: 18
Views: 2268

Re: What ever happend to WiringPi?

Thanks for your reply. However:- That and put up the code up with what you are doing and see if anyone can spot what's causing the problems. The problem is that the new operating system is not working, the old stuff worked fine, the code was fine and was published in the last 12 months in The MagPi ...
by Grumpy Mike
Mon Apr 03, 2017 7:46 pm
Forum: Python
Topic: What ever happend to WiringPi?
Replies: 18
Views: 2268

Re: What ever happend to WiringPi?

Thank you, that is helpful. I was talking to Gordon at the Pi Birthday party last month, I have known him for several years. As he is not a Python programmer he knows little about the python wrappers. First I would check what was updated since you last knew it worked. It was a kernel update to the n...

Go to advanced search