Go to advanced search

by PhatFil
Tue Aug 27, 2019 3:35 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero W - Wifi issues
Replies: 4
Views: 458

Re: Raspberry Pi Zero W - Wifi issues

Unless you NEED buster for something? Perhaps look at using Stretch for now as thats tried and tested, Give it a few weeks till the usual distro upgrade path is tested and recommended before shifting to Buster, Buster is only NECESSARY if running on a Pi4.. With regular Pi4 centric fixes going on at...
by PhatFil
Tue Aug 27, 2019 3:17 pm
Forum: Python
Topic: Bluetooth RSSI
Replies: 6
Views: 1235

Re: Bluetooth RSSI

its on my todo list, but i found existing projects to simply copy to access the sensors i use.. But i have the following bookmarked for later digestion..
http://www.raspberry-pi-geek.com/Archiv ... (offset)/1

Hope its a useful starting point.
by PhatFil
Tue Aug 27, 2019 2:55 pm
Forum: Beginners
Topic: Code for multiple ultrasonic sensors ROS related
Replies: 2
Views: 237

Re: Code for multiple ultrasonic sensors ROS related

Hi, I have 7 ultrasound sensors (hc-sr04) on my robot wired on the raspberry pi. I wanted to write a node that would first trigger only 4 of them and publish each on its own topic. Only the code down here gives me negative travel time and so on negative distance. Can you tell me what mistakes I've ...
by PhatFil
Mon Aug 26, 2019 12:28 am
Forum: Beginners
Topic: Simutaniously Runing HA-Bridge and HomeGenie
Replies: 4
Views: 286

Re: Simutaniously Runing HA-Bridge and HomeGenie

an alternative solution to controlling x10 433mhz rf devices is to flash a £10 sonoff rf bridge with tasmota firmware, and then install further firmware upgrades and sniff the relevant codes... (its a convoluted but documented procedure) https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridg...
by PhatFil
Mon Aug 26, 2019 12:01 am
Forum: Wanted
Topic: I'll pay to create a raspberry pie os!
Replies: 18
Views: 4097

Re: I'll pay to create a raspberry pie os!

buy a copy of "Modern Operating systems" by AS Tanembaum. 20+ years ago it was the goto text book for O/S 101 classes. The source code for what became linux (minix) is in the appendix Minix = linux minus networking, tho there is a bit more to it ;) Job done for the cost of a 2nd use £5 text https://...
by PhatFil
Sun Aug 25, 2019 1:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Simple Thermostat ON/OFF Control Wiring
Replies: 10
Views: 1283

Re: Simple Thermostat ON/OFF Control Wiring

YES BE CAREFUL !! A quick google of "Unitec sq3 rf" provides a manual
https://www.elementa.rs/files/55275-a.pdf

while i cant read it the picture on page 2 does strongly suggest your 2 thin wires carry 230v A/C at 50-60 hz
by PhatFil
Sun Aug 25, 2019 1:36 pm
Forum: Troubleshooting
Topic: [SOLVED] LAN or Wifi - nogo
Replies: 22
Views: 905

Re: LAN or Wifi - nogo

https://www.raspberrypi.org/documentati ... -config.md

Start the utility in a terminal window with the command
sudo raspi-config
#1 CHECK and confirm the localisation options are correct FIRST!! (Menu option #4) as if the country is set incorrectly it will hamper wifi operation.
by PhatFil
Sun Aug 25, 2019 1:22 pm
Forum: Automation, sensing and robotics
Topic: Garden automation inquiries
Replies: 9
Views: 850

Re: Garden automation inquiries

To seal your sensor .. Nail Varnish from the $/£ shop any colour, but avoid sparkelly stuff just in case its metal and could possibly short out connections, (If likely however im sure there would be utubes about painting/printing circuits with nail varnish) Or use a long sausage type ballon as a 'co...
by PhatFil
Thu Aug 22, 2019 2:15 pm
Forum: General programming discussion
Topic: send email from one pi when another goes down
Replies: 7
Views: 1122

Re: send email from one pi when another goes down

A Pi-0-w or perhaps an even less sophisticated soc dev board such as an esp8266 could handle this job.
But considering the cost of a Pi-zero-w and the common o/s that would be my choice,
by PhatFil
Wed Aug 21, 2019 3:45 am
Forum: Python
Topic: Strings in a directory path
Replies: 9
Views: 570

Re: Strings in a directory path

by PhatFil
Tue Aug 20, 2019 8:37 pm
Forum: Troubleshooting
Topic: PIR motion sensor repetition
Replies: 32
Views: 7609

Re: PIR motion sensor repetition

fwiw i had fun n games with similar sensors, never got to a happy conclusion with the sensor. after giving up and buying $5 433mhz alarm kit battery operated pir sensors which work fine, i came across the following How to utube nominating a sensor option that proved easier to use. https://www.youtub...
by PhatFil
Tue Aug 20, 2019 2:13 am
Forum: Beginners
Topic: How to combine two infrared sensor codes for one program?
Replies: 4
Views: 482

Re: How to combine two infrared sensor codes for one program?

currently you have

Code: Select all

init first thing
while true
	do first thing

init second thing	
while true
	do Second thing
how about something like

Code: Select all

init first thing
init second thing
while true
       do first thing 
       do second thing
by PhatFil
Sun Aug 18, 2019 4:03 pm
Forum: Beginners
Topic: Laser Sensor Plate Counter
Replies: 3
Views: 790

Re: Laser Sensor Plate Counter

can you provide a link to the laser sensor you want to use? or is this a more basic general enquiry looking for h/w ideas too. a laser solution is a bit extreme for a beginner Lots of safety considerations best avoided imho.. mechanical switches or magnetic reed switches or perhaps exploiting the co...
by PhatFil
Sun Aug 18, 2019 1:57 pm
Forum: Networking and servers
Topic: Raspberry Pi as storage server?
Replies: 3
Views: 848

Re: Raspberry Pi as storage server?

For a roadmap to follow search for key words NAS (network attached storage), and remote web access..

https://raspberrypi.stackexchange.com/q ... r-internet
by PhatFil
Sat Aug 17, 2019 11:37 pm
Forum: General programming discussion
Topic: Power Timer App
Replies: 6
Views: 2175

Re: Power Timer App

Sounds like a great getting started project.. Python is probably the best programming language to get started with, Lots of online resources too. the information your interested in is already contained in the syslog (a file you can find in the directory /var/log) you can use the cat or tail commands...
by PhatFil
Fri Aug 16, 2019 2:43 pm
Forum: Automation, sensing and robotics
Topic: RPI Zero W and two DHT11 confusion
Replies: 5
Views: 1573

Re: RPI Zero W and two DHT11 confusion

everyone was a beginner, some of us remain in the state perpetually.. #1 are you 100% sure dht11 sensor #2 works ok? try replacing it with #1 sensor in your pi circuit and running the original working with 1 sensor script to validate it.. You can always pop over to the github page for the adafruit p...
by PhatFil
Thu Aug 15, 2019 9:17 pm
Forum: Beginners
Topic: kiosks for dummies?
Replies: 5
Views: 871

Re: kiosks for dummies?

A kiosk system lets the users have some interaction via keyboard/mouse or touchscreen with the interface.

If you only want to display a single page without providing keyboard/mouse input, HIde them or dont connect them.
and just start up chrome with the --fulscreen switch instead of --kiosk
by PhatFil
Wed Aug 14, 2019 12:21 pm
Forum: Beginners
Topic: Rpi as external device to monitor relay switch states
Replies: 3
Views: 210

Re: Rpi as external device to monitor relay switch states

Just a thought.. there is often a led on relay circuits that indicates the relay state. If present on your h/w you could just use a light sensitive resistor to detect the led state and avoid all direct connection issues.
by PhatFil
Wed Aug 14, 2019 1:43 am
Forum: Advanced users
Topic: Creating a SD image suitable for Balena Etcher
Replies: 10
Views: 2338

Re: Creating a SD image suitable for Balena Etcher

etcher wants an image file so a quick google for how to create an image file from a SD card revelled under windows win32diskimager is the tool to use and under *nix the dd command in the format

Code: Select all

dd if=/dev/sdc/ of=/home/sdcard.img 
should do it?
by PhatFil
Wed Aug 14, 2019 1:32 am
Forum: Troubleshooting
Topic: Kernel panic- Pi Zero W
Replies: 2
Views: 174

Re: Kernel panic- Pi Zero W

Genuine SD card? New install or did a running system just fall over? #1 eliminate any media issues by using a new genuine sd card and download a fresh copy of the os and validate the downlaod with the sha checksum (not described on the downlaod page but look here https://www.raspberrypi.org/forums/v...
by PhatFil
Tue Aug 13, 2019 11:35 pm
Forum: Français
Topic: Contrôler un MAX31855 (thermocouple K)
Replies: 4
Views: 1117

Re: Contrôler un MAX31855 (thermocouple K)

Not used the lib you have linked to but a quick look at the github link suggests perhaps its a Python 2 Lib?? I am going by 2 things #1 age of the project.. #2 No mention of python3 in the readme try a pip install and loading up the python2 interpreter or forcing it with the 'shebang' or hashbang if...
by PhatFil
Mon Aug 12, 2019 3:33 pm
Forum: Advanced users
Topic: Execute script after insert
Replies: 5
Views: 540

Re: Execute script after insert

add 'exit 0' at the bottom of the file..

supply parameters $1 and $2 in te trigger definition

better still use mqtt.... https://github.com/arendst/Sonoff-Tasmota/wiki/MQTT
by PhatFil
Mon Aug 12, 2019 3:13 am
Forum: Troubleshooting
Topic: Esp32 dev/ttyUSB
Replies: 2
Views: 169

Re: Esp32 dev/ttyUSB

hi And Welcome to the world of Pi.. To get hep however you will need to be a little more clear and specific. I have no clear idea of what your problem is. Can you provide specific details on the esp dev board used, usb/ftdi programmer, and wiring between the 2, pictures would also help.. there are a...
by PhatFil
Mon Aug 12, 2019 2:49 am
Forum: General discussion
Topic: Power on?
Replies: 32
Views: 1929

Re: Power on?

fwiw my pi3b nas is supplied power via a smart wifi switch providing me with a remote controlled hard reset option when needed. while i used basic £4 units, plug in options start at circa £10 and if you get a tasmota compatible device you can remove any reliance from remote corporate servers which c...

Go to advanced search