Go to advanced search

by Shathis Kumar
Thu Dec 08, 2016 2:25 pm
Forum: Python
Topic: Help in python coding
Replies: 11
Views: 2624

Re: Help in python coding

Thanks for the helpful replies guys. Now the system runs well as programmed. Good Day, people
by Shathis Kumar
Thu Dec 08, 2016 2:14 am
Forum: Python
Topic: Help in python coding
Replies: 11
Views: 2624

Re: Help in python coding

Hey Tom/others, I've tried to implement the code in the link but still it can't send the image. I can detect syntax errors. Now, what I want is the code to access into my SD card path which is /home/pi/image.jpg and send the image to my email. Kindly let me know how to edit my working code. I hope t...
by Shathis Kumar
Tue Dec 06, 2016 6:06 pm
Forum: Python
Topic: Help in python coding
Replies: 11
Views: 2624

Re: Help in python coding

Guys, Now I have successfully compiled a code where when a motion detect is detected by my PIR sensor, it will trigger an LED, a buzzer and my Logitech C270 webcam to snap picture. Thus, when the motion is detected, an email will be sent to my email as "intruder" without subject. Now, my only proble...
by Shathis Kumar
Tue Dec 06, 2016 6:01 pm
Forum: Python
Topic: Help in python coding
Replies: 11
Views: 2624

Re: Help in python coding

import RPi.GPIO as GPIO import time import smtplib import os sensor = 4 buzzer = 18 led = 24 GPIO.setmode(GPIO.BCM) GPIO.setup(sensor, GPIO.IN, GPIO.PUD_DOWN) GPIO.setup(led, GPIO.OUT) GPIO.setup(buzzer, GPIO.OUT) #previous_state = False current_state = False while True: time.sleep(0.1) #previous_s...
by Shathis Kumar
Sun Nov 27, 2016 3:06 pm
Forum: Python
Topic: Help in python coding
Replies: 11
Views: 2624

Re: Help in python coding

Anyone with suggestions?
by Shathis Kumar
Sat Nov 26, 2016 7:46 pm
Forum: Python
Topic: Help in python coding
Replies: 11
Views: 2624

Help in python coding

I'm doing the same project but not using piCamera. I'm using Logitech C270 webcam. Upon testing, I am able to capture image using webca, and able to send email without attachment. Now all i Need is the full coding to be edited in a way that when my PIR motion sensor detects motion, it must trigger t...

Go to advanced search