Go to advanced search

by paulv
Sat Mar 10, 2018 10:40 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3167

Re: Prevent/Minimize USB (Flash) stick corruption

Karrika et all, The funny thing is, I have used these mini 8GB flash sticks for longer periods as the rootfs for my RPi's. See my sticky post : https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=44177 In any case, I have now configured a raid5 by using three partitions of 2GB each on one 8GB st...
by paulv
Sat Mar 10, 2018 4:44 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3167

Re: Prevent/Minimize USB (Flash) stick corruption

Here is more information if you want to learn about RAID drives.
https://www.tecmint.com/understanding-r ... -in-linux/
Enjoy!
by paulv
Sat Mar 10, 2018 4:42 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3167

Re: Prevent/Minimize USB (Flash) stick corruption

It seems I’m not the only one with weird corruption issues on USB flash drives.
viewtopic.php?t=65108
by paulv
Fri Mar 09, 2018 2:45 pm
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3167

Re: Prevent/Minimize USB stick corruption

After experiencing the same corruption problem on a regular basis, while trying to prevent it from happening, I did a couple of things that may be useful for other as well. First of all, I used cron to run a shell file-check script every 6 hours. This script would terminate all the processes that ac...
by paulv
Fri Mar 02, 2018 7:57 pm
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3167

Re: Prevent/Minimize USB stick corruption

Model B Rev 2 with 512MB Made in the UK cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM...
by paulv
Fri Mar 02, 2018 4:23 pm
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3167

Prevent/Minimize USB (Flash) stick corruption

No, this is not for the SD card! I use an 8GB USB Flash stick "drive" as data storage connected to one of the RPi USB ports. The data storage is less than 1MB in total, so there should be plenty of free space for data management and re-allocation, I think. For this project, I use a classic Model (1...
by paulv
Wed Feb 28, 2018 8:43 am
Forum: Beginners
Topic: HOW-TO Start/Stop/Powerdown Pi with 1 Button
Replies: 30
Views: 23528

Re: HOW-TO Start/Stop/Powerdown Pi with 1 Button

Hi Uwe, I'm glad you like it. Actually, the best and safe solution for you would be to use a 78L05 voltage regulator, which is a voltage regulator in a TO-92 package. You can give this just about any voltage between 2V above the output value all the way up to 40V. I'm mentioning 2V above the output ...
by paulv
Tue Jan 09, 2018 7:11 pm
Forum: Beginners
Topic: HOW-TO Start/Stop/Powerdown Pi with 1 Button
Replies: 30
Views: 23528

Re: HOW-TO Start/Stop/Powerdown Pi with 1 Button

Hi Alan, The link you provide does not seem to go where you intend it to go. It gives me no clue to what you're using. In any case, it could very well be that your EN pin has the logic inverted. With my example, the EN is tied to ground in the standard configuration. In that xase, the output is enab...
by paulv
Thu Nov 02, 2017 3:46 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59373

Re: Is this the correct way to install the watchdog package?

You are probably right, but then the whole post has to be re-written.
This will be a big PITA with the poor editing features, so I'm not going to do that.

I'll leave it for somebody else to write a post titled "This is the correct way to use the Watchdog" ;)

Have fun!

Paul
by paulv
Thu Nov 02, 2017 2:19 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59373

Re: Is this the correct way to install the watchdog package?

This post was made irrelevant by updates
by paulv
Tue Oct 03, 2017 2:45 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59373

Re: Is this the correct way to install the watchdog package?

This post was made irrelevant with updates.
by paulv
Mon Sep 11, 2017 8:11 am
Forum: Advanced users
Topic: Designing a single cell UPS for the power hungry RPi's
Replies: 0
Views: 1516

Designing a single cell UPS for the power hungry RPi's

A friend and I set out on a quest to design a UPS for the RPi that really worked for higher power applications. Most designs, even the ones I have listed on this Forum myself, suffer from a lack of true output power for the more power hungry RPi Models, like the Model 3, or when there are enough dev...
by paulv
Sat Jul 22, 2017 6:54 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59373

Re: Is this the correct way to install the watchdog package?

Thank you for the tips Michael!

I submitted the same report to both suggested github locations.
Maybe we'll get a response this time.

Regards,

Paul
by paulv
Sun Jun 04, 2017 6:57 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59373

Re: Is this the correct way to install the watchdog package?

Hi brunohpg, Thanks for taking the time to report your findings. I can concur with your systemd findings, mine are exactly the same. Something got broken somewhere, and it seems the watchdog package still works. I hope a fix can be found and communicated. Let me point out to others reading this post...
by paulv
Fri May 26, 2017 2:55 pm
Forum: Automation, sensing and robotics
Topic: HOW-TO Build an Automatic Power Supply for the Pi
Replies: 39
Views: 36733

Re: HOW-TO Build an Automatic Power Supply for the Pi

Hi jaiz.mate, The ground connections to the convertor are what they are. It depends on what version you use, so don't take the pin numbers for granted. In any case, in these little convertors, the input ground is connected to the output ground. One connection to ground will do. Check with a DMM in t...
by paulv
Fri May 26, 2017 2:44 pm
Forum: Automation, sensing and robotics
Topic: Add an analog output to the Pi (DAC)
Replies: 15
Views: 16730

Re: Add an analog output to the Pi (DAC)

In the previous post I mentioned that I have a project with the MCP4921, the 12-bit version DAC. I put together a small script that allows you to input the digital bit code through the console. Here is that Python script: #!/usr/bin/python #-----------------------------------------------------------...
by paulv
Fri May 26, 2017 10:06 am
Forum: Automation, sensing and robotics
Topic: HOW-TO Build an Automatic Power Supply for the Pi
Replies: 39
Views: 36733

Re: HOW-TO Build an Automatic Power Supply for the Pi

Hi jaiz.mate,

No you can't! Have a look at the two datasheets and in particular look at the VGS Threshold specifications and also the RDSon.

If you want to use a replacement, look for a Logic Level MOSFET. They are designed to be driven by a voltage in the 0..5V range.

Success!
by paulv
Fri May 26, 2017 9:56 am
Forum: Automation, sensing and robotics
Topic: Add an analog output to the Pi (DAC)
Replies: 15
Views: 16730

Re: Add an analog output to the Pi (DAC)

Hi Alexander, Can you please verify that you have gone through the following steps without errors reported?: sudo apt-get install python-setuptools -y sudo apt-get install python-dev -y sudo apt-get install git -y # if installed previously : sudo rm -R py-spidev git clone git://github.com/doceme/py-...
by paulv
Thu May 25, 2017 11:17 am
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 508376

Re: HOWTO: Move the filesystem to a USB stick/Drive [updated

Hi there, If I want to boot from a USB with a RPi3, how would the process change? If you look at the very first post, there is a note about booting directly from a disk for the RPi Model 3. It's still not main-stream, but seems to work reliably for many users. Just follow the link to get to the inf...
by paulv
Wed May 24, 2017 11:58 am
Forum: Automation, sensing and robotics
Topic: HOW-TO Build an Automatic Power Supply for the Pi
Replies: 39
Views: 36733

Re: HOW-TO Build an Automatic Power Supply for the Pi

Thank you!
You can of course use whatever you want, but it's hard to beat the LM317 for price, simplicity and overall real estate as a solution.
by paulv
Sat May 20, 2017 10:39 am
Forum: Automation, sensing and robotics
Topic: Halt-Restart with 1 Button
Replies: 5
Views: 8273

Re: Halt-Restart with 1 Button

Hi Ben, you can use just about any free GPIO pin, although I recommend to stay away from the special ones.
Just give it a try, you won't cause any problems, as long as you don't short pins together while soldering.
by paulv
Fri May 19, 2017 3:10 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59373

Re: Is this the correct way to install the watchdog package?

This post was made irrelevant by updates
by paulv
Sun May 07, 2017 6:21 am
Forum: General discussion
Topic: Raspberry Pi power cut torture test using a MoPower UPS
Replies: 30
Views: 5740

Re: Raspberry Pi power cut torture test using a MoPower UPS

+1 Depending on what you want to prove, or investigate, you should indeed add writing to the SD card. That is the critical operation, not reading. There have been some significant improvements made in both the hardware, kernel drivers and SoC firmware over the last couple of years, with the addition...
by paulv
Sun Apr 30, 2017 8:23 am
Forum: Other projects
Topic: New mini UPS hat for our Raspberry Pi
Replies: 10
Views: 3399

Re: New mini UPS hat for our Raspberry Pi

A simple solution for a restart after a mains return can be found here:
viewtopic.php?uid=52264&f=37&t=150358&start=0

No extra controller needed, simple, reliable and inexpensive.

Enjoy!
by paulv
Thu Apr 27, 2017 7:30 am
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 508376

Re: HOWTO: Move the filesystem to a USB stick/Drive [updated

I have updated the header of the original post somewhat to bring it more in line with the UUID vs /dev/sd* changes for the filesystem identifiers, now that the Foundation changed to the more robust method since the 2017-04-10 version. I also updated the link to the Model 3 description for booting fr...

Go to advanced search