Go to advanced search

by MisterEd
Wed Apr 22, 2020 3:48 am
Forum: General discussion
Topic: What are the best micro sd card models for raspberry pi 4b?
Replies: 5
Views: 415

Re: What are the best micro sd card models for raspberry pi 4b?

Due to the many variables involved, "best" varies between individuals. For me based on my personal weighting of, trust in the manufacturer, speed, lifetime, reliability, availability, and cost, I go for the newer model SanDisk Ultra cards with an A1 rating. For 64G that's currently SDSQUAR-064G-GN6...
by MisterEd
Thu Apr 16, 2020 4:01 am
Forum: Troubleshooting
Topic: Windows VNC Viewer trashes VNC Server --[Solved with Chrome VNC App]
Replies: 4
Views: 257

Re: Windows VNC Viewer trashes VNC Server

I also have VNC Server 6.71 on my Pi 4 and VNC Viewer 6.20.113 on my Windows 10 laptop. Currently I have no problems connecting to the Pi desktop. I can also connect to my Pi3b at the same time. Note neither Pi is connected to a monitor. When you try to connect using VNC Viewer with Windows do you g...
by MisterEd
Sun Apr 05, 2020 2:53 am
Forum: General discussion
Topic: Why nano?
Replies: 48
Views: 2439

Re: Why nano?

Exactly. Most of my Pi never have a screen attached. They do their thing remotely. I commune with them via ssh. Or edit files on them with VS Code on my PC via shfs. A GUI editor is useless. Also, when things go belly up after much tweaking of config files and the like and X won't start it's useful...
by MisterEd
Sun Apr 05, 2020 12:40 am
Forum: General discussion
Topic: Why nano?
Replies: 48
Views: 2439

Re: Why nano?

I prefer to use Mousepad. It might be my longtime use of Windows Notepad that influenced that decision. Mousepad (and other graphical editors) require a GUI (desktop). Not too useful for people running Raspbian Lite or editing a file over SSH (yes, I know there are ways around that, but they're not...
by MisterEd
Sun Apr 05, 2020 12:01 am
Forum: General discussion
Topic: Why nano?
Replies: 48
Views: 2439

Re: Why nano?

The RPF folks don't like vi (as can be seen because they don't pre-install the full fat version) and nobody in the world likes emacs (they'll claim they do, they're lying). Nano is ugly but it's relatively easy to use if you know what ^O and ^X mean. The GUI has some form of GUI editor thing (would...
by MisterEd
Sat Apr 04, 2020 11:41 pm
Forum: General discussion
Topic: Why nano?
Replies: 48
Views: 2439

Why nano?

People talk about using the nano editor in their responses to questions. Why nano? I see there are easier to use editors that may be more suitable for people to use especially beginners. I tried nano but didn't like it. I realize some editors have advantages such as some that are context sensitive. ...
by MisterEd
Wed Apr 01, 2020 10:23 pm
Forum: General discussion
Topic: largest Bootable sd card?
Replies: 10
Views: 582

Re: largest Bootable sd card?

What about using a SSD M.2 SATA drive in an enclosure?
You can buy them separately for a total of around $100-$130 for one with 500GB capacity.
by MisterEd
Wed Apr 01, 2020 3:21 pm
Forum: Troubleshooting
Topic: [VNC] Cannot currently show the dekstop
Replies: 52
Views: 146074

Re: [VNC] Cannot currently show the dekstop

'Man in a van' solution is the simplest. It automatically adds to the config.txt. For ready reference I copy it here: sudo raspi-config Select 7 Advanced Operations Select 5 Resolution choose highest available. After rebooting if you check the config.txt, you will notice hdmi_force_hotplug=1 hdmi_g...
by MisterEd
Sat Mar 28, 2020 11:50 am
Forum: Troubleshooting
Topic: [VNC] Cannot currently show the dekstop
Replies: 52
Views: 146074

Re: [VNC] Cannot currently show the dekstop

I wanted to use VNC on my PC to work with the Pi desktop without a monitor connected to the Pi. It worked OK with my Pi 3B+ but not with my Pi 4B. Both are running Raspbian Buster. Using my Pi 4B: I set the resolution with: Pi Menu > Preferences > Screen Resolution I set it to: 1920x1080 @60Hz When ...
by MisterEd
Tue Feb 18, 2020 1:34 pm
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 22
Views: 4158

Re: Scratch resources for adults?

chippe01, It was always clear to me that Scratch was created for children. Nothing wrong with that but it's unlikely to be of any practical or interesting use. Others however have a different idea. For example Scratch was used in 2010 Scratch was used by Brian Harvey in the UC Berkeley CS10 Comp Sc...
by MisterEd
Tue Feb 18, 2020 12:06 pm
Forum: Python
Topic: Mismatch between Terminal output and Thonny Shell output
Replies: 2
Views: 222

Re: Mismatch between Terminal output and Thonny Shell output

Note Thonny comes with Python 3 built-in. It may differ from the version of Python 3 from the command line. I modified the program to display the version of Python used. print(platform.python_version()) print("Python", platform.python_version()) def add_numbers(x, y, z): a = x + y b = x + z c = y + ...
by MisterEd
Mon Feb 17, 2020 7:46 pm
Forum: Troubleshooting
Topic: Can't set the proper time zone for Rpi4
Replies: 12
Views: 784

Re: Can't set the proper time zone for Rpi4

Apparently I can't find Canada between the available options. I'm in Vancouver and I didn't even seem to find a close city that I could select even from other countries. (Seattle in USA would have worked as well). In the first list, select "America". In the second, "Vancouver". Were you confused th...
by MisterEd
Mon Feb 17, 2020 2:14 pm
Forum: General discussion
Topic: USB image writer
Replies: 173
Views: 13683

Re: USB image writer

Here are the three versions I have tried for usbimager.exe: 1. 2/16/2020 8:15 AM 164,878 2. 2/17/2020 4:08 AM 166,926 3. 2/17/2020 11:34 AM 166,926 You are right about why version #2 failed. Version 3 seems to work OK. Version #2: - without verification: ran successfully to completion - with verific...
by MisterEd
Mon Feb 17, 2020 7:02 am
Forum: Troubleshooting
Topic: Can't set the proper time zone for Rpi4
Replies: 12
Views: 784

Re: Can't set the proper time zone for Rpi4

Hello everyone I am trying to change the default time zone of my Raspberry pi4 through the command sudo raspi-config, as the clock on my desktop is showing the wrong time and day. Apparently I can't find Canada between the available options. I'm in Vancouver and I didn't even seem to find a close c...
by MisterEd
Mon Feb 17, 2020 6:07 am
Forum: General discussion
Topic: USB image writer
Replies: 173
Views: 13683

Re: USB image writer

I just downloaded the latest version. This time right after I select the Write button I get "Write verification failed". I reformatted the card and successfully wrote the image with Etcher. BTW, would it be possible to put version numbers in the usbimager.exe file so that we know which version we ar...
by MisterEd
Sun Feb 16, 2020 1:53 pm
Forum: General discussion
Topic: USB image writer
Replies: 173
Views: 13683

Re: USB image writer

I tried the same thing on my Windows 10 laptop with uSD Card: SanDisk Ultra (32GB)

From: C:\Users\me\Downloads\2020-02-13-raspbian-buster-full.zip
To: D: [30.7 GiB] Mass Storage Device

I get the error: "An error occurred while writing to the target device."
by MisterEd
Sun Feb 16, 2020 12:04 pm
Forum: General discussion
Topic: screen mirroring
Replies: 6
Views: 3179

Re: screen mirroring

I've the same question but I see nobody answered yet. Have you found a way to do it? If anyone could help to assist how can we maricast the phone (Android) & iphone to the Raspberry Pi 4 Screen. To mirror Android screen on Pi 4 screen you need: 1. VNC viewer on Pi 4 2. VNC server on phone #1 is eas...
by MisterEd
Sun Feb 16, 2020 8:54 am
Forum: General discussion
Topic: GPIO programing
Replies: 9
Views: 566

Re: GPIO programing

You said the code didn't work. How do you know that? It was hard to determine your code format since you don't show indents. Hint: to preserve formatting select the text and click on the code option in the above menu. I restructured your program. I put a counter in so it only looped two times (1st t...
by MisterEd
Sun Feb 16, 2020 6:40 am
Forum: General discussion
Topic: STRANGE -- make changes - reboot - changes are gone!???
Replies: 10
Views: 695

Re: STRANGE -- make changes - reboot - changes are gone!???

For what it is worth, it is (was) a: Lexar633x 16GB Micro[1] HC I Lexar do not list a 633x card in 16GB, lowest storage capacity they offer is 32GB - your card is likely a fake. That doesn't mean they've never sold them in the past, just that they don't sell them now. https://www.lexar.com/portfoli...
by MisterEd
Fri Feb 14, 2020 10:49 pm
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 22
Views: 4158

Re: Scratch resources for adults?

I understand where you are coming from. I started out with a TRS-80 Model I in 1979. I started with Basic on my TRS-80 and Atari computers. When I got a PC in 1995 I used QBasic and QuickBasic. As a Software Engineer I used Fortran, Visual Basic, and Visual C++. I found it harder and harder to keep ...
by MisterEd
Fri Feb 14, 2020 1:21 pm
Forum: Python
Topic: Digital reading of GPIO inputs from ADC converter /Digital osciloscope
Replies: 5
Views: 533

Re: Digital reading of GPIO inputs from ADC converter /Digital osciloscope

It seems the Arduino was used with the Pi to capture data because it works much better in a real-time environment. Since the Pi is interrupt driven then wouldn't that limit its speed in capturing data? I know this is not what you were asking about but maybe dedicated hardware like is shown below mig...
by MisterEd
Sun Feb 09, 2020 12:29 am
Forum: Python
Topic: Call Octave from Python
Replies: 2
Views: 336

Re: Call Octave from Python

tqhien wrote:
Fri Feb 07, 2020 12:42 pm
You should be able to install oct2py via pip :

Code: Select all

pip install oct2py
See https://pypi.org/project/oct2py/
Build failed with too many errors to post here.
by MisterEd
Thu Feb 06, 2020 6:56 am
Forum: Python
Topic: Call Octave from Python
Replies: 2
Views: 336

Call Octave from Python

I want to write a Python program that uses NumPy. I then want to display the generated data with the Matlab clone Octave. Both NumPy and Octave are on my Pi. I just need to know how to call Octave from Python. I found a program called Oct2Py that is supposed to make this possible but I can not find ...
by MisterEd
Mon Feb 03, 2020 8:30 am
Forum: General discussion
Topic: Looking for 2x20 LED matrix display
Replies: 28
Views: 3358

Re: Looking for 2x20 LED matrix display

Decoding the extended characters confirmed they were sequential, with an offset of 32 (decimal), so the full list of extended characters can be translated like this : def extended(s): chars = ["Ç","ü","é","â","ä","à","å","ç","ê","ë","è","ï","î","ì","Ä","Å","É","æ","Æ","ô","ö","ò","û","ù","ÿ","Ö","Ü...
by MisterEd
Mon Feb 03, 2020 5:01 am
Forum: General discussion
Topic: PI 4B & wiringPi GPIO not working, any help appreciated
Replies: 5
Views: 898

Re: PI 4B & wiringPi GPIO not working, any help appreciated

I have a Raspberry Pi 4 4GB I just built the following circuit: [wP 25] --- [-LED+] --- [220ohms] --- 3v3 I used the code: // test.c #include <wiringPi.h> #include <stdio.h> #define LedPin 25 // BCM 26 int main(void) { wiringPiSetup(); pinMode(LedPin, OUTPUT); while(1){ digitalWrite(LedPin, LOW); //...

Go to advanced search