Go to advanced search

by PhatFil
Sat Oct 12, 2019 7:45 pm
Forum: Troubleshooting
Topic: Smart Pi Touch 2
Replies: 11
Views: 243

Re: Smart Pi Touch 2

or perhaps they have had some thread lock applied??
by PhatFil
Sat Oct 12, 2019 7:42 pm
Forum: Troubleshooting
Topic: Smart Pi Touch 2
Replies: 11
Views: 243

Re: Smart Pi Touch 2

I appreciate your caution but those brass stand offs are generally screwed in to fix, the 2nd pic posted without stand offs shows what looks like a bent steel mount point with a screw in place of the brass stand off in the bottom left position. similar to those surrounding the central pcb. Are they ...
by PhatFil
Sat Oct 12, 2019 3:35 pm
Forum: Troubleshooting
Topic: Smart Pi Touch 2
Replies: 11
Views: 243

Re: Smart Pi Touch 2

Hi Richard, does the packaging/instructions state explicitly that its suitable for a Pi4? This is I suspect a problem of buying the latest model before the peripherals market has caught up. I could be wrong but i suspect its built pre pi4 and isnt suitable without taking a drastic possibly destructi...
by PhatFil
Fri Oct 11, 2019 4:14 am
Forum: Troubleshooting
Topic: Enabling GPS on Raspberry Pi 0 W
Replies: 1
Views: 69

Re: Enabling GPS on Raspberry Pi 0 W

If your files dont contain the entries that your directed to edit out move to the next step, this may explain what your being asked to de better ? http://www.hobbytronics.co.uk/raspberry-pi-serial-port and you may have done it already if you have enabled the serial interface via a sudo raspi-config ...
by PhatFil
Wed Oct 09, 2019 8:12 pm
Forum: Automation, sensing and robotics
Topic: Control 12v solenoid valve using Raspberry Pi
Replies: 10
Views: 33410

Re: Control 12v solenoid valve using Raspberry Pi

Crowbot wrote:
Wed Oct 09, 2019 5:15 pm
Ah, didn't notice the original date.
Your not alone .. :mrgreen: I blame my cataracts, fingers crossed thats not going to be a viable excuse in a month or 9.

Thanks for the kind nudge B.Goode living up to the monika i see.. ..
by PhatFil
Wed Oct 09, 2019 7:00 pm
Forum: Automation, sensing and robotics
Topic: Control 12v solenoid valve using Raspberry Pi
Replies: 10
Views: 33410

Re: Control 12v solenoid valve using Raspberry Pi

is it a mains pressure water supply you wish to turn on/off with the solenoid valve?? If not and your planning to use a gravity or pump fed supply double check your valve will open without sufficient back pressure before you go any further ;) Also check the flow you can get without significant back ...
by PhatFil
Wed Oct 09, 2019 6:39 pm
Forum: Python
Topic: Writing to a text file in a specific line.
Replies: 10
Views: 329

Re: Writing to a text file in a specific line.

the head command with can deliver the top 2 lines from the file into a new replacement, you can then echo Value >> into the 3rd line, and as long as you know how many lines are in the file you can tail the remainder into the replacement file.. if 10 lines in your file?? head -2 > yournewfile.txt ech...
by PhatFil
Wed Oct 09, 2019 6:13 pm
Forum: Automation, sensing and robotics
Topic: Looking for a relatively low-cost electrical conductivity sensor that gives the signal in digital output
Replies: 5
Views: 205

Re: Looking for a relatively low-cost electrical conductivity sensor that gives the signal in digital output

Cheapest easiest EC meter i know of is built into the £10-£15 Miaflora plant sensor from Xiaomi which if not paired with its suggested app (as this will apply incompatible updates) can be queried via Bluetooth BLE by your Pi as detailed in these 2 older projects *As far as i am aware all devices are...
by PhatFil
Mon Oct 07, 2019 11:13 pm
Forum: C/C++
Topic: Where can I begin learning C/C++?
Replies: 37
Views: 1332

Re: Where can I begin learning C/C++?

For learning C I think the arduino platform is probably a very good start as its 100% practically focused And Every Library resource is provided with an example sketch (program) executing the functions in the clearest manner for you to walk through. Pick a project that will provide a useful result f...
by PhatFil
Mon Oct 07, 2019 5:36 am
Forum: General discussion
Topic: Suggestions for Pi Based Security system
Replies: 3
Views: 139

Re: Suggestions for Pi Based Security system

fwiw i use a number of PIR and window/door open/closed sensors that use 433mhz signals to 'raise alarms' interfacing with the pi involves a £10 investment in a sonoff rf bridge and reflashing it with tasmota firmware . https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433 this creates ...
by PhatFil
Mon Oct 07, 2019 4:50 am
Forum: Python
Topic: Syntax of add_header
Replies: 9
Views: 271

Re: Syntax of add_header

When creating or editing a post, the editor has a 'menu block' with Bold , Italic , Underline "QUOTE" And Code Formatting Tag options among others for you to select to format your text correctly.. USE THE CODE TAGS TO contain your text.. If English is not your 1st language perhaps i am not being cle...
by PhatFil
Mon Oct 07, 2019 12:02 am
Forum: Python
Topic: Syntax of add_header
Replies: 9
Views: 271

Re: Syntax of add_header

hi Good place to ask but to make your code readable and retain the CRUCIAL indentation use the code tags to highlight and format your code.. So it looks like this and any indentations are retained.. As is no one can really help as your code could be indented in numerous ways
by PhatFil
Sun Oct 06, 2019 11:58 pm
Forum: Raspbian
Topic: No USB auto-mount when running headless.
Replies: 6
Views: 217

Re: No USB auto-mount when running headless.

https://www.raspberrypi.org/forums/view ... p?t=205016

tbh i didnt read through completely to check but the 'SOLVED' appended to the subject is a big hint ;)
by PhatFil
Sun Oct 06, 2019 2:33 pm
Forum: General discussion
Topic: Relay not sending power
Replies: 7
Views: 227

Re: Relay not sending power

ok so from what i understand from you guys is that u should buy a new relay. Sorry for the website but it is in romanian.. but i can send you the link and you can look at them. i was thinking at this one: https://www.optimusdigital.ro/ro/electronica-de-putere-module-cu-releu/478-modul-releu-cu-4-ca...
by PhatFil
Sun Oct 06, 2019 1:58 pm
Forum: General discussion
Topic: Home AUtomation Using raspberry pi and nodemcu esp8266
Replies: 8
Views: 279

Re: Home AUtomation Using raspberry pi and nodemcu esp8266

Check out tasmota firmware, while designed originally for reflashing off the shelf smart devices its a fully featured firmware with options for most i/o options built in .. https://github.com/arendst/Sonoff-Tasmota/wiki fwiw i host my mqtt broker along side all my python scripts to query ble sensors...
by PhatFil
Tue Sep 24, 2019 6:03 pm
Forum: Python
Topic: Run more scripts forever
Replies: 6
Views: 249

Re: Run more scripts forever

Hi, I have 2 scripts, one only takes pictures with the picamera, the other process the pictures. I'd like these scripts both runs forever. Perhaps I should enclose every script in a "while true" block, but I'm not sure the system won't be busy running the first script of the two. On the other hand ...
by PhatFil
Mon Sep 23, 2019 11:30 pm
Forum: General discussion
Topic: How can i connect and get data from multiple MQ-2 Gas detection Sensors?
Replies: 5
Views: 144

Re: How can i connect and get data from multiple MQ-2 Gas detection Sensors?

Have you been specifically directed to add sensors directly to your PI?? A Pi is a very sophisticated device to devote to such a task, normally within an IOT framework i would expect to find a Pi hosting any databases or data stores, any gui interfaces or dashboards along side a mqtt broker and any ...
by PhatFil
Mon Sep 23, 2019 11:13 pm
Forum: Staffroom, classroom and projects
Topic: It's a bird! It's a plane! No wait... it's robotics club?
Replies: 2
Views: 190

Re: It's a bird! It's a plane! No wait... it's robotics club?

MPU6050 sensors as found on GY 521 dev boards are cheap and can be hooked upto a pi easily enough https://www.aliexpress.com/item/32944661306.html?spm=a2g0o.productlist.0.0.77025d4dhqgWOA&s=p&algo_pvid=b3ba4392-7f05-4846-acc0-4f7e006f6158&algo_expid=b3ba4392-7f05-4846-acc0-4f7e006f6158-0&btsid=4f3b4...
by PhatFil
Mon Sep 23, 2019 3:01 pm
Forum: Troubleshooting
Topic: interchange power and network USBs
Replies: 2
Views: 80

Re: interchange power and network USBs

No- you need a new micro-adaptor ;)

While you can power the device via the data usb port, the power port is not connected to the data lines.
by PhatFil
Sun Sep 22, 2019 1:41 am
Forum: C/C++
Topic: C++ in real world, is it only me, or real world C++ is different from C++ in books and conferences?
Replies: 20
Views: 1153

Re: C++ in real world, is it only me, or real world C++ is different from C++ in books and conferences?

I fear the prevailing feeling of most IT managment is.. Why employ code monkeys if you then buy code from a competitive tribe ** as a retired code monkey i am allowed to use the term :) be mindful if you ever use the term be prepared to recite de morgans law or de-rochlers pigeon hole theorem or som...
by PhatFil
Sun Sep 22, 2019 12:25 am
Forum: Off topic discussion
Topic: Ouch
Replies: 17
Views: 1626

Re: Ouch

Kevin Warwick was the first human to get microchipped in 1998. Well before it was done to pets. You need to take everything he says with a huge pinch of salt . Pets were microchipped at least 2 years before he had his temporary implant. There is a database of adverse reactions to pet implants and t...
by PhatFil
Tue Sep 17, 2019 1:15 pm
Forum: Troubleshooting
Topic: Pi Zero W - Powered over USB data port
Replies: 4
Views: 116

Re: Pi Zero W - Powered over USB data port

To avoid this issue with my pi3-nas, and stop the hub psu maintaining power on the Pi board I simply snipped the +5v line at the hub pcb, being an older hub with an old square usb B? socket it was a simple task easily undone if needed, with a smaller usb micro device it may be easier to hack into th...
by PhatFil
Sat Sep 14, 2019 1:09 pm
Forum: General discussion
Topic: Stretch to buster
Replies: 8
Views: 520

Re: Stretch to buster

Dont overwrite your Stretch system sd card, get a new one and keep the stretch card as a backup/fallback reference..
by PhatFil
Fri Sep 13, 2019 12:16 pm
Forum: General discussion
Topic: Combining PIR and normal motion detection?
Replies: 7
Views: 273

Re: Combining PIR and normal motion detection?

I had fun and games with false positives from the usual pir modules with my attempts at a room multi sensor.. Forums and utubes were full of suggestions to shorten connecting leads, lengthen connecting leads, distance the module from the wifi transmitter and sources of pcb heat, twisting wires , iir...
by PhatFil
Thu Sep 12, 2019 3:33 am
Forum: Automation, sensing and robotics
Topic: Copying Sensorpush Sensor Temperatur and Humidity
Replies: 3
Views: 218

Re: Copying Sensorpush Sensor Temperatur and Humidity

Hey PieLover.. Yes as said above you could.. But perhaps these projects which use similar Off the shelf BLE sensors might give you a clearer picture of just how a Pi could be used very easily with little effort beyond a bit of cut and paste at the cli to interface with such devices and use the senso...

Go to advanced search