Go to advanced search

by Andyroo
Wed Aug 14, 2019 10:41 am
Forum: Other projects
Topic: RPi Zero as USB HID device.
Replies: 2
Views: 93

Re: RPi Zero as USB HID device.

Have a look at page 59 of https://www.usb.org/sites/default/files ... 1_12v2.pdf for control keys in general.

The docs a bit old but I think is still valid.
by Andyroo
Wed Aug 14, 2019 10:36 am
Forum: Off topic discussion
Topic: I like this phpBB forum style
Replies: 3
Views: 782

Re: I like this phpBB forum style

mahjongg wrote:
Wed Aug 14, 2019 10:05 am
Yes.
Subtle answer :lol:

Maybe the poster has problems reading the header or footer? :roll:
by Andyroo
Wed Aug 14, 2019 10:23 am
Forum: Networking and servers
Topic: Windows 10 permssions to Pi shared folder?
Replies: 9
Views: 209

Re: Windows 10 permssions to Pi shared folder?

In the share sections I have: available = yes browsable = yes writeable = yes create mask = 0644 directory mask = 0755 public = no Do not forget to add the user / password to the Samba database with sudo smbpasswd -a The second issue is dependant on how you have set the share up for example on a Pi ...
by Andyroo
Tue Aug 13, 2019 7:55 pm
Forum: Camera board
Topic: Pi NOIR Camera Tinted Images
Replies: 5
Views: 207

Re: Pi NOIR Camera Tinted Images

You could try https://github.com/raspberrypi/firmware ... -508256302

If you are stuck on Systemd a quick Google will show you what to do.
by Andyroo
Tue Aug 13, 2019 4:59 pm
Forum: Python
Topic: reading a online database but have a fall over on the pi ?
Replies: 7
Views: 234

Re: reading a online database but have a fall over on the pi ?

I would use something like wget to download the file and if that fails then use the local copy rather than trying to read from a CSV on the net. This is not as up to date as reading the file directly but less prone to errors. Remember, EVERY command with the remote file will need error trapping. It ...
by Andyroo
Tue Aug 13, 2019 4:49 pm
Forum: General discussion
Topic: Pi Zero W, VS 3B+, VS 4 for low CPU applications?
Replies: 24
Views: 658

Re: Pi Zero W, VS 3B+, VS 4 for low CPU applications?

I use a Zero connected of USB for significant command line work. I edit in nano on the Pi and run from a terminal session using TMUX Most of my coding though is now via Visual Studio Code connected via Samba to the Zero with a couple of terminal sessions via SSH running TMUX Been awhile since I used...
by Andyroo
Tue Aug 13, 2019 3:43 pm
Forum: Advanced users
Topic: Creating a SD image suitable for Balena Etcher
Replies: 10
Views: 335

Re: Creating a SD image suitable for Balena Etcher

Have a look at https://www.raspberrypi.org/forums/view ... 8#p1511694

It’s not on GITHUB just a zip and to be honest I’ve not tried it yet but the author is still on here :lol:
by Andyroo
Tue Aug 13, 2019 3:30 pm
Forum: General discussion
Topic: Connecting Pi 4 to Verizon Data
Replies: 6
Views: 260

Re: Connecting Pi 4 to Verizon Data

Maybe one of these https://www.pianywhere.com/ ? I wouldn't. PiAnywhere aka IoT Bit is from Divi aka Altitude Technology who are a dead company. Another sketchy crowdfunding disaster. You can still get their overpriced HATs from Mouser but don't expect any support for it or the libraries they suppl...
by Andyroo
Tue Aug 13, 2019 3:28 pm
Forum: Python
Topic: Get devices connected to rpi wifi hotspot
Replies: 6
Views: 171

Re: Get devices connected to rpi wifi hotspot

What software are you using to create the hotspot?

What O/S do you have on the Pi?

Does the hotspot have its own sub-net or does it share the Ethernet connection via a DHCP range?
by Andyroo
Tue Aug 13, 2019 1:34 am
Forum: General discussion
Topic: Connecting Pi 4 to Verizon Data
Replies: 6
Views: 260

Re: Connecting Pi 4 to Verizon Data

Maybe one of these https://www.pianywhere.com/?
by Andyroo
Mon Aug 12, 2019 11:02 pm
Forum: Automation, sensing and robotics
Topic: Controlling a 7 segment 4 digit display with a Raspberry Pi
Replies: 4
Views: 144

Re: Controlling a 7 segment 4 digit display with a Raspberry Pi

Welcome to the forum.

Do you have any details on the module?

A quick google shows me single digit, two digit, four digit, direct control and SPI control all on the first page :lol:
by Andyroo
Mon Aug 12, 2019 10:53 pm
Forum: Beginners
Topic: Python first program
Replies: 10
Views: 238

Re: Python first program

Tried again...how do I get to directory with the file I have saved ? You use cd directory In Linux everything is case sensitive so /Home is different to /home This gives you some more basic details https://www.lifewire.com/uses-of-command-cd-2201063 You may find this of interest - it’s close to the...
by Andyroo
Mon Aug 12, 2019 10:37 pm
Forum: Python
Topic: Phython Reading Temperature every 10 Secs and writing to DB
Replies: 2
Views: 144

Re: Phython Reading Temperature every 10 Secs and writing to DB

I would change the program so it reads the data once only then write the data to the database.

You can then use cron to call this program every 30 minutes.
by Andyroo
Mon Aug 12, 2019 8:46 pm
Forum: Troubleshooting
Topic: Unable to install Raspbian on RPi4
Replies: 3
Views: 178

Re: Little problem

Look at using Raspbian direct from https://www.raspberrypi.org/downloads/raspbian/

I recommend Etcher to write the SD card https://www.balena.io/etcher/

This cannot be used for NOOBS though.
by Andyroo
Mon Aug 12, 2019 8:43 pm
Forum: Beginners
Topic: Python first program
Replies: 10
Views: 238

Re: Python first program

It’s ell ess not one ess

You may find that using Thonny is a better starting point as it forces you to save before running the program and gives hints and tips :)

If you are using nano the ctrl-x followed by Y will save and exit.
by Andyroo
Mon Aug 12, 2019 7:49 pm
Forum: Other projects
Topic: Creating an heart attack detector
Replies: 14
Views: 401

Re: Creating an heart attack detector

Not wanting to derail the discussion but this article maybe of interest even just to prove it is possible in some cases just to use the beat rate https://techlector.com/apple-watch-detects-heart-attack/ Maybe start with green led heartbeat sensors (search photoplethysmography) and go from there - a ...
by Andyroo
Mon Aug 12, 2019 7:36 pm
Forum: General discussion
Topic: Raspi pressure sensor
Replies: 14
Views: 381

Re: Raspi pressure sensor

There are two types of pressure sensors. The first is to take the air pressure (one is in the breakout garden here ) The second is to record the pressure you apply (like a bathroom scale) such as this old article . The common thing about all of these devices (and the majority of Pi bits) is that you...
by Andyroo
Mon Aug 12, 2019 7:03 pm
Forum: Beginners
Topic: 2 years in the cupboard...
Replies: 3
Views: 205

Re: 2 years in the cupboard...

Welcome to the forum. My first guess is it’s an IP problem on the Pi. If you had set a fixed IP address on the Pi it could be different from the internal network address of the new router. e.g. At the last house you may have had 192.168.1.x as the network but the new house could have 192.168.0.x If ...
by Andyroo
Mon Aug 12, 2019 6:54 pm
Forum: General discussion
Topic: Still confused, what is better for my SD card?
Replies: 9
Views: 419

Re: Still confused, what is better for my SD card?

Cards have some hidden space for wear levelling - I’m running 16Gb on Pi with HDD for machines needing more than around 12Gb If you are that bothered get a HDD or SSD on USB and boot from that or via hybrid (SD and HDD) boot. I’ve used SD cards for years in cameras and never had them fail from over ...
by Andyroo
Mon Aug 12, 2019 6:14 pm
Forum: Beginners
Topic: How to control multiples output
Replies: 9
Views: 203

Re: How to control multiples output

Look at the MCP23017 chip. These allow you to control 16 lines and can be connected to the Pi

Some HATs are available - just search locally for the chip and HAT and some will turn up. For example this one can be stacked to give you 128 ports.
by Andyroo
Sun Aug 11, 2019 8:33 pm
Forum: Beginners
Topic: Is it possible to power off a monitor when the RPi is powered off?
Replies: 13
Views: 305

Re: Is it possible to power off a monitor when the RPi is powered off?

Simplest way is to use a remote control power socket like the Sonoff range or Evergreen kit.

If using the first, update the software to Tasmota and you are set to go.


One other thought is to look at the CEC instructions and put the TV into standby.
by Andyroo
Sun Aug 11, 2019 6:37 pm
Forum: Troubleshooting
Topic: Is my pi 3B throtteling due to undervoltage? [solved]
Replies: 9
Views: 218

Re: Is my pi 3B throtteling due to undervoltage?

Have you tried a power supply or a charger?

The Pi supply provides 5.1v via nice thick cables where chargers can drop down to 4.3v or so normally through thin cable.
by Andyroo
Sun Aug 11, 2019 6:16 pm
Forum: Troubleshooting
Topic: RPi 2 has better connectivity than RPi4?
Replies: 15
Views: 508

Re: RPi 2 has better connectivity than RPi4?

Possible power issues?
Possibly race / lock issue with the overclocking?
by Andyroo
Sun Aug 11, 2019 3:32 pm
Forum: Automation, sensing and robotics
Topic: Anyone built successfully RF receiver and transmitter on pi3
Replies: 3
Views: 147

Re: Anyone built successfully RF receiver and transmitter on pi3

Normally a 433Mhz antenna is a coil of wire about 17cm long (cannot remember the exact length). Look for a YouTube Gent with the Swiss accent by the name of Andreas Spiess ( his channel ) He has a few software defined radios (e.g. garage doors that may help. Also if you still have a remote - can you...
by Andyroo
Sun Aug 11, 2019 1:08 pm
Forum: General discussion
Topic: 'Sniffing' Serial Commands?
Replies: 25
Views: 704

Re: 'Sniffing' Serial Commands?

If you know the speed and format (bits / parity) and the data is one way, you could just connect the Pi (via level converter if needed) and use the Pyserial module to read the data character by character and just dump the hex data to the screen.

Go to advanced search