electronics

How firmwares communicate to the electronic devices to perform its operations?

对着背影说爱祢 提交于 2019-12-08 14:09:04
问题 Almost all electronic devices comes with firmwares. I know it is stored in ROM (Read only memory) so it becomes non-volatile (no power source required to hold the contents from getting erased like RAM) What I want to know is "How firmwares communicate to the electronic devices to perform its operations?" Let say there is a small roller.. On press of a button, how it makes it to move? Can someone please explain what is residing behind, to make it happen.. I think it may require a little brief

Connecting I2C Device to Labview using NI-845x

混江龙づ霸主 提交于 2019-12-08 08:23:11
问题 I'm trying to connect a mass flow sensor, SFM-3000 by sensorion, to labview on PC using USB device, NI-8452, which provide I2C interface. I followed the user manual of the sensor and used I2C example by labview but I cannot establish communication between them I get the error message: Error -301744 occurred at NI-845x I2C Run Script.vi:6110001, Possible reason(s): NI-845x: The I2C master lost arbitration and failed to seize the bus during transmission of an address+direction byte. I'm using

Send TCP/IP message from PLC to PC using Ladder Program

痞子三分冷 提交于 2019-12-06 00:59:41
Consider the following Ladder Program that checks if a connection is enabled (A202.00) then send a message from the PLC to the PC. The documentation (Omron CX-Programmer) has a severe lack of explanation of the program convention. What I do not understand is: To send a message from a node to a node. I should need to specify the receiver ID. It seems the function block does not have an option where I can insert an IP address. Am I supposed to MOV an IP address to a DM address (D300) then use it? If that's the case how (IP address has dots in between 4 bytes..)? Can someone please explain what

Electronic cIrcuit diagram component connection algorithm [closed]

蓝咒 提交于 2019-12-04 04:25:32
I am creating a web-service which is aimed to simulate how do electronic circuits work. The project is not even in the Alpha stage yet. I am stuck with some important milestone of the project: when one tries to connect one component's pin to some other pin - the connection line should be built. First of all, the connection line was just a straight line, without almost any way to change it. Then it became somehow bended line with the possibility to add, move and delete points, which determined how the line is bended. And now it (connection line) is created using the A* algorithm. The

What's the best way to learn how to build circuits [closed]

大兔子大兔子 提交于 2019-12-03 02:52:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I've always wanted to have a better understanding of what is happening at the hardware level. As a practical level, anything after compile equals 'magic' and I'd like to remedy that. I'd like to investigate building circuits and then moving up to assembly programming on basic chip sets, both for my own sake and

What's the easiest, most practical way to toggle several lightbulbs with a PC? [closed]

我只是一个虾纸丫 提交于 2019-11-29 19:44:33
This question is mainly electronics related, but it also has a programming aspect. Some background on the problem We have a traffic light on a wall in our office. When people come in to the office, they can immediately tell from the traffic light whether last night's automatic build & test runs went smoothly: Green means all tests passed, yellow means some tests failed and red means some builds failed. Right now, there are three switches on three cables hanging from the traffic light and someone has to manually toggle these every morning. I'm looking for an easy way to automate this process

Meaning of “LSB/Unit” and “Unit/LSB”

天大地大妈咪最大 提交于 2019-11-29 06:16:42
问题 At the moment I'm playing with the LSM303DLHC accelerometer/magnetometer/thermometer. This is its datasheet: http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00027543.pdf Everything is working quite well, but I don't know how to interpret the output values. The datasheet (page 9) says something like "1 mg/LSB" (no, it's not milligramm :D) about the linear acceleration sensitivity in my configuration. What the hell should that mean? Same with temperature

Where and how does software meet hardware? [closed]

為{幸葍}努か 提交于 2019-11-28 15:33:58
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Where in a computer does the abstract (letters on the screen) meet the real (electrical current passing through circuits in memory and processors). How did that evolution happen? I'm talking deeper than assembler here, I think. Maybe a level deeper than processor instructions? At