Questions tagged as 'raspberry-pi'

1
answer

Command that replaces time.sleep?

I'm doing a program that does the detection of color and object formats with a camera, when the format and the color are set, the program controls the GPIOS in which I connected a relay module. The problem I am having is that when I use the time...
asked by 19.12.2018 / 06:27
0
answers

Web server with raspberry, performance

Good morning everyone! I was studying the possibility of creating a web server with raspberry pi 3 b + and I had the doubt: Considering that I'm going to publish light websites (no ecommerce or dashboard), will my clients experience any k...
asked by 29.11.2018 / 15:01
0
answers

How to Move Servo Motor Sg90

How would I do to where the print("RED") , print("GREEN") and print("BLUE") to move a servo motor to 180 °, what happens is that the motor does not move, (I'm using raspberry pi 3 b +). if r >= 50 and g >= 50 and b &g...
asked by 14.11.2018 / 16:33
0
answers

How to connect to a postgresql database that is in another network?

I have a postgresql database installed on a Raspberry Pi on another network. I made the settings inside pg_hba.conf: host all all 0.0.0.0/0 md5 In postgresql.conf I edited to stay like this listen_adresses ='*' port=80 I downloaded pga...
asked by 16.10.2018 / 14:27
0
answers

Raspberry: Unable to open GPIO direction interface for pin [6]: File or directory not found

I have a problem trying to use pin 6 (wiring) in java. I get the error: sudo java -jar ICM.jar Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflec...
asked by 01.10.2018 / 22:56
0
answers

GUI in Python using Guizero and Raspberry Pi

I am working on my electrical engineering course completion project and need to perform a front end for graphical interface visualization for data verification. I'm using raspberry pi 3 and the guizero library to create an initial layout, how...
asked by 18.09.2018 / 22:49
0
answers

error: (-215) scn == 3 || scn == 4 in function cvtColor

I'm totally lazy with raspberry and I'm trying to use opencv version 3.4.2 with python 3.5.2 on raspberry pi 3 using the camera itself for raspberry to run an example facial recognition code using the camera. In linux mint, the same code runs su...
asked by 02.09.2018 / 05:58
1
answer

Adafruit_BMP in python 3

I'm testing the BMP180 sensor on RaspberryPi 3 B + and when I run the file on Raspbian it gives me this error: WhenIrunthesamefilethroughthecommandlineitgivesthevaluesitshouldgive,itdoesnotgiveanerror,ascanbeseenfromthefollowingimage: W...
asked by 26.07.2018 / 11:31
0
answers

OpenCV - C ++ - Raspberry Pi

I want the function to check all the time if there is a fingerprint. If there is, I want it to start the sequential capture scheme (the for nested), but the function I created is not working that way ... void Leitor::iniciarLeitura() {...
asked by 16.07.2018 / 14:34
0
answers

Help - C ++ - OpenCV - VS2017 - Raspberry Pi

Can anyone help me with some problems with a project? The project consists of capturing fingerprint images and using OpenCV for future imaging. In this project, I have a Raspberry Pi 2, a camera module, 3 leds for communication with the us...
asked by 16.07.2018 / 04:31