Go to advanced search

by rickticktock
Mon Apr 13, 2020 8:27 am
Forum: Troubleshooting
Topic: Playstation controller via Bluetooth
Replies: 1
Views: 52

Playstation controller via Bluetooth

I say chaps, I've got a PS3 controller working on one RPi3 but not on another RPi3. Not on Bluetooth or even via USB. Even swapping the MicroSD chips over doesn't make the other one work the PS3. The second RPi3 is about 2 years older. Is there a subtle difference in firmware perhaps? What to do? TT...
by rickticktock
Tue Apr 07, 2020 5:37 pm
Forum: Python
Topic: Get output from Terminal into Python
Replies: 2
Views: 162

Re: Get output from Terminal into Python

Thanks. That was useful. Once I figured out how to use the "dictionary" function on the returned string I was able to assign actions to buttons. e.g. if (self.button_data[3])==True: GPIO.output(37, GPIO.HIGH) # Turn on if (self.button_data[3])==False: GPIO.output(37, GPIO.LOW) # Turn off
by rickticktock
Sat Apr 04, 2020 1:30 pm
Forum: Python
Topic: Get output from Terminal into Python
Replies: 2
Views: 162

Get output from Terminal into Python

I say chaps, I have a problem with a PS3 joystick. Got it pairing with Bluetooth but then in the terminal... [email protected]:~ $ jstest /dev/input/js0 Driver version is 2.1.0. Joystick (Sony PLAYSTATION(R)3 Controller) has 6 axes (X, Y, Z, Rx, Ry, Rz) and 17 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, Bt...
by rickticktock
Fri Apr 03, 2020 3:57 pm
Forum: Beginners
Topic: At wit's end with joystick
Replies: 1
Views: 124

Re: At wit's end with joystick

I say chaps, I have a similar problem with a PS3 joystick. Got it pairing with Bluetooth but then in the terminal... [email protected]:~ $ jstest /dev/input/js0 Driver version is 2.1.0. Joystick (Sony PLAYSTATION(R)3 Controller) has 6 axes (X, Y, Z, Rx, Ry, Rz) and 17 buttons (BtnA, BtnB, BtnX, BtnY, B...
by rickticktock
Thu Mar 26, 2020 10:07 am
Forum: General discussion
Topic: Direct telescope control of Meade RA & Dec drives
Replies: 10
Views: 4967

Re: Direct telescope control of Meade RA & Dec drives

I say chaps, I'm afraid I couldn't get any of that to work for me, so I'm going back to basics. I obtained a Sony PS3 game controller, and intend to use that as a basic two motor control. So, if I do "jstest" on the console I get a string of text with changing numbers and on-off values, indicating t...
by rickticktock
Thu Feb 20, 2020 9:42 am
Forum: Advanced users
Topic: /home/pi/Downloads onto external hard drive?
Replies: 4
Views: 280

Re: /home/pi/Downloads onto external hard drive?

I say chaps,
Thank you for your useful suggestions. I will now try them.
TTFN
by rickticktock
Mon Feb 17, 2020 4:32 pm
Forum: Advanced users
Topic: /home/pi/Downloads onto external hard drive?
Replies: 4
Views: 280

/home/pi/Downloads onto external hard drive?

I say chaps,
Is it possible to choose where downloads are put by default? I should like to use a USB 1TB hard drive for this purpose, leaving the MicroSD just for programs and OS.
TTFN
by rickticktock
Sat Apr 06, 2019 3:53 pm
Forum: Other projects
Topic: Raspberry Pi into iMacG4
Replies: 2
Views: 649

Raspberry Pi into iMacG4

I say chaps,
I've got this iMac G4 (swan-neck thing you may recall) which I like the look of, but it's pretty useless these days.
Thought I might rip most of its guts out and put in a Pi!
Would have to interface HDMI to the screen.
Anyone ever try this?
TTFN
rickticktock
by rickticktock
Tue Mar 26, 2019 10:54 am
Forum: Python
Topic: GPIO hindered by print statements.
Replies: 8
Views: 469

Re: GPIO hindered by print statements.

I say chaps, Thank you all for your useful responses. The effect I'm getting is that pulses are forgotten altogether while printing is in process. I might try a small "sleep" after each "print". Absolute timing is not important here, the shifting in of data just advances by the shift_clock, then, af...
by rickticktock
Mon Mar 25, 2019 3:43 pm
Forum: Python
Topic: GPIO hindered by print statements.
Replies: 8
Views: 469

Re: GPIO hindered by print statements.

The indents didn't paste across for some reason.
by rickticktock
Mon Mar 25, 2019 3:40 pm
Forum: Python
Topic: GPIO hindered by print statements.
Replies: 8
Views: 469

GPIO hindered by print statements.

I say chaps, Here is a snippet of code: Note that I had print statements and a colourful display to help get this right, but they caused the problems. The printed result and the display said it was all working fine, but an oscilloscope on the GPIO pins told another story, of missed pulses. After I c...
by rickticktock
Thu Nov 01, 2018 12:56 pm
Forum: Mathematica
Topic: Mathematica and GPIO
Replies: 3
Views: 7717

Re: Mathematica and GPIO

Thanks both, for those answers.
by rickticktock
Thu Nov 01, 2018 12:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi-3 - Power via GPIO
Replies: 14
Views: 26034

Re: RPi-3 - Power via GPIO

This is another case where a schematic would be useful. So far as I can tell, all the USB sockets, the +5 GPIO pins and the +5 power input are copper connected.
by rickticktock
Mon Oct 29, 2018 9:53 am
Forum: Mathematica
Topic: Mathematica and GPIO
Replies: 3
Views: 7717

Mathematica and GPIO

I say chaps, I've got a "real world, real time" situation, with sensors and things to control, which I can do with GPIO and, perhaps, Python to pull the strings, but some heavy maths (multi-variable optimisation) in between. Rather than spend a lot of time writing Python code, I thought I might pull...
by rickticktock
Wed Sep 26, 2018 9:09 am
Forum: Advanced users
Topic: Full schematic for the Pi3 and Zero
Replies: 39
Views: 44184

Re: Full schematic for the Pi3 and Zero

Hippy, I think you're right. None of the 4 SMPS outputs had any voltage. The DVM readings floated about at a few mV, implying open circuits. Also, it seems that order of bringing up the power rails is important so even connecting a bunch of bench power supplies won't do. I've binned it and ordered a...
by rickticktock
Tue Sep 25, 2018 8:44 pm
Forum: Advanced users
Topic: Full schematic for the Pi3 and Zero
Replies: 39
Views: 44184

Re: Full schematic for the Pi3 and Zero

I could prune the appropriate inductor on the output of the 3V3 regulator. First, I will check all the regulator outputs to see which, if any, still work.
by rickticktock
Tue Sep 25, 2018 4:47 pm
Forum: Advanced users
Topic: Full schematic for the Pi3 and Zero
Replies: 39
Views: 44184

Re: Full schematic for the Pi3 and Zero

Hi Dirk,
It didn't get at all hot, it just died. The MXL7704 quad power supply features over-current protection so I'm surprised it did not resurrect without the faulty breadboard connected.
TTFN
rickticktock
by rickticktock
Tue Sep 25, 2018 4:09 pm
Forum: Advanced users
Topic: Full schematic for the Pi3 and Zero
Replies: 39
Views: 44184

Re: Full schematic for the Pi3 and Zero

I've just bricked my Pi 3 B+ because of a short, 3.3 to GND, on a breadboard I had connected :( . I was wondering if pruning out a 3-terminal regulator and feeding 3.3V back in through the GPIO would work. Red LED lights, green doesn't. A schematic would be useful!
TTFN
rickticktock
by rickticktock
Wed Sep 12, 2018 2:31 pm
Forum: Troubleshooting
Topic: Installing bitstring
Replies: 4
Views: 708

Re: Installing bitstring

sudo pip3 install bitstring worked for me, thanks.
So why is there more than one version of Python in the NOOBS install? It just means that when I install some module it disappears into a pit of darkness. I should like to use 3.5.3, and delete earlier versions.
TTFN
by rickticktock
Mon Aug 20, 2018 10:55 am
Forum: Troubleshooting
Topic: Installing bitstring
Replies: 4
Views: 708

Installing bitstring

On my Pi at the command line I typed
pip install bitstring
then in the Python shell I typed
help ("modules")
but bitstring doesn't show in the list.
I tried on my W10 machine as well, same result. What to do?
TTFN

Go to advanced search