Hello,
I have a usb mic connected to my pi4
I want to run a code that will start streaming the audio , and when I will open vlc (or ceate a simple html page ) I will hear the sound from the mic
how can I do this?
**i have a pi camera , and I want to be able to hear the sound in the area
Thanks,
Search found 599 matches
- Tue May 17, 2022 11:27 am
- Forum: Graphics, sound and multimedia
- Topic: sending rstp (or anything else) of usb microphone using python?
- Replies: 0
- Views: 67
- Thu Apr 28, 2022 9:49 am
- Forum: Graphics, sound and multimedia
- Topic: how can I tell what is the max resolution for my usb camera?
- Replies: 4
- Views: 227
Re: how can I tell what is the max resolution for my usb camera?
great
I will give it a try
Thanks!
I will give it a try
Thanks!
- Thu Apr 28, 2022 9:08 am
- Forum: Graphics, sound and multimedia
- Topic: how can I tell what is the max resolution for my usb camera?
- Replies: 4
- Views: 227
how can I tell what is the max resolution for my usb camera?
this is half relaeted to the PI I'm using python on PI4 and wanted to know what is the best resolution I can get from my usb camera to work? this is what I have found : A4TECH PK-900H QUICK OVERVIEW Webcam Model PK-900H Color Glossy Black Frame rate 30fps Image sensor 1080p Full HD Sensor interface ...
- Wed Apr 27, 2022 10:31 am
- Forum: Raspberry Pi OS
- Topic: PI4 with 32GB 2022-04-04-raspios-bullseye-armhf.img.xz no won't start
- Replies: 2
- Views: 193
Re: PI4 with 32GB 2022-04-04-raspios-bullseye-armhf.img.xz no won't start
stil not working
this is what I have
I have looked from another PI
and added this lines
and now it's working
this is what I have
Code: Select all
# Enable DRM VC4 V3D driver
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
# Disable compensation for displays with overscan
disable_overscan=1
and added this lines
Code: Select all
hdmi_group=2
hdmi_mode=51
and now it's working
- Wed Apr 27, 2022 9:28 am
- Forum: Raspberry Pi OS
- Topic: PI4 with 32GB 2022-04-04-raspios-bullseye-armhf.img.xz no won't start
- Replies: 2
- Views: 193
PI4 with 32GB 2022-04-04-raspios-bullseye-armhf.img.xz no won't start
Hello , I have downlaod this version: 2022-04-04-raspios-bullseye-armhf.img.xz install it using PI_Imager on 2 new 32GB SD card but none of them work on my PI4 I have connected a hdmi display - nothong is shown how could it be ? ** the PI 4 in new and working with other old SD card with raspbery OS ...
- Wed Apr 06, 2022 12:44 pm
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
My mistake in the drawing,
the LED if parallel to the Diode and coil and not before of them ...
the LED if parallel to the Diode and coil and not before of them ...
- Wed Apr 06, 2022 10:33 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
maybe I didn't expalin correct the 5V coil is conencted to the PI (5V and Transistor Collector with the Diode ) and : COMM will be connected to the relay Vin_Of_load NC will be connected to the 24V device Vin what is the problem with this configuration ? 20220406_133053.jpg ** all GND are connected
- Wed Apr 06, 2022 9:41 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
what if I will connect the coil COM between Vin_Of_Load (of the 24V realy) and the 24V device?
iit should be the same , no ?
thank you fot the help!
iit should be the same , no ?
thank you fot the help!
- Wed Apr 06, 2022 8:35 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
just got the 5V coil
but something is missing for me in the circuit
I have 5 pins
NO, NC
Coil+ , Coil -
COM
if I understand corect:
coil+ to 5V
coil- to Transistor E
NC or NO to Control Pin in the 24V relay (need to see what work better for me )
com to SW1 (24V )
is this corect?
but something is missing for me in the circuit
I have 5 pins
NO, NC
Coil+ , Coil -
COM
if I understand corect:
coil+ to 5V
coil- to Transistor E
NC or NO to Control Pin in the 24V relay (need to see what work better for me )
com to SW1 (24V )
is this corect?
- Tue Apr 05, 2022 6:16 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
I have just order the part - but it will take a faw days until I will get it
for now I will try to make it work using 12V version -
I will update \ ask when I get the pars and make the circuit
Thank you for the answer until now
!
for now I will try to make it work using 12V version -
I will update \ ask when I get the pars and make the circuit
Thank you for the answer until now

- Mon Apr 04, 2022 2:11 pm
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
can you make a ciruit without the led - I don't realy need it let (try) and make things simple as I understand , I'm using the 5V coil as the device that will be working according to the transistor - correct? when I give "1" at the transistor base --> the 5V coil will change state and what...
- Mon Apr 04, 2022 1:19 pm
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
this is the circuit for 100% I have double check , and ask someone else also to build the circuit from 0 (just to be sure) same resualt on all cases. before I connect the 24V device and realy I am checking it with a 5V led - to make sure everything is working, and it does. again the problem is that ...
- Mon Apr 04, 2022 12:39 pm
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
yes this is a working system I can't touch \ change anything I can only connect to it and another thing: maybe the transistor can't work with 24V? beacuse now I have try to work only with the device without the relay created the same circuit like the LED with the diode , insted of the led I put the ...
- Mon Apr 04, 2022 12:20 pm
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
you are 100% correct
if I had control of the all system
but , I can only connect to the what I have - and I can't change it
I'm trying to give a solution to a problem
so this is what I'm doing :
if I had control of the all system
but , I can only connect to the what I have - and I can't change it
I'm trying to give a solution to a problem
so this is what I'm doing :
- Mon Apr 04, 2022 11:17 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
1. can you make a cicruit without the led? just the relay ? using the scametic I have done ?mayne I miss understand something the relay is : HELLA , 4RD 007.903-001 2. as I mention as start -I'm connectin to an existing devicer\circuit - I can't change anything there I just want ot controk the relay...
- Mon Apr 04, 2022 10:36 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
I guess soemthig is wrong beacuse I have try to connect only the 24V device and it's allways on (without the relay) also took a 5V led , connect it to the transistor Collector (wiht a 470 Ohm ) - and it's allways on I'm going to get another transistor - make the same circuit for the LED - see if it'...
- Mon Apr 04, 2022 10:20 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
I have remove the diode for now , (is this a problem?)
when I remove the wire from 85(which is relay GND) to the transistor collector the realy is shut down (I can hear the "click" )
when I remove the wire from 85(which is relay GND) to the transistor collector the realy is shut down (I can hear the "click" )
- Mon Apr 04, 2022 9:35 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
this is what I have done , I have remove the led just to be sure
The device is working
*** this switch is allways close , so the relay is "ON" all the time.The device is working
- Mon Apr 04, 2022 9:20 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
maybe the problem is the gnd?
beacue if I have 0.5V and 0V when transistor open\close
maybe for the 24V relay it doesn't matter?
when I check voltage between relay(GND) and Emitter I see 5.4V and 5.9 V
maybe the problem is somewhere here?
maybe this Transistor can't work with 24V load?
beacue if I have 0.5V and 0V when transistor open\close
maybe for the 24V relay it doesn't matter?
when I check voltage between relay(GND) and Emitter I see 5.4V and 5.9 V
maybe the problem is somewhere here?
maybe this Transistor can't work with 24V load?
- Mon Apr 04, 2022 8:16 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
still not working I have made a simple code that send "1" \ "0" once every 5 seconds the led is blinking OK acoording to the code but the realy is allways on (I the swith is close at all time - giving the control 24V , so the relay is "ON") as I understand from you all ...
- Sun Apr 03, 2022 8:00 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
My problem is that the 24V device that connected to the relay get "stuck" some time - and need to restart it and I have not control on the relay status , so I wnat to be able to control the realy power and not the relay work (if this sentence makeany sense :-) ) if the sw is press \ not pr...
- Wed Mar 30, 2022 12:04 pm
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
I need some more help I need to control the relay wihtout control the relay :) what I mean is - the realy is control by another device using 24V , I want to be able to control it from the PI so when the pi send "1" , then the realy will work - I thought maybe to connect the GND of the real...
- Thu Mar 24, 2022 9:23 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Re: Electronic help connecting relay to PI4
thank you for the answers
the image is just an example for connections , I just wanted to know about the PI connection part -
the relay is 24V and the device are 24V (not AC )
I will use 2N2222 as you suggested
Thank you
if something will wnet wrong I will ask again
the image is just an example for connections , I just wanted to know about the PI connection part -
the relay is 24V and the device are 24V (not AC )
I will use 2N2222 as you suggested
Thank you
if something will wnet wrong I will ask again
- Thu Mar 24, 2022 7:54 am
- Forum: Automation, sensing and robotics
- Topic: Electronic help connecting relay to PI4
- Replies: 44
- Views: 1605
Electronic help connecting relay to PI4
Hello, I want to connect a relay to pi and control it using python app the device is 24V and the relay is https://www.trodo.com/relay-main-current-hella-4rd-007-903-001 I know it's best to use a small circuit (Diode,Ressitor and Transistor) to control the relay I have found this example https://www....
- Mon Mar 14, 2022 9:56 am
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: can-utils - cansniffer won't show data?
- Replies: 0
- Views: 143
can-utils - cansniffer won't show data?
Hello I'm trying to analyze some canbus data , so I want to use the cansniffer my problem is that it doesn't show any data candump is working - and I can read the data but when I turn tyr to run cansniffer - I get empty pi@raspberrypi:~ $ cansniffer can0 -c 07 delta ID data ... < cansniffer can0 # l...