Go to advanced search

by nautilus27
Mon May 18, 2020 11:45 pm
Forum: Astro Pi
Topic: Washing hands? Don't touch your phone for 20 secs countdown, use sense hat!
Replies: 0
Views: 123

Washing hands? Don't touch your phone for 20 secs countdown, use sense hat!

I decided to create this when I saw some people were washing their hands by using their phones as stopwatch. This eliminates the reason to touch your phone unnecessarily when your hands are dirty. This circuit senses your hands and starts countdown automatically and waves you goodbye with a good adv...
by nautilus27
Fri May 08, 2020 8:17 pm
Forum: Raspberry Pi OS
Topic: Do 'python-dev' and 'python3-dev' come with latest Raspbian?
Replies: 6
Views: 239

Do 'python-dev' and 'python3-dev' come with latest Raspbian?

Hey peeps, I'm preparing a tutorial for a project and writing step by step for beginners to how to make said project. And I'm trying to simplify steps as much as possible. For that I need to know whether the latest version of Raspbian Full or Lite distro automatically includes these packages. I'm go...
by nautilus27
Sat May 02, 2020 5:15 pm
Forum: Python
Topic: Wireless transmission between Arduino and Raspberry Pi via nrf24l01
Replies: 0
Views: 97

Wireless transmission between Arduino and Raspberry Pi via nrf24l01

Hey peeps, So I followed this beautiful guide here: https://youtu.be/_68f-yp63ds Connected the nrf24l01 transreceiver modules as shown in the video and i can see that it works when I send string. But I can't send & receive integers. I would like to send values that represent temperature, air moistur...
by nautilus27
Sun Apr 12, 2020 9:52 pm
Forum: Python
Topic: Making an outbreak statistics screen?
Replies: 7
Views: 337

Re: Making an outbreak statistics screen?

I found a beautifully scraped and parsed info from this guide: https://towardsdatascience.com/coronavirus-track-coronavirus-in-your-country-by-displaying-notification-c914b5652088 He does it on Windows and uses push notifications. I replaced the Toast Notifier part with "print()" and successfully sa...
by nautilus27
Sun Apr 12, 2020 2:57 pm
Forum: Python
Topic: Making an outbreak statistics screen?
Replies: 7
Views: 337

Re: Making an outbreak statistics screen?

OK, so here's an update. import requests from bs4 import BeautifulSoup URL = 'https://www.worldometers.info/coronavirus/' page = requests.get(URL) soup = BeautifulSoup(page.content, 'html.parser') results = soup.find(id='maincounter-number') print(results.prettify()) I'm using Chrome browser btw. I ...
by nautilus27
Sat Apr 11, 2020 7:42 pm
Forum: Python
Topic: Making an outbreak statistics screen?
Replies: 7
Views: 337

Re: Making an outbreak statistics screen?

MrYsLab wrote:
Sat Apr 11, 2020 7:26 pm
Here is a nice article on web scraping that may be of use.
Thank you very much, I'm diving in!
by nautilus27
Sat Apr 11, 2020 6:27 pm
Forum: Python
Topic: Making an outbreak statistics screen?
Replies: 7
Views: 337

Making an outbreak statistics screen?

Is it possible to make a info screen that grabs recent statistics of current covid-19 outbreak from any website that shows this information? Like total cases, death and recovery counts. I've never done such a thing before and suck at web based projects so am asking this whether these numbers are acc...
by nautilus27
Fri Apr 10, 2020 12:17 pm
Forum: Python
Topic: Tkinter - How to get a slider's value
Replies: 6
Views: 299

Re: Tkinter - How to get a slider's value

Thank you. It seems to be impoving. I definitely see the slider value is being printed in the terminal with each slider value change. But I also get an error after the number: 147 <-- this is the slider number Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/...
by nautilus27
Fri Apr 10, 2020 7:36 am
Forum: Python
Topic: Tkinter - How to get a slider's value
Replies: 6
Views: 299

Re: Tkinter - How to get a slider's value

I edited my code like this: from Tkinter import * import tkFont import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.OUT) GPIO.setup(27, GPIO.OUT) GPIO.setup(22, GPIO.OUT) win = Tk() myFont = tkFont.Font(family = 'Helvetica', size = 36, weight = 'bold') def exitProgram(): GPIO.cleanup(...
by nautilus27
Thu Apr 09, 2020 10:45 pm
Forum: Python
Topic: Tkinter - How to get a slider's value
Replies: 6
Views: 299

Tkinter - How to get a slider's value

Hey guys, I'm Python beginner but quite interested in learning UI design with Tkinter and control stuff on the screen via official touch screen. Basic and fun projects is the best way to do it. So I decided to put 3 sliders on the screen, each represents a color, red, green and blue. And I'm trying ...
by nautilus27
Thu Mar 05, 2020 6:07 pm
Forum: Troubleshooting
Topic: USB C power port fell off
Replies: 11
Views: 1141

Re: USB C power port fell off

Hey there, Today same thing happened to me. I also was usinng the official power adapter. At first I noticed the power wasn't going to the pi when i insert it normally, i only got power when pushed it to the right a bit. i installed the case and was willing to use it like that. but after a while it ...
by nautilus27
Mon Sep 04, 2017 1:44 pm
Forum: Beginners
Topic: Video streaming in python code
Replies: 2
Views: 4292

Re: Video streaming in python code

BUMP.

All i want to do is basically a way to launch&stop streaming via phyton code.
by nautilus27
Sun Sep 03, 2017 11:33 pm
Forum: Beginners
Topic: Video streaming in python code
Replies: 2
Views: 4292

Video streaming in python code

Hey peeps, I made a rover with a raspberry pi cam and I'd like to see the camera feed on my computer. The rover is controlled via a gamepad (using a Python script) and i'd like to trigger video streaming with a button. For this, I've been looking for a way to do in Python code, but could not find an...
by nautilus27
Thu Dec 01, 2016 10:52 pm
Forum: Gaming
Topic: Windows games with Exagear Desktop
Replies: 18
Views: 16650

Re: Windows games with Exagear Desktop

Can you guys test Age of Empires II HD Edition on Steam?I'd buy Exagear if it ran Age of Empires II HD Edition.

http://store.steampowered.com/app/221380/
by nautilus27
Fri Nov 11, 2016 12:51 am
Forum: Python
Topic: Basic on/off switch
Replies: 1
Views: 765

Basic on/off switch

Seemed pretty easy to make it first but it's tricky to do it right. I'm trying to make my xbox 360 controller to turn on and off the leds connected to GPIO pins. if joy.A(): if light >1: light=0 else: light = (light + 1) if light >0: GPIO.output(36,1) GPIO.output(38,1) GPIO.output(40,1) GPIO.output(...
by nautilus27
Thu Nov 10, 2016 10:43 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 561
Views: 504318

Re: Official V4L2 driver

v4l2-ctl is just a test app - there's also qv4l2 as a GUI version. Did you have an intended application to stream to the network? V4L2 by itself is just a mechanism to deliver video frames. I don't actually. I tried VLC with this command: raspivid -o - -t 99999 -hf -w 640 -h 360 -fps 25|cvlc -vvv s...
by nautilus27
Thu Nov 10, 2016 9:26 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 561
Views: 504318

Re: Official V4L2 driver

I'm getting error with the "autoreconf -vfi" command. Is there a reason why you're trying to build v4l-utils? It is already updated in the Raspbian repo. v4l-utils has moved on in the almost 3 years since the first post on this thread, and the build runes have changed. If you do want to rebuild it,...
by nautilus27
Thu Nov 10, 2016 7:02 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 561
Views: 504318

Re: Official V4L2 driver

I'm getting error with the "autoreconf -vfi" command. [email protected]:~/v4l-utils $ autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: AM_GNU_GETTEXT is u...
by nautilus27
Sat Oct 29, 2016 8:53 pm
Forum: Raspberry Pi OS
Topic: STICKY: PIXEL desktop: now defunct and replaced by Raspbian Stretch
Replies: 193
Views: 161607

Re: Introducing PIXEL desktop: new Raspbian release

Pixel is so great. Chromium add-on made it so much cooler. I also noticed we have adobe flash plug-in now. Together with the h264ify plug-in, using RPi as desktop PC becomes one step closer to reality. Now all I need is a preinstalled GUI based media player with built-in HW accelerated video playbac...
by nautilus27
Tue Oct 25, 2016 5:15 pm
Forum: Networking and servers
Topic: Is Pi3 fast enough to use it as VPN device?
Replies: 1
Views: 3945

Is Pi3 fast enough to use it as VPN device?

Hey guys, I'm about to put one of my Pi 3's to a good use for a VPN project. The internet in my country is censored like crazy. Many great websites such as pastebin and imgur are blocked. Not even gonna mention rampant state surveilance... But whatever, I'd like to consult you guys about network spe...
by nautilus27
Mon Oct 24, 2016 11:12 pm
Forum: Beginners
Topic: VLC player on the RPi 3
Replies: 12
Views: 23392

Re: VLC player on the RPi 3

It does play the SD videos with software acceleration. But MMAL acceleration using Video Processing Unit (VPU) of Raspberry Pi does not work. VLC throws error when compiled with special instuctions to use MMAL. As far as I know no software other than OMX Player can play hardware accelerated videos a...
by nautilus27
Sun Sep 25, 2016 3:35 pm
Forum: Device Tree
Topic: Pololu Maestro Servo controller doesn't work
Replies: 1
Views: 1362

Pololu Maestro Servo controller doesn't work

I took this official Pololu source as a reference to connect things: https://www.pololu.com/docs/0J40/1.a And then I found this source: https://github.com/FRC4564/Maestro/blob/master/README.md which seems like very well implemented but the thing is it doesn't work. Do you recommand any diagnostics t...
by nautilus27
Sat Sep 24, 2016 12:16 pm
Forum: Python
Topic: Syntax error in if code
Replies: 5
Views: 1031

Re: Syntax error in if code

joan wrote:Python requires a colon at the end of the if statement.
Thanks! I'm such a Python noob really. I wish i knew a Python Language reference like Arduino Referance in Arduino website.

https://www.arduino.cc/en/Reference/HomePage

Is there any?
by nautilus27
Sat Sep 24, 2016 12:10 pm
Forum: Python
Topic: Syntax error in if code
Replies: 5
Views: 1031

Syntax error in if code

Hey peeps, Last year I made a hovercraft with Arduino and used skid steering via 2x motors. It worked great and controls were pretty accurate. So I'm trying to convert it to Python. I'm using Xbox 360 controller with xboxdrv drivers. Analog stick feedbacks are converted to certain values. Everything...
by nautilus27
Sat Sep 17, 2016 6:10 pm
Forum: Python
Topic: Webiopi script throws GPIO error
Replies: 2
Views: 2163

Webiopi script throws GPIO error

Hi guys, I'm building myself a rover. So today I installed Webiopi to my Raspberry Pi 3 using instructions on this page: https://github.com/doublebind/raspi Then I did write some code from this example: https://issuu.com/themagpi/docs/issue_9_final/10?e=4599523/2587746 import webiopi GPIO = webiopi....

Go to advanced search