Go to advanced search

by Andyroo
Mon Feb 18, 2019 9:38 pm
Forum: Troubleshooting
Topic: Kernel Panic
Replies: 3
Views: 71

Re: Kernel Panic

If you want to ‘play’ with a few versions of Linux then you may like to look at PINN - details here

You will find Raspbian a solid choice but it’s fun the play even if it breaks :lol:
by Andyroo
Mon Feb 18, 2019 9:33 pm
Forum: General discussion
Topic: DNS error
Replies: 8
Views: 107

Re: DNS error

It's a DNS problem. Not an SMTP problem. Which will come next, anyway... True but I’ve known mail filters report domain errors for blacklisted one before now - Symantic, I’m looking at you :roll: Looking at the domain though the mail is a bit of a mess https://mxtoolbox.com/domain/torombolo.ml/ - w...
by Andyroo
Mon Feb 18, 2019 9:25 pm
Forum: Automation, sensing and robotics
Topic: Inductive Proximity Sensor
Replies: 4
Views: 61

Re: Inductive Proximity Sensor

I would doubt it as the level converter is only 5V max and the detector requires 6V min.

I would look to use the inductive to switch a relay (mechanical or electrical) or opti-isolator by powering it off a separate supply along the lines of https://www.schneider-electric.co.uk/en/faqs/FA142566/
by Andyroo
Mon Feb 18, 2019 9:20 pm
Forum: Beginners
Topic: MATPLOTLIB REAL TIME PLOTTTING
Replies: 2
Views: 43

Re: MATPLOTLIB REAL TIME PLOTTTING

Please do not double post - folk here are not paid for support and we help when we can...

Have a look at https://uk.mathworks.com/help/supportpk ... dware.html for linking with a Pi.
by Andyroo
Mon Feb 18, 2019 9:13 pm
Forum: Troubleshooting
Topic: In (yet another) Pickle...
Replies: 4
Views: 80

Re: In (yet another) Pickle...

You could try

Code: Select all

sudo apt purge apache2
That may clean up enough to allow reinstalling.
by Andyroo
Mon Feb 18, 2019 9:10 pm
Forum: General discussion
Topic: DNS error
Replies: 8
Views: 107

Re: DNS error

It’s possibly a black list error - the domain has two strikes against it using mxtoolbox.com Plenty of others list it fine though
by Andyroo
Mon Feb 18, 2019 7:34 pm
Forum: Other projects
Topic: Make time and motion count with raspberry device
Replies: 16
Views: 309

Re: Make time and motion count with raspberry device

As the good folk above have said - the Pi is a learning tool and we help for the fun, to stretch our selves Nd to help people who try. I can recommend https://www.python.org/about/gettingstarted/ or https://eu.udacity.com/course/introduction-to-python--ud1110 as a starting point. Have a go - at most...
by Andyroo
Mon Feb 18, 2019 7:20 pm
Forum: Troubleshooting
Topic: CCS811 Air quality sensor not working
Replies: 1
Views: 27

Re: CCS811 Air quality sensor not working

The error is due to being unable read data. It’s nots simple to get the chip working with the Pi and Adafruit give a warning here :lol: Saying that, they do publish a step by step guide https://learn.adafruit.com/adafruit-ccs811-air-quality-sensor/raspberry-pi-wiring-test where they have to change t...
by Andyroo
Mon Feb 18, 2019 7:10 pm
Forum: Automation, sensing and robotics
Topic: Windows app print from GPIO button press
Replies: 3
Views: 57

Re: Windows app print from GPIO button press

You may be able to do something with a Pi zero creating a HID (human interface device) via USB and pick the output up via the front end capabilities or via Active-X. The Active-X option is documented https://www.teklynx.com/en/resource-center/white-papers/UsingActiveX_CS but I cannot get to it witho...
by Andyroo
Mon Feb 18, 2019 2:28 pm
Forum: General discussion
Topic: Problems with time ... yet again
Replies: 8
Views: 226

Re: Problems with time ... yet again

... The unit runs 24/7. The router it connects to is switched off between the hours of 22:00 and 06:00. ... I wonder if this is why? My router here was the time server till I discovered it went haywire when t was powered on :lol: Turns out the service for time was starting before it connected to th...
by Andyroo
Sun Feb 17, 2019 7:32 pm
Forum: Troubleshooting
Topic: Rebooting raspbian via Python
Replies: 2
Views: 11238

Re: Rebooting raspbian via Python

Thanks for that DougieLawson - just borrowed this old code snippet.

Search is such a wonderful coding tool :D :lol: :D
by Andyroo
Sun Feb 17, 2019 5:09 pm
Forum: Troubleshooting
Topic: Case for RPi 3B+ Fan AND Sense Hat? Anyone found one?
Replies: 2
Views: 45

Re: Case for RPi 3B+ Fan AND Sense Hat? Anyone found one?

Though not a case solution, I've found these https://shop.pimoroni.com/products/pico-hat-hacker to extend the pins out to the side a great help. I've yet to find a case that fits with these one though and like you, most searches for cases to fit specific HATs turn up little to nothing - generic 3D p...
by Andyroo
Sun Feb 17, 2019 5:02 pm
Forum: Python
Topic: Debugging errors in MQTT / callback routines
Replies: 0
Views: 21

Debugging errors in MQTT / callback routines

This had me a bit stumped and wonder if folk have a solution? I have a headless Pi zero W (Stretch) that I am developing a MQTT driven application on it. I'm using Atom on a Mac editing programs directly using a SAMBA share and the program just stopped at one point in the call back and was never see...
by Andyroo
Sun Feb 17, 2019 3:37 pm
Forum: Automation, sensing and robotics
Topic: Windows app print from GPIO button press
Replies: 3
Views: 57

Re: Windows app print from GPIO button press

For the last few years of using Zebra printers (the industrial range) we used the BarTender automated label printer software and triggered the print by placing a file in a shared directory from the WMS and ordering systems. In this case you could create a shared folder / directory on the Pi using Sa...
by Andyroo
Sun Feb 17, 2019 3:29 pm
Forum: Troubleshooting
Topic: Problem with LCD screen
Replies: 1
Views: 39

Re: Problem with LCD screen

Its possible the backlight is powered all the time

You will have to provide links as to where you got the build instructions for the kit for folks to help you though...
by Andyroo
Sun Feb 17, 2019 3:26 pm
Forum: Beginners
Topic: getting error while comparing spi data
Replies: 1
Views: 29

Re: getting error while comparing spi data

The brackets [] show that j is a list (similar to an array in BASIC etc) rather than a number. This will give you an overview of the use of lists in python https://developers.google.com/edu/python/lists Try changing your code to something like this (untested): i=0 while (1): msg = [0xff] read = spi....
by Andyroo
Sun Feb 17, 2019 1:34 pm
Forum: Beginners
Topic: Keyboard and mouse freezing
Replies: 1
Views: 34

Re: Keyboard and mouse freezing

Welcome - sorry to hear about the problems as it can be frustrating to win and then loose. Congratulations on winning the competition - the closest we got to competitions at school where music, art and sports (but then I am an old fuddy duddy with kids over twice your age :lol: ) Starting simple: Ho...
by Andyroo
Sun Feb 17, 2019 1:02 pm
Forum: Other
Topic: Windows 10 ARM64 (Dekstop, not IOT)
Replies: 4
Views: 384

Re: Windows 10 ARM64 (Dekstop, not IOT)

Don't do anything illegal or stupid within this program. https://tldrlegal.com/license/microsoft-windows-insider-program-agreement That article is now 4 years old - the correct insider link is https://insider.windows.com/en-gb/program-agreement/ and only applies to a pre-installed copy of Windows. ...
by Andyroo
Sun Feb 17, 2019 12:46 pm
Forum: Troubleshooting
Topic: Random powers cuts making Raspberry Pi unbootable.
Replies: 7
Views: 132

Re: Random powers cuts making Raspberry Pi unbootable.

Depending on what you are doing, you could look at a RAM based Linux - I'm going to try http://tinycorelinux.net You can also get small power banks (like very large 'phone chargers) that will power the Pi and charge at the same time https://www.amazon.co.uk/dp/B075QZQSS1/ - please do not use the 12V...
by Andyroo
Sun Feb 17, 2019 12:38 pm
Forum: Beginners
Topic: Username PI isn't working
Replies: 9
Views: 210

Re: Username PI isn't working

On the master images only the user pi is enabled for log on at the start (lowercase) with the root user logon being disabled. The other users mentioned are not in the default if you downloaded the image from here What error messages are you seeing? Have you changed the password at all? When you down...
by Andyroo
Sat Feb 16, 2019 7:53 pm
Forum: Beginners
Topic: How can I reinstall Raspbien Lite?
Replies: 7
Views: 154

Re: How can I reinstall Raspbien Lite?

On a running Pi, some files will have a lock on them and some files will have been changed during the first boot as part of the set up.

It’s quicker to cut a new SD card :D
by Andyroo
Sat Feb 16, 2019 7:48 pm
Forum: Beginners
Topic: Removing shutdown button on lockscreen...
Replies: 4
Views: 112

Re: Removing shutdown button on lockscreen...

Even with user Pi I get:
[email protected]:~ $ reboot
Failed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required.
Failed to open /dev/initctl: Permission denied
Failed to talk to init daemon.
[email protected]:~ $
by Andyroo
Sat Feb 16, 2019 7:44 pm
Forum: Beginners
Topic: Removing shutdown button on lockscreen...
Replies: 4
Views: 112

Re: Removing shutdown button on lockscreen...

Strange - creating a dummy user with no rights I get: sudo shutdown [sudo] password for andyroo: andyroo is not in the sudoers file. This incident will be reported. sudo reboot We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three thin...
by Andyroo
Fri Feb 15, 2019 11:27 pm
Forum: Python
Topic: Trying to find out which python modules I have installed
Replies: 2
Views: 56

Re: Trying to find out which python modules I have installed

From what I can find the help command loads every module in and reports on that so reloading it from GITHUB may clear your error. The other item is that this part of the module may be deprecated but referred to in a bit of code that does not get run though what happens in this case I have no idea :r...
by Andyroo
Fri Feb 15, 2019 11:02 pm
Forum: Advanced users
Topic: Rotate Screen 180
Replies: 1
Views: 56

Re: Rotate Screen 180

There are a few notes on this thread https://www.raspberrypi.org/forums/viewtopic.php?p=902849 that may help or you could try the xrandr command but this is not guaranteed either :roll: I think it is using a generic set of drives on Github https://github.com/notro/fbtft/wiki#step-by-step-using-fbtft...

Go to advanced search