Go to advanced search

by bubulindo
Fri Dec 18, 2020 10:02 pm
Forum: Automation, sensing and robotics
Topic: Rpi to PLC commuication
Replies: 1
Views: 84

Re: Rpi to PLC commuication

Does the 1400 have an ethernet port?

If so, perhaps this library? https://pypi.org/project/pycomm/

https://pypi.org/project/cpppo/

I've used PyLogix in the past, but it does not apply to Micrologix.
by bubulindo
Sat May 30, 2020 6:15 pm
Forum: Automation, sensing and robotics
Topic: Water Tank Monitoring System
Replies: 8
Views: 1109

Re: Water Tank Monitoring System

Having spent 3 years dealing with metal pressure sensors and hydrolysis caused damage between the load cell and metal body, I wouldn't go with this solution.

Is it possible to install an ultrasound sensor on top of the tank to measure the distance and calculate level?
by bubulindo
Sat Feb 29, 2020 9:02 am
Forum: Python
Topic: MODBUS SERVER
Replies: 2
Views: 471

Re: MODBUS SERVER

Silly question, but why would you go with Modbus to talk to a Siemens PLC? Is it an old model without an ethernet port or is it used?
by bubulindo
Sun Jan 26, 2020 11:51 am
Forum: Automation, sensing and robotics
Topic: Take over thermostat 868 MHz RF signal
Replies: 6
Views: 1017

Re: Take over thermostat 868 MHz RF signal

Unless someone has already decoded the protocol for you it may be easier to just buy a replacement. There's always the less obvious choice of recording the signals (there's only two after all) and repeat them without understanding the underlying protocol. http://scraplab.net/reverse-engineering-a-w...
by bubulindo
Sun Oct 06, 2019 12:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Safe to connect 2 Pis to same SPI chip?
Replies: 7
Views: 984

Re: Safe to connect 2 Pis to same SPI chip?

The problem is that both your Pi's must know whether one is asking to use the bus or not. So you'd have to wire the chip select signal to both.
by bubulindo
Wed Sep 25, 2019 10:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiple modules sharing the UART
Replies: 2
Views: 346

Re: Multiple modules sharing the UART

I see 6 components on that schematic.

Would a multiplexer not do the job and avoid interference between the modules?

http://e2e.ti.com/support/switches-mult ... -4-sensors
https://www.microchip.com/forums/m230553.aspx
by bubulindo
Sun Apr 20, 2014 1:12 pm
Forum: Automation, sensing and robotics
Topic: plc automation
Replies: 23
Views: 12442

Re: plc automation

The S7-1200 has an ethernet port... I would go through that solution. It should be possible for you to configure a UDP broadcast of the values you want and with a "simple" socket code in the Raspberry pi, catch those values. I have done similar using Java with UDP broadcasts from a Simatic...
by bubulindo
Fri Mar 21, 2014 9:23 am
Forum: HATs and other add-ons
Topic: NRF24L01 RF Transceiver
Replies: 254
Views: 154004

Re: NRF24L01 RF Transceiver

Are you using Greg Copeland's library? Or the original Maniac Bug's? After looking into Maniac Bug's files (stupidly, as someone else found the same thing before) I found this: // Yay, we are done. // Power down powerDown(); //commented this line. // Flush buffers (Is this a relic of past experiment...

Go to advanced search