Go to advanced search

by dgordon42
Tue May 01, 2018 1:19 pm
Forum: Troubleshooting
Topic: RPi 3 UART for RS232
Replies: 9
Views: 11579

Re: RPi 3 UART for RS232

There is no problem using both Bluetooth and the Serial Port simultaneously on the model 3, 3+, or Zero W RaspberryPi. Ensure that you do not have the phrase "console=serial0,115200" anywhere in your '/boot/cmdline.txt' file. Ensure that you do have the line "enable_uart=1" in your '/boot/config.txt...
by dgordon42
Wed Apr 11, 2018 5:27 pm
Forum: Python
Topic: Need help using serial port - RPi 3 Model B
Replies: 8
Views: 2989

Re: Need help using serial port - RPi 3 Model B

The commands only need to be run once.
You can check the status of the 'hciuart' daemon with:

Code: Select all

systemctl status hciuart
It should report "disabled" if the commands ran successfully, and should be remembered over a reboot or power cycle.

Dave.
by dgordon42
Wed Apr 11, 2018 3:14 pm
Forum: Python
Topic: Need help using serial port - RPi 3 Model B
Replies: 8
Views: 2989

Re: Need help using serial port - RPi 3 Model B

@matteochini: You have used the DT Overlay "dtoverlay=pi3-disable-bt" in your '/boot/config.txt' file. When you use this overlay, you also need to run the commands: sudo systemctl stop hciuart sudo systemctl disable hciuart These commands prevent SystemD from attempting to use the UART to talk to th...
by dgordon42
Wed Apr 11, 2018 12:48 pm
Forum: Troubleshooting
Topic: UART port not working properly
Replies: 8
Views: 3041

Re: UART port not working properly

@syed.idris: First, what type of Arduino are you using? Most (but not all) of them work at 5V, the Pi's UART works at 3.3V, and sending it a 5V signal directly from an Arduino can destroy a Pi. while receiving data some times data getting loss or sometimes it is showing as "serial port /dev/serial0 ...
by dgordon42
Tue Apr 10, 2018 12:12 pm
Forum: Troubleshooting
Topic: Power LED on shutdown - Pi3
Replies: 14
Views: 11962

Re: Power LED on shutdown - Pi3

Red LED lights when the supplied 5V power is within specs. It goes out when the power supplied drops below about 4.6V, although the Pi may continue to operate. Note that the fact that the Red LED is on does not mean that the Pi is up and running, only that the power supply is good. Green LED normall...
by dgordon42
Wed Mar 21, 2018 5:18 pm
Forum: General discussion
Topic: HELP! - Why does my program not compile?!
Replies: 6
Views: 706

Re: HELP! - Why does my program not compile?!

as I have done code changes and its still running an old version of the code... It's also worth checking that the new file is correctly written to your SD card. Sometimes SD cards can go "read only", it's one of the first signs of SD card failure, and results in 'old' versions of files appearing, e...
by dgordon42
Mon Mar 12, 2018 11:40 am
Forum: Beginners
Topic: Headless setup: no keyboard, display or frustration
Replies: 50
Views: 291284

Re: Headless setup: no keyboard, display or frustration

@LordOfDucks:
The guide posted at the beginning of this thread was posted in April 2014, and is out of date.
You should have better luck using the current guide.

Hope this helps,
Dave.
by dgordon42
Fri Mar 02, 2018 10:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c problem - two slaves with same address
Replies: 2
Views: 949

Re: i2c problem - two slaves with same address

The mlx90615 device stores it's I2c address in it's EEPROM, and so you can change it to allow multiple mlx90615 devices on a single I2c Bus.
Details on page 9 of the datasheet

Hope this helps,
Dave.
by dgordon42
Wed Feb 28, 2018 12:20 pm
Forum: Raspbian
Topic: avahi-deamon causing lockups when network down
Replies: 2
Views: 484

Re: avahi-deamon causing lockups when network down

There are reports of RaspberryPi's locking up running the latest WiFi firmware when reconnecting to a WiFi network.
More here

Hope this helps,
Dave.
by dgordon42
Thu Feb 22, 2018 8:39 pm
Forum: Troubleshooting
Topic: Unable to connect to raspberry pi after windows 10 updates
Replies: 4
Views: 1490

Re: Unable to connect to raspberry pi after windows 10 updates

Had a similar problem recently with Windows Update, it turned off Samba on Windows 10. Try: Control Panel -> Programs -> Turn Windows features on or off, wait for the list to populate, then scroll down to "SMB 1.0/CIFS File Sharing Support", and tick the box (if it's been deselected as happened to m...
by dgordon42
Wed Feb 21, 2018 4:36 pm
Forum: Advanced users
Topic: Is it normal to not see linux boot messages when connected to rpi (various versions) via serial cable?
Replies: 4
Views: 774

Re: Is it normal to not see linux boot messages when connected to rpi (various versions) via serial cable?

I am connecting to my pi(s) via a prolific 2303 cable I take it that the USB side is connected to the Pi. If so I don't think you can see the boot messages on a connected terminal as the Pi has to boot before the USB ports are up & running. I have tried adding "console=ttyUSB0,9600" to my '/boot/cm...
by dgordon42
Sat Feb 17, 2018 1:31 pm
Forum: Troubleshooting
Topic: Raspbian Stretch With Desktop - 11/29/2017
Replies: 20
Views: 1950

Re: Raspbian Stretch With Desktop - 11/29/2017

As the OP stated they are using notpad++ you can set the line ending format to be unix (LF) for all new files. by selecting preferences > new document > format line ending. for existing files you can do EOL conversion by selecting Edit>EOL conversion>then selecting unix (LF) >then re-save the file....
by dgordon42
Sat Feb 17, 2018 11:31 am
Forum: Troubleshooting
Topic: Raspbian Stretch With Desktop - 11/29/2017
Replies: 20
Views: 1950

Re: Raspbian Stretch With Desktop - 11/29/2017

@Mary2018: With your 'wpa_supplicant.conf' file open in Notepad++, check the status line at the bottom. Where it says "Windows (CR LF)", right click and select "Unix (LF)" instead. Then re-save your file on the RaspberryPi. Windows and Linux (Unix) store their 'End Of Line' symbols differently in te...
by dgordon42
Sat Feb 10, 2018 11:31 am
Forum: Networking and servers
Topic: Finding host name an issue!
Replies: 1
Views: 369

Re: Finding host name an issue!

It sounds like you are seeing an IPv6 address, instead of the more familiar IPv4 (192.168.8.0 like) address. It should still work with SSH. Also, using the 'hostname' command without any options will give you the Pi's Hostname which by default is "raspberrypi" If your network has Avahi (Apples Bonjo...
by dgordon42
Thu Feb 01, 2018 8:41 am
Forum: Troubleshooting
Topic: failed to change RPi hostname
Replies: 25
Views: 5882

Re: failed to change RPi hostname

It appears that the changes you make to the '/etc/hosts' and '/etc/hostname' files are not being written to your SD Card, and so when you reboot the old values return. This could indicate that your SD Card has gone "Read Only", one of the signs of an SD Card failure. Burn a fresh copy of Raspbian on...
by dgordon42
Wed Jan 31, 2018 6:57 pm
Forum: Troubleshooting
Topic: failed to change RPi hostname
Replies: 25
Views: 5882

Re: failed to change RPi hostname

Post the output of:

Code: Select all

cat /etc/hostname
cat /etc/hosts
Dave.
by dgordon42
Sat Jan 20, 2018 9:44 pm
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1942

Re: Removing Kernel Warning

Originally, RaspberryPis used '/dev/ttyAMA0' (the full UART) to generate the Serial Port on the GPIO pins. Then, along came the Pi 3B, and with it Bluetooth (and WiFi). The Bluetooth hardware interfaces with the Pi via a serial port, and the Foundation chose to use 'ttyAMA0' as that serial port, and...
by dgordon42
Sat Jan 20, 2018 5:59 pm
Forum: Troubleshooting
Topic: Removing Kernel Warning
Replies: 12
Views: 1942

Re: Removing Kernel Warning

Details of using 'dtoverlays' on the Pi are in the file: /boot/overlays/README Here is what is says about the "pi3-miniuart-bt" overlay: Name: pi3-miniuart-bt Info: Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the ...
by dgordon42
Fri Jan 12, 2018 5:17 pm
Forum: Python
Topic: python hangs on serial write()
Replies: 9
Views: 9369

Re: python hangs on serial write()

Post the output from:

Code: Select all

grep -v -e ^$ -e ^# /boot/config.txt
and

Code: Select all

cat /boot/cmdline.txt
Hanging serial ports are sometimes caused by reading or writing to a port that's already in use.

Dave.
by dgordon42
Fri Jan 12, 2018 12:23 pm
Forum: General discussion
Topic: Apollo Guidance Computer on Pi
Replies: 18
Views: 17744

Re: Apollo Guidance Computer on Pi

I posted a link to a OneDrive copy in another thread.
A few people seem to have downloaded it in the last week or so.

Hope this helps,
Dave.
by dgordon42
Fri Jan 12, 2018 12:07 pm
Forum: General discussion
Topic: GPS module in Python
Replies: 17
Views: 19718

Re: GPS module in Python

Code: Select all

From another post, I tried the following line to import the gps module into a python script but get error 'no module named gps'
Try running:

Code: Select all

sudo apt install python-gps
I don't see a Python3 version in the Raspbian repositories, so you will have to just use Python 2.

Hope this helps,
Dave.
by dgordon42
Sat Dec 16, 2017 5:24 pm
Forum: Beginners
Topic: Details of using Terminal
Replies: 2
Views: 432

Re: Details of using Terminal

I need to know how to use the key commands along the bottom of the terminal for the first basic question. Does the upward pointing caret mean "Shift"? I'm guessing that you are trying to use the Nano text editor. In that case the upward pointing caret means "Control". Some Nano Commands: 'Control +...
by dgordon42
Wed Dec 06, 2017 1:44 pm
Forum: The MagPi
Topic: Can't download agc.zip for the Apollo project
Replies: 8
Views: 2843

Re: Can't download agc.zip for the Apollo project

I've posted a copy of 'agc.zip' on OneDrive here
You will need the dependencies listed in Dave Spices post I referenced earlier.
I just tried it in Stretch, and it seems to still work.

Good Luck,
Dave.
by dgordon42
Tue Dec 05, 2017 5:28 pm
Forum: Troubleshooting
Topic: Chromium missing from stretch
Replies: 26
Views: 10384

Re: Chromium missing from stretch

It just downloaded pcmanfm which is having less features then the previous one. No bookmarks, no default view in setting. Very, very strange. This verson sucks: 1.2.5-3+rpi3 If you read Simon Long's Blog it explains how to turn these features back on in PCManFM, and why they were turned off in Rasp...

Go to advanced search