Go to advanced search

by YodaVonBeck
Sun Apr 12, 2020 11:12 pm
Forum: General discussion
Topic: Is it possible to connect to a PC using the USB-C port on Raspberry Pi 4?
Replies: 13
Views: 577

Re: Is it possible to connect to a PC using the USB-C port on Raspberry Pi 4?

W. H. Heydt wrote:
Sat Apr 11, 2020 11:11 pm
You could configure the Pi4B as a WiFi access point and then log into it from your laptop. I have a Pi0W set up that way.
Didnt think of that. Would it enable me to connect to the RPi using f.ex. VNC?
An other option is to use my mobile phone as a hotspot for both the RPi and laptop.
by YodaVonBeck
Sun Apr 12, 2020 5:59 pm
Forum: Troubleshooting
Topic: [VNC] Cannot currently show the dekstop
Replies: 48
Views: 131770

Re: [VNC] Cannot currently show the dekstop

Fixed with change of resolution!
by YodaVonBeck
Sat Apr 11, 2020 11:03 pm
Forum: General discussion
Topic: Is it possible to connect to a PC using the USB-C port on Raspberry Pi 4?
Replies: 13
Views: 577

Is it possible to connect to a PC using the USB-C port on Raspberry Pi 4?

Just got one as my old 3 version will be built into a case with sensors. I would like to be able to connect my RPi with my Windows PC when I am traveling, so is there a way, where I dont have to worry about setting up the RPi on a local LAN/Wifi - in other words run both the PC and RPi offline. My l...
by YodaVonBeck
Sat May 05, 2018 12:23 pm
Forum: Advanced users
Topic: Plotting Grove Pi sensor data using matplotlib
Replies: 0
Views: 298

Plotting Grove Pi sensor data using matplotlib

I have a Grove Pi sitting on top of my Pi and 2 sensors hooked up. One that measures the temperature and humidity and one that measures dust. I would like to plot the data, but cant seem to get my head around how to use matplotlib. This is my code, which prints data and shows on a small LCD: import ...
by YodaVonBeck
Sat Mar 31, 2018 1:06 pm
Forum: General discussion
Topic: Air quality sensor project
Replies: 3
Views: 12905

Re: Air quality sensor project

And I found what seems to be a place to upload data and work with it : https://thingspeak.com/ And here are examples on how to use use with code : https://www.raspberrypi-spy.co.uk/2015/06/basic-temperature-logging-to-the-internet-with-raspberry-pi/ Or use Plotly: http://www.instructables.com/id/Str...
by YodaVonBeck
Sat Mar 31, 2018 11:36 am
Forum: General discussion
Topic: Air quality sensor project
Replies: 3
Views: 12905

Re: Air quality sensor project

Nice project you have there :) I think I am looking for something simpler (if possible). I have come accross the Grove system, which offers a very modular setup with a HAT where sensor modules can connect: https://www.seeedstudio.com/GrovePi%2B-p-2241.html It makes coding and connections much simple...
by YodaVonBeck
Fri Mar 30, 2018 11:24 pm
Forum: General discussion
Topic: Air quality sensor project
Replies: 3
Views: 12905

Air quality sensor project

Hi all We have a house with people who are allergic to primarily dust, so I thought I would build something that could measure this. I have a looked for a couple of hours for existing projects to cover this, but have come up short. The closests was the AirPi, which does not exist anymore. So this is...
by YodaVonBeck
Sun Jul 30, 2017 8:03 pm
Forum: Troubleshooting
Topic: Building a bird treat dispenser
Replies: 9
Views: 1210

Re: Building a bird treat dispenser

Thanks a bunch. That fixed it :)

Now I have a setup a tactile button to start the sequence as well and some LEDs to indicate of the "machine" is operating or idle :)
by YodaVonBeck
Sat Jul 29, 2017 8:51 pm
Forum: Troubleshooting
Topic: Building a bird treat dispenser
Replies: 9
Views: 1210

Re: Building a bird treat dispenser

Hi Im attaching the wires to the GPIO numbers, not the pin numbers. So if I change from BOARD to BCM it should work? You should stick with BCM numbers as that will cause fewer problems with other stuff you do on your RPi and other stuff you download from the internet. Use https://pinout.xyz to map ...
by YodaVonBeck
Sat Jul 29, 2017 7:04 pm
Forum: Troubleshooting
Topic: Building a bird treat dispenser
Replies: 9
Views: 1210

Re: Building a bird treat dispenser

Hi

Im attaching the wires to the GPIO numbers, not the pin numbers.
So if I change from BOARD to BCM it should work?
by YodaVonBeck
Sat Jul 29, 2017 6:18 pm
Forum: Troubleshooting
Topic: Building a bird treat dispenser
Replies: 9
Views: 1210

Re: Building a bird treat dispenser

OK, so I fixed the code. It seems to run its course. I have checked that all the GPIOs can deliver current by testing with an LED. Im using this motor setup and controller : http://hobbycomponents.com/motors-and-servos/116-5v-4-phase-dc-gear-stepper-step-motor-driver-board I have connected it this w...
by YodaVonBeck
Sat Jul 29, 2017 3:31 pm
Forum: Troubleshooting
Topic: Building a bird treat dispenser
Replies: 9
Views: 1210

Re: Building a bird treat dispenser

That helped. Now the code runs without issues, but the motor doesnt move :(
Time to start debugging the GPIO pins...
by YodaVonBeck
Sat Jul 29, 2017 1:58 pm
Forum: Troubleshooting
Topic: Building a bird treat dispenser
Replies: 9
Views: 1210

Building a bird treat dispenser

So we have recently gotten 2 parrots and they are very bright a needs to be challenged. So I am building a system that will dispense a treat if they push a button. I am using this setup as a start to run a step motor, but run into issues when I run the code. Its probably a simply thing, but am not e...
by YodaVonBeck
Mon Oct 03, 2016 8:36 am
Forum: Beginners
Topic: rapsistill vs picam?
Replies: 5
Views: 751

Re: rapsistill vs picam?

Thanks for your quick reply. Im new to the PiCam and have already used a script to build a timelapse code import os import time import RPi.GPIO as GPIO from datetime import datetime # Grab the current datetime which will be used to generate dynamic folder names d = datetime.now() initYear = "%04d" %...
by YodaVonBeck
Mon Oct 03, 2016 8:02 am
Forum: Beginners
Topic: rapsistill vs picam?
Replies: 5
Views: 751

rapsistill vs picam?

Whats the pros and cons to using these to methods for capturing pictures?
by YodaVonBeck
Wed Sep 28, 2016 1:33 pm
Forum: Beginners
Topic: Building a timelapse setup with PiCamera
Replies: 6
Views: 1467

Re: Building a timelapse setup with PiCamera

Thanks for the feedback, I got it working : http://www.silenthunter.dk/?page_id=693 Now I will try and figure out to use the picamera library :) And you are right, there is no need in the current code to use the RPi.GPIO module, but I intend to add a feature where a diode will light up if pictures a...
by YodaVonBeck
Wed Sep 28, 2016 12:53 pm
Forum: Advanced users
Topic: Project : Timelapse of contruction site
Replies: 0
Views: 302

Project : Timelapse of contruction site

Its almost done...thanks to those who helped with answers to my questions :

http://www.silenthunter.dk/?page_id=693
by YodaVonBeck
Tue Sep 27, 2016 12:54 pm
Forum: Troubleshooting
Topic: Cant write to external drive
Replies: 4
Views: 776

Re: Cant write to external drive

I found a way to make it work.

The crontab I had used so far was the pi crontab (I new to this, so I assumed theres was only one).
Instead I edited the roo/sudo crontab so the code would run as such. That meant that the right permissions were in place :)

Works like a charm now
by YodaVonBeck
Tue Sep 27, 2016 9:25 am
Forum: Troubleshooting
Topic: Cant write to external drive
Replies: 4
Views: 776

Re: Cant write to external drive

In the fstab I have matched it to the other entries so I had to use some spaces. Is that a problem?

The drive is accessed via a Python script triggered via crontab . Do I need to find a way to use sudo
by YodaVonBeck
Tue Sep 27, 2016 8:47 am
Forum: Troubleshooting
Topic: Cant write to external drive
Replies: 4
Views: 776

Cant write to external drive

Hi Im setting up a timelapse have the code read for that. Now I am trying to attached an external USB HD (FAT32) and I can mount it for boot using fstab - so far so good. However when I try to write to it, I get an access denied. This is the fstab code: /dev/sda1 /mnt /vfat defaults 0 0 What am I mi...
by YodaVonBeck
Fri Sep 23, 2016 8:13 am
Forum: Beginners
Topic: Building a timelapse setup with PiCamera
Replies: 6
Views: 1467

Re: Building a timelapse setup with PiCamera

Little help :)
by YodaVonBeck
Wed Sep 21, 2016 7:32 pm
Forum: Beginners
Topic: Building a timelapse setup with PiCamera
Replies: 6
Views: 1467

Re: Building a timelapse setup with PiCamera

Or could this be the best way?

Code: Select all

d = datetime.now()
    if (d.hour=>'8' and d.hour=<'16'):
by YodaVonBeck
Wed Sep 21, 2016 7:10 pm
Forum: Beginners
Topic: Building a timelapse setup with PiCamera
Replies: 6
Views: 1467

Re: Building a timelapse setup with PiCamera

Could I amend it to this?:

Code: Select all

d = datetime.now()
    if 8<d.hour<16:
Would that run the While loop continuously, but only take a picture if d.hour was more than 8 AND less than 16?
by YodaVonBeck
Wed Sep 21, 2016 8:43 am
Forum: Beginners
Topic: Building a timelapse setup with PiCamera
Replies: 6
Views: 1467

Building a timelapse setup with PiCamera

A friend of mine is building a house and asked me if I could come up with a solution to do a timelapse video. I looked and there are offtheshelfe solution, but they are rather expensive and not as fun to build as a RPi setup :) So I have the newest RPi and bought the PiCam. I found this project : ht...
by YodaVonBeck
Mon Apr 18, 2016 7:06 pm
Forum: General discussion
Topic: How to publish project on Github
Replies: 4
Views: 854

Re: How to publish project on Github

Alright, Im gonna give it a go one of these days. Just wanted to sanity check with you guys, if I missed something obvious :)

Go to advanced search