#Programming a raspberry pi

1 messages · Page 1 of 1 (latest)

orchid belfry
#

What's your dev environment? I am using the Termius program and using the raspberrypi IP address to program it.
Here's a picture of the pi connected to the camera and I am using this pdf to step by step how to program it.
I am stuck on page 12 when I write RPi_Cam_Web_Interface/./install.sh I let it process and I click yes to start the camera, but then it says access denied.
My main goal after detecting the camera is to record wildlife or any animal activity.
I don’t know much about this because I’m a chemistry major and my biology professor is forcing us to wing this. Sorry if I am not that detailed about this. I am trying to, I just don’t even know how to ask for help for this type of thing.

summer sierra
#

sudo [command]. It's going to prompt you a password and then you can run it.

You can also change the execution right to allow every user to run it by doing sudo chmod +x install.sh

orchid belfry
#

I will try the second command

#

it says command not found

summer sierra
#

You need a space between the chmod and the +

orchid belfry
#

oh I didn't know let me do it again lol

summer sierra
#

You need to put the full path. I didn't just to make the example short

orchid belfry
#

wait so how do I write again??

summer sierra
#

It would he something like this

sudo chmod +x RPi_Cam_Web_Interface/install.sh

orchid belfry
#

sudo chmod +x install.sh RPi_Cam_Web_Interface/./install.sh would it be that?

#

oh okie let me try

#

same thing

summer sierra
#

You did wrong again

#

Look carefully or even copy and paste the command I've sent

#

Looking at your image it worked the first time when. You did it correctly

#

Now you can try to start the script as you guide say

orchid belfry
#

I can't copy and paste

#

it doesn't let me

#

EmojiNO I am trying

summer sierra
#

It doesn't matter, you already did it before getting and error and it worked

orchid belfry
#

so what do I write now?

summer sierra
#

You continue with your guide

#

Execute the script

#

It was something like that RPi_Cam_Web_Interface/./install.sh

orchid belfry
#

you mean this right. I will try to write this again

summer sierra
#

That were you got the error right? If so then yes

#

You just need to do the last command

#

The git clone won't won't work because you already have it

orchid belfry
#

but the last command is the one when I get the error EmojiNO

summer sierra
#

Exactly why I said it's the only one you need to execute

orchid belfry
#

but I can't because how am I going to tell it to start the camera

summer sierra
#

I don't understand what you mean. You are stuck because when you run this RPi_Cam_Web_Interface/./install.sh it said permission denied right?

summer sierra
#

The easiest way would've been to do this sudo RPi_Cam_Web_Interface/./install.sh but it didn't work right?

summer sierra
#

Can you try and show me please?

#

Run this sudo RPi_Cam_Web_Interface/./install.sh and send me screenshot of the error

summer sierra
#

Thank you

orchid belfry
#

I can share my screen I don't mind

summer sierra
#

Sure give me a sec

#

Join just chatting and we'll check that out

tribal oasis
#

Can I see the directory pls

summer sierra
#

sudo chmod 777 /var/www/macros/error_hard.sh

orchid belfry
tribal oasis
tribal oasis
#

Can you use cmd
ls

#

Just type "ls" to show the directories

summer sierra
#

vcgencmd get_camera

#

raspistill -o image.jpg

tribal oasis
#

Try running "sudo raspi-config" and ensure that "camera" has been enabled

#

Go to display

summer sierra
#

vcgencmd get_camera

#

sudo raspi-config

#

sudo apt dist-upgrade

tribal oasis
#

I think there was no usb device driver installed on raspi

#

Or it could have been detected

#

I will try to get this topic on class tmrw, this is getting on my nerves!

#

Bye bye

orchid belfry
#

So the raspberrypi was broken birdfrustrated that’s why I was getting that error

#

I got a new one it worked and stared recording flowers 🌸

summer sierra
#

Awesome, I'm happy to hear that. It makes a lot of sense.

orchid belfry
#

OML ITS FLOWERS LOOK

#

AFTER HOURS OF TRYING TO MAKE IT WORK LOL

summer sierra
#

For real, congrats. It's really awesome

orchid belfry