Go to advanced search

by PhatFil
Tue Aug 13, 2019 11:35 pm
Forum: Français
Topic: Contrôler un MAX31855 (thermocouple K)
Replies: 4
Views: 1023

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: 453

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: 111

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: 1659

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...
by PhatFil
Mon Aug 12, 2019 2:29 am
Forum: Advanced users
Topic: Execute script after insert
Replies: 5
Views: 453

Re: Execute script after insert

whats in drive.alarm, a quick google confirms it needs to return an integer to work with the UDF framework, once you have installed the UDF features that is,, http://crazytechthoughts.blogspot.com/2011/12/call-external-program-from-mysql.html https://dev.mysql.com/doc/refman/8.0/en/adding-udf.html a...
by PhatFil
Mon Aug 12, 2019 2:04 am
Forum: Other projects
Topic: Homemade airfryer
Replies: 9
Views: 1475

Re: Homemade airfryer

have fun and keep us posted with your progress and build.. I for one like to follow builds ;) a few tips based on my own attempts at diy solutions,, Qmax punches are the best tool for cutting clean holes in materials such as the stainless steel walls of cooking pots for inserting elements/vents/feed...
by PhatFil
Sun Aug 11, 2019 3:42 am
Forum: Other projects
Topic: Homemade airfryer
Replies: 9
Views: 1475

Re: Controlling a premade appliance?

Well Interfacing with the existing control system may not be possible but could be worth investigating. If not possible you could control each aspect of the system Fans heaters motors solenoids etc vi your pi either directly or via a wifi or bluetooth enabled slave dev board But would also need to r...
by PhatFil
Sun Aug 11, 2019 2:47 am
Forum: Other projects
Topic: How to create a "shift" button for other switches?
Replies: 10
Views: 1357

Re: How to create a "shift" button for other switches?

So I have a momentary button working and keeping the active state in python (toggles between True and False). I can't figure out how to route a signal based on the result of that. I've just been messing with sending a pin high to switch a transistor, and that all works fine (just sent it to light a...
by PhatFil
Sat Aug 10, 2019 1:40 am
Forum: General discussion
Topic: Protect over voltage on Voltage Divider ciruit
Replies: 12
Views: 438

Re: Protect over voltage on Voltage Divider ciruit

You do have some leway below 3.3v the pi will register a high with voltages over +1.8-2v referenced to ground? (look that up or test it..) http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/raspberry-pi/gpio-pin-electrical-specifications or you could employ an optically linke...
by PhatFil
Fri Aug 09, 2019 7:41 pm
Forum: General discussion
Topic: Need a RPi4 case that can be wall mounted
Replies: 10
Views: 542

Re: Need a RPi4 case that can be wall mounted

fwiw i have a couple of pi-0-W systems in the standard red base/white top cases mounted on the walls with a thumb nail sized ball of blu-tak..
by PhatFil
Fri Aug 09, 2019 7:31 pm
Forum: Other projects
Topic: How to create a "shift" button for other switches?
Replies: 10
Views: 1357

Re: How to create a "shift" button for other switches?

no need for transistors etc in the 'switch' circuits, just a resistor to pull the BUTTON circuit to the known off position. (switches retain the state ie stay on or stay off, while a button is generally 'on' while pressed, an obvious but important distinction ) your 'shift key' can also be a basic b...
by PhatFil
Thu Aug 08, 2019 11:31 pm
Forum: General discussion
Topic: Swapping HDD for Larger Size in NAS
Replies: 9
Views: 261

Re: Swapping HDD for Larger Size in NAS

why not just add the 4tb disk as additional storage?
500gb is still 500gb ) a 2nd hdd enclosure with independent power input should be a bargain on ebay etc what with 2.5" usb powered enclosures being Way more portable..

you can add 6x hdds to a Pi without issues.
by PhatFil
Thu Aug 08, 2019 5:50 pm
Forum: Other projects
Topic: Gas Flow Control with Raspberry Pi 3B+
Replies: 2
Views: 994

Re: Gas Flow Control with Raspberry Pi 3B+

depending on pressure that can be tricky manually tweaking a high pressure regulator valve for a co2 bottle is a royal pita especially if looking to drop to an accurate < 10 psi pressure. My experience is limited to co2 gas management for home kegging of beer.. multi stage regulation and plumbing al...
by PhatFil
Thu Aug 08, 2019 5:27 pm
Forum: Beginners
Topic: Help me verify my idea?
Replies: 6
Views: 294

Re: Help me verify my idea?

cant you just discard all the existing circuitry except the micro switch and cam mechanism that depresses and releases it?

that way you can just wire the button to your pi gpio with perhaps a pull up or down resistor and go from there..
by PhatFil
Wed Aug 07, 2019 11:58 pm
Forum: Troubleshooting
Topic: An RFID Reader I Bought only Supports Windows 95/98/XP, what are my options other than emulatin it?
Replies: 3
Views: 149

Re: An RFID Reader I Bought only Supports Windows 95/98/XP, what are my options other than emulatin it?

interesting device.. the 106 kb/s speed stuck out to me so i highlighted and googled that and found an ebay ad for the device with a little more info... Interface: USB, 106Kbit/s , (RS232, 9600,N,8,1) suggests a pretty standard serial interface https://www.ebay.co.uk/itm/RFID-Reader-Contactless-Mifa...
by PhatFil
Wed Aug 07, 2019 4:13 pm
Forum: Python
Topic: Wemos with a serial/USB chip based on CH304G - using for micropython
Replies: 2
Views: 177

Re: Wemos with a serial/USB chip based on CH304G - using for micropython

well - is the chip that is mentioned - Wemos has a serial/USB chip based on CH304G - is it on the WEMOS Board or should i add them on a breakout-board!? the wemos dev boards have usb ports onboard for power/connection so its already onboard so no need to add anything just plug in a usb lead and ins...
by PhatFil
Wed Aug 07, 2019 3:28 pm
Forum: General programming discussion
Topic: Pi Zero W Transfer data to pc over USB
Replies: 3
Views: 1313

Re: Pi Zero W Transfer data to pc over USB

the problem you have is that both the PC and the PI (normally) are USB Masters expecting Slave devices to be plugged in.. to overcome this you can look deeper into the Pi-0 Gadget mode.. If you have issues detail them in a post here and your bound to get help. Alternitively you could consider lookin...
by PhatFil
Wed Aug 07, 2019 3:16 pm
Forum: Beginners
Topic: Raspberry PI Zero + 10x25 LED APA102c matrix
Replies: 3
Views: 135

Re: Raspberry PI Zero + 10x25 LED APA102c matrix

best place to look for example code is the suppliers resources page, if not available check out the supliers with better user support for identical products. something like https://learn.adafruit.com/neopixels-on-raspberry-pi (include link to wirring diagram..) should be available from a supplier wh...
by PhatFil
Wed Aug 07, 2019 12:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: current, voltage signal output raspberry pi
Replies: 4
Views: 248

Re: current, voltage signal output raspberry pi

Ok, probably do-able, but for help with circuit design and suggestions for which direction to take a few specific details would be necessary. what range of voltages do you want to supply, and what sort of current demands do you want to accommodate? DC? In most cases however your probably going to fi...
by PhatFil
Wed Aug 07, 2019 11:56 am
Forum: Troubleshooting
Topic: Trying to get RioRand 433MHz RF Link receiver to work on Pi3
Replies: 5
Views: 259

Re: Trying to get RioRand 433MHz RF Link receiver to work on Pi3

how are you attempting to detect the signals your expecting to capture? when using similar h/w with an arduino to hijack some fine offset protocol signals containing temperature and relay status metrics from a hacked stc1000 i used the libs developed by luc small to do the bit banging.. https://gith...
by PhatFil
Tue Aug 06, 2019 11:08 pm
Forum: General discussion
Topic: Data Acquisition Slow Down
Replies: 6
Views: 230

Re: Data Acquisition Slow Down

if your taking readings very frequently and desire to maintain a consistent data capture rate regardless of Pi workload. You could consider employing a small secondary dev board like an arduino to capture the data and transmit it in bundles of multiple readings to your pi for logging/display/analysi...
by PhatFil
Tue Aug 06, 2019 9:39 pm
Forum: Troubleshooting
Topic: The dreaded No Wireless interface issue - lots of head banging
Replies: 8
Views: 339

Re: The dreaded No Wireless interface issue - lots of head banging

As you chose that particular uid/handle..

Pi 1, 2,3, or 4?

not all have onboard wifi..
by PhatFil
Sun Aug 04, 2019 8:29 pm
Forum: General discussion
Topic: First dabble in RPi. Am I going in over my head?
Replies: 7
Views: 397

Re: First dabble in RPi. Am I going in over my head?

imho you probably put your finger on the problem with the arduino experiments and its coding being the lack of a project to drive you forward. And I think you will find that most folk here find the electronics side of things a bit more of a challenge than the coding. So if you hit a snag drop a Q in...
by PhatFil
Sat Aug 03, 2019 8:43 pm
Forum: Troubleshooting
Topic: Trying to get RioRand 433MHz RF Link receiver to work on Pi3
Replies: 5
Views: 259

Re: Trying to get RioRand 433MHz RF Link receiver to work on Pi3

not used that h/w but have used similar with an arduino.. looking at the amazon page it looks like the receiver expects 5v to drive it. so i would get hold of a 3.3v/5v logic level shifter, to accommodate 3.3v to 5v 2 way data coms and protect your pi gpio from the 5v signals and run the device off ...
by PhatFil
Fri Aug 02, 2019 2:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Collecting data periodically from multiple Bluetooth (BLE) devices
Replies: 4
Views: 745

Re: Collecting data periodically from multiple Bluetooth (BLE) devices

Watching with interest.. My own BLE sensors are queried sequentially but the Node red flows built early 2018 using a couple of user contributed nodes fail when installed on a freshly installed updated system!!

Go to advanced search