Go to advanced search

by azimshauki
Mon Apr 23, 2018 10:04 pm
Forum: Python
Topic: Voice Sensor detect wave file in python
Replies: 1
Views: 476

Voice Sensor detect wave file in python

Hi. my project is to detect wav file that stored in python coding. But, i have some issues regarding this code. Please help. # -*- coding: utf-8 -*- import RPi.GPIO as GPIO import time import speech_recognition as sr import pyaudio import urllib2 import json GPIO.setwarnings(False) import RPi.GPIO a...
by azimshauki
Fri Apr 20, 2018 8:39 pm
Forum: Python
Topic: Voice Sensor Operated Servo Motor SG90
Replies: 12
Views: 1240

Re: Voice Sensor Operated Servo Motor SG90

Is the mic just an audio mic hooked to a GPIO pin? Is the mic signal amplified and sent to a comparator where there is a threshold adjust made to cause the mic o/p to render a state of either 1 or 0? Have you confirmed that the threshold adjustment will trigger the comparator, when the infant cries...
by azimshauki
Wed Apr 18, 2018 7:25 pm
Forum: Python
Topic: Voice Sensor Operated Servo Motor SG90
Replies: 12
Views: 1240

Re: Voice Sensor Operated Servo Motor SG90

Is the mic just an audio mic hooked to a GPIO pin? Is the mic signal amplified and sent to a comparator where there is a threshold adjust made to cause the mic o/p to render a state of either 1 or 0? Have you confirmed that the threshold adjustment will trigger the comparator, when the infant cries...
by azimshauki
Tue Apr 17, 2018 9:39 pm
Forum: Python
Topic: Voice Sensor Operated Servo Motor SG90
Replies: 12
Views: 1240

Re: Voice Sensor Operated Servo Motor SG90

mahjongg wrote:
Tue Apr 17, 2018 9:16 pm
Added code tags, without which Python code becomes obfuscated.
Sorry. i don't understand. Can you explain again?
by azimshauki
Tue Apr 17, 2018 8:52 pm
Forum: Python
Topic: Voice Sensor Operated Servo Motor SG90
Replies: 12
Views: 1240

Voice Sensor Operated Servo Motor SG90

Hi guys. I'm facing some issue that i'm need to make automatic baby cradle. Once baby cry detect, the cradle will move. However, when i test my code, the servo motor not running. Thank you for helping. This is my code: import RPi.GPIO as GPIO import time GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM...

Go to advanced search