minnix

joined 1 year ago
MODERATOR OF
 

cross-posted from: https://lemmy.world/post/18094301

This is something that perplexed me a few years ago with Flash Forth on a PIC18/PIC24/Arduino Uno. I was using the Python serial emulator S-Term because it is simple in the source code and worked. I really wanted a way to load more structured Words into the FF dictionary with bookmarks in a way that made sense structurally. That lead to a desire to execute code from the uC on the host system, but I never wrapped my head around how to do this in practice.

As a random simple example, let's say I set up an interrupt based on the internal temperature sensor of the PIC18. Once triggered the uC must call a Python script on the host system and this script defines a new FF word on the uC by defining the Word in the interpreter.

How do you connect these dots to make this work at the simplest 'hello world' level? I tried modifying S-Term at one point, but I didn't get anywhere useful with my efforts.

[–] minnix@lemux.minnix.dev 3 points 10 months ago (1 children)

The two main sources I used for initial setup was the nextcloud tuning guide and Carsten Rieger's guides which are always changing, here is the current one (in German but easy to translate).

[–] minnix@lemux.minnix.dev 8 points 10 months ago (14 children)

Nextcloud is very quick IF you don't mind applying extensive PHP and web server optimizations. This takes time and may have to be redone after upgrades depending on what changes. This is why I don't really recommend it to those just looking to self host a simple file server.

[–] minnix@lemux.minnix.dev 4 points 10 months ago (1 children)

The only thing that really works for smells like this are O3 (ozone) generators. You can search online and find them. Smaller ones are relatively inexpensive.

[–] minnix@lemux.minnix.dev 1 points 10 months ago

Cross-posted here .

[–] minnix@lemux.minnix.dev 1 points 10 months ago

Yeah I like it

[–] minnix@lemux.minnix.dev 2 points 10 months ago (3 children)

Would be pretty tough to find an SBC with ECC at this price point.

[–] minnix@lemux.minnix.dev 1 points 10 months ago

I have seen YouTube vids in the past demoing $99 n100 mini PCs with 8GB of RAM. That would be your best bet to still have a modern low power processor in a small form factor. Also Cyber Monday is tomorrow. There's the Atomic Pi but that is only 2GB of RAM (I have one) and a dated Intel atom CPU.

[–] minnix@lemux.minnix.dev 4 points 10 months ago (2 children)

IMO LattePanda makes the best x86 SBC but they're not cheap. The V1 is the cheapest and still expensive but it comes with an Arduino coprocessor so you get the benefits of exposed GPIO and µC functions. To me that's the only bonus of a SBC over a standard mini PC besides a slight size difference. It's a function that I use a lot but some people don't and those I usually try to steer away from these kind of boards.

[–] minnix@lemux.minnix.dev 5 points 10 months ago (5 children)

I'd say unless you absolutely need n100 in this form factor, better to just get a mini PC.

[–] minnix@lemux.minnix.dev 2 points 11 months ago

I rarely use the manufacturer image. I'll either grab an Armbian spin or vanilla Debian aarch64 and build the device tree. I really like the layout and options on this board. If I was in the market for another SBC this would be tempting. But I also don't need video support or do anything GPU related. If you do, you may find boards like this to be lacking.

view more: ‹ prev next ›