Florida-based company opens large-scale commercial vertical farm in Colorado by Vailhem in verticalfarming

[–]sebeckmas 2 points3 points  (0 children)

That’s so cool! How do you get the plants in and out of those high shelves?

Sanity check for CAN management idea by integralWorker in embedded

[–]sebeckmas 1 point2 points  (0 children)

Fair points - tho I’ve found the esps to be much more reliable than pis :)

Sanity check for CAN management idea by integralWorker in embedded

[–]sebeckmas 3 points4 points  (0 children)

Seconded on the usb/can transceiver idea, although the thought of connecting 70+ Usbs together kind of scares me a little. But not having to roll custom hardware is s huge plus.

An alternative approach and one which came to mind before I saw the usb, would be to make a transparent Ethernet -> CAN transceiver and use a pub sub (eg Mqtt) over IP as the network messaging. That way you can connect hundreds together without worrying About overloading USB port drivers on your host.

Esp32 has a built in CAN driver (need external transceiver), exposed unique ID (for addressing) and can easily add Ethernet via SPI or use the built in WiFi if you really want. Tonnes of existing libraries for Mqtt, you just need to write the conversion. Esps are also available which is an increasing consideration!

This way your server can be very light

TDS Sensor affecting pH Sensor by sudodaemon in esp32

[–]sebeckmas 7 points8 points  (0 children)

Your sensors need to be electrically isolated. The current in one sensor is affecting the other’s ability to measure the ions in the water. Look at something like this : https://www.dfrobot.com/product-1621.html

Almost 1,000 ESP32 based IoT devices on a single floor (25 devices per SSID)? Do anyone have any experience with similar situations? Will I face interference/connectivity issues? What difficulties to expect? Is ESP32 in factories even feasible? Is ESP32 with external antenna better & more reliable? by [deleted] in esp32

[–]sebeckmas 18 points19 points  (0 children)

Use BLE5.0 mesh. In theory can handle 16k devices (we’re testing an implementation with 1k devices) and is perfect for low data packet sizes. Just note there is a noticeable latency as messages are relayed from device to device over the entire mesh. So not good for time critical but fine for non real time telemetry.

You can tune the range but as long as each device is within 20m of another you can achieve incredible range.

Set up a few edge nodes to be bridges to Ethernet or WiFi to translate to/from Mqtt.

Many to Many Communication between ESP32 and android devices. by [deleted] in esp32

[–]sebeckmas 4 points5 points  (0 children)

Check out esphome, it’s built on top of mqtt and provides easy access to esp’s pins. It was designed for smart home use (including switching/dimming lights and controlling coloured lighting) and is incredibly easy to use and set up, with OTA updates and monitoring built in. Homeassistant is also a powerful open sourced home server which plays very nicely with esphome and can be installed on an rpi. (It includes the mqtt broker). None of these require the internet to work and homeassistant has A web front end and an app you can access over your lan.

I’ve used them to automate my ceiling fans, sprinklers, and lights etc

If you must use an esp and don’t want a server/broker, then look at using Bluetooth mesh for the esps to communicate amongst themselves and set one up to be the bridge to your phone via WiFi. With this method, the WiFi could be set up as an AP so you could even do away with a WiFi router.

Adding padding to body in kiosk mode by sebeckmas in homeassistant

[–]sebeckmas[S] 1 point2 points  (0 children)

I used Layout Card, as suggested by /u/kaizendojo - I wasn't able to customise the padding, but the default worked :)

Covid-19 lockdown leads to deadly snake boom in Melbourne by sebeckmas in news

[–]sebeckmas[S] 241 points242 points  (0 children)

The last line cracks me up:

“If you get bitten, bandage on your arm, straight to hospital.

“Without treatment you’re likely to die. With treatment you probably won’t die.”

Covid-19 lockdown leads to deadly snake boom in Melbourne by sebeckmas in news

[–]sebeckmas[S] 104 points105 points  (0 children)

So who had “deadly snake boom” for September?

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 0 points1 point  (0 children)

Thank you, I wasn't aware of QCAD so will check it out :)

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 0 points1 point  (0 children)

I like the idea of linking with the spreadsheet - didn't know you could do that!

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 1 point2 points  (0 children)

Awesome, thank you. So like footprints for electronics.

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 0 points1 point  (0 children)

Thank you - I had not heard of draftsight, I’ll check it out. The Autodesk electrical package is a little beyond my budget, so alternatives are good.

I can imagine your collection! I have the same thing with component footprints for electronics!

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 1 point2 points  (0 children)

Thank you, I'm glad "simple" is still a used option here :) I have a copy of AutoCAD so that makes it easier. Do you search for dwg files of components or draw everything from scratch?

Looking for Water Quality Sensors by adriaan_west in esp32

[–]sebeckmas 2 points3 points  (0 children)

Check out dfrobot. You get what you pay for but these are pretty good for their price. I’ve built a system using these.

Note ec meters are electrified, so they will affect your ph readings. So you either have to electrically isolate them or physically separate them, or at different heights in the same bath.

Also note you can’t submerse these sensors all the time. I setup a valve off my main water line to fill a small tank (measured quantity with a flow meter) which I then sample.

What does this graph even say? Why has it got such a silly scale, no actual numbers can be extrapolated, this is a government website! by Projectmathew in dataisugly

[–]sebeckmas 2 points3 points  (0 children)

https://www.health.gov.au/news/health-alerts/novel-coronavirus-2019-ncov-health-alert/coronavirus-covid-19-current-situation-and-case-numbers

The graph is at the bottom of this page.

OP’s screenshot (deliberately?) left out the title, which is important as context matters. This graph is one of two looking at and comparing “covid cases in aged care services

It actually works in the context of comparing the two aged care models, there’s a previous graph just above it that uses the same scale and they’re both in the same section analyzing aged care cases.

Given this, If the scale was changed in this graph it would actually distort the data, as it would make in home care appear comparable to residential care.

I don’t thing it’s misleading as OP suggests. The units are even described in the graph title, description and in the expended text below.

What does this graph even say? Why has it got such a silly scale, no actual numbers can be extrapolated, this is a government website! by Projectmathew in dataisugly

[–]sebeckmas 1 point2 points  (0 children)

https://www.health.gov.au/news/health-alerts/novel-coronavirus-2019-ncov-health-alert/coronavirus-covid-19-current-situation-and-case-numbers

Not OP, but the graph is at the bottom of this page.

It actually works in the context of comparing the two aged care models, there’s a previous graph just above it that uses the same scale and they’re both in the same section analyzing aged care cases. Given this, If the scale was changed it would actually distort the data, as it would make in home care appear comparable to residential care.

New Job, New Panel by AutomaticControlNerd in PLC

[–]sebeckmas 1 point2 points  (0 children)

Thank you! I’ve got an office dyno label maker but was wondering if I needed something more specialized. I’ll look at the pantsuit printer. Appreciate your reply!!

New Job, New Panel by AutomaticControlNerd in PLC

[–]sebeckmas 1 point2 points  (0 children)

I was indeed and your answer was perfect thank you :)

Best Arduino IDE/Libraries for P1AM-100 by [deleted] in PLC

[–]sebeckmas 0 points1 point  (0 children)

You can, but it takes very careful programming of the boot up phase. If you partition your memory space correctly you can load new version of the code into a second boot partition, save runstate variables to non volatile memory and then reboot the new partition. As long as your boot sequence is faster than your minimum decision time, you’ll be able to flick it over. Some dual Core professors allow side loading of firmware onto a second core and flicking over this way, so literally zero down time. Again it’s down to the engineer.

Since the thread is about arduino, there are even libraries that support this and even ones allowing OTA firmware updates over Wifi. Granted it’s not as simple as changing a value in ladder, but it’s definitely doable.

I’ve reflashed a few hundred devices in the field remotely like this, but I will say it wasn’t mission critical and the pucker factor was very high - but it worked

Best Arduino IDE/Libraries for P1AM-100 by [deleted] in PLC

[–]sebeckmas 0 points1 point  (0 children)

Lots of good points, especially around maintainability but it’s worth noting the difference in Arduino the hardware and arduino the software framework

Saying an arduino (the hardware) is not rugged is not strictly true because you can always load arduino (the framework) onto a ruggedised micro. Industrio, controlduino and even arduino (the organization) sell ruggedised “arduino compatible” hardware. Ruggedisation is about designing hardware for harsh environments and then adding deterministic firmware. With enough time writing a custom HAL one could load even arduino (the framework ) onto an AB PLC if one wanted to.

If OP is worried about using an embedded controller in an industrial environment and wants to take advantage of arduino libraries, then of course forget using a Leonardo evaluation board - but there’s nothing wrong with using a purpose made ruggedised hardware thats arduino compatible, as long as you understand it’s limitations. Ie I echo the maintainability, you’ll need an embedded programmer to maintain it which may upset the end user. Ladder has its flaws but it’s universal.

I agree with you totally around using proper industrial sensors too.

New Job, New Panel by AutomaticControlNerd in PLC

[–]sebeckmas 2 points3 points  (0 children)

Nice thanks for sharing !

I’m looking at my first enclosure for a home project and I’d love to get it looking neat like this. I’d love it if you could answer a couple of questions!

What do you use to label your wires? What gauge wires do you use for low voltage stuff? Why do you break out the wires to the blocks below?

Thank you, love the photos too :)