Go to advanced search

by ColonelDare
Tue May 25, 2021 3:36 pm
Forum: General
Topic: Thonny on Chromebook
Replies: 8
Views: 2228

Re: Thonny on Chromebook

It works!! :D I now have my Chromebook running Thonny, talking directly to my Pico RP2040 and seemingly doing it all properly. Starting on this forum, and then following some helpful tips on the MicroPython forum https://forum.micropython.org/viewtopic.php?f=21&t=10028 I moved my Chromebook up ...
by ColonelDare
Sun Feb 14, 2021 6:14 pm
Forum: MicroPython
Topic: Raspberry pi pico with BMP280
Replies: 54
Views: 6138

Re: Raspberry pi pico with BMP280

If you are using Thonny, you can open it in another tab. However, be sure that it is actually running on the Pico, not running from the local computer. Greg I am _so_ dumb, but now a little bit less so! Thanks Greg et al . I had downloaded bm p 280.py some days ago, further back on my meandering tr...
by ColonelDare
Sun Feb 14, 2021 2:47 pm
Forum: MicroPython
Topic: Raspberry pi pico with BMP280
Replies: 54
Views: 6138

Re: Raspberry pi pico with BMP280

What is line 52 in bmp280.py? That's my question. My program is cunningly called 'test5.py' (and is not 52 lines long), so the 'line 52' code must be imported from the Pico firmware<?> - but I don't know how to read that code. Thanks again for your interest. <stubborn> I don't want to give up on th...
by ColonelDare
Sun Feb 14, 2021 1:52 pm
Forum: MicroPython
Topic: Raspberry pi pico with BMP280
Replies: 54
Views: 6138

Re: Raspberry pi pico with BMP280

Thanks Greg, and Zmarties. Are you sure that you have a BMP280? BMP280 normally uses address 0x76. The 0x77 address was used by the previous BMP180 sensor. That's what it says on the tin. AdafruitBMP280.jpg And running Greg's code (thanks) I get:- >>> i2c.readfrom_mem(0x77, 0xD0, 2)[0] 88 >>> print(...
by ColonelDare
Sun Feb 14, 2021 10:38 am
Forum: MicroPython
Topic: Raspberry pi pico with BMP280
Replies: 54
Views: 6138

Re: Raspberry pi pico with BMP280

I think this should do - sorry can't test since I don't have the BMP280 to hand. from machine import I2C from bmx280 import BMX280 sda = machine.Pin(8) scl = machine.Pin(9) bus = machine.I2C(0, sda=sda, scl=scl) bmp = BMX280(bus, 0x76) print("Pressure: " + str(bmp.pressure)) print("T...
by ColonelDare
Sat Feb 13, 2021 4:13 pm
Forum: MicroPython
Topic: Raspberry pi pico with BMP280
Replies: 54
Views: 6138

Re: Raspberry pi pico with BMP280

Thanks for the link Divyam5129 but I am struggling to get your example code to run on my Pico/BMP280 (I2C). I am getting errors like: Traceback (most recent call last): File "<stdin>", line 5, in <module> File "bmp280.py", line 52, in __init__ OSError: I2C operation not supported...
by ColonelDare
Sun Feb 07, 2021 3:54 pm
Forum: MicroPython
Topic: OSError5 when reading from BME280 via I2C [solved]
Replies: 11
Views: 1489

Re: OSError5 when reading from BME280 via I2C [solved]

Thanks to those above for the help - I've spent a couple of days going round and round trying to map various examples that I found (Adafruit, RPi code etc) onto my new Pico with my _very_micro_ MicroPython skills [Micro**2Python?]. I now have: BTW This gets the chip_id val = i2c.readfrom_mem(0X76,0X...
by ColonelDare
Wed Dec 09, 2020 10:00 am
Forum: Troubleshooting
Topic: Chromium not interacting with system audio output choice for sound
Replies: 12
Views: 4052

Re: Chromium not interacting with system audio output choice for sound

Did you follow ALL the steps in the Blog to enable the PulseAudio Applet ?? You could always install the PA Mixer GUI sudo apt update sudo apt install pavucontrol Duh! Thanks for that - all working fine now, I just reinstalled the Sound icon to the task bar and the Pi in question (I have several ot...
by ColonelDare
Tue Dec 08, 2020 8:16 pm
Forum: Troubleshooting
Topic: Chromium not interacting with system audio output choice for sound
Replies: 12
Views: 4052

Re: Chromium not interacting with system audio output choice for sound

Raspberry Pi ARMHF Operating System has had a major update and therefore whilst ALSA is still the underlying audio, PulseAudio has not only replaced BlueAlsa but is also now the User Front End for all Audio: Agreed, Music players working fine (via HiFi Berry D2A card), Audacity working fine through...
by ColonelDare
Mon Dec 07, 2020 9:53 pm
Forum: Troubleshooting
Topic: [SOLVED] PulseAudio output is mono
Replies: 10
Views: 943

Re: [SOLVED] PulseAudio output is mono

We saw this thread when it first started, and are already on the case. Should be a software fix released via apt soon. Will flag it when its ready. Excellent and thankyou! - that is why I love Opensource software and the community around it. I doubt we would see that sort of turnround from other fr...
by ColonelDare
Mon Dec 07, 2020 10:08 am
Forum: Troubleshooting
Topic: [SOLVED] PulseAudio output is mono
Replies: 10
Views: 943

Re: [SOLVED] PulseAudio output is mono

Seconded! :-)
Also if any moderator or other staff can pickup this solution and pass it on to someone that can get it into an update so it can be shared to everyone on there next update.

Again big thanks for aert077!
by ColonelDare
Sun Dec 08, 2019 7:21 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

W. H. Heydt wrote:
Sun Dec 08, 2019 6:09 pm
"Getting your hand dirty" (in terms of code) is pretty much the entire reason the Pi exists.
Yes, I know. I think you miss my point.
by ColonelDare
Sun Dec 08, 2019 5:19 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

I mean https://clementine-player.github.io/pages/images//screenshots/clementine-0.4-3.png when I say visualisations. Clementine uses libprojectm for the sound reactive graphics which is why it wants OpenGL. Thanks for pointing that out, but I don't need that option and having used Clementine for at...
by ColonelDare
Sun Dec 08, 2019 4:07 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

Maybe. Strawberry doesn't use OpenGL as it doesn't have the visualisations that Clementine has. That means the QT5 + OpenGL problem shouldn't affect Strawberry. There has been significant changes made in Strawberry though so you may want to try it on a Windows/OSX machine first to see if you even l...
by ColonelDare
Sun Dec 08, 2019 3:07 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 Thread - general discussion

Yes, can we please go back on topic?! May I at least change the subject? As we moved onto the Pi 4 we lost the ability to run Stretch (I believe), sadly one of my favorite music players Clementine won't run due to GT5 (I believe, c/o helpful Pugwash back in June.) My post on Page 36 of this forum s...
by ColonelDare
Tue Dec 03, 2019 8:50 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

Back in June I was all sad because I lost Clementine (and thank you for the helpful explanation anyway). I have just spotted the Strawberry Music Player currently being developed based on Clementine. see: https://github.com/jonaski/strawberry Further to my post above, I have tried compiling Strawbe...
by ColonelDare
Tue Nov 26, 2019 5:43 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

Back in June I was all sad because I lost Clementine (and thank you for the helpful explanation anyway). I have just spotted the Strawberry Music Player currently being developed based on Clementine. see: https://github.com/jonaski/strawberry Is there any hope this might be a way forward? I have bee...
by ColonelDare
Sat Jul 06, 2019 1:55 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 617
Views: 411236

Re: Raspberry Pi 4 temperature

Oh dearie-me!! I installed vl805_update_0137a8 this morning and it all broke!! Much of it my fault I guess but, f.y.i., I was going off-piste booting from SD => /root partition on USB3 SSD (240GB) having sort-of followed this article c/o Znet: https://www.zdnet.com/article/raspberry-pi-adding-an-ssd...
by ColonelDare
Wed Jul 03, 2019 10:25 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

Does anyone know what happened to Clementine in the Buster repos? I use it lots, on several devices, and will miss it if I have to move up from Stretch :-( It looks like it got caught up in the QT opengl es mess. Debian builds (and raspbian doesn't change this) QT5 against opengl ES on armel and ar...
by ColonelDare
Tue Jul 02, 2019 9:01 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Re: Raspberry Pi 4 and Clementine

EDIT: I took a quick look at the Buster repos and I only saw ARM64 builds, which is probably why you can't find it in Raspbian (32-bit). Give the Pi version I linked above a try, and if that doesn't work you could try building it from source. Thanks for the quick reply, but Clementine _is_ in the S...
by ColonelDare
Tue Jul 02, 2019 7:57 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 224029

Raspberry Pi 4 and Clementine

Does anyone know what happened to Clementine in the Buster repos?
I use it lots, on several devices, and will miss it if I have to move up from Stretch :-(
by ColonelDare
Fri Jun 28, 2019 10:05 am
Forum: General discussion
Topic: Raspberry PI 4 boot from HDD
Replies: 18
Views: 15563

Re: Raspberry PI 4 boot from HDD

Heater: I also sometimes suspect there are "fake" newbies turning up to post negative comments about the Pi 4, you know, competitors trying to put a spanner in the works. Clearly the work of the evil Mekon and his lakeys - the Pi 4 is BRILLIANT, many thanks!, but like Vladimir I was travel...
by ColonelDare
Thu Nov 16, 2017 2:28 pm
Forum: General discussion
Topic: Sense HAT not recognised on Raspbian Stretch
Replies: 10
Views: 3091

Re: Sense HAT not recognised on Raspbian Stretch

Duh!!! I hope I haven't wasted your time ('tho Thonny does behave differently to IDLE3). I now realize that both (LXT)Python3 and IDLE 3 do run OK if I put my programs in the Home directory and run everything from there. Previously I was running from "~/SenseHat/Code $ python3 env.py", or ...
by ColonelDare
Thu Nov 16, 2017 12:54 pm
Forum: General discussion
Topic: Sense HAT not recognised on Raspbian Stretch
Replies: 10
Views: 3091

Re: Sense HAT not recognised on Raspbian Stretch

Sorry, yes, I meant LXTerminal when I said [CLI]. I seem to be having the same problem with several programs but I have fallen back to the simplest to KIS. Runs fine on Thonny but fails on both IDLE3 (& 2) and LXTerminal. I can post others but I doubt it would help: My code env.py (copy and past...
by ColonelDare
Thu Nov 16, 2017 11:13 am
Forum: General discussion
Topic: Sense HAT not recognised on Raspbian Stretch
Replies: 10
Views: 3091

Re: Sense HAT not recognised on Raspbian Stretch

Thank you DirkS - that seemed to let DougieL's command run to completion but Sense HAT still broken in IDLE and via the CLI python3 command.

[Dougie] Yes, I see your logic but it's running headless via python that I had hope to achieve, but Thonny is a workaround I guess.

Thanks for helping.

Go to advanced search