Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 15:09 20 Apr 2024 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 : Multi-drop TTL

     Page 4 of 4    
Author Message
fred777
Regular Member

Joined: 01/07/2021
Location: United Kingdom
Posts: 57
Posted: 09:53am 24 Nov 2022
Copy link to clipboard 
Print this post

4 picomites and a propeller2 ????
Is that a cryptominig rig ?
Wow!
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 10:41am 24 Nov 2022
Copy link to clipboard 
Print this post

  fred777 said  4 picomites and a propeller2 ????
Is that a cryptominig rig ?
Wow!




It's a machine controller that's designed to be fixable by using readily-available, socketed components.

P2 handles the realtime motion-control and the PMs provide I/O expansion and also serve as user-programmable PLCs.

P2 has 2-Mikroe Click sockets and three of the PMs have a Click socket each.

I'm getting insane servo-PID performance from the P2; way beyond what the big guys boast about  

Industry is struggling due to parts shortages. No problems here  


Craig
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3496
Posted: 10:58am 24 Nov 2022
Copy link to clipboard 
Print this post

Are these the RP2040 femto modules ?
PicomiteVGA PETSCII ROBOTS
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 11:04am 24 Nov 2022
Copy link to clipboard 
Print this post

  Volhout said  Are these the RP2040 femto modules ?


Pimoroni PGA2040

All pins available  
 
fred777
Regular Member

Joined: 01/07/2021
Location: United Kingdom
Posts: 57
Posted: 09:44am 25 Nov 2022
Copy link to clipboard 
Print this post

How are you handling the communications on the picomite side? Do you use pio?
I’d really appreciate some insights as I need to replace a number of picaxe+propeller1 based setups soon.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 11:30am 25 Nov 2022
Copy link to clipboard 
Print this post

  fred777 said  How are you handling the communications on the picomite side? Do you use pio?
I’d really appreciate some insights as I need to replace a number of picaxe+propeller1 based setups soon.


Nothing special, just PMBasic.
Looks for a header (&HAA in my case) and then the assigned address. If the address matches then my "command", "control" and "data-bytes" are decoded if the checksum is good.

Each RP2040 (because this is not a PicoMite) has 12 DI and 12 DO.
When the Prop requests the state of the DI, a 3-byte + csum binary packet is formed and sent. This is nominally the low-priority I/O but even @57.6K Baud, the turnaround is < 1.5mS for all 12-bits.
I have a Prop2-cog dedicated to this scanning and it stores the values in global variables for use by other cogs. Soooo nice to not have "performance anxiety"  

I love the pulsed-output feature of PMBasic and so all the Prop needs to do is nominate the DO and the delay value.
It's also nice to have all these independent watchdogs    

Craig
 
fred777
Regular Member

Joined: 01/07/2021
Location: United Kingdom
Posts: 57
Posted: 04:44pm 25 Nov 2022
Copy link to clipboard 
Print this post

Great stuff! Using the RP2040 as an I/O expander, I like it and the they still are dead cheap      
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 05:06pm 25 Nov 2022
Copy link to clipboard 
Print this post

  fred777 said  Great stuff! Using the RP2040 as an I/O expander, I like it and the they still are dead cheap      


And available

Parallax show 12,500 P2s

Yup, I'm ready to dominate the controls industry  

Sheep can keep on waiting for their ARM processors.

I had a client go with the high end Omron motion controller....minimum 22 week delivery so now he's coming to me  


Craig
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3649
Posted: 05:34pm 25 Nov 2022
Copy link to clipboard 
Print this post

The Pico is ARM, isn't it?

John
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 06:29pm 25 Nov 2022
Copy link to clipboard 
Print this post

  JohnS said  The Pico is ARM, isn't it?

John


Sure, that "charity" has no problem with sourcing but everyone else is screwed.

If the 2040 became short, I'd go 100% Prop and have to live without a BASIC interpreter.

One of the guys on the Parallax forum got all excited when I mentioned the "open source" Picomite. Says the licence is still restrictive. Dunno.




Craig
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 1985
Posted: 07:05pm 25 Nov 2022
Copy link to clipboard 
Print this post

  Tinine said  Says the licence is still restrictive.


depends on your PoV

https://geoffg.net/OpenSource.html
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5705
Posted: 07:12pm 25 Nov 2022
Copy link to clipboard 
Print this post

It's hardly restrictive. It just wants the licensee to be honest and not attempt to steal the software.
Mick

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

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 07:17pm 25 Nov 2022
Copy link to clipboard 
Print this post

Hey Cap'n

Yeah I understand that some knobhead took MMBasic for his own and that ain't cool.

Everything at Parallax is open source, including the P1 chip itself so they see conditions as restrictions.

Man, just imagine a core interpreter controlling seven other processors that can handle a mix of Basic/C/Spin/PASM.

I personally don't care as long as some form of MMBasic device is readily available as a front end to the Propeller.  
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9052
Posted: 10:16pm 26 Nov 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  It's hardly restrictive. It just wants the licensee to be honest and not attempt to steal the software.


...and that is why those that don't like the MMBASIC license, don't like the MMBASIC license.
Anyone who complains about the MMBASIC license, has other agendas IMHO.
Give credit to Geoff Graham and Peter Mather, and you can use MMBASIC for anything you like.  And the code is free!  How is that restrictive?!(rhetorical)  Sigh....

But I digress, and I suppose it is best not to go down that open-source/closed-source spider burrow again - you tend to get eaten.
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 4 of 4    
Print this page


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

© JAQ Software 2024