Go to advanced search

by rpiMike
Tue Feb 11, 2020 9:22 pm
Forum: Beginners
Topic: Older Raspbian versions....
Replies: 12
Views: 260

Re: Older Raspbian versions....

What doesn't work ?
by rpiMike
Thu Feb 06, 2020 1:35 pm
Forum: Beginners
Topic: Fitting a fan without using GPIO?
Replies: 20
Views: 407

Re: Fitting a fan without using GPIO?

Google: GPIO splitter

Might be an option.
by rpiMike
Thu Feb 06, 2020 10:48 am
Forum: Raspbian
Topic: display cpu temp on desktop without terminal window
Replies: 2
Views: 124

Re: display cpu temp on desktop without terminal window

Just add the CPU Temperature Monitor to the taskbar.

Right click the taskbar, 'Add/Remove panel items', Add, Select 'CPU temperature monitor'.

Image
by rpiMike
Thu Feb 06, 2020 8:41 am
Forum: Troubleshooting
Topic: Raspberry Pi 4B – Don't get output video
Replies: 6
Views: 164

Re: Raspberry Pi 4B – Don't get output video

Don’t use noobs, flash the Raspbian Buster with Desktop image (Don’t unzip) direct to the sd card with Etcher.

https://www.raspberrypi.org/downloads/raspbian/

https://www.balena.io/etcher/
by rpiMike
Thu Feb 06, 2020 8:32 am
Forum: HATs and other add-ons
Topic: Overheat in altitude
Replies: 2
Views: 143

Re: Overheat in altitude

Why are you using a PoE HAT on a balloon? I’m guessing the Pi will be powered by a battery?
by rpiMike
Tue Feb 04, 2020 3:56 pm
Forum: Raspbian
Topic: Minecraft 1.14.4 on Raspbian Buster and RPi4
Replies: 35
Views: 2818

Re: Minecraft 1.14.4 on Raspbian Buster and RPi4

wow that was quick thank you I have a 2G Pi4 and it was able to get further i got error [email protected]:~/Minecraft $ mousepad runMC1_14_4_OptifineF3.sh bash: mousepad: command not found If mousepad isn't installed try leafpad. leafpad runMC1_14_4_OptifineF3.sh Or just use any text editor to edit th...
by rpiMike
Tue Feb 04, 2020 9:15 am
Forum: Beginners
Topic: GPIO outputs
Replies: 11
Views: 405

Re: GPIO outputs

Have you got long wires between the buttons and GPIO pins?
by rpiMike
Tue Feb 04, 2020 8:56 am
Forum: Beginners
Topic: GPIO outputs
Replies: 11
Views: 405

Re: GPIO outputs

GPIO 4 is the default pin for the 1 wire interface. Check it’s disable in Raspberry Pi Configuration or use a different pin.
by rpiMike
Sun Feb 02, 2020 7:21 am
Forum: Python
Topic: Python code not able to turn on GPIO
Replies: 3
Views: 150

Re: Python code not able to turn on GPIO

Add time.sleep(5) after each output statement.
by rpiMike
Tue Jan 28, 2020 10:55 pm
Forum: Python
Topic: Python Upgrade
Replies: 3
Views: 368

Re: Python Upgrade

kenidowa wrote:
Tue Jan 28, 2020 10:42 pm
If I reflash Raspian to get latest don't I wipe out everything on the card?
Yes. Either backup your files or use a new sd card.
by rpiMike
Mon Jan 27, 2020 10:03 pm
Forum: Troubleshooting
Topic: VLC player - Full screen doesn't show video
Replies: 4
Views: 274

Re: VLC player - Full screen doesn't show video

Are you using Raspbian Buster fully updated? Which model Pi? What resolutions screen? What format and resolution of video?
by rpiMike
Mon Jan 27, 2020 5:37 pm
Forum: Beginners
Topic: Controlling python robot over network long button press
Replies: 6
Views: 151

Re: Controlling python robot over network long button press

I used Python websockets to control a Pi robot from another Pi with joystick.

https://websockets.readthedocs.io/en/stable/intro.html
by rpiMike
Fri Jan 24, 2020 11:45 pm
Forum: Python
Topic: PIR motion detection code
Replies: 13
Views: 377

Re: PIR motion detection code

by rpiMike
Fri Jan 24, 2020 3:13 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

Does you button actually work? Have you got a multi-meter?
by rpiMike
Fri Jan 24, 2020 3:10 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

And what happens when you press the button?

Does you button actually work? Have you got a multi-meter?
by rpiMike
Fri Jan 24, 2020 3:02 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

Sounds like your button may be push-to-open. Try the following: import RPi.GPIO as GPIO,time,os,datetime GPIO.setmode(GPIO.BCM) GPIO.setup(24, GPIO.IN, pull_up_down = GPIO.PUD_UP) while True: i = GPIO.input(24) print(datetime.datetime.now().strftime('%H:%M:%S.%f')[:-3],i) if i == GPIO.HIGH: print('p...
by rpiMike
Fri Jan 24, 2020 2:43 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

Is your button push-to-close or push-to-open?

Why does it have to be on Manjaro?

If working correctly that code should print nothing when the button is not pressed and print 'pressed' repeatedly when the button is pressed.
by rpiMike
Fri Jan 24, 2020 12:42 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

this is running your code. im running Manjaro Minimal & installed rpi-gpio packages From the error message it looks like you changed 24 to 18. Do you understand the difference between physical pin numbers (BOARD) and BCM GPIO pin numbers. https://pinout.xyz/ changed to 24, get this output: pressed ...
by rpiMike
Fri Jan 24, 2020 7:14 am
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

$ python3 pi.py Traceback (most recent call last): File "pi.py", line 3, in <module> GPIO.setup(18, GPIO.IN, pull_up_down = GPIO.PUD_UP) RuntimeError: Not running on a RPi! sudo hangs (waits for button press) Try running my code. As joan mentioned physical pin 18 is BCM GPIO 24. Is your Raspbian Bu...
by rpiMike
Thu Jan 23, 2020 11:10 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

If your pulling a GPIO input up, the input will normally be High and you need to test for Low: import RPi.GPIO as GPIO,time,os GPIO.setmode(GPIO.BCM) GPIO.setup(24, GPIO.IN, pull_up_down = GPIO.PUD_UP) while True: if GPIO.input(24) == GPIO.LOW: print('pressed') time.sleep(0.05) This tests fine for ...
by rpiMike
Thu Jan 23, 2020 10:19 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

If your pulling a GPIO input up, the input will normally be High and you need to test for Low: import RPi.GPIO as GPIO,time,os GPIO.setmode(GPIO.BCM) GPIO.setup(24, GPIO.IN, pull_up_down = GPIO.PUD_UP) while True: if GPIO.input(24) == GPIO.LOW: print('pressed') time.sleep(0.05) This tests fine for m...
by rpiMike
Thu Jan 23, 2020 6:40 pm
Forum: Python
Topic: [SOLVED] GPIO help
Replies: 38
Views: 785

Re: GPIO help

Please edit your post and place your code in code tags. You should not need 'sudo' before 'python'. Replace your os.system with a print statement until it works. Add a photo of your wiring. (Many post image to imgur.com and link into post). Are you sure you've got the correct pin? https://pinout.xyz...
by rpiMike
Tue Jan 21, 2020 10:56 am
Forum: Networking and servers
Topic: What Raspberry Pi Model is Most Recommended for a Torrent Box?
Replies: 21
Views: 1010

Re: What Raspberry Pi Model is Most Recommended for a Torrent Box?

The Pi4 will allow the fastest network speeds of any Pi model. What is your broadband speed?
by rpiMike
Mon Jan 20, 2020 5:11 pm
Forum: Python
Topic: Python Upgrade
Replies: 3
Views: 368

Re: Python Upgrade

If you re-flash your sd card with Raspbian Buster you will get Python 3.7.3.

Go to advanced search