Go to advanced search

by Daveolw1
Fri Feb 21, 2020 10:58 am
Forum: General discussion
Topic: Problems using data from a USB stick
Replies: 3
Views: 148

Re: Problems using data from a USB stick

The first problem is the result of letting the system (file manager) auto-mount, and can likely be fixed by mounting the drive in /etc/fstab. I don't have an answer for the second problem, other than, don't let the users remove the USB drive. So how do I stop auto-mount? What is the instruction to ...
by Daveolw1
Thu Feb 20, 2020 8:43 pm
Forum: General discussion
Topic: Problems using data from a USB stick
Replies: 3
Views: 148

Problems using data from a USB stick

Raspberry pi 3 + b Rasbian Desktop I have created using Python a programme including Tinker GUI which runs at bootup, the user's only have access to my programme and not Raspberry operating system. A button to shut down and a led mirrowing the green led and instructions not to power off until it has...
by Daveolw1
Wed Feb 19, 2020 10:27 pm
Forum: General discussion
Topic: USB disk name error
Replies: 3
Views: 133

Re: USB disk name error

The user does not have access to the operating system, only the programme auto booted.
by Daveolw1
Wed Feb 19, 2020 8:03 pm
Forum: General discussion
Topic: USB disk name error
Replies: 3
Views: 133

USB disk name error

I have a project which runs at bootup and uses Data on a USB disk, named PL_STORAGE this works fine for a while and then on one bootup it cannot find the disk. Looking in file manager it is there, but it is named PL_STORAGE1. Normally it shows:- media pi PL_STORAGE but when error occurs it shows:- m...
by Daveolw1
Sun Jan 05, 2020 8:07 pm
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

Re: ejecting removable usb disk

The question was I have a headless project which users plug in a USB drive on which there is read only data, (no access to unmount) someone said that data could be corrupted, I thought USB was plug and play.
by Daveolw1
Sun Jan 05, 2020 2:34 pm
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

Re: ejecting removable usb disk

What the SD-card is doing is not "advertised" to the outside, its only happening inside the SD-card, so no there are no LED's you can watch. If you do a regular shutdown the SD-card is notified, and will flush its last data to flash, and then "go to sleep", it won't start a wear levelling session. ...
by Daveolw1
Sat Jan 04, 2020 10:17 am
Forum: General discussion
Topic: Python Tkinter image will not change
Replies: 1
Views: 121

Re: Python Tkinter image will not change

Solved - This was related to the problem of a second copy of program running in the background see https://www.raspberrypi.org/forums/view ... 3&t=260564
by Daveolw1
Sat Jan 04, 2020 10:12 am
Forum: General discussion
Topic: Double phase water pump - Need to have two relays ?
Replies: 3
Views: 240

Re: Double phase water pump - Need to have two relays ?

Are you talking about the starting phase which has a capacitor in series to get it to start, they have main winding and a separate starting winding.
by Daveolw1
Sat Jan 04, 2020 10:01 am
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

Re: ejecting removable usb disk

No I meant the green light on the raspberry pi 3 B + which flashes when it is doing somthing
by Daveolw1
Fri Jan 03, 2020 8:47 am
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

Re: ejecting removable usb disk

Thanks, will the green light be flashing if it is doing something?
by Daveolw1
Thu Jan 02, 2020 8:35 am
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

Re: ejecting removable usb disk

If only using usb to read from and not writing to it, it will not get corrupted if removed without ejecting is that correct?
by Daveolw1
Wed Jan 01, 2020 8:48 pm
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Re: Seven Segment display problem

Yes you are correct there was a copy running in the background. I used auto start to start it at boot up, then when I need to access python IDLE to change code I pressed escape which I thought closed it. The information I had found said just use " root.destroy()" to close a python/Tkinter program, b...
by Daveolw1
Wed Jan 01, 2020 9:45 am
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Re: Seven Segment display problem

Tue Dec 31, 2019 6:18 pm Your 'def seg_update()' and 'def seg_update1()' set 'seg.text' but I cannot see where that triggers an actual display update. Maybe that auto-triggers on a property write but I'm not familiar with the libraries used. I'm still suspecting another copy of the program running ...
by Daveolw1
Wed Jan 01, 2020 9:39 am
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Re: Seven Segment display problem

Tue Dec 31, 2019 6:18 pm Your 'def seg_update()' and 'def seg_update1()' set 'seg.text' but I cannot see where that triggers an actual display update. Maybe that auto-triggers on a property write but I'm not familiar with the libraries used. I'm still suspecting another copy of the program running ...
by Daveolw1
Wed Jan 01, 2020 9:35 am
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

Re: ejecting removable usb disk

by Botspot » Tue Dec 31, 2019 10:05 pm The ejector is on the menu. Raspbian_2019.04_application_menu.jpgRaspbian_2019.04_application_menu.jpg (4.01 KiB) Viewed 60 timesBefore removing a drive, eject it using this handy tool to prevent corrupting your data. In headless or non-GUI, it's a bit trickie...
by Daveolw1
Tue Dec 31, 2019 9:32 pm
Forum: General discussion
Topic: ejecting removable usb disk
Replies: 16
Views: 957

ejecting removable usb disk

Started getting this message, "xxxxx memory was removed with out ejecting. Please use menu to eject before removal",
Where in the menu is this, cannot find an option?
If you are running headless how do you do it?

Thanks David
by Daveolw1
Tue Dec 31, 2019 9:26 pm
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Re: Seven Segment display problem

seg.text is how it updates the display, see Richard Hull sample code:- #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2017-18 Richard Hull and contributors # See LICENSE.rst for details. """ Example for seven segment displays. """ import time from datetime import datetime from luma.le...
by Daveolw1
Tue Dec 31, 2019 5:30 pm
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Re: Seven Segment display problem

My code is very long and uses Tkinter and does many other things, I have extracted the Seven segment part of it which still has the same problem, code below:- import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) from luma.led_matrix.device import max7219 from luma.core.interface.serial import spi, noop fr...
by Daveolw1
Tue Dec 31, 2019 8:08 am
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Re: Seven Segment display problem

yes it appears to be the memory in the pi that holds it even clearing all variables does not clear it, the only way is to shut down the pi.
by Daveolw1
Sun Dec 29, 2019 7:59 pm
Forum: General discussion
Topic: Python Tkinter image will not change
Replies: 1
Views: 121

Python Tkinter image will not change

Raspberry pi 3 B+ using "from PIL import Image, ImageTk". Trying to display several images one at a time full screen in a Tkinter Text widget, it display the 1st ok but then the screen clears and the image flashes on and disappears. Code to display image:- T.delete('1.0', END) #print('delete') T.con...
by Daveolw1
Sun Dec 29, 2019 7:11 pm
Forum: General discussion
Topic: Seven Segment display problem
Replies: 16
Views: 753

Seven Segment display problem

Raspberry pi3 B+ with max7219/luma seven segment display controlled via SPI. I have 4 Digits with for buttons to get numbers 0-9999, pressing a button under each digit increases it by 1 and updates the display. It all works fine when I run the code,but once I stop the code and restart it some how it...
by Daveolw1
Fri Dec 20, 2019 4:14 pm
Forum: General discussion
Topic: Read Kernal boot messages
Replies: 1
Views: 99

Read Kernal boot messages

At boot there are some messages that flash up on the screen and disappear before you can read them, how can you read these?

David
by Daveolw1
Wed Dec 18, 2019 9:04 pm
Forum: General discussion
Topic: failure resolving 'raspbian.raspberrypi.org'
Replies: 5
Views: 331

Re: failure resolving 'raspbian.raspberrypi.org'

Jamesh

I started a second post because no one had replied to the original, which gave a lot more detail of what I was trying to do.
This post deals with the actual error problem.

David
by Daveolw1
Wed Dec 18, 2019 8:49 pm
Forum: General discussion
Topic: failure resolving 'raspbian.raspberrypi.org'
Replies: 5
Views: 331

Re: failure resolving 'raspbian.raspberrypi.org'

Using the original Raspbian Desktop software I can install the Max7219/Luma ok. it connects using that address OK.
I can access the Browser and go to websites and access that address for installing Max7219/luma.
It is something to do with the installation of Raspbian Buster is the problem.
by Daveolw1
Wed Dec 18, 2019 1:38 pm
Forum: General discussion
Topic: failure resolving 'raspbian.raspberrypi.org'
Replies: 5
Views: 331

failure resolving 'raspbian.raspberrypi.org'

Why can I not install any additional libraries once having install Raspbian Buster, just get this error:-

Code: Select all

Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libjpeg62-turbo-dev armhf 1:1.5.2-2+b1
  Temporary failure resolving 'raspbian.raspberrypi.org'
David

Go to advanced search