Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:20 14 Nov 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 : MX170 Slaves

Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 06:40am 15 Jul 2020
Copy link to clipboard 
Print this post

One of our esteemed members and I are working on a motherboard that features a "master" MX170 plus 3 "slave" MX170s via the I2C method, shown in the manual.

Just wondering if anyone has done something similar and are there any issues to be aware of, such as performance hits?

Is this slaving reliable?

Cheers!

Craig
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2971
Posted: 07:57am 15 Jul 2020
Copy link to clipboard 
Print this post

Hi Craig,

You aren't becoming a slave driver are you?

                   

Kind Regards

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
IanT

Senior Member

Joined: 29/11/2016
Location: United Kingdom
Posts: 115
Posted: 08:45am 15 Jul 2020
Copy link to clipboard 
Print this post

I'm sure they will soon have to be referred to as "Prime" and "Secondary" units - most especially on Campus!

However, I am certainly also interested in this topic, as I have a similar set-up in mind for an upcoming project, so any feedback would be good.

IanT
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 08:59am 15 Jul 2020
Copy link to clipboard 
Print this post

Hi Tinine

I have made an assembly with two slaves to make an TripMaster, calculating the engine speed, car's speed, the number of kilometers traveled, and some service info, for the first, and the GPS position as well as the clock for time calculation, for the second slave
The assembly was controlled by a master rpi.
I abandoned this type of product, because not fast enough (we are in basic interpreted), and finally an STM h7 is largely fast enough to do everything.
I also tried with an rpi under Pascal (lazarus), it was the most efficient, but unfortunately there is no clear monitoring of lazarus under Rpi
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 09:42am 15 Jul 2020
Copy link to clipboard 
Print this post

@bigmik and @IanT

Yeah, I was grinning when I typed that. Ask me if I give a s**t  

@goc30

With some of the things I want to achieve, yes, the speed is an issue (1KHz PID loop, reading a quadrature encoder via a LS7366R quad decoder)

However, I love the elegance of the simple MX170 and so, whilst I am settled on MMBasic for the master, I could always load up the slaves with Bypic. Bypic is still interactive but @40MHz, I have it running 400,000 lines/sec. I can also use a high-priority timer to provide a solid 1KHz interrupt.

There is another method-to-the-madness of multiple CPUs and if my partner-in-crime feels that this is an appropriate time to show a preview of the WIP, then it's cool by me  

Cheers!

Craig
 
zeitfest
Guru

Joined: 31/07/2019
Location: Australia
Posts: 621
Posted: 03:52pm 15 Jul 2020
Copy link to clipboard 
Print this post

Gosh ! Dorothy can't wait...
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2971
Posted: 05:38am 17 Jul 2020
Copy link to clipboard 
Print this post

Hi Craig, All,

  Tinine said  if my partner-in-crime feels that this is an appropriate time to show a preview of the WIP, then it's cool by me  
Craig


I wonder who that might be?      

I have little more than the base layout and a couple of 3D renderings to show..

Apart from the special sockets that mount on the underside of the board that accept pins inserted from the top side of the board.





The layout of the Pic's and other components shouldnt take too long once we have settled on a design that works.

Kind Regards

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 08:18am 17 Jul 2020
Copy link to clipboard 
Print this post

The idea is to end-up with a MMbasic controlled device that looks like a "bought one".

It's based on the Tibbo system and utilises the reasonably priced Tibbit Blocks

I am not impressed with Tibbo's own motherboard due to the fact that it's easy to run in to limitations when using their Online Configurator

Furthermore, their BASIC/C languages are compiled and don't even have a mS timer function. For control purposes, I rely on passive time delays.

The Tibbit blocks, on the CPU side can require SPI, I2C, serial or DIO. By having a MX170 slave serving every 4 of the module sockets, much more flexibility will be possible and of course, each MX170 can be programmed to suit and can feature local, autonomous procedures.

This particular motherboard has been designed to fit the Size 3 Project Box which even comes with really nice packaging (cardboard box).

All kinds of neat parts are available, including "light guides" to bring led illumination from the PCB to the left of the box lid. Also, Tibbit shells are available for our own custom modules.

Regards,

Craig
 
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