Spyke

Posts

bicycles·BicyclesbyTDSOJohn

Bike breaks problem

Hello everyone, I hope this is not the wrong place to ask. I’ve just changed my bike’s brakes (caliper type mechanism) because one of the two cable jackets did this (the black part correctly stops at the brake lever but the central part is smaller and is able to enter the brake lever). After changing to a new one at the front, I tensioned the back one and it broke the same way after a few tests. Am I doing everything wrong? (The bike is really old and rusty but seems to me I can only upload 1 pic per post)

Edit: link to some more photos

https://postimg.cc/gallery/pzDvqxK

View original on lemmy.world
askelectronics·Ask ElectronicsbyTDSOJohn

Problem with switching a laser driver

Hello everyone, We have a problem with a circuit we built. The circuit seems to work properly with a green laser diode (130mA, lower voltage). With the red laser (higher voltage) on the other hand, the circuit delivers only 60mA max of the 130mA it should be giving the laser.

The problem seems to be the transistor's resistance because it works properly if we bypass the transitor and give +5V to the LM317.

Is it this assumption correct?

We tried a few transistors (BC241, BC236, TIP41C and TIP41) but with no luck. Is there a way to find a drop-in replacement for the transistor? MOSFET seem to have lower resistance but require an external driver with Arduino.

We need to use the Arduino PWM with these drivers, so at least 980hz switching frequency is needed.

Thanks in advance

Link to the schematics

View original on lemmy.world
blender·BlenderbyTDSOJohn

Record expression values as keyframes

Good morning,

Hope this is not a stupid question, I am very new to Blender. So, my setup is:

  • 3d env built from iPad photogrammetry

  • we insert some lasers (a simple cylinder with emission node)

  • we control the lasers using QLC+ --> artnet --> BlenderDMX and a python expression that modulates the emission color for every laser from a separate dmx channel.

We would now love to be able to store the dmx animation directly in blender as keyframes in order to export the animation and put it back on the iPad for AR simulation. Is there any way to record the driver data in real time?

View original on lemmy.world
blender·BlenderbyTDSOJohn

Question about Blender properties

Hello everyone, I have a question about Blender properties. I'm reading BlenderDMX documentation and at page BlenderDMX docs paragraph "BlenderDMX DMX driver for Blender" it says that I can use DMX signals to control any Blender property. I also have modelled some lasers and would love to control some of the nodes' properties (Emission Color mostly) with DMX for a simulation. Does anyone know if that's possible and how to do it? A search for "blender properties" and "blender property keywords" gave me nothing.

View original on lemmy.world
processing·Processing IDE & CodingbyTDSOJohn

Best practice for multiple objects with the same PShape

Hi everyone, first of all I'm so happy to have found a Processing instance here on Lemmy!

I'm doing a Processing project where I have ~100 instances of people, all coming from the same 3d model. I'm currently storing all the PShapes inside a 1D array and doing all the drawing inside the draw() function. Now, I would love to put everything that concerns the person inside a class. If I create something like:

class Person {
    PShape person_obj  = loadShape("path/to/shape.obj");

    Person() {}
}

does Processing automatically load only a single model or do I have 100 models in RAM? If the answer is the latter, I tried changing PShape to a static variable but loadShape() is not static and everything results in an error.

Processing documentation about explicit simply says "yeah it's a java language feature, study it if you need it" which makes sense. So, I started looking for static usages in Java and tumbled upon this StackOverflow post, that basically says to use a context class with all the 3d objects I statically need and pass is to everything else that needs the 3d models.

(link: https://stackoverflow.com/questions/4969171/cannot-make-a-static-reference-to-the-non-static-method )

Does anyone know if it's the correct approach for Processing?

View original on lemmy.world

You reached the end