Go to advanced search

by scottk
Fri Nov 29, 2019 3:51 am
Forum: Troubleshooting
Topic: [solved] No camera output when running tflite example
Replies: 1
Views: 41

[solved] No camera output when running tflite example

[EDIT] Solved! No output because I'm using vnc! I'm following along with a TensorFlow Lite python example using a Pi4 and a Pi camera (the one that inserts into the CSI port). I've verified that the camera works by running raspistill -v -o test.jpg And I can see the test jpg. But when I run this exa...
by scottk
Wed Oct 09, 2019 1:50 pm
Forum: General discussion
Topic: Host a webpage to show 3D orientation from accelerometer
Replies: 1
Views: 78

Host a webpage to show 3D orientation from accelerometer

Hello, I have 3D orientation data coming from a 3-axis accelerometer to a MQTT broker. What's an easy and flexible way to serve up a webpage that subscribes to data on mqtt server and displays an arrow (or something) to visualize the 3D orientation of the object? I've looked at tree.js. It seems lik...
by scottk
Wed Oct 09, 2019 6:22 am
Forum: General discussion
Topic: Pi on SD card: about 9MB writes every 3 hours
Replies: 10
Views: 490

Re: Pi on SD card: about 9MB writes every 3 hours

If you are going to run that continuously the first order of the day is to get rid of X Windows, VNC and all that junk. Use Raspbian Lite for a minimal Debian like installation. Better to minimize things to the problems we need than all the potential problems we don't need. Thanks for the suggestio...
by scottk
Wed Oct 09, 2019 5:30 am
Forum: General discussion
Topic: Pi on SD card: about 9MB writes every 3 hours
Replies: 10
Views: 490

Pi on SD card: about 9MB writes every 3 hours

Hello, I have a Pi running an application called zigbee2mqtt. It's a fresh install of Raspbian Buster. I'm seeing about 9MB every 3 hours written to disk. My intention is to have this pi run 24-7-365. I'm wondering what I can do to minimize writes to disk, or if this is as low as is practical? If I ...
by scottk
Tue Sep 24, 2019 3:21 pm
Forum: Beginners
Topic: How to edit environmental varaibles to configure containers
Replies: 1
Views: 91

How to edit environmental varaibles to configure containers

I followed a tutorial for running Grafana inside docker on the Pi. It worked. But now I want to edit /etc/grafana/grafana.ini. But it's inside the docker container, so several posts on the issue said to edit environmental variable to accomplish the same Grafana config changes. GF_AUTH_ANONYMOUS_ENAB...
by scottk
Fri Aug 02, 2019 5:40 pm
Forum: Beginners
Topic: backing up a 1TB USB drive raspberry pi
Replies: 6
Views: 354

Re: backing up a 1TB USB drive raspberry pi

I backup my USB 240G SSD (actual SSD space used is just 14GB) using Raspbian's SD Card Copier to a 16GB pendrive then use win32diskimager (in a winpc, the only few remaining task delegated to it) to make the image. if the SSD space gets higher than 16GB, then I use the next available pendrive capac...
by scottk
Thu Aug 01, 2019 3:35 pm
Forum: Beginners
Topic: backing up a 1TB USB drive raspberry pi
Replies: 6
Views: 354

backing up a 1TB USB drive raspberry pi

So I've tried a couple of shell scripts to make smaller backup images. A couple of quick examples: [*] Drewsif/PiShrink will take a full size .img sitting on your computer and shrink it. So, first you use dd to backup a 32GB SD card, and then run PiShrink on the 32GB.img file to make it smaller. [*]...
by scottk
Fri Dec 21, 2018 8:46 pm
Forum: Troubleshooting
Topic: Modem Manager - adding profiles and plugins
Replies: 1
Views: 536

Modem Manager - adding profiles and plugins

It looks like the default install of Network and Modem Manager doesn't include all the udev rules and plugins listed here: https://packages.debian.org/sid/armhf/modemmanager/filelist The full list has, for example, a plugin for Quectel modems that I'd like to use. But this is all I have in that dire...
by scottk
Fri Dec 21, 2018 3:21 pm
Forum: Troubleshooting
Topic: Able to ping out, but no webpages. DNS issue?
Replies: 1
Views: 358

Able to ping out, but no webpages. DNS issue?

Hello, I'm troubleshooting a USB cellular modem connection issue on a Pi (Raspbian Stretch). I'm able to use pppd to establish a connection, but I'm unable to actually get on the internet (browser can't view webpages). I am able to ping, however. I'm doing my best to narrow down the issues, and this...
by scottk
Tue Dec 18, 2018 6:04 pm
Forum: Troubleshooting
Topic: Port "busy" when trying to send AT commands to modem
Replies: 3
Views: 480

Port "busy" when trying to send AT commands to modem

Hi, I'm using a Telit USB modem. When I plug it into the latest Stretch image, I see it enumerate as several USB ports. https://i.postimg.cc/yNf02c88/pi-enumerate-usb-ports.jpg I want to send AT commands to it. But when I try, I get a port busy (I think). I've tried using both Screen and Python scri...
by scottk
Fri Nov 16, 2018 7:00 pm
Forum: Troubleshooting
Topic: Bluetooth LE: issues connecting w/ Python, need other flags
Replies: 1
Views: 543

Bluetooth LE: issues connecting w/ Python, need other flags

Hello, I'm trying to connect to a nRF52 Thingy (bluetooth sensor puck), using the tutorial here for gatttool and bluepy: https://www.elinux.org/RPi_Bluetooth_LE I'm using Raspberry Pi 3B+, running Raspbian Stretch (and also just upgraded just now). I'm unable to connect to the BLE sensor puck using ...
by scottk
Mon Jun 04, 2018 4:45 pm
Forum: Troubleshooting
Topic: uv4l w/ USB webcam: unable to start server/stream
Replies: 1
Views: 1540

uv4l w/ USB webcam: unable to start server/stream

Hello, I have a USB webcam connected to a Raspberry Pi 3. I can get it to work with mjpg-streamer and "motion". But mjpg-streamer is too CPU intensive, and motion has too long delay and slow frame rates. So I tried uv4l, but I'm having trouble getting it to start a stream. [email protected]:~/scripts/w...
by scottk
Wed Apr 18, 2018 7:23 pm
Forum: General discussion
Topic: low profile jumpers for GPIO
Replies: 1
Views: 323

low profile jumpers for GPIO

This seems to be discussed quite a bit, but I haven't found an easy solution yet, so I"m asking again. I need to wire a button to the Raspberry Pi, and there's a case on the Pi. I don't really want to cut up the case, so I need to feed 3 wires from the GPIO header to the outside via the slit. I have...
by scottk
Tue Apr 03, 2018 3:59 am
Forum: General discussion
Topic: recommend external HD enclosure for SSD
Replies: 2
Views: 504

recommend external HD enclosure for SSD

Hello, I'm looking for a 2.5" external HD enclosure for a SATA SSD to be the primary USB boot device for a Pi3. It's unclear which ones on Amazon do not automatically sleep drives when idle. I'm under the impression that those drives would not work well as a boot drive for a raspberry pi because the...
by scottk
Sun Nov 05, 2017 9:40 am
Forum: General discussion
Topic: USB hard drive docks that work with Pi3 for USB boot
Replies: 1
Views: 316

USB hard drive docks that work with Pi3 for USB boot

Hi, I've tried a few different USB docks for booting for Raspberry Pi 3. Out of three docks, only one of them would boot successfully. I don't think it's the hard drive - the problem follows the dock. The one that worked was a "Pluggable" brand. What is about docks that prevent them from working for...
by scottk
Tue Oct 31, 2017 2:07 pm
Forum: General discussion
Topic: boot off USB drive - easy ways to expand file system?
Replies: 6
Views: 5814

Re: boot off USB drive - easy ways to expand file system?

Easiest option is to, temporarily, boot from an SDCard (with the USB drive still connected). Install gparted and use that to muck about withe the partitions on your USB hard drive. When you're done, shutdown, pull the SDCard and boot from the USB drive. Haha...yeah it's the mucking around that I ha...
by scottk
Tue Oct 31, 2017 2:05 pm
Forum: General discussion
Topic: boot off USB drive - easy ways to expand file system?
Replies: 6
Views: 5814

Re: boot off USB drive - easy ways to expand file system?

You only need to follow this https://elinux.org/RPi_Resize_Flash_Partitions#Manually_resizing_the_SD_card_on_Raspberry_Pi with a few little changes: - skip this on normal raspbian: d, 3 to delete the swap partition - There is no swap partition anymore ... - use /dev/sda2 instead /dev/mmcblk0p2 in t...
by scottk
Mon Oct 30, 2017 9:43 pm
Forum: General discussion
Topic: boot off USB drive - easy ways to expand file system?
Replies: 6
Views: 5814

boot off USB drive - easy ways to expand file system?

So I've read through several tutorials on how to expand the file system when using an external hard drive. They seem very complicated. The Pi 3 makes it easy to boot from a USB drive, but is there an easy way to expand the file system? The most detailed (and trust-worthy?) instructions seem to be he...
by scottk
Sat Oct 28, 2017 2:07 am
Forum: Beginners
Topic: Powering a 2.5" USB hard drive on Pi3
Replies: 20
Views: 9745

Re: Powering a 2.5" USB hard drive on Pi3

drgeoff, the only problem is that the Y would also feed power into the USB port for the Pi. One power for each device and a USB cord from the drive to the Pi USB port is how it would be done. The interesting (scary) thing is, if I power the hard drive first, nothing happens on the PI (it stays powe...
by scottk
Fri Oct 27, 2017 3:38 pm
Forum: Beginners
Topic: Powering a 2.5" USB hard drive on Pi3
Replies: 20
Views: 9745

Powering a 2.5" USB hard drive on Pi3

Hello, I tried powering a USB hard drive with a dual USB cable (sometimes called a Y-cable). I'm using this drive as a USB boot drive. With both the data and power USB ends plugged into the Raspberry Pi 3 itself, I'm unable to boot. The red lights blinks, and I think I'm drawing too much current. I'...
by scottk
Tue Aug 15, 2017 5:37 am
Forum: General discussion
Topic: suggestions for a touch display GUI
Replies: 2
Views: 9232

suggestions for a touch display GUI

Hello, I'm interested in developing a touch screen GUI application for the RPi, but I'm unsure about how to go about it, and what kind of pros & cons there are to different approaches. This is kind of for a science project. My main 3 goals: Criteria #1 : A touch screen display that is wired to the R...
by scottk
Sun May 21, 2017 7:32 pm
Forum: Beginners
Topic: RPi 3 and USB Boot - still able to boot via microSD
Replies: 2
Views: 398

RPi 3 and USB Boot - still able to boot via microSD

I followed the instructions on enabling the USB boot via the OTP feature on Raspberry Pi 3's. It worked great. But I was under the impression that once you set that bit, you would be unable to boot via the SD card, but that doesn't seem to be true, at least for my Pi3. If I take out the USB drive an...
by scottk
Fri Apr 28, 2017 5:45 pm
Forum: Advanced users
Topic: PI 3 USB drive boot - w/ more than 1 USB drive
Replies: 1
Views: 497

PI 3 USB drive boot - w/ more than 1 USB drive

Hi, I've read through the instructions on booting a Pi off of a USB drive. What happens if there are two USB drives on the system? I didn't see in the instructions where you specify which USB port or USB drive to boot off of, so does the Pi's firmware intelligent enough to go through each drive and ...
by scottk
Wed Oct 05, 2016 1:30 am
Forum: General discussion
Topic: Reading and parsing UART
Replies: 3
Views: 2834

Re: Reading and parsing UART

You can use node.js and the serialport module ... Presumably it's possible to get Node Red to do something similar. Thanks for the code. I'll have to read up on node.js. I'm really surprised it only takes those few lines of code to read and parse. Will this do it continuously? I mean, after a new l...
by scottk
Sun Aug 21, 2016 3:13 am
Forum: General discussion
Topic: Reading and parsing UART
Replies: 3
Views: 2834

Reading and parsing UART

Hello, I have an external microcontroller that outputs UART. I'd like to read and parse the serial data with a Raspberry Pi and then translate this data to MQTT. I'm looking for some advice on what's a easy and reliable way of doing this. For the UART data, each "line" is a set of data that I need t...

Go to advanced search