Go to advanced search

by satish.gunjal
Mon Feb 04, 2019 6:21 pm
Forum: Beginners
Topic: samba file server- delete file from windows pc
Replies: 8
Views: 202

Re: samba file server- delete file from windows pc

When you say " I am not able to delete file from my windows PC" do you mean "I am unable to use my Pi to delete files that exist on my windows PC" or "I am unable to use my windows PC to delete files on my Pi's samba share"? If the latter, my guess it's likely to be a problem with linux permissions...
by satish.gunjal
Mon Feb 04, 2019 6:18 pm
Forum: Beginners
Topic: samba file server- delete file from windows pc
Replies: 8
Views: 202

Re: samba file server- delete file from windows pc

Try the share like this: [RecordedFiles] Comment = Pi shared folder Path = /home/pi/RecordedFiles read only = no create mask = 0777 directory mask = 0777 Guest ok = yes You do not need these lines: Browseable = yes only guest = no Writeable = Yes Public = yes The first two are default settings, the...
by satish.gunjal
Mon Feb 04, 2019 12:23 pm
Forum: Beginners
Topic: samba file server- delete file from windows pc
Replies: 8
Views: 202

samba file server- delete file from windows pc

I am using samba file server to copy files from raspberry to windows PC. I am able to copy files from RPI but I am not able to delete file from my windows PC. Get access denied error. Followed below url for samba server installation. https://www.raspberrypi.org/magpi/samba-file-server/ Added below l...
by satish.gunjal
Thu Dec 06, 2018 11:44 am
Forum: Python
Topic: 'arecord' command using 'subprocess' in python
Replies: 3
Views: 309

Re: 'arecord' command using 'subprocess' in python

thanks it worked!! working code... import subprocess import os import time import signal #proc_args = ['arecord', '-D' , 'dmic_sv' , '-c2' , '-r' , '44100' , '-f' , 'S32_LE' , '-t' , 'wav' , '-V' , 'mono' , '-v' , 'subprocess1.wav'] proc_args = ['arecord', '-D' , 'plughw:1' , '-c1' , '-r' , '44100' ...
by satish.gunjal
Thu Dec 06, 2018 7:52 am
Forum: Troubleshooting
Topic: audio recording using pyaudio - clicking noise
Replies: 0
Views: 76

audio recording using pyaudio - clicking noise

I am using Adafruit I2S MEMS microphone for recording the audio. I am able to record audio using 'pyaudio' library in python. But audio quality is not good. Lots of clicking noise in audio. Below are my findings.. Test#1: Audio recorded using below script for 30 sec. No clicking noise recorded. This...
by satish.gunjal
Thu Dec 06, 2018 5:41 am
Forum: Python
Topic: 'arecord' command using 'subprocess' in python
Replies: 3
Views: 309

'arecord' command using 'subprocess' in python

I am using Adafruit I2S MEMS microphone with Raspberry Pi Zero W. Followed the Adafruit guide to configure the microphone. I am able to record the audio using below commands. arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav arecord -D dmic_sv -c2 -r 44100 -f S32_LE -t wav -V mon...
by satish.gunjal
Mon Nov 12, 2018 8:26 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

few more observations For my RPi shutdown setup i am using GPIO 26. I have trigger setup to shutdown the RPi if user press button for more than 3 seconds. Observation#1. if fan is started and stopped withing 2 minutes. Most of the time i receive the trigger on GPIO 26. I am only monitoring GPIO 26 n...
by satish.gunjal
Mon Nov 12, 2018 8:08 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

Yes your Opto Circuit is correct. What I am trying to do is take you through the process of elimination First what I mean by not common the Ground 0-v is as follows Pi ground 0-v--------X-------ground 0v--Battery Power When using opto isolators you don't need any return connection back to the Pi Do...
by satish.gunjal
Fri Nov 09, 2018 12:40 pm
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

I am beginner and i haven't used optocoupler as of now ... attached the sketch of my setup with PC817. Since i am using USB hub, will it still qualify as separate power supply for relay board? https://i.imgur.com/i4WcTtD.jpg You have the Pi 5v from the Power bank, Use a 5v power adapter To feed the...
by satish.gunjal
Fri Nov 09, 2018 7:54 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

I am beginner and i haven't used optocoupler as of now ...
attached the sketch of my setup with PC817. Since i am using USB hub, will it still qualify as separate power supply for relay board?

Image
by satish.gunjal
Thu Nov 08, 2018 1:50 pm
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

@Pedro_Lopes My setup is as below: 5V 2A wall adapter powering Adadfruit powerboost 1000C. Output from powerboost connected to USB hub. And from USB hub i am powering RPi and two relay boards. Max current consumption is less than 700mA. And powerboost can supply 1A. Please correct me if i am wrong.....
by satish.gunjal
Thu Nov 08, 2018 8:23 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

@klricks test setup: # 50W fan connected to 'NC' and 'COM' pins of relay board # Relay board and RPi started # python script is stopped. Not controlling the relay from RPi Now if I stop the fan EVERY TIME RPi stops!! one more thing i observed... I am also using Adafruit powerboost 1000C with below c...
by satish.gunjal
Thu Nov 08, 2018 1:57 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

Are you overloading the GPIO? The maximum limit per GPIO is 16mA, with a maximum limit across all GPIO together being no more than 50mA I don't think so. Relay board works fine without fan connected. I have switched on all the 8 channels on 5V 10A relay board and 1 channel on 5V 30A relay board for...
by satish.gunjal
Thu Nov 08, 2018 1:43 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

Pedro_Lopes wrote:
Wed Nov 07, 2018 5:42 pm
Without the fan's connected to the relay, do you have the same problem?
No. Without fan relay board works fine.
by satish.gunjal
Wed Nov 07, 2018 5:35 pm
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Re: Relay board and back emf issue

Has the jumper on the relay board been removed, as you are running external power? Yes(JD-VCC & VCC are not connected by jumper). Connections are as below. Connected +ve wire of external power supply to JD-VCC pin of 8 Channel relay Connected -ve wire of external power supply to Ground pin of 8 cha...
by satish.gunjal
Wed Nov 07, 2018 10:49 am
Forum: Beginners
Topic: Relay board and back emf issue
Replies: 18
Views: 669

Relay board and back emf issue

I am using 5V 10A, 8 channel relay board ( https://www.amazon.in/JBTek-Channel-Control-Optocoupler-Arduino/dp/B00KTELP3I ) to exhaust fans(50W). Each relay will need 15 to 20mA current. Relay board is externally powered. Using python script on my raspberry pi zero W. No problem starting the the exha...
by satish.gunjal
Thu Nov 01, 2018 11:08 pm
Forum: Beginners
Topic: Sharing 3.3V pin for two devices
Replies: 3
Views: 162

Sharing 3.3V pin for two devices

I am using raspberry pi zero W. Both the 5 V pins are used for DHT22 and AM2302 temp & humidity sensors. one 3.3V pin used for Adafruit PiRTC - PCF8523 Real Time Clock for Raspberry Pi. And the last remaining 3.3V is used for VCC of 8 channel relay board (externally powered) . I am also using MCP 30...
by satish.gunjal
Tue Oct 09, 2018 4:52 am
Forum: Beginners
Topic: Raspberry pi and three relay board power supply
Replies: 3
Views: 258

Re: Raspberry pi and three relay board power supply

why use the high power 30a relays with such low power devices, a low power fan and i guess even less demanding pump? If the devices your controlling are fed by mains power and that fails why do you need the relays to be supplied from your limited battery backup power. As long as the pi remains aliv...
by satish.gunjal
Sun Oct 07, 2018 8:30 am
Forum: Beginners
Topic: Raspberry pi and three relay board power supply
Replies: 3
Views: 258

Raspberry pi and three relay board power supply

I am using Adafruit Powerboost 1000C and LIPO batteries to power my Raspberry pizero w . Raspberry pi will be used to automate my grow room. I will be using 5V 10A, 8 channel relay board ( https://www.thingbits.net/products/8-channel-5v-relay-module ) to control lights and exhaust fans. Each relay w...
by satish.gunjal
Wed Sep 05, 2018 10:18 am
Forum: Troubleshooting
Topic: I2S MEMS Microphone Right CHN Mono Using pyaudio
Replies: 0
Views: 94

I2S MEMS Microphone Right CHN Mono Using pyaudio

I am using Adafruit I2S MEMS Microphone Breakout for recording. ref. https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout?view=all When i wire the Mic to RPI in Mono configuration as per below image I am able record audio using arecord command and below python code https://cdn-learn.adaf...
by satish.gunjal
Fri Aug 03, 2018 8:01 pm
Forum: Troubleshooting
Topic: Unable to record audio using USB Sound Card
Replies: 0
Views: 60

Unable to record audio using USB Sound Card

Followed every step in 'USB Audio Cards with a Raspberry Pi' Adafruit guide, but unable to record the audio. USB Audio Cards with a Raspberry Pi - https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi Haven't received any error but instead of audio only silent wav file is getting recorded. ...
by satish.gunjal
Thu Jul 19, 2018 6:53 am
Forum: Python
Topic: Adafruit DHT22 pass sensor value dynamically
Replies: 1
Views: 218

Adafruit DHT22 pass sensor value dynamically

I am using below python code to get the temp and humidity reading. sensor = Adafruit_DHT.DHT22 pin = 23 humidity, temperature = Adafruit_DHT.read_retry(sensor, pin) everything works fine but since i am using multiple sensors(DHT11, DHT22, AM2302) I am planing to make it dynamic and pass sensor and p...
by satish.gunjal
Sun Jun 24, 2018 5:55 pm
Forum: Beginners
Topic: 5V relay to control a 0.5HP pump
Replies: 19
Views: 458

Re: 5V relay to control a 0.5HP pump

The relay you have found will work, it appears to be correctly rated I'm not convinced of that at all. I can't see any specification for inductive loads, only the vague claim that it can be used to switch motors - how big a motor? That's why I said "possibly". Contactors generally do have 240V AC c...
by satish.gunjal
Sun Jun 24, 2018 5:42 pm
Forum: Beginners
Topic: 5V relay to control a 0.5HP pump
Replies: 19
Views: 458

Re: 5V relay to control a 0.5HP pump

@pcmanbob, @davidcoton I am not working on mains part of this project. Qualified electrician is doing all the mains work. Since I am designing the system I am trying my best to know all the possible solutions before finalising one. We understand the risk involved with 240 AC and we are taking all th...
by satish.gunjal
Sun Jun 24, 2018 2:15 pm
Forum: Beginners
Topic: 5V relay to control a 0.5HP pump
Replies: 19
Views: 458

Re: 5V relay to control a 0.5HP pump

So using contactor is one safe and possible way of doing it. I also found 20A Single relay board. Manufacturer claims it will support loads like motor etc. Relay board link: https://researchdesignlab.com/20a-single-relay-board.html#product_tabs_description_tabbed The board works on 12V but the input...

Go to advanced search