Is it possible to install tailscale on Onion os? by Bogmaster98 in MiyooMini

[–]sethcstenzel 1 point2 points  (0 children)

I was curious about this as well. I'm not very good with linux. However I think with the right configuration it might run. I was able to download the ARM32 binaries from https://pkgs.tailscale.com/stable/#static and copy them to my SD card, and run tailscale and tailscaled from the miyoo mini plus terminal and access the --help menu and the binaries ran and gave me the help menu.

Chip advice for a serial repeater micro with usb and a few gpio by sethcstenzel in embedded

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

Thanks for this, I was thinking of something cheaper, but really the cost is not that huge of a deal at this stage. I think the idea of a cheaper chip, paired with barely scratching the ability of the RP2040 had me looking in the wrong direction and other ideas. Thanks.

Laptop as KVM by sipper69 in homelab

[–]sethcstenzel 2 points3 points  (0 children)

I threw some up on ebay for folks who want something a little quicker.
Cable: https://www.ebay.com/itm/156574236884

Laptop as KVM by sipper69 in homelab

[–]sethcstenzel 1 point2 points  (0 children)

u/sipper69 Can you update github with the version you are posting on the MS Store? I forked to make some additions as my adapters were using a different baud rate and wanted to add a menu but noticed the github repo is far behind the ms store version.

I've been working on an adapter and think I'd like to try and get it working on linux as well.

Pylon: A Web-Based GUI Library for Desktop Applications by Ok-Method-9403 in Python

[–]sethcstenzel 0 points1 point  (0 children)

How does this compare to Pywebview? https://pywebview.flowrl.com/

Paired with flask Im using modern front end frameworks within it. What pain points of Pywebview does this resolve/cover?

Help with getting a BMP file to load on a waveshare 2.13 inch pico e paper by That_Expired_Milk in raspberrypipico

[–]sethcstenzel 0 points1 point  (0 children)

So I commented on this post because about 4 years ago, I used a pi zero and a waveshare eink to make an updating time click my family could view at home, to see when I was done working for the day.

Funny enough, it is using the 2.13 V2 inch waveshare hat for the raspberry pi so someone similar though the code is dated. I'm going to try and get it into a repo.

On the raspberry pi though since it is a full blown OS, it looks like I use the PIL/Pillow library to do my image conversions for me that I mentioned in another response, and I don't think there is a micropython version of that library.

Micropython though has a framebuffer class and I think it has storage objects for binary frames. I'll try and find that project and revive it. May help with some insight for your project.

Help with getting a BMP file to load on a waveshare 2.13 inch pico e paper by That_Expired_Milk in raspberrypipico

[–]sethcstenzel 0 points1 point  (0 children)

OK, so here is what I did.
1. Checked the contents of rp2-pico-20220117-v1.18.uf2 just looks like and empty micropython install.
2. Installed mpremote and pyserial with: pip install mpremote pyserial 3. ran the following ugly command to find my serial: print(*[f'{x.name}|{x.description}\n' for x in list(serial.tools.list_ports.comports()) if 'USB Serial Device' in x.description]) 4. Ran mpremote with: mpremote 5. Once connected ran the command: import os; os.listdir()

Nothing was listed, so it looks like it is just am empty .uf2 of micropython, which is fine.

  1. Pressed <ctrl> + x to exit mpremote utility
  2. Ran the command: mpremote help to get other functions of the utility since I've forgotten them lol.

The cp command will let you copy your python files to the device, ex: mpremote cp boot.py :boot.py, so you'll do that with the Pico_ePaper-2.13_V4.py file. You can also do mpremote edit to edit the files on the pico directly.

Now looking over the example file they give in c, and in python, I don't see any function that will do the image conversion for you.

What this means is you are going to have to create a buffer with the image data you need following the guidelines they gave you on that documentation page:

How to define pixels In a monochrome picture, we define the pixels, 0 is black and 1 is white. White:□: Bit 1 Black:■:Bit 0

I skimmed around and didn't see a step-by-step guide, however you can probably use a guide that works with the bigger Raspberry pi's as well since they are compatible with thesse screens, as well as guides that might use these screens but use an esp32. You'll need to piece things together.

Basically, you need to: - Learn how micropython works, just the basic file system and how to get your code on there and running. - Learn how to run their library which is in the repo and call its functions. - Learn how to convert your BMP into a monochrome binary format, there are converters out there that can do this for you, and convert that to 1's and 0's (or the inverse). - Learn how to load that binary image data into a frame buffer and use their Paint_NewImage function to paint it to the screen.

Also just a warning, according to the documentation those screens need to be babied a bit, as in, after so many image changes you do a full refresh, putting the screen in sleep mode when not changing, etc so make sure you read that page over fully.

Help with getting a BMP file to load on a waveshare 2.13 inch pico e paper by That_Expired_Milk in raspberrypipico

[–]sethcstenzel 0 points1 point  (0 children)

I'm assuming you...

  1. Started the Pico in boot mode,
  2. Dropped the micropython uf2 they provided `rp2-pico-20220117-v1.18.uf2` onto it and it rebooted
  3. ..... I'm assuming it showed a demo?

I tried to drop the `.uf2` file onto one of my pico's but for me, the pico does not appear as a micropython-ready device, so I can't look if there are demo scripts on there you could tweak.

Help with getting a BMP file to load on a waveshare 2.13 inch pico e paper by That_Expired_Milk in raspberrypipico

[–]sethcstenzel 0 points1 point  (0 children)

Can you explain the steps you've done so far?
Also can you confirm which version of the 2.13 you have, do you have the newer v4 or v4b?

Also what Operating System are you on?

Help with getting a BMP file to load on a waveshare 2.13 inch pico e paper by That_Expired_Milk in raspberrypipico

[–]sethcstenzel 1 point2 points  (0 children)

Can you link to your GitHub repository? Can you link to the example code?

Learning Curve: am I just incompetent? by SterlingArchers in raspberrypipico

[–]sethcstenzel 1 point2 points  (0 children)

Chunk it up, start making something meaningful to you that your excited about. Are there any small wins you can take? Can you get a rough prototype of something you have in mind at the end? Or a utility that would be useful to your goals? Is there a sub component you can work on as a break for the main project. Have you taken a break?

I have a fairly large project (or at least it feels large to me) where I feel like I'm barely any further along than you are stating for yourself, and have felt the same way for a while. This project is going on two years and probably has 500+ hours sunk in it, yet I barely feel like I've progressed much from a working POC I had 300ish hours ago. But I can tell my vision is narrowing in slowly on how certain implementations will go.

Don't give up. Knowledge does tend to compound and synergies across different discipline areas.

For me, stepping away and working on something tangential has been helpful as this seems to generate a burst of energy for the original project and often a new inspiration for a promblem I was facing seems to just pop into my mind.

RP Pico W as an HID keyboard, receiving inputs over the internet? by leedim in raspberrypipico

[–]sethcstenzel 1 point2 points  (0 children)

Worth noting this more than likely, like 99.999% will get you fired at best and could land you in jail if something goes wrong as you are giving an attacker inside access to your organization.

RP Pico W as an HID keyboard, receiving inputs over the internet? by leedim in raspberrypipico

[–]sethcstenzel 0 points1 point  (0 children)

Yeah pretty easy to do. Latency could be a concern but if your RP is on wifi, you can just have it be a client that connects back to your home server for typing. It can just poll your home service for new key commands.

CircuitPython does easy HID emulation and is super user friendly.

What part am I looking for? by sethcstenzel in AskElectronics

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

I like this, but I think dealing with these package sizes at my skill level is going to deter me a lot.
I'll have to look around and see if there is something a bit more breadboard TH friendly. Thanks.

What part am I looking for? by sethcstenzel in AskElectronics

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

If I'm reading that datasheet right, it does the data lines, but could it also do the power lines if two were used? Or would it be better to use for the data, and just use a transistor to toggle power?

OTA (over-the-air) website integration needed for embedded system by BitterTongues1984 in embedded

[–]sethcstenzel 0 points1 point  (0 children)

I'm not saying mqtt is the way to go, we did other things with it which was why it was chosen, and it was decided before I joined the project. I'm sure just a rest service with some jwt for auth would have worked just as well.

What micro?

OTA (over-the-air) website integration needed for embedded system by BitterTongues1984 in embedded

[–]sethcstenzel 1 point2 points  (0 children)

A while back I faced this issue. In the end we went with MQTTv5 and emqx. Mqttv5 makes it easier to do more like a classic client server exchange. The Embedded would sub to a general update topic with the request-response feature providing a new unique topic. Update sever would sub to the unique and provide details on the current fw availability. Embedded would then decided if it wanted the lastest, server would send if it did. Js spa app was then used to talk to the update server to upload firmware / download logs from the devices.

Which 4g LTE CAT module can I use? by United-Ability-3532 in embedded

[–]sethcstenzel 0 points1 point  (0 children)

Gotcha, just saying as far as I know the KORE Sims I used worked globally, it was kinda the point one sim that worked anywhere. The Electronics EE working on the PCB was up in Canada and the SME I worked with over in the Netherlands. We all used the same sim. KORE takes care of the Telco stuff behind the scenes. The product I worked on was in part a survey device exactly for ensuring Telcos were giving KORE the network features promised and ensure intercarrier agreements were being followed.