Readit News logoReadit News
KANahas commented on Sol-Ark manufacturer reportedly disables all Deye inverters in the US   solarboi.com/2024/11/17/s... · Posted by u/walterbell
quintushoratius · a year ago
Two possibilities come to mind:

1. They're not properly licensed for other markets. Something equivalent to selling a radio transmitter in the US that's not registered with the FCC.

2. They price units outside of Asian markets much higher and don't want to allow/encourage arbitrage that they don't control.

This is definitely a case of "porqué no los dos" (or more).

KANahas · a year ago
From a link in the article:

> The contracts we sign with all dealers clearly stipulate that products that are not UL certified and listed by local power grid companies may not be sold or used in the United States, because the products do not meet US UL standards. If used in violation of this policy, the devices may pose significant-safety risks. To address this, Deye has built a verification mechanism into the devices. The pop-up alert is automatically triggered by the device’s authorization verification mechanism, rather than by any human intervention.

KANahas commented on Moving to a RTOS on the RP2040   blog.brixit.nl/moving-to-... · Posted by u/lupyuen
DannyBee · a year ago
I agree on both counts.

You can easily get locked in. For anyone else who is just sort of lurking (you already know what i'll say).

Codesys is basically the standard here, and the way to "avoid" lock in - it has the most hardware support, and lots of vendors use it under the covers. This gives you some standard. It supports IEC 61131-3, happy to export it as text or whatever, and i've actually moved code between implementations.

You can use Codesys Control RTE on anything that runs windows or linux to get soft-realtime support.

Twincat is similar (it was based on codesys at one point but no longer).

Integration is, as you say, a pain outside of industrial land.

But i will admit i am amazed that i have an entire CNC machine built out of ethercat servo drives, I/O, VFD, vacuum pump, pneumatic valve actuators, limit switches, etc. They all are from different manufacturers. But damned if it doesn't work perfectly, and i only have an ethernet cable running between 99% of things where it used to require a metric ton of cables and you were just flinging bits and analog current around between things. 6 If i bothered to update the spindle to ethercat, the only real physical I/O would be brake power relays (unavoidable) and emergency stop. I do have one modbus thing (dust control flow monitor) i use as well.

It also is pretty good at hiding complexity - I can link a variable to an I/O input or analog value or VFD status word, know that it will deterministically update. I can set up a structure of bits for each pneumatic valve and map it to the manufacturer's single I/O word and again, get deterministic two-way updating and not worry about it.

Now, can i get status out of this thing? Well, no, to your point, either something else needs to speak modbus, ethercat, profinet, ethernet/ip, pure digital i/o to it.

These days i could publish status to MQTT, but something like "expose an HTTP port that outputs a bunch of JSON" is totally uncommon, and will net you strange looks. It's like you are asking about cold fusion.

Don't even get started on controlling it from the other side through something like that.

But yeah, otherwise paying 500 bucks for a license to ladder program a PLC is not a pleasant thing.

KANahas · a year ago
As someone with some EtherCat and CNC experience, what’s your interface from gcode to your CNC? Have you written custom software or is there a EtherCat compatible gcode sender I’m unaware of?
KANahas commented on How iTunes Is Changing on PC   support.apple.com/guide/i... · Posted by u/akyuu
swasheck · 2 years ago
i wanted to love cider but it seemed like every other day i had to log back into the application and do the whole apple 2fa dance
KANahas · 2 years ago
They ground up rebuilt it a while back and it seems like they’ve fixed that issue.
KANahas commented on General purpose MCUs built in to LEDs emulate candle flicker   cpldcpu.wordpress.com/202... · Posted by u/pontifk8r
ChuckMcM · 2 years ago
I don't disagree at all, this analysis is spot on. The size of discretes on silicon has not shrunk nearly as much as it has for transistors. However, where I am coming from is that because the transistors have shrunk so dramatically it becomes possible to put an entire CPU in the "left over" space after you've placed the discretes.

There was a talk at either Hot Chips or ISSC in 2011? about a mixed mode chip where the die was 2/3rds analog parts and 1/3 digital part. Xilinx, the FPGA maker, came out with the "RF SOC" which has a "huge" analog section with multiple high speed ADCs and DACs and analog reference logic, plus and FPGA fabric, plus a quad-core AARch64 CPU. As I recall Cypress had something similar but the part family is escaping me at the moment.

But I am still looking for chip that integrates an SMPS so that they can run on a very wide range of voltages like the CD4000 series did (and still does). Combined with the ability to source 10's of milliamps like the ATMega and PIC chips did (and still do).

KANahas · 2 years ago
The Cypress part family you are likely thinking of is the PSoC line, it’s a MCU mixed with very configurable analog front end.
KANahas commented on TinySA – small spectrum analyzer and signal generator   tinysa.org/wiki/... · Posted by u/transpute
rkangel · 2 years ago
Similarly can anyone recommend an affordable oscilloscope? Ideally mixed signal and PC attached.

Picoscopes are great and very affordable on a work budget, but a bit much for my home budget particularly if you want a mixed signal one.

KANahas · 2 years ago
I’ve been very happy with my Siglent 4 channel/100 MHz scope (with logic analyzer but I don’t have the $200 pod so I don’t use that). The scope was about $400 and I find it worth the investment. It’s on the same level as the popular Rigol lines but I don’t like their UIs very much (too chinesium for me?).
KANahas commented on Human sperm cooperate on the competitive pathway to fertilization: study   nautil.us/what-you-dont-k... · Posted by u/dnetesn
_zoltan_ · 2 years ago
any specific recommendations that one could hook up to something to record the images/video?
KANahas · 2 years ago
From my research into microscopes for fine electronics work, the keyword you are looking for is “trinocular”. They have standard camera mounts built in and you can attach almost any camera via an adapter.
KANahas commented on Show HN: I made a game to improve my typing speed   keysmash.no... · Posted by u/olekenneth
KANahas · 2 years ago
Did anyone else play Mavis Beacon growing up? I recently got a mechanical keyboard and there’s an online version of Mavis Beacon that held up surprisingly well, and got me used to typing on the new layout.
KANahas commented on Firefox Sync actually works   howtogeek.com/the-best-re... · Posted by u/Vinnl
robinhood · 2 years ago
I have the exact opposite experience. I've been using FF for a very, very long time, and I have yet to encounter a site that doesn't work on it.

Also, what modern web APIs Firefox doesn't support?

KANahas · 2 years ago
The only roadblock I’ve found has been the webserial API, which enables users to flash ESP32/8266 or other devices from webpages. It’s super handy for flashing WLED or ESPHome to devices because you don’t have to install any extra software. As far as I know, it has been marked as a “wontfix” in the Firefox bugtracker as they consider it a harmful feature [0]

[0]: https://github.com/mozilla/standards-positions/issues/336

KANahas commented on 7 Months Inside an Online Scam Labor Camp   nytimes.com/interactive/2... · Posted by u/perihelions
xhkkffbf · 2 years ago
You realize that when you discourage people from subscribing, you're hurting one of the few forces for good in this story. The world needs a free and independent press-- one that's paid for by its readership. This kind of mindless piracy undermines it. In many places, the press is gone, bankrupt in part because of cheap, thoughtless piracy like this.

Grow up. Support a free and independent press now! Buy a subscription to one one like.

KANahas · 2 years ago
Honestly, I don’t consider this mindless piracy. It’s ridiculous how many links on HN are behind a paywall. I understand the press needs to be funded, but I do not regularly read NYTimes or the many other news sources locked behind a paywall. I click on interesting articles on HN typically. It would be burdensome to subscribe to each and every news site posted here.
KANahas commented on PysimpleGUI   github.com/PySimpleGUI/Py... · Posted by u/nothrowaways
bmitc · 2 years ago
What is the recommended modern way to write GUIs in Python? Assume I'm in Python 3.12 and have a Poetry project as my management solution and that I have general software and GUI experience. What do I use? My application might have lots of streaming data to be plotted, streaming images to be displayed, lots of buttons and other elements. Is it PyQt6 with PyQtGraph? I don't want it to look like a Python app.
KANahas · 2 years ago
Tkinter is fairly basic but feels very native on every platform I’ve tried, and it’s easy to use. There are lots of extensions available too. I just wrote a comment about it:

If you’re interested in Python desktop apps, check out TKinter. I have a piece of boilerplate code I typically start with [0], and within an hour I can have a finished piece of software that runs in the native windows manager on any OS with no libraries or frameworks to manage. It’s not the prettiest code but it’s very easy to write and I love how native it is.

[0]: https://gist.github.com/kylenahas/a07f2ce8ced689975eae56d6ea...

u/KANahas

KarmaCake day500March 22, 2018View Original