Go to advanced search

by gordon77
Wed Sep 18, 2019 8:00 am
Forum: Off topic discussion
Topic: A modest (passive) suggestion
Replies: 9
Views: 203

Re: A modest (passive) suggestion

with 1 in each usb socket , bent upwards, you could make a drone ;)
by gordon77
Mon Sep 16, 2019 9:41 am
Forum: Beginners
Topic: Soldering
Replies: 22
Views: 460

Re: Soldering

Let me try to better clarify. I have a perforated board and say I want to solder an LED to the board. I can easily solder the two poles of the LED onto the board. Now I need to attach a pos and ground to the LED. What I did was bend the wires coming through the bottom of the board so they were touc...
by gordon77
Sun Sep 15, 2019 5:50 pm
Forum: Beginners
Topic: Raspberry Pi 4 Fan
Replies: 7
Views: 227

Re: Raspberry Pi 4 Fan

I used a 12v fan on 5v with no issues, and practically no noise
by gordon77
Sun Sep 15, 2019 9:12 am
Forum: General discussion
Topic: Laptop speakers with Raspberry PI
Replies: 25
Views: 548

Re: Laptop speakers with Raspberry PI

Are they simply 2 speakers, each with 2 wires going to a 4 pin connector ? You will need an amplifier HAT or external amplifier. Maybe something like this https://thepihut.com/products/adafruit-stereo-bonnet-pack-for-raspberry-pi-zero-w-includes-pi-zero-w?variant=31955947985 but I a not sure its the...
by gordon77
Sat Sep 14, 2019 6:28 pm
Forum: Beginners
Topic: Music player
Replies: 11
Views: 269

Re: Music player

You might like to try this python script l've been working on...

https://github.com/Gordon999/Pi-MP3_Player

It will work on a pi and desktop monitor.
by gordon77
Tue Sep 10, 2019 5:40 pm
Forum: Raspbian
Topic: bad symbol in keyboard
Replies: 2
Views: 112

Re: bad symbol in keyboard

Which language is the keyboard set as?

choose Preferences > Raspberry Pi Configuration > Localisation > Keyboard
by gordon77
Tue Sep 10, 2019 3:39 pm
Forum: Beginners
Topic: it there any way to know if I my speaker is connected?
Replies: 2
Views: 88

Re: it there any way to know if I my speaker is connected?

How is the speaker connected?

What about a microphone to listen to the speaker and connect back to the Pi, with suitable interface, then send a sound and listen.

Microswitch on the speaker cone connected to the Pi?
by gordon77
Sun Sep 08, 2019 9:57 am
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

Re: MP3 player

by gordon77
Fri Sep 06, 2019 8:36 am
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

Re: MP3 player

Removed
by gordon77
Fri Sep 06, 2019 7:30 am
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

Re: MP3 player

cmrincon wrote:
Fri Sep 06, 2019 7:22 am
Have you thought about add m3u song lists?

It would be a very nice feature.
What features would you like from m3u?
by gordon77
Wed Sep 04, 2019 4:56 pm
Forum: Troubleshooting
Topic: Is this normal missing P?
Replies: 4
Views: 182

Re: Is this normal missing P?

Who's taking the P? ;)
by gordon77
Wed Sep 04, 2019 3:21 pm
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

Re: MP3 player

I have implemented most of scotty101's suggestions, except using .grid which still confuses me when I try to get the required layout !, and fixed a few issues.
by gordon77
Mon Sep 02, 2019 4:06 pm
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

Re: MP3 player

Thanks scotty101.

All taken in good faith, always useful to learn.

I'll get these suggestions included.

Gordon
by gordon77
Mon Sep 02, 2019 1:27 pm
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

Re: MP3 player

scotty101 wrote:
Mon Sep 02, 2019 1:16 pm
Would you be open to some constructive feedback on your code?
There are a few things that could help improve your code and make it more "pythonic"
No problem.

Isn't that what github is about ?
by gordon77
Mon Sep 02, 2019 1:00 pm
Forum: Python
Topic: MP3 player
Replies: 12
Views: 402

MP3 player

To replace my ageing PC which is used to play my mp3 music l wrote a python script for the Pi.

If you want to try it it's on github

https://github.com/Gordon999/Pi-MP3_Player
by gordon77
Sat Aug 31, 2019 12:48 pm
Forum: General discussion
Topic: Strange GPIO behavior - need advise please
Replies: 11
Views: 379

Re: Strange GPIO behavior - need advise please

as asked, several meters of cable, and 1k resistors.. I used GPIO 12 and 16 as convenient for me. 5 second polling. BOTH operated independently Sat Aug 31 13:44:42 2019 cyclic poll. Pin 12 is: 1 Pin 16 is: 1 Sat Aug 31 13:44:47 2019 cyclic poll. Pin 12 is: 1 Pin 16 is: 1 Sat Aug 31 13:44:49 2019 cal...
by gordon77
Sat Aug 31, 2019 11:42 am
Forum: General discussion
Topic: Strange GPIO behavior - need advise please
Replies: 11
Views: 379

Re: Strange GPIO behavior - need advise please

Nothing wrong with your code works fine on my Pi with switches.

How have you wired them ?
by gordon77
Sat Aug 31, 2019 9:45 am
Forum: Python
Topic: Reading + writing a Queue
Replies: 17
Views: 596

Re: Reading + writing a Queue

I'd store that stuff in an SQLite3 database. INSERT, SELECT, DELETE is easier than fread, fwrite, fseek. Only rule with SQLite3 is one writer, multiple readers. You can't update a database from two tasks or it rapidly goes badly wrong with a locked database. Nice to know. I only read once at startu...
by gordon77
Sat Aug 31, 2019 9:28 am
Forum: Python
Topic: Reading + writing a Queue
Replies: 17
Views: 596

Re: Reading + writing a Queue

I decided to have a go at writing a python3 MP3 Player.

Now at https://github.com/Gordon999/Pi-MP3_Player
by gordon77
Wed Aug 28, 2019 1:14 pm
Forum: General discussion
Topic: Recommendation for a quiet fan?
Replies: 11
Views: 473

Re: Recommendation for a quiet fan?

The quietest l found was a 12v fan running off 5v
by gordon77
Tue Aug 27, 2019 8:31 pm
Forum: Beginners
Topic: How to auto-boot a python3 program in Thonny
Replies: 18
Views: 409

Re: How to auto-boot a python3 program in Thonny

You do boot into the GUI?
by gordon77
Tue Aug 27, 2019 8:16 pm
Forum: Beginners
Topic: How to auto-boot a python3 program in Thonny
Replies: 18
Views: 409

Re: How to auto-boot a python3 program in Thonny

Still no luck, so here is what I have in /etc/xdg/lxsession/LXDE-pi/autostart @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash point-rpi @sudo /usr/bin/python3 /home/pi/SerialTest.py And yes, my SerialTest27.py program is indeed in /home/pi/ directory Great h...
by gordon77
Tue Aug 27, 2019 7:55 pm
Forum: Beginners
Topic: How to auto-boot a python3 program in Thonny
Replies: 18
Views: 409

Re: How to auto-boot a python3 program in Thonny

What line did you add?
by gordon77
Tue Aug 27, 2019 7:23 pm
Forum: Beginners
Topic: How to auto-boot a python3 program in Thonny
Replies: 18
Views: 409

Re: How to auto-boot a python3 program in Thonny

I don't believe you need to boot Thonny, just your python3 script. Try using /etc/xdg/lxsession/LXDE-pi/autostart sudo nano /etc/xdg/lxsession/LXDE-pi/autostart e. g. To run a python script add... @sudo /usr/bin/python /home/pi/filename.py Then press ctrl & X, and then Y and enter. To Make the file ...

Go to advanced search