Go to advanced search

by DougieLawson
Thu Nov 15, 2018 9:56 pm
Forum: Advanced users
Topic: Power input monitoring?
Replies: 3
Views: 45

Re: Power input monitoring?

The firmware/kernel has "under voltage detection".

Code: Select all

Nov 15 18:00:35 Tranquility kernel: [   12.073012] Under-voltage detected! (0x00050005)
https://github.com/raspberrypi/linux/bl ... pberrypi.c
by DougieLawson
Thu Nov 15, 2018 8:11 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 3 Model A+ details
Replies: 18
Views: 369

Re: Raspberry Pi 3 Model A+ details

That worked, the ACT LED winked and it saw my wireless USB keyboard. Does this mean you could use a wireless keyboard and mouse without using the usb port for the dongle? No. I plugged the kbd/mouse dongle into the one and only USB. Those things use a proprietary protocol (not BT, BTLE or WiFi). 18...
by DougieLawson
Thu Nov 15, 2018 7:50 pm
Forum: Python
Topic: How to filter out letters from strings and only keep numbers
Replies: 1
Views: 29

Re: How to filter out letters from strings and only keep numbers

Use a regex.

You can strip what you need from any string with a regular expression (regex). [Beware, regexes can get very complex very quickly.]

What's the format of the input data? What format do you want to change it into?
by DougieLawson
Thu Nov 15, 2018 7:46 pm
Forum: Troubleshooting
Topic: How to decrease amperage required my Pi 3?
Replies: 52
Views: 898

Re: How to decrease amperage required my Pi 3?

So you buy the parts from overseas? What about the Pi' manufactured in the UK? Assembled in the UK. Ah. Makes sense I guess. But why not manufacture it in china where production could be cheaper? They do build some Raspberries at a factory in China. The primary site where they're built is the Sony ...
by DougieLawson
Thu Nov 15, 2018 7:26 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 3 Model A+ details
Replies: 18
Views: 369

Re: Raspberry Pi 3 Model A+ details

rpdom wrote:
Thu Nov 15, 2018 7:22 pm
DarkPlatinum wrote:
Thu Nov 15, 2018 6:54 pm
I thought the 3A+ is not available yet? Or am i wrong?
The RPF occasionally let Dougie have a trial version to keep him quiet :lol:

I wish I was so lucky ;)
The folks who get early versions of hardware (under an NDA) have joined the "Raspberry Pi Fight club". You know the rule.
by DougieLawson
Thu Nov 15, 2018 7:20 pm
Forum: General discussion
Topic: Mobility power solution for Pi. Are these two voltage supplies the same?
Replies: 3
Views: 73

Re: Mobility power solution for Pi. Are these two voltage supplies the same?

When it says to connect to pins 2 and 4, one either of those will be for +5v and the other is ground . pin 6 is ground. Be aware, though, that by powering a Pi through the pins you are bypassing the overcurrent protection circuits and voltage control so you need to ensure that you are supplying cle...
by DougieLawson
Thu Nov 15, 2018 6:45 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 3 Model A+ details
Replies: 18
Views: 369

Re: Raspberry Pi 3 Model A+ details

That worked, the ACT LED winked and it saw my wireless USB keyboard.
by DougieLawson
Thu Nov 15, 2018 3:30 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 3 Model A+ details
Replies: 18
Views: 369

Re: Raspberry Pi 3 Model A+ details

rst wrote:
Thu Nov 15, 2018 2:26 pm
I have updated my code - based on the RPi 3B+ - for the 3A+ for the moment. There's no hurry.
Is there anything I can run on either of my 3A+ Raspberries to test if your stuff works?
by DougieLawson
Thu Nov 15, 2018 3:22 pm
Forum: Gaming
Topic: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Replies: 270
Views: 99251

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

If only the Pi could run and play MC-PE... if only... MC-PE is what's shipped with Raspbian. The reason you don't recognise it as MC-PE is that it's the original early version hacked for the RPi by Mojang from 2012 with no updates ever. Microsoft dropped it when they bought out Mojang. There's noth...
by DougieLawson
Thu Nov 15, 2018 1:35 pm
Forum: Troubleshooting
Topic: How to decrease amperage required my Pi 3?
Replies: 52
Views: 898

Re: How to decrease amperage required my Pi 3?

Probably. We'll know for sure when Alex Eames does his power budget measurement.

Without the USB/Ethernet hub being in the way you're probably going to get 1.2A on the one port.
by DougieLawson
Thu Nov 15, 2018 1:06 pm
Forum: Troubleshooting
Topic: How to decrease amperage required my Pi 3?
Replies: 52
Views: 898

Re: How to decrease amperage required my Pi 3?

It's not a quarter USB, is a USB port without the hub and without the ethernet.

It's certified as a radio as it has 2.4GHz & 5GHz WiFi built in.

The 1/2GB of RAM is to keep the price at $25.
by DougieLawson
Thu Nov 15, 2018 12:33 pm
Forum: Beginners
Topic: Simple media player
Replies: 1
Views: 101

Re: Simple media player

https://pipresents.wordpress.com most likely does what you want.
by DougieLawson
Thu Nov 15, 2018 12:08 pm
Forum: General discussion
Topic: php myadmin
Replies: 1
Views: 70

Re: php myadmin

Look in the webserver error.log

With Apache that's in /var/log/apache2/error.log
by DougieLawson
Thu Nov 15, 2018 10:31 am
Forum: Bare metal, Assembly language
Topic: Raspberry Pi 3 Model A+ details
Replies: 18
Views: 369

Re: Raspberry Pi 3 Model A+ details

Can answer the first question, can't do the other two. processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0x...
by DougieLawson
Thu Nov 15, 2018 9:19 am
Forum: Troubleshooting
Topic: How to decrease amperage required my Pi 3?
Replies: 52
Views: 898

Re: How to decrease amperage required my Pi 3?

Looks like Eben and the crew at Raspberry Pi Towers have solved your problem. This is an ideal project for the Pi3A+
by DougieLawson
Thu Nov 15, 2018 7:55 am
Forum: Weather station
Topic: Total noob here. Personal WS
Replies: 12
Views: 306

Re: Total noob here. Personal WS

It works perfectly with PHP7.0.

What errors are you seeing in /var/log/apache2/error.log ?
by DougieLawson
Wed Nov 14, 2018 6:53 pm
Forum: General programming discussion
Topic: What OS and language to use for database project??
Replies: 14
Views: 262

Re: What OS and language to use for database project??

What database?

What programming language do you know?
What programming language would you like to learn?
by DougieLawson
Wed Nov 14, 2018 7:01 am
Forum: General discussion
Topic: Multi-factor authentication with VNC Connect (e.g. Google Authenticator)
Replies: 9
Views: 289

Re: Multi-factor authentication with VNC Connect (e.g. Google Authenticator)

It got the usual picture.

Only two out of my 18 RPis are logged in to my VNC Cloud account. Is that a pre-requisite?
by DougieLawson
Tue Nov 13, 2018 9:40 pm
Forum: Weather station
Topic: Total noob here. Personal WS
Replies: 12
Views: 306

Re: Total noob here. Personal WS

Have you updated the php programs with the right database credentials?

Code: Select all

$con=mysqli_connect("localhost","weather","WeatherMySQLPasswd","weather");
Needs to change in data.php and csv.php. Again the docs are wrong.
by DougieLawson
Tue Nov 13, 2018 9:36 pm
Forum: Weather station
Topic: Weather Station old web page
Replies: 6
Views: 99

Re: Weather Station old web page

It works with PHP7.0 the docs are out of date.
by DougieLawson
Tue Nov 13, 2018 8:30 am
Forum: Other programming languages
Topic: javascript not working on RPi 3
Replies: 11
Views: 321

Re: javascript not working on RPi 3

What I still don't quite understand is why Apache does not log 404 errors. Had it done so, I would have figured this out much earlier. Apache does log 404 errors /var/log/apache2/access.log (here's a couple of redacted log entries). example.com:80 ???.???.???.254 - - [13/Nov/2018:08:25:49 +0000] "G...
by DougieLawson
Mon Nov 12, 2018 11:19 pm
Forum: Python
Topic: No module named bs4
Replies: 5
Views: 136

Re: No module named bs4

BOTH python2 (aka python) and python3 are installed with Raspbian Stretch.

Run python 3.6 programs with the python3 command.
by DougieLawson
Mon Nov 12, 2018 10:53 pm
Forum: Beginners
Topic: Install web Browser to view cctv
Replies: 9
Views: 1664

Re: Install web Browser to view cctv

Don't hold your breath waiting Matt hasn't visited the forum since Mon 04 Jan 2016, 11:04 and only ever posted four times about his experiments with CCTV.

The browser of choice is now Chromium which runs quite fast (unless you open too many tabs) on a RPi 3B+.
by DougieLawson
Mon Nov 12, 2018 10:44 pm
Forum: Python
Topic: python editor and python ide - recommendations
Replies: 1
Views: 82

Re: python editor and python ide - recommendations

Thonny is already installed on Raspbian (not the Lite version).

Go to advanced search