Go to advanced search

by rpiMike
Fri May 17, 2019 3:36 pm
Forum: Gaming
Topic: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Replies: 369
Views: 172051

Re: Trying to make pi run minecraft 1.14.1

jack jobby wrote:
Fri May 17, 2019 2:22 pm
I found the cp path list for 1.14.1 but could not find ‘ net.minecraft.launchwrapper.Launch’ in it so would it be possible for somebody to send me the correct cp ?
Not possible unless you can get LWJGL3 compiling for ARM.

https://github.com/LWJGL/lwjgl3/issues/206
by rpiMike
Fri May 17, 2019 9:00 am
Forum: Beginners
Topic: Where can I find reliable wire jumpers?
Replies: 3
Views: 127

Re: Where can I find reliable wire jumpers?

Google 'dupont jumper wires'
by rpiMike
Thu May 16, 2019 6:47 am
Forum: Python
Topic: Can Someone Help Me Start My Program With A Button
Replies: 8
Views: 207

Re: Can Someone Help Me Start My Program With A Button

Why not have your program wait for the button press. When the button is pressed turn propellor and play sound. Then loop back to waiting for button press.
by rpiMike
Mon May 13, 2019 10:14 pm
Forum: Beginners
Topic: Pitop help
Replies: 15
Views: 227

Re: Pitop help

This might give you some ideas:

https://assadollahi.de/pocketpi/
by rpiMike
Sun May 12, 2019 9:12 am
Forum: Python
Topic: Python loading background
Replies: 1
Views: 87

Re: Python loading background

What library are you using for your GUI?

Why not as the very first part of your Python code clear the screen black?
by rpiMike
Wed May 08, 2019 6:30 am
Forum: Graphics, sound and multimedia
Topic: LCD display issue
Replies: 2
Views: 193

Re: LCD display issue

What make and model of screen is it? What resolution?

I assume you're running the latest Raspbian Stretch with Desktop?
by rpiMike
Thu May 02, 2019 4:30 pm
Forum: Graphics, sound and multimedia
Topic: Headless (Raspian LITE?) video player options? Black screen during and after VLC.
Replies: 4
Views: 200

Re: Headless (Raspian LITE?) video player options? Black screen during and after VLC.

I've used the omxplayer wrapper in python to keep 2 instances of omxplayer running then flip between them instantly (using layers if I remember).

https://python-omxplayer-wrapper.readth ... en/latest/
by rpiMike
Tue Apr 30, 2019 10:15 pm
Forum: Troubleshooting
Topic: Circuit wiring issue.
Replies: 5
Views: 208

Re: Circuit wiring issue.

I had one of those 'cheaper' T cobbler boards - which had 2 or 3 shorted pins caused by bridged solder joints.

https://www.amazon.co.uk/gp/customer-re ... B01LXZQFPF
by rpiMike
Mon Apr 29, 2019 10:28 am
Forum: General discussion
Topic: Best portable starter kit
Replies: 5
Views: 141

Re: Best portable starter kit

by rpiMike
Sun Apr 28, 2019 3:46 pm
Forum: Advanced users
Topic: [Resolved] Bare Metal MicroPython
Replies: 4
Views: 195

Re: Bare Metal MicroPython

Why not post an issue on their GitHub page?
by rpiMike
Thu Apr 25, 2019 1:55 pm
Forum: Troubleshooting
Topic: Need help with LED'S on rpm 3b+
Replies: 7
Views: 159

Re: Need help with LED'S on rpm 3b+

Post a photo including both ends and you're wiring.
by rpiMike
Thu Apr 25, 2019 1:45 pm
Forum: Python
Topic: Code won't work. name 'ws' is not defined
Replies: 7
Views: 298

Re: Code won't work. name 'ws' is not defined

Go_Hawks wrote:
Thu Apr 25, 2019 1:25 pm
Sorry, yes, the code on the previously mentioned website does work but, no, it isn't what we are using.
This is the one we are using:

pplaviation.wordpress.com/creating-a-metar-map/
https://pplaviationuk.wordpress.com/cre ... metar-map/
by rpiMike
Thu Apr 25, 2019 12:45 pm
Forum: Troubleshooting
Topic: Need help with LED'S on rpm 3b+
Replies: 7
Views: 159

Re: Need help with LED'S on rpm 3b+

Have you got the correct end of the LED's connected - one end is input other end is output.
by rpiMike
Thu Apr 25, 2019 11:18 am
Forum: Python
Topic: Python3 Code on Pi3 won't run on Zero
Replies: 3
Views: 248

Re: Python3 Code on Pi3 won't run on Zero

I don't think you will get this running reliably on a Pi Zero - what is the cpu and ram utilisation on your Pi3?
by rpiMike
Wed Apr 24, 2019 8:47 am
Forum: Troubleshooting
Topic: GPIO Output unable to switch on LED
Replies: 3
Views: 110

Re: GPIO Output unable to switch on LED

I think you have installed a very old version of RPi.GPIO

It would have already been pre-installed. The following should install the latest:

Code: Select all

pip3 install RPi.GPIO
Check with the following code (should be 0.6.5):

Code: Select all

import RPi.GPIO as GPIO
print('RPi.GPIO:',GPIO.VERSION)
Then re-try your code.
by rpiMike
Tue Apr 23, 2019 6:21 am
Forum: General discussion
Topic: How to send data to computer, and process
Replies: 3
Views: 122

Re: How to send data to computer, and process

What size image are you processing?
by rpiMike
Mon Apr 22, 2019 6:39 am
Forum: Beginners
Topic: connecting multiple sensors
Replies: 12
Views: 432

Re: connecting multiple sensors

Hi all, Is there any way to connect mq2 sensor to raspberry pi 3 without mcp3002 chip. I couldnt find an mcp3002 chip at stores. Which country are you in? In the UK you can get them here: https://uk.farnell.com/microchip/mcp3002-i-p/ic-adc-10bit-200ksps-pdip-8/dp/1852015?st=mcp3002 Alternatively yo...
by rpiMike
Sat Apr 13, 2019 3:05 pm
Forum: Gaming
Topic: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Replies: 369
Views: 172051

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Do you mean you get permission denied running './runOptifine1_12_1.sh' ?

Did you 'sudo chmod +x runOptifine1_12_1.sh' (end of step 12)
by rpiMike
Fri Apr 12, 2019 7:13 am
Forum: HATs and other add-ons
Topic: Waveshare 7" touch screen (C) little flicker
Replies: 2
Views: 152

Re: Waveshare 7" touch screen (C) little flicker

Try changing frequency from 50 to 60:

hdmi_cvt 1024 600 60 3 0 0 0
by rpiMike
Wed Apr 10, 2019 9:40 am
Forum: Off topic discussion
Topic: Learning Electronics
Replies: 56
Views: 2476

Re: Learning Electronics

I recently had some PCBs manufactured by https://aisler.net, 3 boards for about £20.

I used fritzing to design the boards.

Image
by rpiMike
Wed Apr 10, 2019 7:59 am
Forum: Python
Topic: Help required with multi-day script for mp3 playback
Replies: 9
Views: 632

Re: Help required with multi-day script for mp3 playback

You should be able to change the volume with:

player.set_volume(0.5)

I think a sensible range is 0 to 1, the documentation says 0 to 10.

https://python-omxplayer-wrapper.readth ... omxplayer/

I assume your speaker is amplified?
by rpiMike
Tue Apr 09, 2019 10:05 pm
Forum: Python
Topic: Help required with multi-day script for mp3 playback
Replies: 9
Views: 632

Re: Help required with multi-day script for mp3 playback

The folder name is currently just the day of the month (1 to 31) depending on the month padded with leading zeros up to 3 digits.

The 10th would be 010

Another way to format your full date string would be:

folder = now.strftime('%Y-%m-%d')
by rpiMike
Tue Apr 09, 2019 2:15 pm
Forum: Python
Topic: Help required with multi-day script for mp3 playback
Replies: 9
Views: 632

Re: Help required with multi-day script for mp3 playback

This is how I would implement it. Wait until required time. Work out folder name. Get list of files. Pop file off list and play using omxplayer-wrapper until list empty. Repeat. import datetime,time,glob,signal,sys from omxplayer.player import OMXPlayer # pip3 install omxplayer-wrapper def playerExi...
by rpiMike
Mon Apr 08, 2019 11:01 pm
Forum: Gaming
Topic: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Replies: 369
Views: 172051

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

The latest version that is currently possible is 1.12.2

1.13 and above requires lwjgl3 which is not available on the Pi - yet

https://github.com/LWJGL/lwjgl3/issues/206

Go to advanced search