Go to advanced search

by B.Goode
Sun Nov 28, 2021 10:28 am
Forum: MicroPython
Topic: CO2 Sensor MH-Z19C
Replies: 8
Views: 253

Re: CO2 Sensor MH-Z19C

I also suggest reading a datasheet for your MH-Z19C to see if there are any significant interfacing differences between it and the 'B' version.

https://www.winsen-sensor.com/sensors/c ... -z19c.html

https://www.winsen-sensor.com/sensors/c ... -z19b.html
by B.Goode
Sun Nov 28, 2021 10:17 am
Forum: MicroPython
Topic: CO2 Sensor MH-Z19C
Replies: 8
Views: 253

Re: CO2 Sensor MH-Z19C

Perhaps post your full modified code so others can see exactly what you have. ok, this is the code currently (only the last 2 lines were added to the code in comparison to the code in post #1) from machine import UART import time import machine # this class measures CO2 with MH-Z19B sensor class MH...
by B.Goode
Sun Nov 28, 2021 7:52 am
Forum: MicroPython
Topic: CO2 Sensor MH-Z19C
Replies: 8
Views: 253

Re: CO2 Sensor MH-Z19C

If the second block of code represents the whole of your script, the reason for the lack of results is that it doesn't actually 'do' anything.

You specify a Class MHZ19BSensor:, but you never create an instance of it to access the methods (functions) it defines.
by B.Goode
Sat Nov 27, 2021 11:15 pm
Forum: Troubleshooting
Topic: Anydesk installs but does not run on Raspian
Replies: 5
Views: 149

Re: Anydesk installs but does not run on Raspian

So are the best, smallest program for remote access has been Anydesk. Its small and exceptionally intuitive. We have installed and used many times. Mostly Pi3's with NOOBS Setting up a new Pi4 with a new 32GB m/SD and it installs but then doesn't run. We get a blank sub-creen. This is a Pi4. Normal...
by B.Goode
Sat Nov 27, 2021 9:38 pm
Forum: MicroPython
Topic: i2c invalid syntax
Replies: 2
Views: 133

Re: i2c invalid syntax

"can anyone tell me what I did wrong?"


If your posted code here is an accurate representation of your actual script, you are missing critically important indentation (left-hand white space) after the if, else and for statements.
by B.Goode
Sat Nov 27, 2021 8:40 pm
Forum: General discussion
Topic: Environmental monitoring and regulation - Which Pi to buy?
Replies: 9
Views: 385

Re: Environmental monitoring and regulation - Which Pi to buy?

I believe I may have an issue with the limited GPIO pins but I am not sure. and there might be an issue with incorporating the outputs and the touchscreen together given the limited number of pins. There are 26 program-controllable GPIO pins. That doesn't seem to be an issue for the number of conne...
by B.Goode
Sat Nov 27, 2021 7:03 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

The problem is literally that I didn’t get it. It wasn’t pre installed Whether or not that is true, trying to install something with a different name won't fix the problem. Please check carefully. The name of the programming language is p y t h o n . I tried that already Try this at a shell (comman...
by B.Goode
Sat Nov 27, 2021 6:55 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

There is a programming language called python , which is pre-installed in your version of RasPiOS Bullseye [32] The problem is literally that I didn’t get it. It wasn’t pre installed Whether or not that is true, trying to install something with a different name won't fix the problem. Please check c...
by B.Goode
Sat Nov 27, 2021 6:52 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

Sure, sudo apt-get install phyton3 Reading package list… done Reading dependency tree… done Reading state information… done E: unable to locate package Phyton3 What do you think the package " phyton3 " contains, and why do you need to install it? Maybe there simply is no such package avai...
by B.Goode
Sat Nov 27, 2021 6:44 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

The one on raspberry pi imager. Raspberry pi os(32-bit) 2021-10-30 Not the lite or full version That is the image running on my own RPi3B+ from which I took the snapshot of a working version of python[3] a few minutes ago. Can you include a similar 'cut and paste' snapshot of what you are attemptin...
by B.Goode
Sat Nov 27, 2021 6:33 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

Raspberry pi OS (32-bit) Which named Generation of RasPiOS, and which of the 3 variants - Lite, Desktop, Desktop+Recommended s/w? The one on raspberry pi imager. Raspberry pi os(32-bit) 2021-10-30 Not the lite or full version That is the image running on my own RPi3B+ from which I took the snapshot...
by B.Goode
Sat Nov 27, 2021 6:27 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

Ljosnes wrote:
Sat Nov 27, 2021 6:24 pm
B.Goode wrote:
Sat Nov 27, 2021 6:21 pm
Ljosnes wrote:
Sat Nov 27, 2021 6:19 pm


It isn’t installed

P Y T H O N



For clarity, please specify what Operating System is installed for use with your RPi board.
Raspberry pi OS (32-bit)



Which named Generation of RasPiOS, and which of the 3 variants - Lite, Desktop, Desktop+Recommended s/w?
by B.Goode
Sat Nov 27, 2021 6:21 pm
Forum: Python
Topic: Phyton3 not downloading
Replies: 24
Views: 605

Re: Phyton3 not downloading

It's python , and why do you need to install it ? It should be installed already if using raspi os. It isn’t installed P Y T H O N For clarity, please specify what Operating System is installed for use with your RPi board. This is from an RPi system running the 'Desktop' variant of the recommended ...
by B.Goode
Sat Nov 27, 2021 6:20 pm
Forum: Off topic discussion
Topic: How do I download phyton 3
Replies: 2
Views: 173

Re: How do I download phyton 3

Ljosnes wrote:
Sat Nov 27, 2021 6:14 pm
I did “sudo apt-get install phyton3” and it says “e: unable to locate package phyton3”
See: viewtopic.php?t=324860
by B.Goode
Sat Nov 27, 2021 4:54 pm
Forum: General discussion
Topic: sendig and receiving data from a local web site
Replies: 6
Views: 202

Re: sendig and receiving data from a local web site

The_Hacker wrote:
Sat Nov 27, 2021 4:49 pm
But, flask is a web server. I can't transfer data with flask. I use Apache as web server. I read online that I can transfer files with the sftp protocol. How can I do this?

Clearly I misunderstood your question.

I didn't see any requirement to transfer files.

Good luck with your project.
by B.Goode
Sat Nov 27, 2021 3:52 pm
Forum: Raspberry Pi OS
Topic: Cant image my pi from the Buster ISO
Replies: 4
Views: 162

Re: Cant image my pi from the Buster ISO

I get the latest Buster "2021-01-11-raspios-buster-i386.iso" from the OS download page. [ ... ] Is the image on your download page OK? The description says it is the full desktop OS. The description also says "Raspberry Pi Desktop Compatible with: PC and Mac" No mention of it be...
by B.Goode
Sat Nov 27, 2021 3:29 pm
Forum: General discussion
Topic: sendig and receiving data from a local web site
Replies: 6
Views: 202

Re: sendig and receiving data from a local web site

hi, I want to make an automatic greenhouse. I use the raspberry to do that and i want reading the temperature sensor values ​​on a local website hosted by the raspberry. Also on the site I have some buttons that send data to the raspberry to operate the water irrigation and the lamp. How can I rece...
by B.Goode
Sat Nov 27, 2021 11:02 am
Forum: General
Topic: What is the fastest way transmit byte from pico to rpi through UART?
Replies: 4
Views: 258

Re: What is the fastest way transmit byte from pico to rpi through UART?

What is the fastest way transmit byte from pico to rpi through UART? Now i use "uart_putc_raw" methods from "hardware/uart.h", and it takes 8.6secs for 100,000samples * 8bit(1byte). I also tried to use pio uart tx methods from (https://github.com/raspberrypi/pico-examples/tree/m...
by B.Goode
Thu Nov 25, 2021 2:39 pm
Forum: Troubleshooting
Topic: no WLAN connection
Replies: 3
Views: 113

Re: no WLAN connection

Official Raspberry Pi documentation is here - https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-networking You don't mention having configured Localisation for your new installation? The Advanced Options facility in the Raspberry Pi Imager tool is one way to ensure t...
by B.Goode
Thu Nov 25, 2021 2:30 pm
Forum: Troubleshooting
Topic: To speed up the image reading from directory
Replies: 3
Views: 107

Re: To speed up the image reading from directory

Hi there, Currently I am using raspberrypi4b for the image processing automation project, but to process these image we need to read it from the directory reading from the any of directory is taking around 2 - 2.5 sec, so what should be done for the same issue to reduce this time. In addition to wh...
by B.Goode
Thu Nov 25, 2021 11:14 am
Forum: Networking and servers
Topic: (3B+) No wireless interface found
Replies: 4
Views: 128

Re: (3B+) No wireless interface found

Dear all, The WiFi module of my new Raspberry PI 3B+ Rev1.2 is not working. It is the first time that I boot it! I receive the following code when trying to fill the SSID and PSK using raspi-config: 'No wireless interface found' and 'There was an error running option S1 Wireless LAN.' I read severa...
by B.Goode
Thu Nov 25, 2021 10:55 am
Forum: Beginners
Topic: Powering 4B (8GB) over USD via PC or phone charger?
Replies: 6
Views: 134

Re: Powering 4B (8GB) over USD via PC or phone charger?

quick question to you.. does your PC's USB or your "charger" can give a STEADY 5v and (at least) 2.4A are you sure without any reasonable doubt? but if you still doubt it the manufacturer's recommendation..... why not try it for yourself to find out first hand ... then report your finding...
by B.Goode
Thu Nov 25, 2021 10:45 am
Forum: Beginners
Topic: Powering 4B (8GB) over USD via PC or phone charger?
Replies: 6
Views: 134

Re: Powering 4B (8GB) over USD via PC or phone charger?

I just got my 4B and I was just wondering if I could power it via a USB cable hooked up to my PC? Or via a phone charger? I saw somewhere (I think the PSU's manufacturer's site) that it wasn't recommended to do this, but if that's the case what's the advantage of using USB-C? Thanks! The nice peopl...
by B.Goode
Thu Nov 25, 2021 9:24 am
Forum: Networking and servers
Topic: Sending commands over the internet
Replies: 8
Views: 278

Re: Sending commands over the internet

Hi, I was trying to send commands over the internet from one pi to another automatically (I am wanting to eventually make a remote controlled car) Any idea how to do this? I have looked in the forums and on the internet and have been unable to find anything so far. Thanks, Lemon Hyena. Being able t...
by B.Goode
Wed Nov 24, 2021 9:54 pm
Forum: Troubleshooting
Topic: Unable to log in via SSH
Replies: 12
Views: 327

Re: Unable to log in via SSH

Makes sense. What I'm struggling with currently is the IP assignment in Windows. One of the computers I'm using is not finding the device with the hostname and I can't seem to find a way to get the IP of it either. All Windows provides is the IP address of it's own adapter. The 'Command Prompt' too...

Go to advanced search