Go to advanced search

by miky94
Sat Sep 21, 2019 4:27 pm
Forum: Graphics, sound and multimedia
Topic: using pi and piezos to build a musical instrument
Replies: 0
Views: 20

using pi and piezos to build a musical instrument

Hi, I want to build a musical instrument that reads piezo sensors inputs and plays samples at a volume proportional to the vibration in input. Not having analog inputs on the Pi, I guess I'll need an analog to digital converter, which do you recommend me (>=8 channels)? Also is there a python librar...
by miky94
Tue Jul 30, 2019 8:07 pm
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

here are my services still enabled: dev-mmcblk0p2.device networking.service ssh.service systemd-logind.service systemd-udev-trigger.service systemd-udevd.service wpa_supplicant.service dhcpcd.service systemd-remount-fs.service plymouth-start.service [email protected].service systemd-journald.service rc-loca...
by miky94
Thu Jul 25, 2019 5:04 pm
Forum: General discussion
Topic: trap camera: can't run script continuously, Pi freezes
Replies: 5
Views: 229

Re: trap camera: can't run script continuously, Pi freezes

In testing the pir and camera setup on my pi zero W, I discovered the connector on the pi was broken and the camera now does not work at all! to me everything works fine, for some times... but then it freezes or it kicks me out to the login screen (even if I have autologin) it is strange because al...
by miky94
Thu Jul 25, 2019 4:05 pm
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

The cons are, it may not run, I'm not sure which cards some people, you may not see corruption until well you see it. I don't think anyone got that much higher than 100. The steps, I can't remember but it is some multiple of some bus. But if you type 100 and it takes the value (you'll need to check...
by miky94
Thu Jul 25, 2019 3:47 pm
Forum: General discussion
Topic: trap camera: can't run script continuously, Pi freezes
Replies: 5
Views: 229

Re: trap camera: can't run script continuously, Pi freezes

neilgl wrote:
Thu Jul 25, 2019 2:35 pm
What happens if you use gpio 4 instead of 26 for the pir MotionSensor
it happens the same, it throws me to the login screen (maybe it reboots), I also tried make a fresh installation of Stretch instead of Buster but same problem
by miky94
Thu Jul 25, 2019 10:19 am
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

Start at 100, see if that works. Then increase but it is in steps and probably not worth it. You may need to drop to 83 (the next step under 100 iirc). Do a search, look at retropie they had a small part on it. It does increase speeds, but do you need it? which are these steps, 50,83,100,...? an hi...
by miky94
Thu Jul 25, 2019 9:32 am
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

Thank you so in this case, unlike CPU overclocking which I guess is already at the maximum safe frequency, I can just set the MHz certified by the manufacturer? I have a SanDisk Ultra UHS-I, from wikipedia: UHS-I Specified in SD version 3.01.[72] Supports a clock frequency of 100 MHz (a quadrupling ...
by miky94
Thu Jul 25, 2019 8:54 am
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

anyone can answer about sd_overclock?
by miky94
Thu Jul 25, 2019 6:30 am
Forum: General discussion
Topic: trap camera: can't run script continuously, Pi freezes
Replies: 5
Views: 229

Re: trap camera: can't run script continuously, Pi freezes

just to be sure I tried with the original Raspberry power supply, but same problem
it also happens during sleep(), I also tried to commend send_email , capture, and recording lines without luck
by miky94
Wed Jul 24, 2019 1:38 pm
Forum: General discussion
Topic: trap camera: can't run script continuously, Pi freezes
Replies: 5
Views: 229

trap camera: can't run script continuously, Pi freezes

Hello, I'm driving crazy trying to get this script running continuously but after a while the Pi freezes: it doesn't reply on the network, the keyboard is not powered, the monitor keeps showing me the live camera preview, the terminal last print is "wait for motion" and the top right clock is stoppe...
by miky94
Tue Jul 23, 2019 10:17 pm
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

yes I'm just running a python script that capture images on a USB stick
is there any other service I could disable?
by miky94
Tue Jul 23, 2019 9:29 pm
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

I'll search for faster OS but at the moment I have no time to learn another one so I'm just trying to disable all services I don't need.
I'll use the Zero only to capture images to a USB stick, so why do I need logging in production? without network I could disable all network services
by miky94
Tue Jul 23, 2019 8:57 pm
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

Those are all the default services that make a Raspberry Pi running Raspbian work and provide all the normal features. You can get details of each one by doing an internet search on the service name surrounded by quotation marks to get exact matches e.g. "networking.service" gives me: https://www.g...
by miky94
Tue Jul 23, 2019 9:23 am
Forum: General discussion
Topic: Pi Camera V2 vs Pi Camera V2 with IR Filter?
Replies: 5
Views: 161

Re: Pi Camera V2 vs Pi Camera V2 with IR Filter?

the 3rd party camera is the one in this topic, maybe someone experienced it
https://www.raspberrypi.org/forums/view ... hp?t=81500
by miky94
Tue Jul 23, 2019 7:27 am
Forum: General discussion
Topic: Pi Camera V2 vs Pi Camera V2 with IR Filter?
Replies: 5
Views: 161

Re: Pi Camera V2 vs Pi Camera V2 with IR Filter?

I'll use it only at day, so I was wondering what is the difference between the 2 I linked, what does "best quality at daylight, no video at night" mean? that is a special version improved for day use only or is just the normal Pi camera? and in the second case why they sell it in 2 different inserti...
by miky94
Tue Jul 23, 2019 6:43 am
Forum: General discussion
Topic: Pi Camera V2 vs Pi Camera V2 with IR Filter?
Replies: 5
Views: 161

Pi Camera V2 vs Pi Camera V2 with IR Filter?

Since I have a fake Pi camera, I was looking for a genuine one, and I found these 2 from Raspberry: - Raspberry Pi Official Camera Module V2 8Mp https://www.amazon.it/Raspberry-Official-Camera-Module-8Mp/dp/B01ER2SKFS - Raspberry Pi Camera Module V2 with IR Filter: best quality at daylight, no video...
by miky94
Mon Jul 22, 2019 8:54 pm
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

Re: What do these services do?

kflmiami420 wrote:
Mon Jul 22, 2019 7:11 pm
Can you find out for us ? erase them one by one and tell us what happens to your system. , LOL
I'm asking it to you
by miky94
Mon Jul 22, 2019 12:34 am
Forum: General discussion
Topic: What do these services do?
Replies: 16
Views: 932

What do these services do?

I'm trying to improve boot time, running systemd-analyze blame I get: so what do these services do? moreover I don't want to overclock the Pi but I read that dtparam=sd_overclock=100 allows to use the full speed of UHS cards, so I can do it safely with my SanDisk Ultra or it would compromise its lif...
by miky94
Sun Jul 21, 2019 11:05 am
Forum: General discussion
Topic: NTFS USB stick inconsistency between Raspbian and Windows
Replies: 59
Views: 1903

Re: NTFS USB stick inconsistency between Raspbian and Windows

I found out that the Zero was faulty now I noticed that if I run the script in terminal it works normally, if I run it as service the Pi auto-shutdowns after a maximum of 3 images (30s) why could it behave like this? the script shouln't because I added a sleep(30) at the beginning and it shutdowns b...
by miky94
Wed Jul 17, 2019 7:15 am
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 446

Re: ppp0 set route permanently

so now last thing is how to set up the VPN to start on boot I worked around this by adding into /home/pi/.config/lxsession/LXDE-pi/autostart : @lxterminal -e sudo pon myvpn anyway to remote access through the VPN I need to add this route: sudo ip route add 172.23.23.0/24 via 10.20.0.1 to set it per...
by miky94
Tue Jul 16, 2019 9:22 am
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 446

Re: ppp0 set route permanently

I solved adding route commands in /usr/src/reconnect.sh so now last thing is how to set up the VPN to start on boot I followed this tutorial https://prosindo.com/blog/2015/08/24/vpn-pptp-client-on-raspberry-pi/ but the script to start the VPN client on boot doesn't work and I'm not sure on how to se...
by miky94
Tue Jul 16, 2019 8:33 am
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 446

Re: ppp0 set route permanently

in /etc/network/ I have these directories: if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces.d so I created the 2 files in etc/network/if-up.d/ppp0 and /etc/network/if-post-down.d/ppp0 but it didn't work since I won't use wifi in production because I'll access SSH/VNC via pptp, to s...
by miky94
Mon Jul 15, 2019 3:08 pm
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 446

Re: ppp0 set route permanently

Sorry this is the first time I set up something like that, can you explain me what to put in those files or post links to the documentation? I have 3 interfaces: - ppp0 (4G module) - ppp1 (pptp client) - wlan0 (Wi-Fi) I'd like to use ppp0 as default gateway, and use the wlan0 to access the Pi via SS...
by miky94
Mon Jul 15, 2019 12:01 pm
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 446

Re: ppp0 set route permanently

In my /etc/network/interfaces there is only: source-directory /etc/network/interfaces.d I tried to write into /etc/network/interfaces.d/ppp0 just: auto ppp0 but after reboot I have same routes: [email protected]:~ $ ip route default via 10.111.100.1 dev wlan0 proto dhcp src 10.111.100.143 metric 302 10...
by miky94
Mon Jul 15, 2019 11:27 am
Forum: General discussion
Topic: ppp0 set route permanently
Replies: 11
Views: 446

Re: ppp0 set route permanently

DougieLawson wrote:
Mon Jul 15, 2019 10:24 am
Does it work if you create a /etc/network/interfaces.d/ppp0 file and add your stuff in there?
what should I put into the file /etc/network/interfaces.d/ppp0?

Go to advanced search