Analog Electronics Mod By Shinevision
by shinevision
In this mod there will be tons of Analog items! Analog sensors: Accelerometer - Measures the velocity and outputs an analog value based on that. Potentiometer - A block where you can specify its analog output using a file in `Scrap Mechanic/Release/Potentiometer_Value.json`. Analog Logic like: OpAmps/comparators, Digital To Analog Converter, Analog To Digital Converter. //Coming Soon// Gyroscope --To measure angles (XYZ). Analog Signal to engines signal converter ///WARNING/// Connecting Analog stuff to engines will make them go SUPER FAST, even at low speeds, you have been warned ;) I guess that could also be a good thing/handy? Instructions for use: Digital To Analog Converter (DAC) This block takes the amount of inputs and divides that over 1024 (This mod's "Voltage" resolution). For example, if you connect 4 switches, and you turn on 2, the "Voltage" is 512 (1024 / 4 * 2 = 512) 4 = number of switches/logic connected, 2 = number of inputs on. Comparator This block has 2 Analog INPUTS, if the SECOND input "Voltage" is higher than the first input "Voltage" then it turns ON. (if you have a DAC that outputs 512 as the first input, then as the second input a DAC with the output of 1024 it will turn on because the second input's value is greater then the first input). Potentiometer To set the value go to: Scrap Mechanic/Release And open the file called Potentiometer_Value.json Open it and edit the value to whatever you want! Accelerometer (Velocity To Analog) This block converts velocity to an analog 1024 range. The number after the name means the sensitivity so for slow moving objects use the 50, for things that go super fast, use the 100. (There are 2 Accelerometer block. 50 and 100) Always ON/OFF Bit (FOR DAC) This block is always on/off, and is useful to set DACS to their correct value without being reset by a lift. Analog To Digital Converter
Comments
0 total- No comments yet. Be first.
