Go to advanced search

by klricks
Thu Sep 20, 2018 2:32 am
Forum: Beginners
Topic: SD Card Formatter Windows
Replies: 9
Views: 2812

Re: SD Card Formatter Windows

On the official site at: documentation > installation > installing-images the SDFormatter is no longer mentioned. Was it dropped because the SDFormatter software had problems, or because it was no longer necessary? If there were problems, what were they and how serious? (I sometimes use it for othe...
by klricks
Wed Sep 19, 2018 1:25 pm
Forum: Troubleshooting
Topic: 3.3v defect
Replies: 4
Views: 104

Re: 3.3v defect

using pi 3 B and B+ also use a Zero but the addition of the 470 Ohm series resistor had already been done that's what I tried to explain. I did not short-circuit the 3.3v but but the output of the ST on the opto-switch. that will take a max of 50mA out of the 3.3v supply and that's when the Pi brea...
by klricks
Tue Sep 18, 2018 1:52 am
Forum: General discussion
Topic: My Pi 2 keeps getting slower. Help!
Replies: 12
Views: 348

Re: My Pi 2 keeps getting slower. Help!

I checked htop yesterday, and I didn't notice anything especially slow. I haven't checked swap yet, though. I have updated and upgraded like -maybe 2 weeks ago. But I didn't even know about apt-get clean. I haven't recently autoremoved, but I should, I guess. I am new, and I only learned the whole ...
by klricks
Mon Sep 17, 2018 11:54 pm
Forum: Troubleshooting
Topic: Missing items on the board
Replies: 3
Views: 125

Re: Missing items on the board

Good morning. When replacing element AP2553W6-7, I blew out the selected elements. Black is probably a 20 kOhm capacitor. The second is probably a capacitor. Do you know the capacity? I will add that the usb ports do not work. Look at the datasheet for example circuits. https://www.diodes.com/asset...
by klricks
Mon Sep 17, 2018 7:37 pm
Forum: Troubleshooting
Topic: Error Expanding Filesystem - Tried all fixes I can find and doesn't work!
Replies: 2
Views: 67

Re: Error Expanding Filesystem - Tried all fixes I can find and doesn't work!

I've tried multiple times to expand the filesystem on my 16gb SD card with no luck. When I initially try to expand in rasp-config I get the error "re-reading the partition table failed.: Device or resource busy". I have since tried using fdisk to repartition, deleting and recreating 2 and 5, but ge...
by klricks
Mon Sep 17, 2018 12:48 pm
Forum: Troubleshooting
Topic: Can't transfer a file OFF the Pi
Replies: 5
Views: 143

Re: Can't transfer a file OFF the Pi

flaxmant wrote:
Sun Sep 16, 2018 4:59 pm
...
Is there a setting within my Pi that is causing this blockage?
No
I have no problem using my ISP's web based email client to send email attachments to myself so they can be retrieved on a different computer.
What exactly is the error message you are getting?
by klricks
Mon Sep 17, 2018 2:22 am
Forum: Networking and servers
Topic: Getting autossh to start automatically at boot after network is up
Replies: 2
Views: 92

Re: Getting autossh to start automatically at boot after network is up

Try setting... wait for network at boot.... found in the GUI config tool or sudo raspi-config
by klricks
Sun Sep 16, 2018 1:00 am
Forum: General discussion
Topic: My Pi 2 keeps getting slower. Help!
Replies: 12
Views: 348

Re: My Pi 2 keeps getting slower. Help!

I would run top or htop and see what programs are using a lot of CPU and/or memory.
Especially watch out for swap usage. Any use of swap will make the RPi unbearably slow.
by klricks
Sat Sep 15, 2018 11:21 pm
Forum: Advanced users
Topic: Is the voltage at the USB hub regulated on the RPi3B?
Replies: 7
Views: 329

Re: Is the voltage at the USB hub regulated on the RPi3B?

It is directly connected. Not to the '5V source' it isn't as klricks notes. It goes through the polyfuse and 'ideal diode' if powered through the micro-USB, and goes through the USB power control chip as well, even if power is sourced via the GPIO connector. But it is pretty much 'what goes in is w...
by klricks
Sat Sep 15, 2018 7:55 pm
Forum: Python
Topic: Script to change led color to match available space on sd card
Replies: 8
Views: 189

Re: Script to change led color to match available space on sd card

BTW: to the OP: not sure if I've interpreted your requirements correctly, but I don't think you will be able to get a SINGLE LED that can display THREE different colours. I fear only Bi- (two) colour LEDs are available. For simplicity/economy, you may find you have to start your project by using th...
by klricks
Sat Sep 15, 2018 7:20 pm
Forum: General discussion
Topic: Program not executable from command line
Replies: 11
Views: 263

Re: Program not executable from command line

That's the right port. That's how it shows on the Arduino and I've used it on a couple of other programs. For this script if I type "python3 Serial_test.py" on the command line it runs fine, if I type "./Serial_test.py" it does nothing, seems to be hung up somewhere. Am I entering that correctly? I...
by klricks
Sat Sep 15, 2018 5:52 pm
Forum: General discussion
Topic: How do I run terminal and execute a command every time I boot up PI ?
Replies: 1
Views: 61

Re: How do I run terminal and execute a command every time I boot up PI ?

I am on Stretch and I read maybe 5 methods of executing scripts on startup (GUI). But no I have not even succeeded once to do what I want. I have a script file which contains (the command may vary for multiple scripts): lxterminal -e ping google.com Also, I need multiple terminals executing differe...
by klricks
Sat Sep 15, 2018 5:23 pm
Forum: General discussion
Topic: Program not executable from command line
Replies: 11
Views: 263

Re: Program not executable from command line

The project I'm working on has a camera using OpenCV, and up to this point I thought it would only work with 2.7 although I just went to opencv.org and they have just released a new revision, I didn't look into it to much but maybe that will run on python 3. I made my script executable using the co...
by klricks
Sat Sep 15, 2018 3:26 pm
Forum: General discussion
Topic: Technical Documentation on Raspberry
Replies: 17
Views: 1240

Re: Technical Documentation on Raspberry

....Apparently when you install a package to the Pi the instructions don’t come with it.... Not a RPi specific problem... Any instructions included or not included are the responsibility of the applications author or maintainer. Often but not always there are instructions in the form of a man page ...
by klricks
Sat Sep 15, 2018 2:14 pm
Forum: General discussion
Topic: Voltage divider and raspberry
Replies: 5
Views: 153

Re: Voltage divider and raspberry

Hello and thank you for your response ! It is more clear ! I suspected a input capacitance bur cannot find it for the raspberry ! .. What exactly are you trying to do? Note that a simple voltage divider may work OK for low speed applications but will likely have trouble at higher speeds. If so try ...
by klricks
Sat Sep 15, 2018 1:58 pm
Forum: Troubleshooting
Topic: 3B+ will only boot to raspbian or noobs
Replies: 3
Views: 133

Re: 3B+ will only boot to raspbian or noobs

Make sure the OS images are made for the 3B+
The Flint OS web site shows that the supported RPi is 3B and the release date predates the release of the 3B+ so it's not going to work on a 3B+
by klricks
Sat Sep 15, 2018 1:38 pm
Forum: General discussion
Topic: Program not executable from command line
Replies: 11
Views: 263

Re: Program not executable from command line

.... When I'm in desktop and go to the menus I only get Python 3 (IDLE), Obviously 2.7 must be installed on my Pi as that's what's running in terminal, how do I get 2.7 to show up in the menus of the desktop, or can I switch the 3.5 IDLE to 2.7? As a beginner it's easier for me to develop my script...
by klricks
Fri Sep 14, 2018 11:08 pm
Forum: Advanced users
Topic: Is the voltage at the USB hub regulated on the RPi3B?
Replies: 7
Views: 329

Re: Is the voltage at the USB hub regulated on the RPi3B?

Using the RPI3b. I know that it should be 5V, but is it directly connected to the source? If the source goes to 5.5V, will the USB hub on the Pi also provide 5.5V or is it regulated down to 5V? There is no 5V regulator. There will be a small voltage drop across the 'polyfuse' and the USB power cont...
by klricks
Fri Sep 14, 2018 5:18 pm
Forum: General discussion
Topic: Adding PATH for python?
Replies: 12
Views: 296

Re: Adding PATH for python?

... No, not recommended, I've read that. But what if that's what I want to do? How does one do this on the Rasp? examples I've found for other os' don't appear to work. Thank you for your replies so far. A quick Google found instructions: https://www.techrepublic.com/article/how-to-add-directories-...
by klricks
Fri Sep 14, 2018 1:21 pm
Forum: General discussion
Topic: Adding PATH for python?
Replies: 12
Views: 296

Re: Adding PATH for python?

Hi folks. I've followed all the examples I can find for adding paths for bash and trying to do the same for Python. As I can add a python shebang, chmod +x, then run the file with ./xxx.py I can't see why I can't add a PATH variable for Python, but it doesn't appear to work. Or at least it doesn't ...
by klricks
Thu Sep 13, 2018 1:07 pm
Forum: Python
Topic: Starting a python program with keyboard input with another python program
Replies: 6
Views: 131

Re: Starting a python program with keyboard input with another python program

Thank you. I've now got the second program to start at boot and the soft power off still works. I still have an issue though - the scoreboardMatrixDisplay program needs keyboard input, and although the program starts, if I type on the keyboard, it searches the items on the desktop rather than input...
by klricks
Thu Sep 13, 2018 12:51 pm
Forum: Beginners
Topic: [Solved] How to get GUI running on startup? - Previously: Desktop Gray on Startup [solved - kinda]
Replies: 5
Views: 100

Re: Desktop Gray on Startup

Try installing:

Code: Select all

sudo apt install raspberrypi-ui-mods
by klricks
Wed Sep 12, 2018 5:10 pm
Forum: Beginners
Topic: Illuminated push button
Replies: 41
Views: 750

Re: Illuminated push button

Give a link to the switch datasheet or sellers website.
by klricks
Wed Sep 12, 2018 1:11 pm
Forum: General discussion
Topic: Auto running programs after reboot
Replies: 1
Views: 52

Re: Auto running programs after reboot

What do you expect to happen? If your system is set to boot to desktop then it would be best to use autostart instead of rc.local. nano /home/pi/.config/lxsession/LXDE-pi/autosstart Add this to the end: /home/pi/sample.py if your program requires terminal then use: @lxterminal -e /home/pi/sample.py ...

Go to advanced search