Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:31 30 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Quadrature multichannel decoder for PicoMite using PIO

     Page 4 of 4    
Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7642
Posted: 10:06am 29 May 2025
Copy link to clipboard 
Print this post

Circular buffer?

When we were working with PLCs the first rule was to run everything as slow as we needed to in able to see exactly what's happening. Timing isn't critical at that stage. You can take the delays out of it later. :)  No, things like displays may not work, but you'd see the bytes being sent to them even if they weren't connected.

At one point I had a PLC programmed to "look like" six diesel generator sets. The panel under test was wired back to that and you could simulate mains-failure starting, generator synchronising, breaker control and various engine faults. It was quite some thing!
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4941
Posted: 07:26pm 29 May 2025
Copy link to clipboard 
Print this post

Controlling 4 steppers real time: use arduino uno and grbl to drive the 4 SHerLine controllers.

That may not be top noch, but it does the real time stuff very reliable. And you simply send it coordinate strings. That would be my take on it.

If you send the coordinate strings from a pc (grbl player)  at start of tje project, or from a CMM2 ( write it yourself) is up to you.
The pico can be used as feedback reading encoders, and you can decide in your CMM2 program to use it or not.

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 4 of 4    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025