Go to advanced search

by FredRaspb
Mon Oct 31, 2016 2:45 pm
Forum: Troubleshooting
Topic: Python on Python
Replies: 4
Views: 801

Python on Python

Hello guys, I am trying to run a python scrip within another one (Python 3.4.2) My "main" script uses tkinter and with a press of a button should start the other python script. I have tried subprocess() and couldn't get anywhere, then i tried "import script_name" and run it in the button command but...
by FredRaspb
Thu Oct 13, 2016 2:34 pm
Forum: Graphics programming
Topic: RPi graphic prog -> .cpp -> .py
Replies: 0
Views: 1115

RPi graphic prog -> .cpp -> .py

Hello guys, I have an app that works on raspberry pi with camera module, the camera takes a picture of a cylindrical like shape. After that i created a C++ program using a windows computer, and then compiled it to a executable using: "cd /../..." "cmake ." "make" This C++ program outputs a .txt docu...
by FredRaspb
Fri May 13, 2016 6:19 am
Forum: Troubleshooting
Topic: Switching between official 7" display and HDMI TV
Replies: 9
Views: 28140

Re: Switching between official 7" display and HDMI TV

Try add "hdmi_force_hotplug=1" to /boot/config.txt and reboot your Raspberry.

It sets the Raspberry to use HDMI mode even if no HDMI monitor is detected, and should go straight to your LCD via HDMI.

I hope this is what you were looking for.

Regards
by FredRaspb
Thu May 05, 2016 2:19 pm
Forum: Troubleshooting
Topic: py on boot
Replies: 5
Views: 853

Re: py on boot

Hello,

I figured it out, i needed to put:

sudo python3 .....

This way it works.

Thank you all anyway =)
by FredRaspb
Thu May 05, 2016 10:05 am
Forum: Troubleshooting
Topic: py on boot
Replies: 5
Views: 853

py on boot

Hello everyone, I have a raspberry pi 3 and a camera, i created a python script that takes pictures and 'work' them on a OpenCV program. My program works well when i open python and run it. I need to configure it to run automatically when i turn on my pi, i've tried: 'sudo nano /etc/profile' - .py d...
by FredRaspb
Mon May 02, 2016 8:33 am
Forum: Português
Topic: SMS Raspberry Pi 3
Replies: 5
Views: 1884

Re: SMS Raspberry Pi 3

Boas,

Obrigado pela resposta!

Entretanto fui pesquisar sobre o Gammu, tenho uma pen (modem) com um cartao SIM e já consigo enviar SMS.

Cumprimentos
by FredRaspb
Fri Apr 29, 2016 9:24 am
Forum: Troubleshooting
Topic: Gammu error 50
Replies: 0
Views: 346

Gammu error 50

Hello, I am trying to send SMS from RPi3 using gammu. I connected a modem via USB ZTE MF665K then i used the following commands: gammu-detect gammu-config gammu --identify I got ZTE on ttyACM0 and at115200, it is recognized and identidied but when i try: echo "Hey, Hey" | sudo gammu --sendsms TEXT +...
by FredRaspb
Fri Apr 29, 2016 9:20 am
Forum: Troubleshooting
Topic: Pi 2, Picamera not working
Replies: 7
Views: 1237

Re: Pi 2, Picamera not working

Hello,

Try raspistill in cmd line to test the camera.

https://www.raspberrypi.org/documentati ... pistill.md
by FredRaspb
Fri Apr 29, 2016 9:17 am
Forum: Português
Topic: SMS Raspberry Pi 3
Replies: 5
Views: 1884

Re: SMS Raspberry Pi 3

Boas,

Gostava de insistir um pouco neste assunto, já alguem enviou sms com o Raspberry Pi com o uso de um modem (USB) ?

Cumprimentos
by FredRaspb
Thu Apr 14, 2016 9:47 am
Forum: Advanced users
Topic: Visual menu for RPi
Replies: 3
Views: 632

Re: Visual menu for RPi

ghans wrote:You need to look into GUI programming.
It's quite a big topic. Here is a popular GUI
library :

https://kivy.org/docs/gettingstarted/intro.html

ghans
Thank you alot, i will try to follow the guide and see if i can come up with something =)
by FredRaspb
Thu Apr 14, 2016 6:26 am
Forum: Advanced users
Topic: Visual menu for RPi
Replies: 3
Views: 632

Visual menu for RPi

Hello guys, Here i will explain my problem, but first let me clear you on what i am doing. I created a program in C++ using Microsoft Visual Studio 2013 in my desktop computer that picks up 2 images and compares them with each other, saves the result of that comparison (black&white image), at the sa...
by FredRaspb
Fri Apr 08, 2016 10:21 am
Forum: Português
Topic: Livro para iniciar no Raspberry
Replies: 1
Views: 1379

Re: Livro para iniciar no Raspberry

Tens livros sobre Raspberry, sobre linguagens (Python, Scratch...) e ainda livros de projectos interessantes, não sei bem o que pretendes, no entanto podes ver aqui alguns: Livros de projetos: http://www.modmypi.com/raspberry-pi/books Download da revista mensal: https://www.raspberrypi.org/magpi/iss...
by FredRaspb
Thu Apr 07, 2016 7:29 am
Forum: Português
Topic: SMS Raspberry Pi 3
Replies: 5
Views: 1884

SMS Raspberry Pi 3

Bom dia pessoal, Será que alguem me pode indicar a melhor forma de mandar SMS de alerta através do Raspberry 3? Eu tenho um sistema que tira fotos através do módulo de camera e compara com uma foto padrão. Esssa comparação é feita por um programa de C++ (OpenCV), que além de criar uma imagem com as ...
by FredRaspb
Mon Apr 04, 2016 1:27 pm
Forum: C/C++
Topic: Can't write .txt file
Replies: 5
Views: 1334

Re: Can't write .txt file

Hello guys,

Thank you all for the answers, i've successfully open and wrote on the file with the "fname.c_str()", even the ios::app worked.

Regards
by FredRaspb
Fri Apr 01, 2016 9:50 am
Forum: C/C++
Topic: Can't write .txt file
Replies: 5
Views: 1334

Can't write .txt file

Hello guys, I am doing a program that picks up 2 images and compares them with each other, i am doing this on a Windows Computer with Visual Studio, then i take the .cpp file bring it to raspberry, change the directories, apply 'cmake' (with CMakeLists.txt) and 'make' on the .cpp directory to create...
by FredRaspb
Thu Mar 31, 2016 9:36 am
Forum: Troubleshooting
Topic: Email problem
Replies: 4
Views: 858

Re: Email problem

Thank you for the help! I used it, worked for about 2 times then stopped again. I switched to using SSMTP like this: import os os.system("echo 'Here it is' | mail -s 'Hello' [email protected].com) and everytime it works, even with attachment: os.system("mpack -s 'Here it is' /home/pi/.../foto.jpg [email protected]...
by FredRaspb
Wed Mar 30, 2016 9:26 am
Forum: Troubleshooting
Topic: Email problem
Replies: 4
Views: 858

Re: Email problem

DougieLawson wrote:It even tells you what to do. Go and visit that GOOGLE URL.
I done that as i said, and it doesn't work.
by FredRaspb
Wed Mar 30, 2016 8:45 am
Forum: Troubleshooting
Topic: Email problem
Replies: 4
Views: 858

Email problem

Hello everyone, I have a problem sending an email (gmail account) with a python scipt. I wrote the code on a txt and run it in python 3 from Raspberry (raspbian). At first i could send 2 emails, but then all of a sudden it stop working giving this error: raise SMTPAuthenticationError(code, resp) smt...
by FredRaspb
Wed Mar 16, 2016 8:52 am
Forum: Camera board
Topic: Raspi transforming several pictures at once
Replies: 0
Views: 247

Raspi transforming several pictures at once

Hello everyone, I have this project, i need to take a picture every second for as long as 10sec (which means 10pictures) with the raspberry camera module and save them all to my pen. I accomplished that with this line: sudo raspistill -o /media/pi/PEN/imagem%d.jpg -tl1000 -t10000 Now i created a pro...

Go to advanced search