Sounding Rocket Service Module Simulator

Oh ok that was great. they did address this issue with the newer bios.
If only you can flash the bios externally … nah, can’t be bothered with an entire kit of ICSP programmer and clips.

2 Likes

Oh, I would be so into this kind of hack. Actually I got a clip for SOIC-8 chips (used them for programming ATTiny 85), but this would not find and I did not yet get an ICSP programmer (but might be able to bit bang something out of some of the dev boards I got laying around here). Sadly I had to return the defunct board and with that I cannot say if this really was just an old bios or other issue. The board arrived yesterday at their location (UPS tracking). However, I am really glad to be able to make progress now :slight_smile:

1 Like

why don’t you buy a battery, then “hack” it to take external power and have it report infinite juice so you don’t need a charger?
It couldn’t be that difficult. You could probably get a (extremely cheap) microcontroller to pretend it’s the battery IC and report all the metrics. Figuring out the comm protocol (e.g. the data request etc) is the more costly part.
Worst case you end up with 4 quality li-po cells to be repurposed
Not identical to a charger solution, tho.

1 Like

So, after I got the working board I get some generic USB C “all in one” no name breakouts / docks to get the signals out. I am brain storming on all the parts I need, which means a lot of time consuming browsing on the “usual suspects” in regards of websites. Currently I bought a lot of nice momentary push buttons and a big emergency cut off (this will not be in line for the motherboard, just for the power going to be feed to the payload :wink: ).

Also I was thinking about the kind of water tight case I want to build everything into and might have identified a possible case - however, this one will come last. I frist want to get all other parts, losely assemble and see if I can squeeze anything into the needed space. Yeah, space will be a premium and people with more lu… tim… experience in CAD might draw this all beforehand… I have a more… practical approach to those things :D.

Regarding of seeing things: Monitor. Important. Should be high resolution. I actually wanted a touch screen, but might choose other possibilities. The guides here in forum ( Unofficial Guide to Aftermarket LCD Replacement , HDMI controller board for display panel , Matte screen please! :) ) hyped me up to get the panel and go that route - so I will see if I ever come to adding a generic touch panel with 13.5 inch above it - but @nrp @John_Perez and @Matt_Harris have already been incredible helpful with documenting their works, so its just awesome to tap into all these resources - thanks a million guys! :slight_smile:

2 Likes

funny story, I actually (also) powered the first board via the battery connector from a bench power supply to see whether this would work (using the correct voltage range of the battery etc). And I also saw some current flow of up to 1 A. However, as you correctly state, most of the batteries have some sort (I think its talking via I2C) controller to report the state - and make the motherboard not charge or consume power if something is off (… like no controller there, answering or the controller blown to pieces… - and thats a highly valued security element, we don’t want to throw another Samsung-Note-Burning-On-An-Airplane-Party here…). So while it was drawing some current, it quickly ceased and the board never powered up. Would have needed - as you said - to reverse engineer the battery circuit for that and the protocol to be able to fake it. But it would be much more useful to get a real framework battery before, some spare battery connectors (male and female, to build myself a “sniffer”) and then attach a logic analyser. If I had the battery and needed connectors I might take a swing at it, but I have not.

But yes, this would also be the required pre-work to give the Framework Laptop a second voltage feed / UPS option and the possibility of adding own, big block battery banks to the laptop.

2 Likes

Successfully hacking the battery to allow a larger battery to be used is something I’m going to need to get working for my Ruggedized Framework
If anyone has any info on how to do it that would be great, not looking forward to trying to reverse engineer it, since ensuring you’ve got everything perfect so that it will be robust is really difficult if just sniffing the signals.

1 Like

@Zachariah_Mears to be able to fit a new battery / bigger battery pack to the system you will have to understand the protocol and working perfectly. Reason is, a bigger battery pack will need more cells, so you will need to have different kinds of balancer and other circuitry. And Framework motherboard does completely rely on correct information from the chip within the battery, otherwise you run the risk of overcharging the battery or running it too low, which are both suboptimal states for LiI-Ion / could result into a really dangerous situation. So my personal opinion is, that there is no way around it, if you really want to use the battery port for that. Also you will need to find out how much charge current the motherboard can deliever, so that you don’t end up with a battery that big that you won’t be able to charge it in reasonable time (or provide external charging capabilities to the battery).

However, Framework gives you much headroom, I think I read somewhere that you can attach multiple power sources to the USB-C and the Motherboard will use the strongest one (needs to be checked again :)). If this were the case, it would be interesting to see wheter you can hotswap from one power supply to another. Meaning you could also swap from one USB-C battery bank to another (which you could built yourself with some normal available balancer circuits and its own Battery Management Unit, which are available from the shelf). Drawback would be that you would need to attach it via USB-C (if you don’t hack the motherboard with another power in) - and you would need to charge it externally. But capacity wise you could go wherever you want, you could choose your cell layout and chemistry as you would please and hence also have all possibilities of fast charging etc - without any risks. So this would be something I would lean towards :slight_smile:

1 Like

I’ll try and discuss it more in my own topic, sorry for derailing yours. but we’d forgotten that all the embedded controller firmware is open source :slight_smile: a brief look found a lot of the battery parameters and it looks like the SMBus, and the Smart Battery System standards are publicly available, so we might go ahead with building our own battery pack that works with the built in connector as it looks very feasible.

1 Like

Perfect, that sounds good @Zachariah_Mears :)! I think I need to look at this myself, I have not stumbled across those :slight_smile:

1 Like

I believe the current battery is a 3-cell. Or a 4-cell.
You can simply rip out the original small cells and replace them with Big Chungus ones and wire them back in.
You CAN link cells parallel to provide more capacity, HOWEVER I extremely strongly recommend not to do so. There can be stray currents between the two batteries which can lead to dangerous situations.

:warning: :warning:Internal battery cells do not contain protection circuit and are highly explosive. :warning: :warning:
Do not overcharge, overdischarge, overcurrent, short circuit, over temp, puncture, deform or reverse polarity. Proceed with extra caution and always isolate battery leads until ready to connect.

Even though I personally had a few sparks when working around with batteries and seem to get away fine. Always assume that any short/sparking will cause the battery to explode. Observe suspecious batteries in a dry area for at least 30 minute.

So re-use the battery balancing/management board that Framework come with. It might freak out because the capacity is much greater than the capacity set by the factory, but I believe it should be able to figure it out, since it gauges with the battery voltage.

2 Likes

So, I finally figured out a way to update the BIOS without having a battery (and documented it in my guide: Getting started guide with a bare motherboard) - so I have been updating from 3.07 to 3.10 and happy with that :slight_smile: .

Also - I am not a “fidget spinner” person - however, the new switches have arrived and they are very clicky - love those: https://twitter.com/nmaas87/status/1551148079105064960 (Video here :slight_smile: )

2 Likes

I finally also got my panel and controller ( thanks to the HDMI controller board for display panel thread ) and wanted to build the very fragile panel into a more rigid form.

I started by getting out an old piece of “wood” (it is some protective material used for transporting PCB stencils - basically scrap, so I decided to use it, as it is lightweight and still reasonable solid for a first try). I marked down the outlines, cut out the display connector area and started gluing down everything with tape for a quick test

Next day, I thought “what about 3D printing some clamps?”. The panel is about 2.2 mm thick and has a “clearance” of about 2.5+ mm (the area from the edge of the panel until the screen really starts / picture is shown / the area you don’t want to be hidden by some mechanism). So designed 4 clamps, which can be printed upside down with support and 30% infill and can be fixed down with M3 screws (the hole is tighter, so that you can decide yourself if you will widden it with a drillbit and use some counter screw or just screw into the material - which will not be good for longterm use, but its an option) - I attach the STL at the end :slight_smile:

Attaching the controller a bit hidden so that the displayport connector will still fit on the backside / does not stick out. And yeah, I could shorten the screws …

Monitor is working great!

STL file for the 4 clamps, pre-arrenged:
Display Clamp 4x.stl (22.0 KB)

3 Likes

some of those switches are just like, so satisfying.
make you want to build a box just to have them so you can just click them around.
I salvaged a few C&K rocker switches the other day. Those are fantastic as well.

1 Like

I finally got further with the project. I currently built nearly all necessary hardware into a water tight case, including power supplies and support equipment. The case has a top and bottom plate made out of 2 mm thick aluminium. The top plate holds the display, controller and motherboard (which is mounted on the basic 3D tray available from Frameworks Github repo).

Front:

Back:

To control the motherboard / allow for power on from the main control panel, I soldered two wires to the foil switch. I also an additional switch mounted on the bottom panel and can switch on / off the motherboard without needing to reach into the case.

03_motherboardPowerOn

Also I wanted to be able to switch on / off the screen independently, so I added the needed wiring to the controller boards “OK” button and extended it with another microswitch which I can now reach in built-in configuration. Very handy if the overall board is used in headless mode.

It would have been really useful if there were any replacement monitor cabling available to directly attach the display to the motherboard without the need for an external controller, but maybe Framework is fixing this some when - replacements for such fragile cables should be always available, especially if they have custom pinouts (which they have) and will help to give Framework laptops better repair-ability :slight_smile:

3 Likes

This is coming out super nicely! :orange_heart:

4 Likes

It already looks so good! Seems you’ve found quite the cool case to fit everything in. :sunglasses:

1 Like

Thank you @FrameworkBee and @Cheese :slight_smile:

Its a HMF case, but basically a lot of companies are doing look-a-like products similar to a bird named case manufacturing company - with similar specs but more affordable pricing. As everything is mounted internally without any drilling or mounting holes using glue out of car manufacturing process the case is still water- and somewhat pressure tight which was important to me :slight_smile:

2 Likes

And another update - some days ago I finally finished most of the simulator. There are still some rough edges in the firmware of the simulator board to be smoothed out - as well as an additional auxiliary board to be build. But a lot of the intended functionality (and more) is already working - and I must admit that I never thought it would turn out that well. Everything fits snuggly in the case, the overall system weights just in less than 8 kg and can be easily carried - including the keyboard. Just open the case, plug in the power plug and use the system :slight_smile: - it also doubles as a mobile command center. So it cannot “only” simulate a service module, it can also be directly used to patch into a ground stations egse and command an experiment on the rocket, basically a ground segment in a case.

As said, I will need to polish some aspects of the system (which will take some time) and include it in a paper I am currently writing. Until this has been published I cannot say much more - but I will leave you with a picture of the system :). Thanks already a million for all your support and read you soon :)!

3 Likes

That’s beautiful! It looks amazing~ :orange_heart:

3 Likes

Thank you very much @Cheese - it was a real pleasure to build this with Framework - the computing power I now have in a small form factor is just astonishing and Frameworks open design and commitment to USB C made it so much easier. Thanks a lot also to @Azure @nrp and @Bee / @FrameworkBee - I am looking forward to getting the paper published and be able to show more of the system (also some videos of it in action :slight_smile: )- and whenever you got some new creators challenge - I am more than happy to build more stuff, we always got need for more custom built tools from such awesome components like Framework! Thanks a million :)!

3 Likes