rs27 Show full post »
rs27
Hi @vorrias , with the frame for the case, I have to try a few things. One requirement was that the frames can be plugged on top of each other and that they snap and hold (Lego). For the test, I can first work with a low height, as this is faster and costs less filament.

For the battery, I have already seen ready-made solutions for the RAP Pi, maybe we can integrate them.

The height for the CPU module can also be designed as we need. The 29.6 mm came from the calculation with the 100 mm cube. But with 3D printing, the height can also be adapted to other requirements.
Quote 0 0
vorrias
OK @rs27 I got it. But still I want to see how you imagine to locate RASPI inside the box.
1 - Is the RASPI going to be plugged into some kind of motherboard and from that another 40pin connector plugs other boxes or,
2 - boxes are plugged in on the RASPI connector itself?
Approach #1 will give us some PCB  to put charging electronics to it (or some other interesting circuits)

For the battery we need access to 40pin RASPI connector some kind like the The Pi Juice Hat  design (battery can be the type I suggested though)
So I am waiting to see your approach in putting RASPI inside and connecting it with the next box. Then having a clear idea of your design I will make my move.
Meanwhile I am reading and searching for the best of our project.
Quote 0 0
rs27
Hi @vorrias ,
I have now created the RASPI frame. The RASPI is mounted on a motherboard. The 40-pin connector is then on the edge of the housing. The modules are then connected via the 40-pin connector. However, it is also possible to plug HAT modules directly onto the RASPI. So both variants are possible.

RPI Frame.jpg

The connection between the 40 pin connector from the RASPI to the 40 pin connector on the motherboard will look something like this.

Verbinder.jpg 
The hat modules can be attached to the RASPI. Additional frames can then be attached to the housing so that the housing can grow with the HAT modules. Such a module is shown in the following picture.
akku.jpg    
Quote 0 0
vorrias
Grate job @rs27. Take care of the SD loading door. The idea to use both ways HAT and M100 modules is fantastic. I am still waiting you to finish the RAS PI module + box concept with motherboard and connector to to get a better idea of the final first box. This one is very crucial for the rest of the project. After finishing that, we will take a brake to see if the design will work as expected with the rest of the modules + the expand-ability when people start making their own boards and plug them on M100
We will go on using the ready made modules (at least in our first version) as you did in the PS module . We can do the same with sensors, chargers, etc
we just make a motherboards and modules will piggy back. Many have these popular modules on their lab.
But lets finish the main M100 module first.
Take care
Quote 0 0
vorrias
Hi @rs27. Is it possible to send me a link to download the STEP file for the box. It does not matter if it is not finished yet. It is for experimental purposes to see it in Free-CAD together with the board I am building in KiCAD with STM32 or to put inside the RASPI board and see how it looks together in 3D. Thanks
Quote 0 0
rs27
Hi @vorrias ,
I am happy to provide the framework. You can then print it out on the 3D printer and view it in real. I saved the file in the Dropbox folder.
https://www.dropbox.com/s/14gl1azo3tu9629/m10%20master%20Frame%20v8.stl?dl=0
Quote 0 0
rs27
The position for the BUS connector is then important. The center of the plug must be in the 45.5 / 5.08 mm position.
BUS Stecker.jpg 
Quote 0 0
vorrias
Thanks rs27 but :
1 - I need the step file of that. I do not actually want to print it but to combine the step file with the PCB inside KiCAD and see it in 3
2 - Except this frame you also have and the one that houses the RASPI. So this STEP file as well.

It does not mater if not ready. Just to make  a first impression and be able to show you on the actual 3D what I imagine.
Thank you and I took your notice on the40pin connector and keep on...
Quote 0 0
rs27
Hi @vorrias ,
here the two STEP files.
https://www.dropbox.com/s/tkpfs0nkf4u2nzo/m10%20master%20Frame%20v8.step?dl=0
https://www.dropbox.com/s/i02ihb3ki0tx7om/m10%20RASPI%20Frame%20v6.step?dl=0
Quote 0 0
vorrias
Thanks @rs27 both files shown combined in FreeCAD. I can now experiment. On idea crossed my mind (in the process on designing water resistant sensors design for our activist group here to measure atmospheric pollution) is that we can make provisions to build some kind of groove around the 40pin connector door . Same thing for the top plastic. There O-RINGS can be placed and the construction can become water proof. II hope to be able to reproduce my idea into your box to see what i mean.
sensebox people (https://sensebox.de/en/) are doing something similar they use IP67 box for that purpose.
I thing with careful design that can be done without having extra cost for water proof boxes. These boxes cost more than the electronics
I was thinking an unattended M100 sensor cube with some STM32 inside or ESP32 using solar power and LORA-WAN .
I know may be it is too much but we are innovating here my friend @rs27!
Quote 0 0
rs27
Hi @vorrias ,  I have finished the first two EKs for the RASPI module so far. The 40-pin connector, I had to move the plug upwards to the box. Since the box can be rotated, this is not relevant at first. however, with the other circuit boards we have to pay attention to the 40-pin connector.
I have planned the housing so that we can plug the individual modules together. The structure would have to be different for an IP67 housing. To make it tight, seals would have to be installed under pressure. For starters, we should put IP67 on hold.
Even when building the RASPI module, there would still have been some opportunities for ideas. But I would rather just start and carry out possible optimizations in revisions.
Quote 0 0
vorrias
rs27 wrote:
Hi @vorrias ,  I have finished the first two EKs for the RASPI module so far. The 40-pin connector, I had to move the plug upwards to the box. Since the box can be rotated, this is not relevant at first. however, with the other circuit boards we have to pay attention to the 40-pin connector.

Hi @rs27 .I am not sure I can follow your thoughts. I must assembly everything inside FreeCAD to understand better your design and be able to make comments.
Definitely everything must fit together absolutely otherwise catastrophic events will happen.
I if you have any step file showing the 2 boxes with PCBs inside (Raspbery PI + motherboard) and I/O box + PCB it will be welcomed . It is the design I am trying to build inside KiCAD, FreeCAD
rs27 wrote:

I have planned the housing so that we can plug the individual modules together. The structure would have to be different for an IP67 housing. To make it tight, seals would have to be installed under pressure. For starters, we should put IP67 on hold.

I absolutely agree. We have time later on for revisions.
Quote 0 0
rs27
Hi @vorrias , I don't know enough about building the model in CAD. But I can introduce the individual boards which I have for the RASPI module. The first board is only for mounting the Raspberry Pi and the 40 pin. Bus connector (PASPI Motherboard). A board is attached to the RASPI, which currently only takes over the connection from the RASPI to the 40-pin bus vrom the RASPI Motherboard.

RASPI Motherboard.jpg 
Connector Board.jpg 

The boards which over the 40 pol. Bus can be grown down, we can call backend boards. Boards can also be attached to the top. These are the hat modules which I would call frontend boards.
The next board would be a backend board as a digital IO board which is controlled via the I2C bus.
I would also like to provide a CAN bus with the STM32F103 as another backend interface. The bus is powerful in terms of communication, requires little hardware and the software requirements are relatively simple.
Quote 0 0
vorrias
rs27 wrote:
Hi @vorrias , I don't know enough about building the model in CAD. But I can introduce the individual boards which I have for the RASPI module. The first board is only for mounting the Raspberry Pi and the 40 pin. Bus connector (PASPI Motherboard). A board is attached to the RASPI, which currently only takes over the connection from the RASPI to the 40-pin bus vrom the RASPI Motherboard.

Hi @rs27 . I also don't' know much about 3D design . I am Automation and Electronics engineer but I am trying hard in FreeCAD. Also KiCAD helps me a lot because after having the PCB inside KiCAD makes 3D presentation automatically.
So now I am starting to realize your concept. If I understand correctly the first board we call it RASPI MOTHERBOARD. OK I would also like to know the exact type of connector you are planing to use (provide me the exact type please) .connector type? Iike this one? 40pin female long pins_s.jpg  So every module will have one of this to interconnect each other?
If yes lets call it BACK-PLANE BUS CONNECTOR and has the exact pin-out as the RASPI connector.

Then you provide me the second board with CON1 (RASP plugs there) and CON2 .
This board goes on top of the RASPI ?
Can you provide me the CON1 type of connector or is the same type as BACK-PLANE BUS CONNECTOR?
I imagine CON2 is BACK-PLANE BUS CONNECTOR . Or NOT?
 So RAS-PI is sandwich between the two boards.
rs27 wrote:

The boards which over the 40 pol. Bus can be grown down, we can call backend boards. Boards can also be attached to the top. These are the hat modules which I would call frontend boards.

Now I lost it. Are BACK-END BOARDS running the complete RAS-PI bus?
FROND-END boards (HATs) How can we plug the? the FROND END BUS will be able to go out of the box?
It looks to me that we are having different type of pinout buses?
If the buses are the same every BACKEND board can be considered as "HAT" because it will share the same RASPI bus.
QUOTE username=rs27 userid=6792362 postid=1310675450]
The next board would be a backend board as a digital IO board which is controlled via the I2C bus.

So that board will be 90x90mm and will have the BACK-PLANE BUS CONNECTOR as the first board in your post?
QUOTE username=rs27 userid=6792362 postid=1310675450]
I would also like to provide a CAN bus with the STM32F103 as another back-end interface. The bus is powerful in terms of communication, requires little hardware and the software requirements are relatively simple.
As I mentioned before I already started the construction of a board like that with CAN bus, Bluepill, plus analog IN/OUT and more.

zero-arduino_s.jpg The 40pin connector is position for the ZERO-PI board.  We can continue that design and adapt it to our M100 ecosystem. That was actually designed to be as HAT to ZERO-PI. See pdf the complete circuit . With some copy and past that can be a M100 STM32 HAT board (ore ever to power the complete I/O board without the use of RAS-PI. So a powerful and very cheep PLC system cam be achieved.
As I said before I have same pin-out board as blue-pill but instead of STM32F103 has STM32F401 ARM® 32-bit Cortex. More power!
Quote 0 0
rs27
Hi @vorrias , 

For a better understanding I created a 3D model. The back-plane bus connector is correctly shown in the picture. The pins can be seen in the housing above.
RASPI 3d.jpg 

I would also use the 40-pin connector shown to connect the Raspbery Pi to the back plane bus connector. The RASPI is then a sandwich between the two boards.

The circuit boards have a size of 91x91 mm. There is a distance of 0.5mm between the housing and the circuit board.

Since we have a relatively large case, I find the RASPI 3 or RASPI 4 is better for getting started.

Quote 0 0