Go to advanced search

by scruss
Mon Sep 14, 2020 10:14 pm
Forum: Troubleshooting
Topic: Sqlite3 database created in one program but other program trying to write gets read only
Replies: 17
Views: 484

Re: Sqlite3 database created in one program but other program trying to write gets read only

Is this a permissions thing? Was the db created using sudo, and a regular user is trying to update it? Also, you can only have one process writing to a SQLite database at any one time. You can have multiple processes with the db open, but without some extensions enabled you can only have one writer ...
by scruss
Mon Sep 14, 2020 10:08 pm
Forum: General discussion
Topic: Booting .pde
Replies: 12
Views: 450

Re: Booting .pde

PDEs are also Processing sketch files. Wiring/Arduino only picked up the suffix because the first IDEs was a very lightly modified version of the Processing Development Environment. Processing can compile a sketch to a standalone Java application that can run from the command line. It's been a while...
by scruss
Mon Sep 14, 2020 6:55 pm
Forum: Troubleshooting
Topic: Printer error: pending - not connected
Replies: 2
Views: 84

Re: Printer error: pending - not connected

Are you using IPP? Most Brother DCP printers support IPP, and the fact you can print from your phone makes me think that IPP/AirPrint (= same thing) is available. Try this:

Code: Select all

sudo apt install cups cups-ipp-utils system-config-printer
and your printer should be automatically detected.
by scruss
Sun Sep 13, 2020 9:42 pm
Forum: Beginners
Topic: How to automatically track the IV-Curve of a solar cell with electronic load method (MOSFET)
Replies: 17
Views: 616

Re: How to automatically track the IV-Curve of a solar cell with electronic load method (MOSFET)

MPPT tracking is quite a complex concept. You're basically doing an impedance match to get the maximum power out of a device with a wildly variable set of V & I outputs. This project uses a buck converter and current sensors to pull maximum power from a solar panel: ARDUINO MPPT SOLAR CHARGE CONTROL...
by scruss
Sun Sep 13, 2020 7:21 pm
Forum: Off topic discussion
Topic: My new ZX81 clone, ZX81+38 built from discrete pin-through hole components (gerbers also released on Github)
Replies: 49
Views: 14589

Re: My new ZX81 clone, ZX81+38 built from discrete pin-through hole components (gerbers also released on Github)

Get well soon, mahjongg.

I've always had low blood pressure, coupled with a slow resting heartbeat and a particularly amusing form of heart arrhythmia where it slows down under stress. It can be no fun at all.
by scruss
Sun Sep 13, 2020 6:53 pm
Forum: Other
Topic: DietPi | Minimal image, highly extensible
Replies: 17
Views: 641

Re: DietPi | Minimal image, highly extensible

https://github.com/MichaIng/DietPi-Website/raw/master/images/android-chrome-192x192.png You might want to do something about that logo, though: it's a derivative of the trademarked Raspberry Pi Logo . See page 3 of https://static.raspberrypi.org/files/Raspberry_Pi_Visual_Guidelines_2020.pdf for wha...
by scruss
Sat Sep 12, 2020 7:24 pm
Forum: General discussion
Topic: Best budget GPIO LCD for the Raspberry pi?
Replies: 4
Views: 151

Re: Best budget GPIO LCD for the Raspberry pi?

Waveshare's 5inch Display for Raspberry Pi, 800×480, DPI Interface, IPS, No Touch comes in at $32. While there are cheaper displays, Waveshare's will very likely work.
by scruss
Wed Sep 09, 2020 6:57 pm
Forum: Advanced users
Topic: Unable to set non-standard baud rate
Replies: 20
Views: 689

Re: Unable to set non-standard baud rate

Can you not just set the baud rate you want when opening the device? (However you do it in netcore) dotnet only allows certain fixed serial speeds . Other rates are currently not supported . OP, you may be on to plums with this one. Those baud rates are hardcoded into dotnet's serial handling, for ...
by scruss
Wed Sep 09, 2020 4:52 pm
Forum: Advanced users
Topic: Unable to set non-standard baud rate
Replies: 20
Views: 689

Re: Unable to set non-standard baud rate

Have you considered using a soft UART? I've used this one in a limited application: adrianomarto/soft_uart: Software-based serial port module for Raspberry Pi. It'll give you a UART on almost any GPIO pin It doesn't recommend going above 4800 bps, but your 5Kbaud is pretty close. It's mostly reliabl...
by scruss
Tue Sep 08, 2020 2:40 pm
Forum: Other projects
Topic: Has anyone here used a 3D printing service to make enclosures for projects?
Replies: 19
Views: 606

Re: Has anyone here used a 3D printing service to make enclosures for projects?

… just don't forget that nothing can be printed completely floating, so you'll have to allow for support and maybe be prepared to chop bits off. SLS can print floating parts, and that's what most online services seem to quote first. OP, as I mentioned before, there's likely something close to what ...
by scruss
Tue Sep 08, 2020 3:04 am
Forum: Other projects
Topic: Has anyone here used a 3D printing service to make enclosures for projects?
Replies: 19
Views: 606

Re: Has anyone here used a 3D printing service to make enclosures for projects?

Tinkercad is where most people start. It works well enough.

There are likely hundreds of combined enclosure/mount designs already on Thingiverse, MyMiniFactory, etc.
by scruss
Tue Sep 08, 2020 2:05 am
Forum: Other projects
Topic: Has anyone here used a 3D printing service to make enclosures for projects?
Replies: 19
Views: 606

Re: Has anyone here used a 3D printing service to make enclosures for projects?

Not directly, but then, 3d printing is my job, so I can make pretty much anything I'd want. If you have access to a Windows 10 machine (not Win10 IOT on the Raspberry Pi), it has a 3d printing service/estimator where you can load a model and get it to quote for you. Some of the services offer sinter...
by scruss
Mon Sep 07, 2020 2:16 pm
Forum: Beginners
Topic: Need a case for attaching to TV?
Replies: 11
Views: 366

Re: Need a case for attaching to TV?

LTolledo wrote:
Mon Sep 07, 2020 11:09 am
… RPiZW Aluminum heatsink-case view1.jpg
Ooh, that's pretty. Hand-cut, or CNC? It's kind of got that Minox look going on.

Cyntech sell a variety of VESA thingies.
by scruss
Mon Sep 07, 2020 2:04 pm
Forum: Camera board
Topic: The cameras have fixed focus, so how they make the pictures clear and focused ?
Replies: 3
Views: 220

Re: The cameras have fixed focus, so how they make the pictures clear and focused ?

that's a good answer, epoch1970. Basically, a photograph's only ever in good enough focus. That is, the part of the photograph that the photographer wants to show off is clear enough for the screen it's being shown on, or the page or even billboard it's printed on. And there's a lot of difference in...
by scruss
Sun Sep 06, 2020 5:02 pm
Forum: Troubleshooting
Topic: vncserver-x11 syslog spam
Replies: 2
Views: 111

Re: vncserver-x11 syslog spam

This AgentInitCheck thing comes up every now and again. are you booting directly to the Desktop? Some posters have reported these messages if you do anything otherwise. have you set a VNC screen resolution? It's under “Advanced Options” in raspi-config are you running the most recent and updated Ras...
by scruss
Sun Sep 06, 2020 4:48 pm
Forum: Troubleshooting
Topic: Errors when updating Raspberry Pi - either apt-listchanges or Python3
Replies: 7
Views: 232

Re: Errors when updating Raspberry Pi - either apt-listchanges or Python3

... Setting up python3 (3.7.3-1) ... running python rtupdate hooks for python3.7... Segmentation fault ... I've found that a segmentation fault when running a routine command usually means the SD card's filesystem is corrupt. I'd backup what you can and maybe create a new image on a fresh card if t...
by scruss
Sat Sep 05, 2020 10:03 pm
Forum: Troubleshooting
Topic: sigrok / CY7C68013 does not work
Replies: 5
Views: 190

Re: sigrok / CY7C68013 does not work

Hmm, snapcraft just want you to install snaps: it's their thing. I'm stuck with them on Ubuntu, and I wish they'd go away.

Guess I'll have to write a placeholder article to catch those sigrok clicks
by scruss
Sat Sep 05, 2020 8:28 pm
Forum: General discussion
Topic: geiger counter radiationd-v1.1(caJOE)
Replies: 7
Views: 622

Re: geiger counter radiationd-v1.1(caJOE)

I wouldn't do too much physical tracing on a cheap G-M tube board: there are big voltages (c. 500 V) across the tube and they get ouchy very fast. As Dougie suggests, use a logic level converter from the oddly-named Vin port: that's where the pulses come out. You'll need to have something that count...
by scruss
Sat Sep 05, 2020 8:10 pm
Forum: Troubleshooting
Topic: sigrok / CY7C68013 does not work
Replies: 5
Views: 190

Re: sigrok / CY7C68013 does not work

Any reason you're using the snap version? The lots and lots of warnings from trying to run the package from a snap is a hint that something didn't install correctly. Maybe uninstall the snap version (and snapd), and try: sudo apt install sigrok sigrok-cli pulseview sigrok-firmware-fx2lafw ? I do hav...
by scruss
Fri Sep 04, 2020 7:49 pm
Forum: General discussion
Topic: Raspbian GUI apps buged
Replies: 4
Views: 236

Re: Raspbian GUI apps buged

The guide you're following is a quite old and won't give you the best desktop. To my knowledge these aren't needed to the vanilla raspberry Well, I guess you know they are now. Unless you're really desperate for storage space, install Raspberry Pi OS with Desktop and don't try to take out files you ...
by scruss
Fri Sep 04, 2020 7:44 pm
Forum: General discussion
Topic: Remote code editing on raspberry pi
Replies: 7
Views: 294

Re: Remote code editing on raspberry pi

I'm pretty fond of sshfs for this. It mounts a remote file system virtually via ssh. There are a variety of clients for all operating systems. Because it's using ssh, it uses all the same security as your regular ssh setup, and gives all the normal file access that the local user has.
by scruss
Thu Sep 03, 2020 7:44 pm
Forum: Beginners
Topic: Setup console font early during boot
Replies: 5
Views: 203

Re: Setup console font early during boot

I don't have an answer for you, but console config is run from systemd's console-setup.service . It has a few dependencies , as are shown in /lib/systemd/system/console-setup.service: [Unit] Description=Set console font and keymap DefaultDependencies=no After=console-screen.service kbd.service local...
by scruss
Thu Sep 03, 2020 2:36 pm
Forum: Beginners
Topic: Create a Script for Updating Pi via Alfred on a Mac
Replies: 7
Views: 137

Re: Create a Script for Updating Pi via Alfred on a Mac

Code: Select all

sudo apt update ;sudo apt -y full-upgrade
should do it without any pesky questions. I don't know if this overrides any replacement of modified config files, though: you might not want all of those set back to maintainer's defaults.
by scruss
Thu Sep 03, 2020 2:32 pm
Forum: Beginners
Topic: Looking is learning.
Replies: 4
Views: 186

Re: Looking is learning.

Your installation link is outdated and likely to break users' Raspberry Pi OS installation. Do this instead: sudo apt install mc I was a huge fan of two-panel file managers in my CP/M and Amiga days but I very seldom use them now. mc 's neat if that's the sort of thing you like, though. Learning com...
by scruss
Wed Sep 02, 2020 8:40 pm
Forum: General discussion
Topic: Using cd from within a bash script
Replies: 42
Views: 1228

Re: Using cd from within a bash script

Use aliases: alias doit='cd ~/bin' resulting command output: $ doit ~/bin $ Hence result. When you have the aliases the way you want, save them with: alias > ~/.bash_aliases This will persist for every new window you open, and every time you reboot. If you want to get rid of an alias: unalias doit I...

Go to advanced search