How to open a webpage from an arduino uno - ide

I was wondering if it's possible to open an internet browser from code in your arduino IDE or any other sort of program connected to the arduino and in turn open a specific webpage.
My idea was to have a button on my arduino uno, once pressed, it would open a browser and a webpage in that browser on my connected computer.
I don't mind if the answer involves code outside of the arduino but it would be great if someone has an idea about how to do this sort of thing.
I've done a lot of research and I couldn't find anything relating to the topic which surprises me a lot as this seems like a simple task, anyway any responses would be greatly appreciated!

There are several ways to open a web page with the help of arduino.
But all of them have on thing in common and that is:
1.You receive the data in your PC
2.You tell your PC if the desired data is received open a webpage.
The best way I can think of telling you pc to open a web page is through a programming language. This could be C#,Java,Processing or any other language that has a library that support to monitor the serial port.
After that all you have to do is to say with the help of programming language if this received then open web page..
Here ara two useful links that might be of help:
http://forum.arduino.cc/index.php?topic=138974.0
http://whichlight.com/blog/arduino-serial-out-to-browser/comment-page-1/

The cheap and easy way would be to make your Arduino appear as a USB keyboard and simulate the keypresses required. Of course, this is prone to breakage if the user is typing, not very cross-platform, etc. but it is fairly simple and doesn't require a program on the machine. I received a small USB dongle attached to an ad once that did this. They found a key combination that worked on both Windows and Ubuntu.

With an ASP.Net application you can easily do that,here is a a tutorial on this issue.
And after getting a signal from arduino all you have to do is to write in ASP.NET to open the required link

Yes, its totally possible given that you know how to code in python.
You can have your own program running that will monitor request from arduino uno using serial port. When it receives a particular set of bytes (say "0xabcdef"), it will call the function to open a browser and a web page.
Here are some of the sites that will help you know how to interface arduino to python and opening web browser using python.
http://www.olgapanades.com/blog/controlling-arduino-with-python/
https://docs.python.org/2/library/webbrowser.html

Related

Send real-time video via wifiSend

I would like to make a personal application to be installed on two iPhones. The first to be used as a webcam that transmits to the second via wifi.
Having no experience with xCode, I am looking for a code example to connect 2 devices via wifi and transmit a real-time video stream.
Unfortunately, the documentation and examples I found are deprecated or partial and inconsistent.
Where can I find some code examples to help me solve my problem, preferably in ObjectiveC (but also in Swift)?
Thank you

How to use biometric fingerprint reader to develop a fingerprint database

I have purchased a simple biometric fingerprint reader that is usually used for laptop security through a USB connection. It is just called biomentric finger print reader, not branded! It came with the software for creating security for laptop, and it works great.
However, I had a different idea for it: I am intending to create a database of users fingerprints so that I can identify which user swiped their fingers on it, ie, to use it for different users' authentication using fingerprints. I don't seem to be making any head or tail on how to go about that.
I would like to find out if there is other kind of software to install that will make this gadget print the fingerprint or a code to say a spreadsheet or database whenever I swipe a finger on it? I was thinking it would be a simple as when I use a bar code scanner to print codes of various items to a spreadsheet.
Could someone please advise how to go about this. I believe it should do that but I just dont know where to start.
thanks.
As an alternative wrapper to WinBioNET as mentioned by Robinicks there is WinBiometric.Net.
Disclaimer: I do not own this project.
It has a really nice test project for playing around with the different API functions available in the Windows Wiometric Framework. This test project was monumental in helping me understand the Windows Biometric Framework.
The WinBiometric.Net wrapper has a claim of 100% API coverage, a NuGet package and has the MIT license.
I found it to generally have a very high quality of code as well.
As for storing the fingerprints in a database you could use the WinBioCaptureSample API function to capture a sample, which can then be stored in a database.
The sample can be converted into an image as well, there is a nice example of this in the wrapper.
I know this is an old question but I figured I'd post anyway.
You can use the WBF (Windows biometric Framework) API that is free, but you must first verify if your biometric device is WBF compatible. The documentation and samples for WBF are for C++, but there is a wrapper sample in C# that you can download here: Cirrostrata biometrics Regarding how to convert the scanned data into an image, you can check this post: How to convert winbio data into image. Hope this helps to start.
You can use the WinBioNET .NET wrapper for Windows Biometric Framework (WBF). It has a demo winforms app in the solution. Just open it up, select the demo app as the "startup project" and run. If you have any devices connected it will enumerate it at startup.

Face recognition webpage

I'm working on a project that recognizes faces.
The idea of the project is as follows:
I have an arduino connected with a GSM/GPRS shield. This gives the arduino the ability to connect to the internet. I have also connected a special shield for a camera.
Now I managed to take photos from the camera and upload them using FTP to a webhost.
The problem is that I won't the web host to be able to recognize the face with a pre-saved SQL database and reply via FTP to the arduino with the name of the person recognized in a Text file.
Of course for that matter, I have SD card with it's shield connected to the arduino.
I would love to hear your opinions on how will that work if it's possible in the first place?
I've seen so far some application fourms done in VB to do Face recognition. Is there a way to upload these fourms -btw they are regular fourm not ASP.net - to the host and somehow use it to do the FR?
Thanks,
Adel A. Bibi

Smart card, PIN, Secure HTTP, Login and Downloading and manipulating the source html - need a suitable coding langugage

I am now motivated to explore a coding language so that I can make the best solution possible.
But I am not sure of the capabilities of all coding langugages, so I am asking for advice.
I want to automate some of the daily processes I do at the office. There is an external database on the internet that we use. We access it with a smart card and secured http.
In short, these are the actions that I do each time I restart the browser or a session ends:
Open a Secured HTTP. /....jsp
After being promted I choose an installed certificate
A smart card is called and I enter a PIN. /charismatics smart security interface/
The page asks me to log in with a username and password.
I open the desired link.
I extract the data from the opened webpage manually.
Is it possible to have all these action automated by code?
THANK YOU FOR ANY SUPPORT
If you get a PIN screen from the charismatics smart card security interface instead of from the operating system then it it may be very hard to automate this. Your program is unlikely to get access to the PIN popup Window.
If you get the PIN prompt from a CSP (as you mentioned in the comments) then it may be possible to automate the PIN login. The PIN is normally used to set up the SSL/TLS connection, so having it open in the browser won't help you much, unless you program the browser itself.
If you are bound to CSP's it may be best to keep to C#/.NET. There are of course bindings for other runtimes, but it is better to have as much control as possible.
You may want to take a look at topics such as parsing HTML, because that's something you certainly need to do. Life becomes a lot harder if the web-pages are filled in using JavaScript, so you may check for that first.
Now if you want to manually choose a link you may want to render the page in your own application and handle the download yourself.
This is certainly not a task I would recommend when starting off on an unknown programming language. I would find this a tricky task - there are a lot of ifs left with this description.

VB.NET Use API Messenger

I know how you can use the api in vb.net IM
I wish simply by pressing a button sends a message to all my contacts.
I apologize for my ignorance but I'm still learning, thanks
You don't mention what IM network you're talking about so I'm assuming you're talking about Live Messenger. If that's not the case, only the bit about Pidgin might still be relevant.
Unfortunately, my understanding is that nowdays there's no easy API for doing what you want, and you might have to write your own client to do this, here's a website that discusses the protocol:
http://www.hypothetic.org/docs/msn/index.php
You might also want to look at Pidgin since it supports Messenger and is open source:
http://www.pidgin.im/download/source/
There's a Live Messenger API, but I don't think that can be used to send a message from a standalone VB.Net desktop client since it seems more for writing Addins to the standard Live Messenger client, but here's the information about it in case I'm wrong:
http://msdn.microsoft.com/en-us/library/aa905675.aspx
If you're running XP or earlier you might be able to use the Windows Messenger SDK:
http://msdn.microsoft.com/en-us/library/ms630961%28v=VS.85%29.aspx