Go to advanced search

by Andyroo
Sun Jun 16, 2019 10:43 pm
Forum: General discussion
Topic: apache2 on raspbian seems terribly slow
Replies: 2
Views: 32

Re: apache2 on raspbian seems terribly slow

I’ve not tried Perl but PHP and WordPress are acceptable on a Pi 3B running MariaDB locally.
by Andyroo
Sun Jun 16, 2019 6:10 pm
Forum: General programming discussion
Topic: Pull from Google Sheets, then write back to it
Replies: 2
Views: 53

Re: Pull from Google Sheets, then write back to it

Welcome to the forum. I would start with this example on Google https://developers.google.com/sheets/api/quickstart/python You will find examples for Python in each section - for example from reading / writing data you can get result = service.spreadsheets().values().get( spreadsheetId=spreadsheet_i...
by Andyroo
Sun Jun 16, 2019 6:00 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1032
Views: 25298

Re: ScriptBasic

jahboater wrote:
Sun Jun 16, 2019 5:58 pm
...
You will always need root privs to install things on Linux?

I hope so anyway.
Nope and thats a problem :lol:

Python modules are the absolute worst in my mind - some need SUDO some do not and some need loading in the editor / virtual environment :roll: :evil:
by Andyroo
Sun Jun 16, 2019 5:45 pm
Forum: Beginners
Topic: Raspberry Zero and Waveshare NB-IoT HAT
Replies: 2
Views: 35

Re: Raspberry Zero and Waveshare NB-IoT HAT

I would check to find out what Pins it is actually using. It may be physically covering all the pins but maybe only using a few of them.

You can break out the other pins using something like cobbler to breadboard or breakout kits. If you want lots of expansion, you can go this extreem
by Andyroo
Sat Jun 15, 2019 9:30 pm
Forum: Staffroom, classroom and projects
Topic: Dissertation Idea
Replies: 4
Views: 128

Re: Dissertation Idea

Rather than rent a PC (cost is not cheap) hunt eBay for a used Lenovo 120s with 4Gb of RAM and dump windows for Linux.

If you are looking to build a version of Linus then this site may help http://www.buildyourownlinux.com/
by Andyroo
Sat Jun 15, 2019 2:09 pm
Forum: General discussion
Topic: Temporary Router
Replies: 3
Views: 119

Re: Temporary Router

tpylkko wrote:
Sat Jun 15, 2019 1:46 pm
On many routers you can install a linux-based open source firmware that then allows you to modify and install almost anything on them.
The best known is https://dd-wrt.com/ but there is https://openwrt.org/ and https://advancedtomato.com/ with different capabilities.
by Andyroo
Sat Jun 15, 2019 12:34 pm
Forum: General discussion
Topic: Flashing ESP 01 using Raspberry pi 3
Replies: 1
Views: 72

Re: Flashing ESP 01 using Raspberry pi 3

Hi,

It would help to see the wiring (actual) and details of the esp01 board.

Did you remember to run raspi-config to set the serial port up? You can check this by

Code: Select all

cat /boot/cmdline.txt
by Andyroo
Sat Jun 15, 2019 12:27 pm
Forum: Beginners
Topic: Reboot raspberry pi and run a script after
Replies: 5
Views: 122

Re: Reboot raspberry pi and run a script after

When using Windows I had a lot of code handling the old style ini files. Imagine my pleasure to find the config parser module for Python https://docs.python.org/3.7/library/configparser.html First tine I read up on this was for a background program that had been hard coded for a given job and every ...
by Andyroo
Sat Jun 15, 2019 12:19 pm
Forum: Troubleshooting
Topic: not booting even connecting correct os
Replies: 1
Views: 58

Re: not booting even connecting correct os

Please work through the Boot Sticky thread viewtopic.php?f=28&t=58151 as this has years for helping folk solve this type of problem.
by Andyroo
Fri Jun 14, 2019 11:56 pm
Forum: General discussion
Topic: System start up
Replies: 4
Views: 134

Re: System start up

Welcoming me.

I would also download Etcher from https://www.balena.io/etcher/ to create the SD image from the file you are downloading.

This will save you having to unzip the file, format the SD card and then copy the data.
by Andyroo
Fri Jun 14, 2019 11:52 pm
Forum: Troubleshooting
Topic: Matplotlib not installing Python 3.6.3
Replies: 9
Views: 204

Re: Matplotlib not installing Python 3.6.3

I found the you could have two versions of numpy at the same time depending on who / how it’s installed... One I installed using ‘sudo apt install python-numpy -y’ and one built using wheel ‘pip wheel numpy’ For some reason I had to install both before the next bit of my install would work (Pillow i...
by Andyroo
Fri Jun 14, 2019 11:45 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 423

Re: Using Raspberry PI 3 for remote desktop sessions?

No idea what to split off.... trying to run windows desktop on a RPI is a no go.... AFAIK only amateur hacks are available of windows for ARM, that work very badly. use raspbian for remote desktop sessions, and anything else. Andrum99 post timed 7:44 onward as that’s when we drifted from RDP to WoA
by Andyroo
Fri Jun 14, 2019 11:21 pm
Forum: Raspbian
Topic: Strange behaviour with the latest raspbian image on my Pi Zero W...
Replies: 10
Views: 183

Re: Strange behaviour with the latest raspbian image on my Pi Zero W...

I have to wonder if here is anything odd you are adding to a file?

Have you tried making the changes in two steps? Put the WPA and cmdline.txt in first then the rest after second boot?

Do you want to post the files (without password) here?
by Andyroo
Fri Jun 14, 2019 9:59 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 423

Re: Using Raspberry PI 3 for remote desktop sessions?

Rather than start this up again please reference https://www.raspberrypi.org/forums/viewtopic.php?p=1430725#p1431003 - to follow the link you have to be enrolled on the Insider program and signed in. Please start a new thread if you want to discuss this and not derail the OPs request. I’ll ask the m...
by Andyroo
Fri Jun 14, 2019 7:18 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 423

Re: Using Raspberry PI 3 for remote desktop sessions?

I would not use WoA as it’s very slow on the Pi and really only licensed for the Insiders testers in Windows and not for commercial use. If you are using VNC on the servers you can use the RealVNC viewer on the Pi. Failing that, try rdesktop Remmina or NoMachine Advantage of the latter is that you ...
by Andyroo
Fri Jun 14, 2019 5:29 pm
Forum: Other projects
Topic: WS2812B Led Matrix 8x32
Replies: 9
Views: 149

Re: WS2812B Led Matrix 8x32

By the markings then it’s the female connector that the Pi would connect to then. I’ve seen warnings about variable power suppliers taking a moment to settle down hence the capacitor. The location of the power should not be an issue - I’ve seen videos of Christmas decorations made from these where t...
by Andyroo
Fri Jun 14, 2019 5:21 pm
Forum: General discussion
Topic: Which 4G Huawei Dongle work on the Raspberry Pi 3 B+?
Replies: 2
Views: 89

Re: Which 4G Huawei Dongle work on the Raspberry Pi 3 B+?

Look for any manufacturers one that creates an access point. This has a disadvantage that you need another power supply / charger but has the advantage that you can connect more than one device at once (eg Pi and phone) at the same time. I found they where more reliable than USB dongles. Failing tha...
by Andyroo
Fri Jun 14, 2019 5:10 pm
Forum: Beginners
Topic: Heat generation with raspbian and raspbian lite
Replies: 4
Views: 121

Re: Heat generation with raspbian and raspbian lite

Ummm cooked Pi :lol: As well as a heat sink you can get cases with fans to improve convection cooling. Some of them have temperature control so they are not on all the time. Check with the suppliers in your country or Amazon / eBay. You could also look at the Official PoE HAT as that has a fan and u...
by Andyroo
Fri Jun 14, 2019 5:03 pm
Forum: General discussion
Topic: Using Raspberry PI 3 for remote desktop sessions?
Replies: 12
Views: 423

Re: Using Raspberry PI 3 for remote desktop sessions?

I would not use WoA as it’s very slow on the Pi and really only licensed for the Insiders testers in Windows and not for commercial use. If you are using VNC on the servers you can use the RealVNC viewer on the Pi. Failing that, try rdesktop Remmina or NoMachine Advantage of the latter is that you c...
by Andyroo
Fri Jun 14, 2019 4:08 pm
Forum: Beginners
Topic: Reboot raspberry pi and run a script after
Replies: 5
Views: 122

Re: Reboot raspberry pi and run a script after

Get the first part to check for a file on the SD card.

If it’s not present, run the first part, create the file and do a clean reboot
If it’s present, run the second part and delete the file
by Andyroo
Fri Jun 14, 2019 4:06 pm
Forum: Other projects
Topic: WS2812B Led Matrix 8x32
Replies: 9
Views: 149

Re: WS2812B Led Matrix 8x32

Do not forget to ground the Pi to the same ground as the LEDs and make sure the Pi does not get any power from the external supply via the green wire. Some of these can draw 60mA so you will need a beefy supply - 15+ Amps at max draw (all white) and a good in rush protection capacitor (and a pair of...
by Andyroo
Fri Jun 14, 2019 12:04 pm
Forum: Other projects
Topic: WS2812B Led Matrix 8x32
Replies: 9
Views: 149

Re: WS2812B Led Matrix 8x32

Green will be data unless they have gone really away from red/black for power :lol: Looking at the Amazon page this link here gives you a basic code example (Arduino I think) but no cabling other than the LED pin out :roll: but another question states this needs an external power supply so I would G...
by Andyroo
Fri Jun 14, 2019 11:55 am
Forum: General discussion
Topic: CPU1 fail to come online
Replies: 6
Views: 221

Re: CPU1 fail to come online

Is it a compute module?

If not what type of Pi is it and what is the power supply?
by Andyroo
Fri Jun 14, 2019 11:15 am
Forum: Raspbian
Topic: Pi shuts down automatically immediately after boot.
Replies: 8
Views: 176

Re: Pi shuts down automatically immediately after boot.

Make another SD card - remove the HAT then mount the faulty one in a USB adapter and rename the Witty Pi program folder, then you can use the original card to debug things.

This hack is the way you update the software :roll: :!: :roll: so it should stop it running
by Andyroo
Fri Jun 14, 2019 11:12 am
Forum: General discussion
Topic: CPU1 fail to come online
Replies: 6
Views: 221

Re: CPU1 fail to come online

There are a few notes on other ARM forums where this is due to a power issue - specifically a timing issue at start up.

Is the Pi a CM and you are using your own power supply?

Go to advanced search