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 5 years ago.
Improve this question
Today I have found an "IR Extender Cable" in my TV's paper box. (Exactly This Guy)
Am I able to control this thing, via my Jack Plug?
I would like to write a script -if You guys can help me find a way-, to control my TV or whatever I want.
The fact that the interface happens to be a Jack is somewhat misleading. The Jack you see there is a mono jack but in reality is just a positive and negative hooked directly to an IR LED. The Internals of the TV are likely wiring female in series with the IR receiver circuit.
The fact that this uses the same plug as something that your computer also uses makes it a little misleading as the intended connection does not behave in the same way that a speaker jack would.
You may be able to control this from a Arduino or some other type of hardware where you are controlling the female end of the jack however. So that is a route you could pursue.
Related
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.
Improve this question
Is GPS data signed and timestamped by the satellite?
No, GPS is not signed. I think there may be in future some signed signals. Maybe it is used on military part of GPS.
GPS spoofing is a well know problem, and problems are usually "solved" in hardware. If signal strength on some satellites changes quickly: do no trust it. Multiple antenna (on extreme of lorry/ship) and comparing strength of signal helps. Some directional antenna helps to know that signal expected from a satellite come from where it is expected. And often some gyroscope, compass, or and tracking, to check plausibility of data.
Note: fishing boat uses it to decoy own position (in protected area/economic exclusive zones). They causes a lot of troubles to other ships and boats (and sometime to ground equipment).
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 5 years ago.
Improve this question
I have written a basic VB winform application (in visual studio) that control the lights. I published and create an install package so I can install this on other PCs.
My questions is how to sync these applications to communicate with one another so if I turn a light on, on one PC, other PC will sense that and display it on thier application.
I can use timer to see if there are any action every 15 second, but I don’t think this is efficient way.
Take a look at this question that involves sending information between computers over a network. You could have the program send what it did to the lights so that the other programs can update themselves.
I'd suggest you look at writing the status to a file accessible to all on the network, use the filewatcher class to detect changes to the file, and when the file changes read it from all PCs to see the current status of everything.
ref: https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(v=vs.110).aspx
another option would be to use UDP broadcasting
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 6 years ago.
Improve this question
I want to make my Atmega robot to operate multiple modes (line following, obstacle avoidance, direct guidance from PC ) How can I load these separated programs on flash and how to select one of them when restarting the robot?
The easiest way is to make one big program with all the functionality of all the modes. On startup, in main() check if certain buttons are pressed, then choose which mode you are going to operate in. Then only use the functions and control mechanisms for that mode from then on. The rest of the code just sits there unused, but it would anyway in any other scheme.
There isn't an easy way to break the code into several different complete programs. For example, the vector table is fixed to be where it is. You would have to have the interrupt handlers check to see which mode is active then call the appropriate function for that mode.
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 3 years ago.
Improve this question
I'd like to try and create a program playing a game. I.e. "a bot".
I want to be able to directly access the pixels on the screen. I.e. have my program "see" a game and then "make a move"(or at least draw a picture of what move it would make).
Both Windows and Linux advice is appreciated, though my guess is that it should be easier to do on Linux.
I'm guessing this could be done with some X/Gnome call?
I'm not afraid of C, even complex samples are welcome.
SDL is a cross-platform library that allows you to directly access framebuffer pixels. You can learn about accessing the pixels on screen through the pixel access example on the documentation wiki.
Generally speaking, bots don't see the game graphics but see the underlying data structure instead, unless you are trying to do something related to computer vision.
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 last year.
Improve this question
The .net compact framework on smartphones doesn't know the button component, the reasons are unknown to me. My question is: how do people usually get over this problem? I have know smartphone near me to check out, only a pda phone, which of course has touch screen and supports the button component.
What would you do ?
The lack of buttons is intentional as it violates Microsoft guidelines for smartphone platform. Instead you should use the menu, which for a thumb operated device is faster. It also helps to provide a common interface for all phone's applications.
If you need to have a button, you can easily create one of your own. see also this question.