Go to advanced search

by B.Goode
Tue Feb 25, 2020 2:11 pm
Forum: General discussion
Topic: 24 hour live streaming on the Pi 4 and security
Replies: 6
Views: 107

Re: 24 hour live streaming on the Pi 4 and security

Hello all, I've been tasked with setting up a live stream of some baby chickens hatching for my place of employment. Looking at our available equipment it seemed a 1GB Pi 4 and Motioneyeos was the simplest and most cost effective solution. What I plan to do is set up Motioneyeos on the Pi 4 (verifi...
by B.Goode
Tue Feb 25, 2020 1:09 pm
Forum: Python
Topic: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'
Replies: 5
Views: 77

Re: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'

After reinstalling crc16 as python3 when I python3 solar2.py I get #!/usr/bin/env python3Traceback (most recent call last): File "solar2.py", line 28, in <module> sendCommand(getCommand('QPI')) File "solar2.py", line 12, in sendCommand dev.ctrl_transfer(0x21, 0x9, 0x200, 0, cmd) NameError: name 'de...
by B.Goode
Tue Feb 25, 2020 11:18 am
Forum: Python
Topic: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'
Replies: 5
Views: 77

Re: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'

I am attempting to implement python scrip to read my solar inverter. I am not a python programmer so please forgive silly questions. When I attempt code I get the following replies:- Traceback (most recent call last): File "solar2.py", line 28, in <module> sendCommand(getCommand('QPI')) File "solar...
by B.Goode
Tue Feb 25, 2020 11:02 am
Forum: Other
Topic: Error while trying to connect to mqtt using paho-mqtt [KALI]
Replies: 4
Views: 98

Re: Error while trying to connect to mqtt using paho-mqtt

Do you get the same failure if you try to run the same script using the Raspberry Pi recommended and supported Raspbian Buster Operating System? Yes the error is the same with raspbian also. Does your RPi have a fully working Internet connection? What result do you get if you go to a shell (command...
by B.Goode
Tue Feb 25, 2020 10:48 am
Forum: Troubleshooting
Topic: Raspberry Pi Zero Wfi stopped working
Replies: 1
Views: 38

Re: Raspberry Pi Zero Wfi stopped working

Hi, I am having an issue with my raspberry pi. I use my pi for timelapse. I cant seem to connect it to the wifi. It worked for about 3 months really great and suddenly stopped. I've looked on forums but cant figure out a way to fix the issue. Is this the same machine as the one described in your ot...
by B.Goode
Tue Feb 25, 2020 8:19 am
Forum: Other
Topic: Error while trying to connect to mqtt using paho-mqtt [KALI]
Replies: 4
Views: 98

Re: Error while trying to connect to mqtt using paho-mqtt

Do you get the same failure if you try to run the same script using the Raspberry Pi recommended and supported Raspbian Buster Operating System?
by B.Goode
Mon Feb 24, 2020 7:36 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero W LED
Replies: 5
Views: 152

Re: Raspberry Pi Zero W LED

Hi. So the first thing you need to do is post your code so we have some thing to work with, then explain exactly when you want the LEDs to turn on/off please use code tags when posting your code Add [ code] at the top code goes here and [/code] at the bottom. [/code] Reposting with Code tags added....
by B.Goode
Mon Feb 24, 2020 2:42 pm
Forum: General discussion
Topic: Managing Muliple Raspberry Pi
Replies: 2
Views: 110

Re: Managing Muliple Raspberry Pi

Welcome to the Raspberry Pi forums. I am looking for a recommendation for automatically pushing updates/upgrades to mulitple Raspberry Pi's. I've looked at Mender and Upswift and a few others but looking for a simple tool that will just push the updates and give me feedback if it was successful or n...
by B.Goode
Mon Feb 24, 2020 2:06 pm
Forum: Beginners
Topic: What are the advantages and disadvantages of Arduino and Raspberry Pi?
Replies: 12
Views: 296

Re: What are the advantages and disadvantages of Arduino and Raspberry Pi?

What are the advantages and disadvantages of Arduino and Raspberry Pi? One possible translation: "What positive and negative attributes do these platforms have in common?" They are both cheap, in money terms. Both seem to be more difficult to work with than beginners expect. If the translation is "...
by B.Goode
Mon Feb 24, 2020 12:06 pm
Forum: General discussion
Topic: raspi circuit graphic
Replies: 2
Views: 130

Re: raspi circuit graphic

Welcome to the Raspberry Pi forums. hey can anyone suggest a free circuit graphic designer that supports raspbery pi and ardruino along with some sensors as i am making a project wich uses analog sensors hence i need the arduino so please can ayone suggest a good software Reading of these forums sug...
by B.Goode
Mon Feb 24, 2020 12:00 pm
Forum: Teaching and learning resources
Topic: edX (free online courses from MIT and Harvard)
Replies: 5
Views: 3486

Re: edX (free online courses from MIT and Harvard)

Hi guys, I've just come across this one on Coursera: The Raspberry Pi Platform and Python Programming for the Raspberry Pi. Has anyone completed this course? Does it take much time? Or is it bette to buy research paper s in a full course with step-by-step tutorials ($349): CrowPi Advanced Accessory...
by B.Goode
Mon Feb 24, 2020 11:42 am
Forum: HATs and other add-ons
Topic: Enable hot-plugging into breadboard by hardware
Replies: 12
Views: 263

Re: Enable hot-plugging into breadboard by hardware

You cant use software to protect your pi against physical misconnection. The pi does not take long to boot / shutdown even my pi4 running the full desktop version of raspbian takes less than 60 seconds to boot I believe you but I still have to ask: Is there an official source backing what you said ...
by B.Goode
Mon Feb 24, 2020 11:25 am
Forum: Troubleshooting
Topic: Connecting multiple sensors to the Pi
Replies: 2
Views: 75

Re: Connecting multiple sensors to the Pi

I want to connect Ultrasonic sensor and Temperature sensor to the Pi at the same time, should i connect it to GPIO pins directly or is there any other method. How do I run both the programs at the same time. This tutorial material direct from Raspberry Pi contains useful beginners information - htt...
by B.Goode
Mon Feb 24, 2020 6:20 am
Forum: Other programming languages
Topic: Can pandas and big data be used in web development? If so, what are some websites or projects that do?
Replies: 6
Views: 283

Re: Can pandas and big data be used in web development? If so, what are some websites or projects that do?

Hi there. I decided to create an account and ask my first question on this forum because I don't want to just hop on the bandwagon and go on stackoverflow. I feel like a smaller community will be more helpful. . and I'd just like to support a smaller community rather than a large one like stackover...
by B.Goode
Sun Feb 23, 2020 10:45 pm
Forum: Troubleshooting
Topic: startx issue from command line ....
Replies: 4
Views: 316

Re: startx issue from command line ....

Welcome to the Raspberry Pi forums. Re: startx does not launch GUi Greetings, I am a first-timer at this board. I have read over the topics relating to this question and have tried the fixes I could locate, but so far nothing has worked. Does this continue to be an issue? Is there an alternative way...
by B.Goode
Sun Feb 23, 2020 5:42 pm
Forum: Troubleshooting
Topic: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'
Replies: 16
Views: 425

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

I have a raspberry Pi4 running the recommended Raspbian downloaded from the website. When I run update, I am getting a notification that says 'buster InRelease' doesn't support architecture 'i386' That is correct. The Pi is an ARM based device, not an x86 system. I saw some hits on 'askubuntu.com/q...
by B.Goode
Sun Feb 23, 2020 5:25 pm
Forum: Troubleshooting
Topic: raspberriy pi zero, headerless mode switching to wifi?
Replies: 3
Views: 73

Re: raspberriy pi zero, headerless mode switching to wifi?

joe2k1 wrote:
Sun Feb 23, 2020 5:22 pm
That did the trick! Thank you. Please close this thread.
Just retrospectively edit the title of your initial post to include [ Solved ]
by B.Goode
Sun Feb 23, 2020 5:24 pm
Forum: Troubleshooting
Topic: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'
Replies: 16
Views: 425

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Who or what was responsible for the inappropriate

Code: Select all

Get:5 http://archive.raspberrypi.org/debian buster/main i386 Packages [166 kB] 
Do you have any other entries in /etc/apt/sources.list.d/
by B.Goode
Sun Feb 23, 2020 5:18 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 on SSD
Replies: 14
Views: 338

Re: Raspberry Pi 4 on SSD

Okay, but that means the raspberry pi boots from the ssd (which is great), but i still can't access the pi via ssh From recollection, when I experimented with booting an RPi3b+ from a usb-connected ssd I set up networking while it was still booting from microSD and then migrated that installation t...
by B.Goode
Sun Feb 23, 2020 5:07 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 on SSD
Replies: 14
Views: 338

Re: Raspberry Pi 4 on SSD

SSH was working because the first steps where done via ssh. The strange thing is that after reboot the pi shows up with an ip address, but i can't connect because the "connection refused" error. I plugged the ssd in my pc again and there was no SSH file anymore (i put it in there for sure). I put i...
by B.Goode
Sun Feb 23, 2020 3:33 pm
Forum: C/C++
Topic: Pocketsphinx
Replies: 2
Views: 91

Re: Pocketsphinx

Hi Friends, Is anyone worked on pocketsphinx? i am getting small problem, after running command ./pocketsphinx_continuous -adcdev plughw:1,0 i am getting Error INFO continuous.c(295): Specify '-infile <file.wav>' to recognize from file or '-inmic yes' to recognize from microphone How should i speci...
by B.Goode
Sun Feb 23, 2020 3:21 pm
Forum: Troubleshooting
Topic: raspberriy pi zero, headerless mode switching to wifi?
Replies: 3
Views: 73

Re: raspberriy pi zero, headerless mode switching to wifi?

I have raspberry zero setup in headerless mode. I would like to turn on wifi (versus connecting it via usb to a mac/pc) but I am having trouble getting the wifi working properly. Can anyone provide some step-by-step assistance? Many thanks! Official Raspberry Pi documentation here: https://www.rasp...
by B.Goode
Sun Feb 23, 2020 1:26 pm
Forum: General discussion
Topic: To perform single task at a time on raspberry-pi
Replies: 10
Views: 285

Re: To perform single task at a time on raspberry-pi

How can we prioritize raspberry-pi 3b+model so that if my python code is running then the raspberry-pi should this task(i.e. one task at a time). Since i have to calculate time taken by my code to perform operation. Without prioritizing raspberry -pi, each time my code is taking different time to r...
by B.Goode
Sun Feb 23, 2020 12:40 pm
Forum: Troubleshooting
Topic: DHT11 can't send data to Database
Replies: 5
Views: 84

Re: DHT11 can't send data to Database

Welcome to the Raspberry Pi forums. plz help me I beginner for Rpi where should I edit it? import RPi.GPIO as GPIO import time import MySQLdb import subprocess import datetime import httplib, json import sys import Adafruit_DHT # Open database connection conn = MySQLdb.connect("localhost","admin","...
by B.Goode
Sun Feb 23, 2020 12:26 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9164

Re: What is a good replacement for Etcher (ads and ignores privacy)

At present usbimager is the work of one lone developer, and is stated by that developer to have 'beta' status. Perhaps a little premature to be promoting it as a panacea? We probably have different idea about the 'beta' status. Let me phrase it this way: it is fully functional , it works all the ti...

Go to advanced search