Go to advanced search

by MisterEd
Tue Feb 18, 2020 1:34 pm
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 18
Views: 616

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: 94

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: 236

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: 61
Views: 2159

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: 236

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: 61
Views: 2159

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: 61
Views: 2159

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: 2811

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: 347

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: 302

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: 18
Views: 616

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: 324

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: 143

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: 143

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: 2274

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: 459

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); //...
by MisterEd
Wed Jan 29, 2020 5:29 am
Forum: General discussion
Topic: Anything special about GPIO18 (BCM) on Buster?
Replies: 3
Views: 271

Re: Anything special about GPIO18 (BCM) on Buster?

Yes, just the bit concerned with setting up the gpio and the callback just to check I wasn't doing anything that would interfere with Buster internal operation. Like I said, it all worked under Stretch. The callback just sets a variable to be looked at by the rest of the code. I see 10's of activat...
by MisterEd
Tue Jan 28, 2020 4:59 am
Forum: General discussion
Topic: Problem setting screen resolution on Raspberry Pi 3B+
Replies: 2
Views: 231

Re: Problem setting screen resolution on Raspberry Pi 3B+

Make sure you do an update&upgrade Then make sure you've enabked FKMS driver on your 3B+ as well I had already just done an update & upgrade. I enabled the following in /boot/config.txt: "dtoverlay=vc4-fkms-v3d" After I rebooted the Raspberry Pi 3B+ showed the correct information in Preferences > S...
by MisterEd
Sun Jan 26, 2020 11:20 pm
Forum: General discussion
Topic: Problem setting screen resolution on Raspberry Pi 3B+
Replies: 2
Views: 231

Problem setting screen resolution on Raspberry Pi 3B+

I have two Raspberry Pis: 1. 3B+ (with Raspbian Buster) 2. 4B (with Raspbian Buster) Recently I added the following to each one: 1. enabled VNC server 2. Installed xrdp I am using an Asus VE228H monitor with a resolution of 1920x1080. I hooked up Raspberry Pi 3B+ again after several months. I wanted...
by MisterEd
Fri Jan 17, 2020 5:48 am
Forum: General discussion
Topic: How to redirect audio on Pi to remote desktop?
Replies: 2
Views: 171

How to redirect audio on Pi to remote desktop?

I am using the following software on my Windows 10 laptop to access my Raspberry Pi 4 4GB:
* RealVNC VNC Connect (VNC Viewer)
* Windows Remote Desktop

Notes:
* VNC service is enabled on Pi
* XRDP is installed on Pi

How do I get the audio on the Pi to redirect to the PC?
by MisterEd
Thu Jan 16, 2020 9:49 am
Forum: General discussion
Topic: Pi stock availability??
Replies: 4
Views: 324

Re: Pi stock availability??

I have been trying to buy some Pis since before Christmas, namely a Pi 4 and Pi zero w. Retailers listed on the Raspberry Pi website show no stock of these and have since before Christmas. Just wondered if there is a supply problem?? I just checked Amazon.com and CanaKit. Both show the the Pi 4 in ...
by MisterEd
Sun Jan 12, 2020 9:11 pm
Forum: General discussion
Topic: LED won't turn off
Replies: 12
Views: 604

Re: LED won't turn off

After I saw the photo it looks like a Kuman RPi GPIO Breakout Expansion Board. I compared it to my SunFounder Breadboard w/T-Extension Board. I now see that the two use different pin names and layouts for the T Extender. For the pin the OP used: For Kuman board : GPIO4 = BCM4 = Pin7 For SunFounder b...
by MisterEd
Sun Jan 12, 2020 3:24 am
Forum: Scratch
Topic: Raspberry Pi 4 and Scratch 2
Replies: 12
Views: 4354

Re: Raspberry Pi 4 and Scratch 2

It's December 28, 2019. I did the Astronaut project with my son yesterday, and we hit the same bug with Scratch 2 freezing on Raspberry PI 4 when trying to import the astronaut sprite and the background according to the Raspberry Pi book. I ran apt update and apt full-upgrade commands after that, b...
by MisterEd
Sat Jan 11, 2020 8:32 pm
Forum: General discussion
Topic: LED won't turn off
Replies: 12
Views: 604

Re: LED won't turn off

I ran the essentially same code as you did. It is from the gpiozero docs. Notes: Raspian loads the gpiozero library by default The gpiozero library uses BCM numbering I am using a RPi4-4GB with Raspbian Buster. Here is the code I ran. I just tested it. It worked fine. from gpiozero import LED from t...
by MisterEd
Sat Oct 19, 2019 2:30 am
Forum: General discussion
Topic: Bluetooth range
Replies: 1
Views: 246

Re: Bluetooth range

I have a Logitech K380 Bluetooth keyboard. I use it with a RPi 4B 4GB with Raspbian Buster. The keyboard worked fine until one time a program I had crashed. I had to shut down the Pi using the power switch. It booted OK after that but the Bluetooth keyboard would not connect right after that. I fina...

Go to advanced search