Go to advanced search

by david_1234
Tue May 12, 2020 1:35 pm
Forum: Beginners
Topic: I2C level shifter quesion -
Replies: 4
Views: 231

I2C level shifter quesion -

Hello , after a long testing I have found that my project will best use a 5V sensors 4 X ina219 1X RTC1307 1X oled display ans I read here the pi gpio is only good with 3.3V and and if I use I2C devices that works on 5V that mean the the data is also 5V and this will KILL my pi. so I need to use a l...
by david_1234
Thu May 07, 2020 8:02 am
Forum: Troubleshooting
Topic: is there a different on I2c between Arduino and PI?
Replies: 0
Views: 115

is there a different on I2c between Arduino and PI?

Hello , I have created a project on the Arduino using 3 I2C devices: INA219 Oled display RTC the project dispaly the time and voltage , when the voltage is to low acoording to my condition. all devices works on 3.3V , I didn't use any pullups - just connected all the SDA\SCL direct to the Arduino. t...
by david_1234
Sun May 03, 2020 9:26 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Help with i2c on pi3 (and also 4) - oled and ina219
Replies: 0
Views: 142

Help with i2c on pi3 (and also 4) - oled and ina219

Hello , I'm starting to lose my mind :-) Im working with PI 3 and want to connect to it an Oled display using i2c I'm using an Oled that can be connected as SPI\I2C I want to use it as I2C In the back if I (understand correct) I need to soldering R1,R4,R5,R6 I have done it (as you can see in the ima...
by david_1234
Sun Apr 05, 2020 6:28 am
Forum: Android
Topic: [DEV] LineageOS 16.0 (Android 9) for Raspberry Pi 3 B and B+
Replies: 62
Views: 33345

Re: [DEV] LineageOS 16.0 (Android 9) for Raspberry Pi 3 B and B+

I think you'd need to do a lot of work to get something like that working on Android. Source code for the Linux kernel is here (https://github.com/lineage-rpi/android_kernel_brcm_rpi) if you want to try something out but you'll need a lot more than just some kernel driver. why , I have the driver f...
by david_1234
Wed Apr 01, 2020 11:03 am
Forum: Android
Topic: [DEV] LineageOS 16.0 (Android 9) for Raspberry Pi 3 B and B+
Replies: 62
Views: 33345

Re: [DEV] LineageOS 16.0 (Android 9) for Raspberry Pi 3 B and B+

I have a question about adding usb device : I have a 4g modem I want to add to the pi running android I have the drivers , but as I understadn I need to complie them with the all kernel and "create" a new image? - is this true ? maybe there is a fastet way to load driver to the unit? if not - is the...
by david_1234
Sun Mar 29, 2020 9:14 am
Forum: General discussion
Topic: text to speech in pi4 - not just English?
Replies: 2
Views: 185

Re: text to speech in pi4 - not just English?

yes I see - this is good

but I also may need Hebrew

I have look - there is no support
also I have try GTTS - doesn't have hebrew

maybe another software?

also I have notice that I need internet connection for this

maybe do you know an offline application ?
Thanks ,
by david_1234
Sun Mar 29, 2020 8:20 am
Forum: General discussion
Topic: text to speech in pi4 - not just English?
Replies: 2
Views: 185

text to speech in pi4 - not just English?

Hello , I have found many guide of make my pi talk, but if I have text not in English , how do I make it work? do I need external software for this ? for example this is the first resulat on google https://www.dexterindustries.com/howto/make-your-raspberry-pi-speak/ is there any way to "upgrade" it ...
by david_1234
Sun Mar 22, 2020 5:28 pm
Forum: Android
Topic: Connect usb devcies to PI running android 9?
Replies: 0
Views: 216

Connect usb devcies to PI running android 9?

Hello , I have install android 9 using this guide https://pcmac.biz/android-pie-on-raspberry-pi-4/ working good , I need the minimum - so it's good for me in my project I need\want to connect usb modem adapter when I connect it - everything got stuck , when I remove it - all continue working any ide...
by david_1234
Sun Feb 23, 2020 7:42 am
Forum: Beginners
Topic: camera usb won't work after plug in
Replies: 0
Views: 154

camera usb won't work after plug in

Hello , I have a USB camera that work great for half a year ~ last week I have notice that it stop working I have remove it and the plug it back(still not working) - this is what I get in the syslog Feb 21 13:30:52 raspberrypi kernel: [260863.221689] usb 1-1.1.2: new high-speed USB device number 13 ...
by david_1234
Thu Feb 20, 2020 2:28 pm
Forum: Beginners
Topic: can I get signal in DB from microphone using usb sound card?
Replies: 9
Views: 695

Re: can I get signal in DB from microphone using usb sound card?

I need to test the DB when people are talking they will talk direct to the mic , want to see the changes from man\woman\child\dog etc... I really think it should b e simple to do I guess the problem is "reading" the analog voice from the USB microphone If this is to hard to apply , I will search som...
by david_1234
Sun Feb 16, 2020 10:05 am
Forum: Beginners
Topic: can I get signal in DB from microphone using usb sound card?
Replies: 9
Views: 695

Re: can I get signal in DB from microphone using usb sound card?

I think you over think what I want to do ....

I just want to read the signal from the MIC and know how much DB is it

can I do this? or it's to complicated?

Thanks,
by david_1234
Mon Feb 10, 2020 2:06 pm
Forum: Beginners
Topic: can I get signal in DB from microphone using usb sound card?
Replies: 9
Views: 695

Re: can I get signal in DB from microphone using usb sound card?

It could be relative

and what do you need by this:
And do you want flat or weighted values?
I want the resault the be simller to the android app "Sound Meter" - so the code can be "trusted"
if I will ger 54.6 in the PI and 55 in the app - it's ok

Thanks ,
by david_1234
Mon Feb 10, 2020 1:49 pm
Forum: Beginners
Topic: can I get signal in DB from microphone using usb sound card?
Replies: 9
Views: 695

can I get signal in DB from microphone using usb sound card?

Hello , I'm using a USB sound card that have 2 connections : input\output I have connected a microphone to the input , and I want to know what is the noise level while I open the mic. is there any way to do this? I only found this https://github.com/mepster/wensn but how do I do the same think to a ...
by david_1234
Mon Feb 10, 2020 10:45 am
Forum: Beginners
Topic: how to control volume output when using external sound card?
Replies: 1
Views: 116

Re: how to control volume output when using external sound card?

found it

Code: Select all

 mpg123 -o alsa:hw:1,0 -f -2000 /home/pi/Documents/test.mp3

the maximum value of the amplitude is 100% which coressponds to 32768

got it from here
https://unix.stackexchange.com/question ... -of-mpg123

maybe it will help anyone alse also....
by david_1234
Mon Feb 10, 2020 10:39 am
Forum: Beginners
Topic: how to control volume output when using external sound card?
Replies: 1
Views: 116

how to control volume output when using external sound card?

Hello , I'm using a USB sound card on my pi wanted to know how can I chagne the output volume of it ? I haver try to use this command amixer set PCM -- 85% but it doesn't change the volume in order to play file I use this command in python TestSound = "/home/pi/Documents/test.mp3" os.system("mpg123 ...
by david_1234
Mon Feb 10, 2020 10:35 am
Forum: Staffroom, classroom and projects
Topic: Sound level meter
Replies: 5
Views: 1220

Re: Sound level meter

by david_1234
Sun Feb 09, 2020 12:48 pm
Forum: Staffroom, classroom and projects
Topic: Sound level meter
Replies: 5
Views: 1220

Sound level meter

Hello . I want to build an app that will measure the sound level in the room I only found how to do it using Arduino https://www.hackster.io/Skyphoxx/sound-detector-with-visual-alerts-3997ab is there any guide to how to do it in PI with python maybe? I know the circuit can be the same but maybe ther...
by david_1234
Sun Jan 26, 2020 1:59 pm
Forum: Troubleshooting
Topic: can't reach PI using VNC after noraml update
Replies: 5
Views: 308

Re: can't reach PI using VNC after noraml update

Didn't know this

Thanks you so much - it help and now it's working
by david_1234
Sun Jan 26, 2020 1:52 pm
Forum: Troubleshooting
Topic: can't reach PI using VNC after noraml update
Replies: 5
Views: 308

Re: can't reach PI using VNC after noraml update

I'm trying it now ,
so when do I use "update" and when I use "Full-update"?
up until now I didn't now this command ....

Thanks ,
by david_1234
Sun Jan 26, 2020 1:41 pm
Forum: Troubleshooting
Topic: can't reach PI using VNC after noraml update
Replies: 5
Views: 308

can't reach PI using VNC after noraml update

Hello , I have a working PI 4 buster worked for 3 months now today I run sudo apt-get update sudo apt-get upgrade told me I need to reboot when finish now I can't enter VNC ,and I don''t get any display on the screen. why? can only enter using SSH what went wrong ? systemctl status vncserver-x11-ser...
by david_1234
Tue Jan 07, 2020 1:49 pm
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 617

Re: read data from Arduino

One last question so I will be sure I understand (and avoid any other electric problems): when I use a I2C device that power from 3.3V the SDA\SCL lines will also work on 3.3V? so if my "Other side" can read i2c device only from 3.3V it will be OK?(like PI for example) in that case I won't need any ...
by david_1234
Sun Jan 05, 2020 11:05 am
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 600

Re: UART problem

The data is from Arduino ,
what does it matter?
it something in the pi config , no?
by david_1234
Thu Jan 02, 2020 1:44 pm
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 600

Re: UART problem

No no something is not good , and I don't know what happand this is the config file dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12 dtoverlay=spi-bcm2835-overlay dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_f...
by david_1234
Thu Jan 02, 2020 1:32 pm
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 600

Re: UART problem

this is a good and important information ! - Thanks! so If I only use SPI,UART protocols is this all I have to config in /boot/config.txt? dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12 dtoverlay=spi-bcm2835-overlay disable_splash=1 enable_uart=1 dtoverlay=uart5 [pi4] # Enable...
by david_1234
Thu Jan 02, 2020 1:04 pm
Forum: General discussion
Topic: pi4 buster get stuck on "apt-update"
Replies: 7
Views: 490

Re: pi4 buster get stuck on "apt-update"

I guess there was a problem or something yesterday
I have try now (without changing anything) nad it update OK

stange ,

But thank you!

Go to advanced search