Go to advanced search

by dl324
Sat May 25, 2019 5:50 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero W solid green light
Replies: 4
Views: 2027

Re: Raspberry Pi Zero W solid green light

The green LED on Pi Zero W is an activity indicator for the SD card. Once boot completes, the LED appears to be on constantly.

Is the device in an area where the WiFi signal is sufficient?

I take it that you don't have a monitor to connect directly to the Pi?
by dl324
Sat May 25, 2019 4:50 pm
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1387

Re: run script at startup

I must admit that I do not really understand what is happening, but when I power up the program runs. Try reading the manpage on cron. If you have questions about crontab syntax, read the manpage for crontab(5) (i.e. man 5 crontab). The number in () is the manual number. It's used when a command ap...
by dl324
Sat May 25, 2019 1:53 am
Forum: Raspberry Pi OS
Topic: Can't Compile Any More! Please need help!
Replies: 10
Views: 1358

Re: Can't Compile Any More! Please need help!

I'm not having any problems with Stretch.

Code: Select all

gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1) 
36 pi> ld -v
GNU ld (GNU Binutils for Raspbian) 2.28
Since 'ld' is having problems, you could try removing and re-installing binutils.
by dl324
Fri May 24, 2019 11:27 pm
Forum: Beginners
Topic: What HDMI to VGA adapters work for all monitors?
Replies: 7
Views: 731

Re: What HDMI to VGA adapters work for all monitors?

What HDMI to VGA converters are highly guaranteed to work with very old monitors? Don't think you're going to get a list. Too many variables and few people will be using CRT monitors these days. I purchased an HDMI to VGA converter to use for playing with Pi's because I have a number of idle VGA mo...
by dl324
Fri May 24, 2019 8:05 pm
Forum: Beginners
Topic: Connecting to several PI in the same network
Replies: 6
Views: 645

Re: Connecting to several PI in the same network

I tried using the private IP address from (hostname -I) but it may change when disconnected or rebooted. Therefore, how can I set up a durable method? Furthermore, I need to connect from Putty to those so I should have an invariable host name. You control the hostnames. Your DHCP server assigns IP ...
by dl324
Fri May 24, 2019 5:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO input current draw
Replies: 12
Views: 1249

Re: GPIO input current draw

but my limited understanding is that shielding alone should act as a faraday cage and stop passive current from being generated, no? It needs to be grounded. All the unconnected shield does is create an equal potential (ideally) at all points of the cage. That equal potential won't be ground if it ...
by dl324
Fri May 24, 2019 5:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO input current draw
Replies: 12
Views: 1249

Re: GPIO input current draw

never thought such a long wire could act as an antenna... It doesn't take much wire to have an adverse antenna effect. I was experimenting with GPIOs on a Pi0. When I measured pins that weren't being driven, I picked line frequency. Of course, it was me coupling the signal to the short wire used fo...
by dl324
Fri May 24, 2019 4:51 pm
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1387

Re: run script at startup

I have searched through the forum for ideas on how to get a script to run at startup, but everyone seems to have their own approach and I find it very confusing. I tried using rc.local. Having been a Unix sysadmin, my preference is to advise Users to do things in a ways that don't require root priv...
by dl324
Fri May 24, 2019 2:56 pm
Forum: Beginners
Topic: CRON not executing SH file
Replies: 8
Views: 897

Re: CRON not executing SH file

Please tell me if the 3 asterisks are supposed to represent something that I must complete or do I type out the whole line just like you have? man is your friend. man 5 crontab <snip> Commands are executed by cron(8) when the minute, hour, and month of year fields match the current time, and when a...
by dl324
Thu May 23, 2019 8:14 pm
Forum: Beginners
Topic: Easiest way to control GPIO pin?
Replies: 9
Views: 468

Re: Easiest way to control GPIO pin?

I know how to interact with the GPIO pins already with python code. What i need is to somehow essentially make something clickable on the desktop that i can program to interact with the GPIO pins that will work ALONG with my python code currently running. So write a script and put it on your desktop.
by dl324
Thu May 23, 2019 8:13 pm
Forum: C/C++
Topic: Saving file to USB
Replies: 7
Views: 1321

Re: Saving file to USB

jahboater wrote:
Thu May 23, 2019 7:52 pm
What has this to do with C/C++ ?

Perhaps the Rasbian section would be more appropriate?
I thought about reporting that to moderators, but couldn't find an option to do it (in the prosilver board style).
by dl324
Thu May 23, 2019 7:05 pm
Forum: C/C++
Topic: Saving file to USB
Replies: 7
Views: 1321

Re: Saving file to USB

LONGJA wrote:
Thu May 23, 2019 6:36 pm
I'm want to save a file to an external USB drive and would like to know the best way to do it.
Raspian Stretch with Desktop will mount the device for you. You should see it on the desktop and in /media/pi/<device>.
by dl324
Thu May 23, 2019 4:17 pm
Forum: C/C++
Topic: Memory barriers for GPIO access
Replies: 12
Views: 2034

Re: Memory barriers for GPIO access

hippy wrote:
Thu May 23, 2019 3:46 pm
But what if I am accessing GPIO and something else then interrupts and accesses some other peripheral, or another parallel core or GPU accesses a different peripheral, and I don't have a barrier protecting things ?
Then you need to do what the datasheet said.
by dl324
Thu May 23, 2019 4:13 pm
Forum: Off topic discussion
Topic: [Solved] Pi doubled SanDisk SD card size
Replies: 20
Views: 5117

Re: [Solved] Pi doubled SanDisk SD card size

Direct from Amazon doesn't mean it isn't counterfeit. I bought a counterfeit BMW ignition switch from an Amazon seller. It even had the BMW logo. There are utilities that can check the actual capacity of SD cards. I bought some counterfeits that were labeled as 64GB, but they were actually hacked 8G...
by dl324
Thu May 23, 2019 3:24 pm
Forum: Troubleshooting
Topic: Etcher didn't work for SD card in Win
Replies: 9
Views: 2737

Re: Etcher didn't work for SD card in Win

I've used Etcher 3 times with no problems on Win 10 Home version 1803.

I got my first Pi a couple weeks ago...
by dl324
Thu May 23, 2019 2:58 pm
Forum: C/C++
Topic: Memory barriers for GPIO access
Replies: 12
Views: 2034

Re: Memory barriers for GPIO access

The Broadcom BCM 2835 Peripheral PDF talks of read and write memory barriers which should be executed before the first read and after the last write (page 7) - https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf This is because one isn't actually updating things at the insta...
by dl324
Thu May 23, 2019 2:46 pm
Forum: General discussion
Topic: Best solder sucker on Amazon?
Replies: 14
Views: 2077

Re: Best solder sucker on Amazon?

Best is subjective. For most of my desoldering, I've been using this type for 4 decades edsyn-15970_ds017_DV_WebXL.jpg I can't remember the last time I used solder wick. Sometimes I use the solder sucker from my hot air station aoyue2702+.jpg The best solder sucker I've used was when I worked at HP....
by dl324
Wed May 22, 2019 9:10 pm
Forum: Beginners
Topic: Pi Zero not booting
Replies: 39
Views: 1887

Re: Pi Zero not booting

Does anyone happen to know if there's a place that sells pre-configured/tested pis? No company that wants to stay in business very long will ship product that hasn't been tested. There's always the possibility that parts that pass QA tests could end up being DOA for the end user due to infant morta...
by dl324
Wed May 22, 2019 8:59 pm
Forum: C/C++
Topic: pigpio C sub µs single pulse generation
Replies: 49
Views: 7931

Re: pigpio C sub µs single pulse generation

HermannSW wrote:
Wed May 22, 2019 8:31 pm

Code: Select all

$ for((d=1; d<=20; ++d)); do sudo ./pulse $d; done
I question the validity of your experiment. You're adding process creation overhead that wouldn't be incurred in an actual application.
by dl324
Wed May 22, 2019 4:24 pm
Forum: Beginners
Topic: Pi Zero not booting
Replies: 39
Views: 1887

Re: Pi Zero not booting

Yep, sounds like I need to go ahead and return both of them. Not really sure what to do, here. Getting two dead ones in a row is highly disconcerting. Have you measured the voltage on the headers when you're trying to boot? It could be that the connections on the power connector are messed up. Thou...
by dl324
Wed May 22, 2019 3:26 pm
Forum: Troubleshooting
Topic: usb drive and spaces in name
Replies: 8
Views: 540

Re: usb drive and spaces in name

That may not help, also sudo is not needed and may cause more problems than it solves. How can it not help? The OP wanted to use something like seagate to reference the drive. What I suggested does that. /media/pi is only writable by root. How can user=pi create a link without using sudo? What prob...
by dl324
Wed May 22, 2019 2:23 am
Forum: Other projects
Topic: Raspberry Pi Portable Desktop Setup - No Power Adapter
Replies: 2
Views: 578

Re: Raspberry Pi Portable Desktop Setup - No Power Adapter

If you unplug power from the power bank while the Pi is running, does it reboot?

I wanted to use a small power bank as a UPS to be able to move a Pi around, but when I disconnect power, the Pi reboots.
by dl324
Wed May 22, 2019 1:46 am
Forum: Python
Topic: Command line program that doesn't end when pressing Ctrl + C
Replies: 7
Views: 1134

Re: Command line program that doesn't end when pressing Ctrl + C

Thanks for responding. What is the code you posted? Is that some output you get on the CLI? It's csh or, more accurately, tcsh. Tcsh is a superset of csh. I used csh for several decades at work and prefer to use what I know. I never did like sh, that's why I used csh. Bash is another sh variant and...
by dl324
Wed May 22, 2019 12:16 am
Forum: Python
Topic: Command line program that doesn't end when pressing Ctrl + C
Replies: 7
Views: 1134

Re: Command line program that doesn't end when pressing Ctrl + C

Works for me:

Code: Select all

35 work> while (1)
while? echo -n .
while? sleep 1
while? end
....^C
39 work> 

Go to advanced search