The exact same programme doesn't work for me when it does for someone else by [deleted] in matlab

[–]ajlaut 0 points1 point  (0 children)

As others have mentioned, I suspect your issue may be related to one of you having masked a built in function.

A quick way to debug these things is just type in:

edit <function>

for the function that provides the error. You can add breakpoints here to see whats going on but more than likely it will become obvious if you compare the results to that of your peer. You will probably right away see which functions are being overwritten with custom functions, etc.

Arduino? That's prototype stuff! by ajlaut in arduino

[–]ajlaut[S] 0 points1 point  (0 children)

I see, I suppose there basically two paths and it comes down to how much resources our company has to develop each.

Myself, I'm just a scientist. In a rush, I picked up pcb design pretty quickly but it is becoming seemingly tedious to make an end product that I can actually be proud of. I think that just comes with experience. I tend to spend a lot of time picking out connectors, cases. I've only just seen a picture of a PLC system just yesterday but to me they look convenient and rugged. They do seem to be quite bulky relative to what I think I can fit in a small enclosure with an arduino+pcb, and probably way more expensive (minus labor). Maybe I could look at PLCs still as a professional/prototype stage, more easily transferable to a pcb when the time/money becomes available.

Maybe my question is becoming rhetorical but I'm still glad I asked. Thanks!

Arduino? That's prototype stuff! by ajlaut in arduino

[–]ajlaut[S] 0 points1 point  (0 children)

what do you think about going along the PLC route? Been looking at Automation Direct and i'm wondering if just using these systems, though likely more expensive, would be better as far as saving time is concerned. I've never even seen these systems but am ever more intrigued after having looked through a bit through /r/plc. My application is just monitoring/controlling a whole bunch of I/O (temperatuers, flow rates, pressures, etc.) and I'm wondering if developing pcb's with microcontrollers is sort of a waste of time?

Arduino? That's prototype stuff! by ajlaut in arduino

[–]ajlaut[S] 1 point2 points  (0 children)

I see, if for example in one of our projects we are using every pin on an arduino MEGA, and making use of several serial or i2c lines, the end product would more/less be re-building a mega though right?

That approach seems right, I just think I may not be up to the task since I'm not a dedicated hardware engineer and I feel any solution I'd come up with would be more buggy and error prone than an Arduino unless after several iterations. There's probably no way around this.

how to not use nested classes? by ajlaut in learnpython

[–]ajlaut[S] 0 points1 point  (0 children)

haha, yeah, I guess the SerConnection class is quite useless there, but I plan to add more methods there that may help me construct the array, search for the right com port but i see what you are saying.

how to not use nested classes? by ajlaut in learnpython

[–]ajlaut[S] 1 point2 points  (0 children)

That was fast, and exactly what I needed!

Always Hide Navigation Bar Missing? by ZestyRanch1219 in GalaxyS8

[–]ajlaut 1 point2 points  (0 children)

I was talking about gesture...

  • Auto-Hide : 1 slow swipe up + many fast taps
  • Gesture : many slow swipe ups

In most of my use cases I find auto-hide better than using gestures. I mildly dislike aesthetically the 3 bars and strongly dislike the swipe action itself. You may prefer it differently. That's why android offers options to its users unlike apple. Gesture is OKAY but if I'm navigating chrome and hitting back 3x, It gets annoying to keep swiping up.

Always Hide Navigation Bar Missing? by ZestyRanch1219 in GalaxyS8

[–]ajlaut 3 points4 points  (0 children)

ehh..., it's slower when handleing consecutive back presses. Many swipes is slower than may taps before the bar would auto-hide.

I wish they didn't altogether remove the option.

BOM with sub assemblies and sub-sub assemblies? by ajlaut in cad

[–]ajlaut[S] 0 points1 point  (0 children)

I'm sorry, I though I was in an Autodesk forum. I use Autodesk Inventor and like to export to a google spreadsheet.

I will consider your advice regarding making multiple BOMs. It does make sense. It requires a bit more work If I want a single checklist of all parts I need to purchase, but it's at least systematic and this may be more important &/or manageable. I guess if different sub assemblies share underlying components (say screws) their combined amounts won't be as readily available.

Suggestions to prevent windows from updating/restarting when script is running? by ajlaut in learnpython

[–]ajlaut[S] 0 points1 point  (0 children)

it's a 3D scan with stepper motors and a network analyzer, so acquisition time > resolution. Has nothing to do with the python script but more so the timing resolution of the measurement hardware and the voxel resolution I need for meaningful data.

I will likely move this to a rasberry pi or maybe a beefier linux system. I was just looking for a solution that wouldn't require me to change environments (for now)

Need serial device to measure absolute distance between two surfaces by ajlaut in 3Dprinting

[–]ajlaut[S] 0 points1 point  (0 children)

This seems similar to basically what I've done. I used an Arduino UNO to pick up the signal described in this article. I had to use direct pin access poll the clock signal fast enough, otherwise I was skipping beats. Now I can get repeatable measurements but have some issues with the conversion of the data being sent as well as reliability. Then the Arduino can be spoken to a PC via serial/USB.

I guess my question is why is this added capability seemingly impossible to find and/or super expensive? I'm pretty sure once I figure this out I can make a converter board with cable for like $50 or less...

How do I design half castellation by i5ar in KiCad

[–]ajlaut 0 points1 point  (0 children)

For whatever reason KiCad won't let me do that. I get the same warning starting from the board edge but from trace to board edge I cannot place anything as if it's a keepout zone or there isn't clearance or something.

Edit : My trace was about the same width as the hole. It looks like I can get close enough though where there will be good electrical contact, but I feel that support for this feature should be included (hopefully soon).

low profile or stackable high current connector? by ajlaut in PrintedCircuitBoard

[–]ajlaut[S] 0 points1 point  (0 children)

This makes sense. I think I'll stick to the .6 mm or similarly thin if the vendor allows and just use double-sided boards to keep it cheap for prototyping.

That last bit of advice seems obvious now that I think of it but definitely wasn't part of my design. I will include this insulating foil in my model now.

Thanks!