Go to advanced search

by miky94
Fri Jun 14, 2019 11:21 am
Forum: Camera board
Topic: picamera minimize power consumption
Replies: 1
Views: 50

picamera minimize power consumption

hope this is the right forum I'm developing a timelapse camera using camera module v1, I take a picture every 10 seconds and I was wondering if to use stop_preview() after each shot and then start_preview() 2 seconds before the next could make my battery last longer. also how can I detect when there...
by miky94
Mon Jun 10, 2019 11:35 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

if you only ever add new data you might get away with it what do you mean? I'll only ever add new data The problem there is that the power has to be on when you do this, and what happens if you forget? You also may not get a pure black image due to noise in the sensor. another thing to remember bef...
by miky94
Mon Jun 10, 2019 7:19 am
Forum: Camera board
Topic: best compromise quality/size for time-lapse camera
Replies: 5
Views: 215

Re: best compromise quality/size for time-lapse camera

Ok @HermannSW but I guess on a Pi Zero you can't get such high frame rate right? how do you capture at multiple exposure? that probably would improve the quality
I did the quality/size test only on that scene, I'll try on other scenes to see if it is worth using a higher quality
by miky94
Mon Jun 10, 2019 12:12 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

my problem is that I already bought an ad-hoc 3d printed case and there's no space for a shutdown button. I can't believe filesystems can't simply ignore incomplete writes and I think there must be a harware reason. I don't know if a capacitor system between the PSU and the Pi would allow to trigger...
by miky94
Sun Jun 09, 2019 10:18 pm
Forum: Camera board
Topic: best compromise quality/size for time-lapse camera
Replies: 5
Views: 215

Re: best compromise quality/size for time-lapse camera

from what I read here https://www.raspberrypi.org/documentation/hardware/camera/ the difference in resolution is greater than the difference in FoV, if I understood that means that at 1920x1080 v2 has better definition but worse FoV, right? anyway seeing comparisons on the internet, in some v2 looks...
by miky94
Sun Jun 09, 2019 5:31 pm
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I'd prefer SD cards because I use them more, but as you said a USB-SD adapter is another connection in the chain and probably more outdoor-exposed. unfortunately my only power source is the motorbike, I'll check if it can charge and deliver power at the same time. I'm wondering if there are USB stic...
by miky94
Sun Jun 09, 2019 2:56 pm
Forum: Camera board
Topic: best compromise quality/size for time-lapse camera
Replies: 5
Views: 215

best compromise quality/size for time-lapse camera

I'm working on a onboard motorbike time-lapse camera for holidays, I'm using the picamera python module and I did a test looking for the best compromise quality/size. excluding the unusable image with quality 1, I didn't find significant quality differences (not even by zooming) between quality 10 a...
by miky94
Sun Jun 09, 2019 1:53 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I'm not saying I can prevent storage damage using a certain device or filesystem, just trying to understand which are the best in my case. I'm not looking for a bulletproof solution, anyway I think I could have problems only when having sudden power loss while Pi is writing to the second storage. th...
by miky94
Sat Jun 08, 2019 1:00 pm
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

of course, but I'm looking for a more practical solution, the best one is probably that posted by thagrol, but since I don't care about lose some file I'm asking if doing as described will break the storage compromising all the files, and which device is less prone to be damaged
by miky94
Sat Jun 08, 2019 11:26 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I tried linux-reader and ext2explore with not luck so I'll give a try to ext2read.
if I understood even if NTFS-3G there are issues with unclean shutdowns, the volume should be recovered and mounted anyway.
so in the worst case I'll lose some file if the system loses power when is writing, right?
by miky94
Sat Jun 08, 2019 8:50 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

the OS is in a ready-only SD in the Pi slot, and I'd use a USB to SD adapter for the second storage. on Raspbian there is the ntfs-3g package that allows to write on NTFS filesystem but someone told me that is not journaled. I tried ext4 but I didn't find a free software to read files on the second ...
by miky94
Fri Jun 07, 2019 11:28 pm
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I'll take a look, but answering my question what's better between SD cards and USB sticks? also I read that NTFS on Raspbian is not journaled , so what filesystem can I use to have Windows compatibility?
by miky94
Fri Jun 07, 2019 6:02 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

the problem is that the Pi will be on a motorbike and I already have a switch for the 5v PSU so I don't want another button to poweroff cleanly the Pi. also I need network disabled for saving battery. My problem is not corrupted files but prevent broken storage
by miky94
Thu Jun 06, 2019 11:11 pm
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 517

SD card vs USB stick: best secondary storage for sudden shutdowns projects

I have a Raspberry Pi with Raspbian Raspbian Stretch Lite on a read-only SD card which periodically saves files on the secondary storage. Since there will be sudden shutdowns I'm wondering which device is better as secondary storage, someone told me USB sticks are better for this purpose, but they c...
by miky94
Thu May 30, 2019 12:08 am
Forum: General discussion
Topic: speed up start up and save energy
Replies: 9
Views: 692

Re: speed up start up and save energy

@DirkS I tried to add nofail as you suggested for when I need to connect the keyboard instead of the USB stick:
LABEL=timelapse /home/pi/Desktop/timelapse ext4 defaults,noatime 0 nofail
(timelapse is the real name of the directory)
but I still get the message attached
by miky94
Tue May 28, 2019 5:32 pm
Forum: General discussion
Topic: speed up start up and save energy
Replies: 9
Views: 692

Re: speed up start up and save energy

said so I believe it, anyway I'd probably improve performance more via software, is there some service I can disable and how?
by miky94
Tue May 28, 2019 1:51 pm
Forum: General discussion
Topic: speed up start up and save energy
Replies: 9
Views: 692

Re: speed up start up and save energy

Try the new A1 class (1500 IOPS) SanDisk cards. The A2 class cards (4000 IOPS) are reported to be slower (for now anyway). https://www.sdcard.org/developers/overview/application/index.html I believe the larger Sandisk cards are faster too, probably because the I/O is spread over multiple chips. the...
by miky94
Tue May 28, 2019 1:11 pm
Forum: General discussion
Topic: speed up start up and save energy
Replies: 9
Views: 692

Re: speed up start up and save energy

Thank you, I'll try.
Anyone on the other questions?
by miky94
Sun May 26, 2019 12:42 am
Forum: General discussion
Topic: speed up start up and save energy
Replies: 9
Views: 692

speed up start up and save energy

I know this is an already answered question but I need help for my specific project I have a Pi Zero (w/o wireless) running as service a python script which takes pictures on a USB stick to control it I put the SD on a Pi Zero W for putty into it I'm trying to disable all the not necessary things, t...
by miky94
Sun May 19, 2019 3:40 pm
Forum: General discussion
Topic: setup Raspberry Pi Zero without internet access and only 1 micro usb port
Replies: 14
Views: 484

Re: setup Raspberry Pi Zero without internet access and only 1 micro usb port

No it is for personal use, so there are no problems with drivers having different hw?
by miky94
Sun May 19, 2019 11:59 am
Forum: General discussion
Topic: setup Raspberry Pi Zero without internet access and only 1 micro usb port
Replies: 14
Views: 484

Re: setup Raspberry Pi Zero without internet access and only 1 micro usb port

I don't have the pinout header so if you say it is possible I'll setup the SD and the USB stick on the Pi 0 W and then I'll move both on the Pi 0
by miky94
Sun May 19, 2019 10:46 am
Forum: General discussion
Topic: setup Raspberry Pi Zero without internet access and only 1 micro usb port
Replies: 14
Views: 484

Re: setup Raspberry Pi Zero without internet access and only 1 micro usb port

The *easiest* way would be to do the setup on a Pi B (any version). If you're doing an embedded system, the better alternative is to use a CM. Then you can design a carrier board with whatever interfaces you need. I have a Pi 3 B but why should be better than the Pi 0 W having different hw? the Pi ...
by miky94
Sun May 19, 2019 12:12 am
Forum: General discussion
Topic: setup Raspberry Pi Zero without internet access and only 1 micro usb port
Replies: 14
Views: 484

Re: setup Raspberry Pi Zero without internet access and only 1 micro usb port

in production I don't need internet access and the SD will be read-only for suddenly shutdowns so that's the reason for the USB stick external storage from your answers I deduce that the easiest way would be to setup on the Pi Zero W via WiFi the SD and the USB stick and then move both on the Pi Zer...
by miky94
Sat May 18, 2019 5:27 pm
Forum: General discussion
Topic: setup Raspberry Pi Zero without internet access and only 1 micro usb port
Replies: 14
Views: 484

Re: setup Raspberry Pi Zero without internet access and only 1 micro usb port

Ok thank you, and then how can I set up a USB stick as external storage?
by miky94
Sat May 18, 2019 4:03 pm
Forum: General discussion
Topic: setup Raspberry Pi Zero without internet access and only 1 micro usb port
Replies: 14
Views: 484

setup Raspberry Pi Zero without internet access and only 1 micro usb port

Hi, how can I setup Raspbian Stretch and install updates, desktop, python etc. on a Pi Zero (without wireless)? can I setup the SD on a Pi Zero W and then put the SD in the Pi Zero or the fact that it doesn't have the wireless causes problems? also how can I configure a USB stick as external storage...

Go to advanced search