Mulbin

Custom hardware / simpit repository. For people who take KSP a little too far.

Recommended Posts

Posted (edited)

Logic Analyzers are awesome! I tried to troubleshoot my code for several hours, now my LA arrived and I fixed it in 2 minutes, I typed in the wrong value in the check for the first Bit (at the beginning of the message a 15ms long HIGH is sent and on the receiver side the controller checks for every high it gets if it is longer than 12ms and if it is, it thinks thats the start of the message. I typed in 1,2ms by accident and saw it immediately with the LA!

 

@richfiles I would love to get a tape but shipping to Germany would be more expensive than hiring an artist to draw it by hand I assume.

If it is ok with being folded you could put it in a letter...

What does 1 tape cost without any shipping?

Edited by Pvt. KASA

Share this post


Link to post
Share on other sites
16 hours ago, Pvt. KASA said:

Logic Analyzers are awesome! ...
 would love to get a tape but shipping to Germany ... What does 1 tape cost without any shipping?

I have an old Gould Biomation Logic analyzer that I've always wondered if I could ever repair. It's ANCIENT... Maybe late 1970s or VERY early 80s. It has a CRT screen... The catch... It's mostly built using small scale logic, early memory chips, ECL (emitter coupled logic) gates... Really old stuff! The thing is just HUGE! :D I got it for free ages ago, and ultimately, I've decided my next oscilloscope MUST be a mixed signal oscilloscope, with a logic analyzer function built in. A modern analyzer would be more useful, both function wise, and for not taking half my workbench. For me, I'd want to be able to use it to analyze pulse propagation in the neural networks for my robots, in relation to motor drive outputs. Also probably Arduino stuff... :wink:

Regarding the tape, I don't yet know what the costs will be. My tape meter will be 3 feet long (just short of 1 meter), simply because that's how long my tape is. Truth is, if i wanted to work with other materials, i might have simply done a much longer meter, with even more divisions. Since my meter is a fixed length loop, I had to work within the available space.

At the very least, I'll share my experience with having the tape made. If the price comes back as being quite reasonable though, I don't think shipping will be an issue. A first class package under 8 ounces can ship from US to Germany for around $14. Those flat rate boxes are way overpriced.

Share this post


Link to post
Share on other sites

How would you want to repair a logic analyzer without an logic analyzer? :D

 

I think 1 Meter is ok, a bit longer may be better but if 1 meter is the max. length its ok. How do you do the layout? I found DraftCad, do you have an alternative?

Share this post


Link to post
Share on other sites

Hello. Thinking about building an arduino-based simpit. Just a question - is it more advantageous to have the Mega or the Due? I'm not really sure whether speed will matter in this case, or whether it is better to have the extra analog ports of the mega.

(And if it matters, I do already have some experience in coding, electronics, and light carpentry. Not necessarily to the point of the stuff already here, but some)

Share this post


Link to post
Share on other sites
Posted (edited)
On 5/26/2017 at 0:47 PM, Pvt. KASA said:

How would you want to repair a logic analyzer without an logic analyzer? :D

I think 1 Meter is ok, a bit longer may be better but if 1 meter is the max. length its ok. How do you do the layout? I found DraftCad, do you have an alternative?

It's been a long time since I looked at it... Might just be a power supply issue. It uses ECL chips (Emitter Coupled Logic) rather than the typical TTL or CMOS versions, as ECL comprised some of the fastest chip speeds until CMOS overtook it int he early 1990s. Problem is, it's kinda power hungry, so it has a big beefy 400 or 500 watt power supply. If it's just a power issue, then it's an easy fix... I just never got around to bothering to look. I THINK it's A Gould Biomation K100-D... But I'd have to runout to my storage unit to see. I think it had 16 lower speed 20 MHz probe channels, and 16 active probe channels, good for up to 100 MHz (though it only has a memory of 1024 words). Looking at the manuals online, I'm seeing dates of 1980 and 1981... Definitely not bad speeds for that era! These days, that's nothing. Basic entry level stuff. The main issue is the SIZE! It's HUGE! 19.5 kg/43 pounds, 22x45x55 cm (9x18x19 inches). It's a bench beast!

I also have the service manual for it... So I probably COULD actually pinpoint a fault in the unit if I really wanted to. I just haven't had the desire to go digging.

As for the tape length, 1 meter is the limit for my specific tape meter, because it's in a continuous loop. A reel to reel style tape meter could be made longer than a meter, if desired. It would only require a different scale. As for format... I don't know yet. The shop knows this is a one off, low priority job that'll only net a small fraction of a fee, compared to large batch orders. They've been too busy lately. I asked what format i could submit a file in though, so if it's something I can work in, I might do the layout myself... Honestly, I was probably gonna work in a large high res image format, if they can accept that. Unless they say otherwise, that's all I can think of. As for the design, it's a bit inconvenient, as it requires each printing to cure, as the tape has to be rotated around to expose the next blank section, while the previously printed section faces down then. My particular design will take three separate printings, so it's a really unusual print job.

Edited by richfiles

Share this post


Link to post
Share on other sites
On 2017-5-27 at 10:37 AM, qzgy said:

Just a question - is it more advantageous to have the Mega or the Due? I'm not really sure whether speed will matter in this case, or whether it is better to have the extra analog ports of the mega.

One factor where the extra speed/power can come in handy is dealing with floating point numbers. Neither of those processors have an FPU, but the slower chip can really start to struggle if you're trying to do a lot with peripheral comms and shunting floats around. The biggest issue I've seen in the KSPSerialIO thread is with serial comms falling out of sync because the Arduino code is too busy dealing with floating point math to keep the serial buffer drained. 

Not an impossible situation to deal with (most of the time, just hacking the Arduino serial lib to give it a buffer to match the KSPSerialIO packet size is enough). But something to consider. 

Share this post


Link to post
Share on other sites

Depending on what you want to do you can handle a lot of calculations with simple fixed point arithmetics. Convert from float to integer, shift left ten bits (equivalent to multiplying with 1024) and you get approximately four decimals to work with, do your arithmetics, convert to a float and divide by 1024 and you get your result. You have to be aware of precision loss when multiplying and dividing to know how many decimals are actually valid in the end, but it makes a big difference in speed.

Share this post


Link to post
Share on other sites
On 12-5-2017 at 6:37 PM, Pvt. KASA said:

EDIT: It kinda works. Every 2nd transmission i get the right message but in the other messages I only get zeros for all bits.

Are your controller Arduinos powered off the 1-Wire? That could be messing things up, because it could send them into brownout detection mode if the message is too long.

You could get the power from the motor wires via a voltage regulator and use optocouplers on the Arduino's outputs.

Share this post


Link to post
Share on other sites

No, I wrote my own 1 Wire Protocoll. I just connected 2 Arduino powered by USB and connected them with a single wire. I now know (thanks to the Logic Analyzer) that the only problem is the inaccurate timing of the Arduino. I think I will change the protocol on the receiver side to not just read every 1ms but to check how long a pulse is and the time in ms is the number of bits that are high or low. If i do it like this the small inaccuracies will have no impact. I hope you understood what i mean...

Share this post


Link to post
Share on other sites
On 11/26/2016 at 5:44 PM, mountaineerman said:

Hello Mulbin, I have a contribution to make! Here is my little album: http://imgur.com/a/GFKPg

G1Oz0HN.jpg

 

Hi @Mulbin , I was just wondering if perhaps you missed my original message - would it be possible to add my Console to your collection?

Co7MuAR.jpg

Share this post


Link to post
Share on other sites
Posted (edited)

This is too awesome not to share! :D
I mean, come on... RIP JEB! How can you NOT want these keys:sticktongue:

Keylluminati_20170801160727.jpg?auto=for


I also ordered a set of planets, cause why not!

apollo-milkyway_20170721150504.jpg?auto=

I know they're almost done taking orders. I know I should have shared them earlier. I just forgot about it... Two weeks ago...  :/
So sorry guys! Still, I said screw it, and committed to buying them. LOL 

Edited by richfiles

Share this post


Link to post
Share on other sites

My first post. So please go easy on me :).

I've been working on component mockups. What you are about to see is ugly but my attempt to build flag indicators (barber poles). I would be interested if anyone else has tried these. 

X8nfoVm.jpg

It's just to test the concept. I have the workings of this here...flag indicator gallery.
With the right encouragement i might start my own thread on this project. Feed back is welcome always.

Simpit layout
Switches, electromagnetic indicators and flashing things
Apollo style (kind of) gauges

(this is fun though right?)

Edited by Hacourt

Share this post


Link to post
Share on other sites
2 hours ago, Hacourt said:

My first post. So please go easy on me :).
I've been working on component mockups.

That's great work for being mostly mockups! Nice job!

For the flag indicators, the drawing is... Are you showing two possible methods of actuation, or is there some mechanical magic I'm not grasping? One option, if you're going with a slide style mechanism, might be to thread a screw into the servo horn and use that screw as a "pin cam" to actuate. It's pretty simple and straight forward, and the benefit, is you can orient the servo endwise to the panel, instead of sideways. That'll let you mount the flag indicators closer together. The back of the moving part of the flag indicator needs a slot that the screw head fits into. As the hobby servo rotates, the screw can freely slide side to side, but slides the whole sliding assembly up and down.

peg_slot.png

In this example, rotation of the round part moves the slot left and right. With the servos in this configuration, the only limiting factors with packing flag indicators close together will be the width of the servo and the diameter of the servo horn.

Good luck on your build!

Edited by richfiles

Share this post


Link to post
Share on other sites

I've spent weeks ruminating on this flag indicator and i never thought of that solution. I went from convoluted servo arms with hinges and have settled on the simplest solution i could think of. This.......

Oh45dX1.jpg

You can see some of the ideas i had on this image. Although i haven't powered it, i have tested the rotating circle and it looks good. The other advantage to this (other than the simplicity) is the discs can actually overlap inside a housing. This means that i can stack the servos, close to each other. I have to figure out lighting but i don't think that will be too hard. 

This is the latest simpit mockup. Comments are needed at this stage.... :) 

Latest mockup

 

 

Share this post


Link to post
Share on other sites

This is made of awesome. I'm actually building something like this for my school science fair right now and I came here for inspiration, no disappointments, great work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now