Questions tagged as 'raspberry-pi'

1
answer

Pass data captured from a Python code to Shell Script

I would like to know what to do to get this data from a DHT11 sensor (Python Code [Temperature and Humidity]) and pass it to a script in Shell if umid is not None and temp is not None: print("Temperatura = {0:0.1f}Umidade{1:0.1f}\n").form...
asked by 20.10.2016 / 04:20
0
answers

Serial Communication Error ttyS0

I am using a TTL serial communication via the terminal with an Orange Pi One and a PIC16F628A. The program that is in the microcontroller is simple: if it receives the character '1' puts a bit in high logic level, thus turning on the LED and rec...
asked by 17.04.2017 / 21:04
0
answers

How to correct this PHP code in Raspbian (Raspberry Pi 2)?

I'm creating 2 monitoring projects here in the company with 2 monitoring pages that will use PHP and HTML and will run on Raspberry Pi 2 (Raspbian) board. The code is very simple, I can open it normally in Windows, but in Raspbian is occurring a...
asked by 17.02.2016 / 19:30
0
answers

RFID-RD522 with Python [closed]

Good morning guys !! I'm trying to connect a RFID module with PYHTON in Raspberry B I followed the following tutorials: link link It seems like everything is ok, but the time I put the system to run, it just does not work...
asked by 16.06.2016 / 14:44
1
answer

Multiprocessing in Python

I'm creating processes using multiprocessing in Python, but I need to create processes inside other processes, that is, child processes. Is it possible to do this using multiprocessing ? Code: import time import multiprocessing...
asked by 05.10.2018 / 03:41
1
answer

Why does not font change in Raspberry Pi?

I have a graphical application using Gtk in Python, the program has font definitions and font sizes. When running the program in linux works correctly, but when running on Raspberry the font is not changed. Does anyone know why this happens?...
asked by 06.02.2018 / 19:28
2
answers

Error: Access denied for user 'root' @ 'localhost' (using password: NO) when accessing Website

Good evening, I've been trying to run a website through a raspberry to access it with remote access. I installed OS Pipplware along with Lamp and phpmyadmin. I sent through the filezilla based on the website and ran everything perfection. Php...
asked by 19.06.2015 / 17:37
2
answers

How to insert query result in mysql with python

I need to insert in the database the result of this query through the temperature module. The code is this. Temperature and humidity are already returning, but the values are not saved in the database. # Carrega as bibliotecas #!/usr/bin...
asked by 16.02.2016 / 19:15
1
answer

How can I reduce the time for creating and burning a Linux image for use in RapsberryPi?

I'm going back to a project where I need RapsberryPi, but the last attempt to create an image is to save it in SdFlash, using the DD command, the process took hours to complete, I left and did not count the time but I will do it again this weeke...
asked by 12.06.2015 / 18:58
0
answers

Kivy using raspberry pi 3

I'm using the HDMI output of Raspberry Pi 3 . Using a Python code that opens a Kivy window, this window fills the entire screen and overrides everything else (open windows, mouse pointer ). ..). Apparently it ( rasp ) responds to the comman...
asked by 19.09.2018 / 13:53