Go to advanced search

by Milliways
Wed Jan 22, 2020 12:49 am
Forum: General discussion
Topic: Putty Alternative For Mac User
Replies: 11
Views: 526

Re: Putty Alternative For Mac User

They don't allow programs as bad as Putty on a Mac.

I normally use

Code: Select all

ssh
in the macOS terminal to access my Pi

To use other protocols there are a number of free FTP GUI clients for the Mac (and other 'NIX OS) I use FileZilla (on both Pi and Mac)
by Milliways
Wed Jan 22, 2020 12:35 am
Forum: Troubleshooting
Topic: Can read serial port, but can't write to it.
Replies: 5
Views: 268

Re: Can read serial port, but can't write to it.

'/dev/ttyAMA0' is connected to Bluetooth!

If you want to use serial use '/dev/serial0',
by Milliways
Sat Jan 18, 2020 3:38 am
Forum: General discussion
Topic: Raspberry Pi 4 GPIO readall broken
Replies: 5
Views: 238

Re: Raspberry Pi 4 GPIO readall broken

I have written a Python equivalent (which uses pigpio) https://www.raspberrypi.org/forums/view ... 6&t=254071
by Milliways
Wed Jan 15, 2020 11:45 am
Forum: General discussion
Topic: CMU Relay Board 16CH 5V connection to raspberry pi
Replies: 7
Views: 227

Re: CMU Relay Board 16CH 5V connection to raspberry pi

There are a number of similar (poorly-designed) relay modules on the market - they seem to infect ebay! This seems to be one, but at least it DOESN'T claim to be Pi compatible. They may work with Arduino (and TTL logic) BUT ARE A LOUSY DESIGN even for that purpose and totally unsuitable for the Pi. ...
by Milliways
Tue Jan 14, 2020 2:46 am
Forum: Bare metal, Assembly language
Topic: Status of U-Boot Support for Pi 4
Replies: 12
Views: 2134

Re: Status of U-Boot Support for Pi 4

I'm guessing Raspberry Pi4Bs are officially supported by U-Boot? I'm guessing based upon how long ago this discussion was and how recently the referred repositories were updated. Sounds like all (at least most ) of the support is present in the main U-Boot repository ( GitHub being a mirror)? Looks...
by Milliways
Mon Jan 13, 2020 12:56 am
Forum: Python
Topic: GPIO button works on Pi3 not on Pi4
Replies: 12
Views: 1145

Re: GPIO button works on Pi3 not on Pi4

The way the pulls work has changed on the Pi4B (new BCM2711 SoC). I missed that so it's fortunate this thread had recent posts. I guess I'm going to have to alter my own C Extensions so they will work properly with a 4B - Do you, or anyone, have a link to explain what's changed and what needs to be...
by Milliways
Sun Jan 12, 2020 6:11 am
Forum: Troubleshooting
Topic: Static IP with Buster
Replies: 2
Views: 331

Re: Static IP with Buster

Do not run ifconfig (which is deprecated) use ip a That has nothing to do with your problem - you appear to have Enabled predictable network interface names This can be disabled in raspi-config Nework Options/Enable/Disable predictable network interface names Alternatively you could configure enxb82...
by Milliways
Mon Jan 06, 2020 11:34 pm
Forum: Python
Topic: High level GPIO after Shutdown command
Replies: 6
Views: 223

Re: High level GPIO after Shutdown command

The kernel has an overlay dtoverlay=gpio-poweroff to do this.

See https://raspberrypi.stackexchange.com/a/89298/8697
by Milliways
Sun Jan 05, 2020 2:22 am
Forum: Troubleshooting
Topic: xrandr rotate display
Replies: 5
Views: 170

Re: xrandr rotate display

No reason other than not aware that there is a "arandr" tool. Not sure how I would have found that out, You did not have to know that. On the Rapbian Desktop it's in the Preferences menu as 'Screen preferences', exactly where you would expect a tool for screen manipulation... The Raspbian Buster Pi...
by Milliways
Sat Jan 04, 2020 5:33 am
Forum: General discussion
Topic: having issues with 4 relay and raspberry pi 4
Replies: 23
Views: 637

Re: having issues with 4 relay and raspberry pi 4

im giving up for today.. I played with the coding I kinda get it to work earlier but its glitching and the first code with the on.sh and off.sh I get it to work but when I shut them off the leds shut off bright but go to dim brightness.. I cant get them to shut off completely.. guess ill fiddle tom...
by Milliways
Sat Jan 04, 2020 4:55 am
Forum: General discussion
Topic: having issues with 4 relay and raspberry pi 4
Replies: 23
Views: 637

Re: having issues with 4 relay and raspberry pi 4

Do you have any documentation for this 4-relay board you are using? Is it this one, that says it need 15 to 20 mA of current? https://www.amazon.com/SainSmart-101-70-101-4-Channel-Relay-Module/dp/B0057OC5O8/ I don't know if it's the same board but I saw a similar photo of something like it that sai...
by Milliways
Wed Jan 01, 2020 11:16 pm
Forum: Beginners
Topic: Can't unzip raspbian on raspbian
Replies: 6
Views: 645

Re: Can't unzip raspbian on raspbian

quarkjuggler wrote:
Wed Jan 01, 2020 10:03 pm
I lost my Windows when I tried to format an SD but formatted Windows instead.
Now is the time to install the Linux OS of your choice on the ex-Windows machine.
by Milliways
Sat Dec 28, 2019 5:23 am
Forum: General discussion
Topic: [SOLVED] Raspberry Pi 4 + x750 safe shutdown when battery low?
Replies: 24
Views: 877

Re: [SOLVED] Raspberry Pi 4 + x750 safe shutdown when battery low?

The web is awash with scripts (of varying complexity and reliability) to shutdown the Pi. If anyone actually read the documentation provided in Raspbian /boot/overlays/README they would discover there is ALREADY builtin kernel support to shut the Pi down. gpio-shutdown - can be activated by a pushbu...
by Milliways
Thu Dec 26, 2019 12:01 am
Forum: Troubleshooting
Topic: Reset sd card
Replies: 9
Views: 290

Re: Reset sd card

Hi im new to this. Noobs gave me an error, so I had to shut down the raspberry. After that I removed the sd card, but when I cant remove the partitions. Can someone help me? Make life easier for yourself and install Raspbian https://www.raspberrypi.org/downloads/raspbian/ - it doesn't care what is ...
by Milliways
Wed Dec 25, 2019 11:59 pm
Forum: Beginners
Topic: Cant install java with sudo apt-get install
Replies: 9
Views: 406

Re: Cant install java with sudo apt-get install

Hello, just got a RBP4 and am trying to install java using "sudo apt-get install oracle-java8-jdk", but it gives the error E: Package 'oracle-java8-jdk' has no installation candidate. I have tried to add repos that have the package, then updating, but it just keeps giving me the same thing every ti...
by Milliways
Tue Dec 24, 2019 6:53 am
Forum: Beginners
Topic: Can RP read punched paper tape from 1969 somehow?
Replies: 21
Views: 715

Re: Can RP read punched paper tape from 1969 somehow?

More than 30 years ago we used paper tape for logging which we sent to a computer centre for reading. In the lab we knocked up a reader which let you pull tape through by hand (or faster with a tape spooler). The original used TTL & a UART, but it would be even simpler with a Pi (or Arduino). No com...
by Milliways
Tue Dec 24, 2019 6:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: New "gpio" config.txt command announcement
Replies: 46
Views: 12887

Re: New "gpio" config.txt command announcement

RDK wrote:
Mon Dec 23, 2019 1:06 pm
In the rc.local the answer is WiringPi, in Python (RPi.GPIO) one can choose: BOARD or BCM. I do not see where this is defined for the config.txt file.
The only thing that uses the WiringPi numbering is WiringPi - and it is deprecated!
by Milliways
Mon Dec 16, 2019 11:06 am
Forum: Troubleshooting
Topic: macOS Catalina afp
Replies: 5
Views: 204

Re: macOS Catalina afp

I used all the time afp to connect my raspberry to my mac. Now, I change from raspberry stretch to buster and update macOS to Catalina. In the past, on the Mac finder screen, I could see my raspberry. By click, I could connect my raspberry with afp (doing it first, I need to login). Today, I see my...
by Milliways
Mon Dec 16, 2019 3:27 am
Forum: General discussion
Topic: Graph & timeline of Pi Sales
Replies: 96
Views: 30780

Re: Graph & timeline of Pi Sales

Exponential growth is hard to sustain. Someone with a more math brain might be able to fit a formula and let us know the prediction for the next 8 years. Or has the last few years been a straight line due to ram prices? 10Million a year? Another 8 years is another 80Million? Exponential growth is a...
by Milliways
Thu Dec 12, 2019 6:32 am
Forum: General discussion
Topic: GPIO access
Replies: 2
Views: 126

Re: GPIO access

Hi, Am new to raspberrypi. Am using raspberrypi 3 Model B. I installed wiring Pi on my raspberrypi and tried to activate from SSH. I use the command gpio mode 25 out and gpio write 25 1 through SSH. It reflect on gpio readall table. But physically 25th GPIO pin its not Activated. Kindly help me. Th...
by Milliways
Thu Dec 12, 2019 2:48 am
Forum: Beginners
Topic: Connecting 5V pullup to Pi GPIO
Replies: 39
Views: 1734

Re: Connecting 5V pullup to Pi GPIO

It did, mostly. My memory's shot - means I can reread those thousand or so books - but what's most annoying was the paramedics destroyed a perfectly good jersey trying to get it off me. I experienced something similar 6 years ago - and I lost my favourite shirt. The real problem is the 100MΩ resist...
by Milliways
Sun Dec 08, 2019 1:53 am
Forum: General discussion
Topic: Command to check GPIO'S?
Replies: 13
Views: 537

Re: Command to check GPIO'S?

The "raspi-gpio get" command will list the status of all GPIOs (not just those available on the connector). You can limit it with "raspi-gpio get 2-27" to just list the ones available for general use. This won't show them in a pretty order with pin numbers, but it is the official tool for work with...
by Milliways
Sat Dec 07, 2019 2:25 am
Forum: Beginners
Topic: Connecting 5V pullup to Pi GPIO
Replies: 39
Views: 1734

Re: Connecting 5V pullup to Pi GPIO

It is perfectly safe to connect a Pi GPIO (or any other 3.3V logic level) to an Arduino (or any other 5V logic level) INPUT There is NO 100mΩ (or any other) pullup! Putting the Arduino pin in OUTPUT mode is another matter - if this is likely to happen a 10kΩ series resistor will provide adequate pro...
by Milliways
Fri Dec 06, 2019 6:29 am
Forum: General discussion
Topic: Command to check GPIO'S?
Replies: 13
Views: 537

Re: Command to check GPIO'S?

Hey guys , thanks for the tip. By the way, I found a command you may not have heard of (there seem to be many undocumented or hard to find): gpio readall The will also show a very informative listing of all the I/Os! Now that wiringpi is deprecated (and requires a download from the author's site to...
by Milliways
Thu Dec 05, 2019 11:39 am
Forum: Troubleshooting
Topic: Use ttyS0, serial0 or AMA0?
Replies: 3
Views: 163

Re: Use ttyS0, serial0 or AMA0?

Steps 1 & 2 are OK (not sure what the rest are supposed to do).

If you want to use the serial port on pins 8,10 use

Code: Select all

/dev/serial0
Raspbian automagically sets this to use whatever UART is configured for serial I/O

Go to advanced search