Go to advanced search

by CharlyDelta
Mon Oct 14, 2019 8:45 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface

Thank you for your answer ras07. The purpose of the project is not to capture videos but simply to monitor the henhouse. During the day, the image is saturated and at night, despite an infrared lamp, the image is too dark. So ISO must be low by day and high by night. Unless there is another way, suc...
by CharlyDelta
Mon Oct 14, 2019 2:38 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface ISO--setting

Hello...... in my project, the ISO value must change during the day and night to avoid glare or darkness, despite an infrared lamp. So here's the sketch. But I don't know how and what to indicate the values in the empty fields, because like this, it doesn't work. Thank you for your help. https://i54...
by CharlyDelta
Thu Jul 11, 2019 6:03 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface ANNOTATE 3 SOLVED

After countless tests, I was finally able to print the temperature from an 18B20 on the monitor screen, with ANNOTATE function. But, the device id, 28-xxxxxxxxxxxxx also appears. How could it be possible to get only the temperature displayed? Here is the code I'm trying now: #!/usr/bin/env python im...
by CharlyDelta
Sat Jul 06, 2019 10:06 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface ANNOTATE (2)

With the code below, (read_temp() is printed on the video image, instead of the temperature. But in terminal screen, the temperature is showing normally. I've tried almost everything with the combinations. I need some research ideas. import os import glob import time os.system('modprobe w1-gpio') os...
by CharlyDelta
Sat Jul 06, 2019 3:14 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface annotate

time import sleep import Adafruit_DHT DHT_SENSOR = Adafruit_DHT.DHT22 DHT_PIN = 4 while True: humidity, temperature = Adafruit_DHT.read_retry(DHT_SENSOR, DHT_PIN) if humidity is not None and temperature is not None: print("Temp={0:0.1f}*C Humidity={1:0.1f}%".format(temperature, humidity)) else: pri...
by CharlyDelta
Wed Jun 19, 2019 6:03 pm
Forum: Automation, sensing and robotics
Topic: Limit Switch
Replies: 8
Views: 619

Re: Limit Switch

Thank you very much, Pcmanbob, everything is working now!
by CharlyDelta
Wed Jun 19, 2019 5:33 pm
Forum: Automation, sensing and robotics
Topic: Limit Switch
Replies: 8
Views: 619

Re: Limit Switch

This is an example of using a switch to stop a motor when the switch state changes. import RPi.GPIO as gpio import time gpio.setmode(gpio.BCM) gpio.setup(17, gpio.OUT) gpio.setup(22, gpio.OUT) gpio.setup(21, gpio.IN, pull_up_down=GPIO.PUD_UP) seconds = 10 print "reverse" gpio.output(17, False) gpio...
by CharlyDelta
Tue Jun 18, 2019 12:02 am
Forum: Automation, sensing and robotics
Topic: Limit Switch
Replies: 8
Views: 619

Re: Limit Switch

it would be very convenient to add a limit switch to stop the motor (which runs for 10 seconds) when the door reaches the threshold. I don't know which gpio to plug it into Recent models of RPi board have 26 gpio pins available on the 40 way header on the board. Two are used by your existing code. ...
by CharlyDelta
Mon Jun 17, 2019 1:41 pm
Forum: Automation, sensing and robotics
Topic: Limit Switch
Replies: 8
Views: 619

Limit Switch

Hello With this code, I can close a chicken coop door. I supervise the action with a camera. But, it would be very convenient to add a limit switch to stop the motor (which runs for 10 seconds) when the door reaches the threshold. I don't know which gpio to plug it into and most important..., if thi...
by CharlyDelta
Mon Jun 17, 2019 12:21 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface

Now I want to get temperature and humidity (from DHT22) printed in the camera page web beside the date and the hour. How can I do this ?? Easiest way to do this is to periodically write out the temperature and humidity to /dev/shm/mjpeg/user_annotate.txt , and then use the %a parameter in the annot...
by CharlyDelta
Sat Jun 15, 2019 2:54 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface

Ok... now I can get motor working good,

Now I want to get temperature and humidity (from DHT22) printed in the camera page web beside the date and the hour.

How can I do this ??

Thank you for your help.
by CharlyDelta
Fri Jun 14, 2019 6:28 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface ... button to control a motor

Hello... I know how to add buttons and edit the userbuttons file. Now, by clicking on a button, I would like to operate a DC motor with an L293. Don't mind about wiring. How do I configure those buttons to do this? A path to a solution would help me a lot. https://i54.servimg.com/u/f54/19/47/02/18/...
by CharlyDelta
Fri Jun 14, 2019 6:00 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface ... button to control a motor

Hello... I know how to add buttons and edit the userbuttons file. Now, by clicking on a button, I would like to operate a DC motor with an L293. Don't mind about wiring. How do I configure those buttons to do this? A path to a solution would help me a lot. https://i54.servimg.com/u/f54/19/47/02/18/...
by CharlyDelta
Tue Jun 11, 2019 2:28 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface ... button to control a motor RESOLVED

Hello... I know how to add buttons and edit the userbuttons file. Now, by clicking on a button, I would like to operate a DC motor with an L293. Don't mind about wiring. How do I configure those buttons to do this? A path to a solution would help me a lot. https://i54.servimg.com/u/f54/19/47/02/18/o...
by CharlyDelta
Fri May 24, 2019 11:02 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface

Thanks, I'll change these settings.
by CharlyDelta
Wed May 22, 2019 7:29 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5063
Views: 1322208

Re: RPi Cam Web Interface

Hello...

What does not work in these settings. I want the new records to delete the old ones when the card (16GB) is full.

Thank you for your help


https://servimg.com/view/19470218/2

Image
by CharlyDelta
Tue May 07, 2019 3:20 am
Forum: Troubleshooting
Topic: Portable Power Bank for Raspberry Pi 3
Replies: 35
Views: 75205

Re: Portable Power Bank for Raspberry Pi 3

I have been using power bank for a few years in monitoring devices without any problem related to the SD card. But I was probably lucky.... This is what I use, now: https://lifepo4wered.com/lifepo4wered-pi+.html with 2 batteries... or more if needed. No more stops that could cause an SD failure.
by CharlyDelta
Mon Apr 01, 2019 2:02 pm
Forum: Python
Topic: Safe the bird's. YouTube API V3 upload.py bird hatching challenge...
Replies: 5
Views: 581

Re: Safe the bird's. YouTube API V3 upload.py bird hatching challenge...

I can't provide you with solutions, but I must say that you have a very interesting system. I have 6 cameras installed under the roofs of various nesting boxes and the software is Rpi Cam Web https://elinux.org/RPi-Cam-Web-Interface . There is no recording directly on Youtube but rather a manual sel...
by CharlyDelta
Sat Dec 29, 2018 7:52 pm
Forum: Python
Topic: 10 tags... 10 MP4 .... how can I do that ?
Replies: 2
Views: 254

Re: 10 tags... 10 MP4 .... how can I do that ?

Okay, this seems particularly complicated for me, but I'm going to work on it.

Thanks for your help
by CharlyDelta
Fri Dec 28, 2018 8:31 pm
Forum: Python
Topic: 10 tags... 10 MP4 .... how can I do that ?
Replies: 2
Views: 254

10 tags... 10 MP4 .... how can I do that ?

Hello. Now, I can play a MP4 when a tag is detected. But, I have 10 tags with different name, and different MP4 to play. In my language: if block name is merle os.system ("omxplayer --display=5 /home/pi/Desktop/merle.mp4") if block name is corneille if (the identification of the tag is corneille) os...
by CharlyDelta
Fri Dec 28, 2018 8:15 pm
Forum: Python
Topic: MCPI----start MP4 when tag detected
Replies: 1
Views: 124

Re: RFID MCPI----start MP4 when tag detected (SOLVED)

Finaly found the solution:

Code: Select all

import sys
import os

os.system ("omxplayer --display=5 /home/pi/Desktop/merle.mp4")
by CharlyDelta
Fri Dec 28, 2018 6:38 pm
Forum: Python
Topic: MCPI----start MP4 when tag detected
Replies: 1
Views: 124

MCPI----start MP4 when tag detected

Hello... In this code, is it possible to start a mp4 file when a certain (block_name) is detected ? The complete code is https://github.com/adafruit/Adafruit_Python_PN532/blob/master/examples/mcpi_listen.py block_name = block[0] break print('Found block!') print('Type: {0}'.format(block_name)) if ha...
by CharlyDelta
Sat Nov 03, 2018 8:59 pm
Forum: Networking and servers
Topic: Sync. time between two RPI Z W
Replies: 2
Views: 261

Re: Sync. time between two RPI Z W

Thanks for your help !
by CharlyDelta
Thu Nov 01, 2018 3:53 pm
Forum: Networking and servers
Topic: Sync. time between two RPI Z W
Replies: 2
Views: 261

Sync. time between two RPI Z W

Hello


Is it possible to synchronize the time to a Raspberry Pi Zero W with another Zero W equiped with a RTC module ?

There is no internet available, the first one is Access Point and the second one is client

Thanks

Go to advanced search