Arduino Projects

firefox_2016-02-04_12-35-15Arduino is an open-source computer hardware and software company, project and user community that designs and manufactures microcontroller-based kits for building digital devices and interactive objects that can sense and control objects in the physical world



Windows 10 Upgrade and IIS 503 Errors

IIS Rewrite Module Problem

It turns out that there’s a new version available that’s more recent (but doesn’t change the version number), and that needs to be installed in order to work. The version I found on the WebPI was dated a month ago (5/27/2015), and I suspect it’s meant to address just the type of problem I’ve been running into with my upgrade.

To install the module:

  • Uninstall the Rewrite Module from Windows Features
  • Go to the Web Platform Installer
  • Pick Url Rewrite from Products | Server section and install
  • Restart IIS



Enable access network drive from windows application on Visual Studio 2013 When UAC Is Enabled

  1. Click Start, type regedit in the Start programs and files box, and then press ENTER.
  2. Locate and then right-click the registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  3. Point to New, and then click DWORD Value.
  4. Type EnableLinkedConnections, and then press ENTER.
  5. Right-click EnableLinkedConnections, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Exit Registry Editor, and then restart the computer.


Xamarin or Apache Cordova

Xamarin (

Xamarin apps share code across all platforms.

Target iOS, Android, Windows and Mac with a single, shared C# codebase. Use the same language, APIs and data structures on every platform.
C# is the best language for mobile app development.

With Xamarin, you write your apps entirely in C#, sharing the same code on iOS, Android, Windows, Mac and more. Anything you can do in Objective-C, Swift or Java, you can do in C#.
Native UI, native API access & native performance.

Xamarin apps are built with standard, native user interface controls. Apps not only look the way the end user expects, they behave that way too. This can’t be achieved with other solutions.

Apache Cordova (

Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.

When using the Cordova APIs, an app can be built without any native code (Java, Objective-C, etc) from the app developer. Instead, web technologies are used, and they are hosted in the app itself locally (generally not on a remote http server).

And because these JavaScript APIs are consistent across multiple device platforms and built on web standards, the app should be portable to other device platforms with minimal to no changes.

Apps using Cordova are still packaged as apps using the platform SDKs, and can be made available for installation from each device’s app store.

Cordova provides a set of uniform JavaScript libraries that can be invoked, with device-specific native backing code for those JavaScript libraries. Cordova is available for the following platforms: iOS, Android, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian.

Further Readings–mobile-16347




IP Camera CGI Application Guide

CGI Command List (HD)

For all developers that want to integrate our cameras in their software or for everyone that wants to experiment a little, we now offer a full list of all CGI commands that can be used with our IP cameras. Please understand that this list is only for advanced users who know what they are doing. We can not give any technical support regarding our CGI commands.

List of the most needed CGI commands


rtsp://admin:instar@IP-Address:RTSP-Port/11 :: VLC Stream

http://admin:instar@IP-Address:Port/iphone/11 :: Quicktime Stream

http://IP-Address:Port/tmpfs/snap.jpg?usr=admin&pwd=instar :: Snapshot (720p / 1280×720 Pixel)

http://IP-Address:Port/tmpfs/auto.jpg?usr=admin&pwd=instar :: Snapshot (352p or 176p)

http://IP-Address:Port/cgi-bin/hi3510/mjpegstream.cgi?-chn=11&-usr=admin&-pwd=instar :: MJPEG Stream
also note the additional SDK documentation for accessing video / audio


http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=right :: Moves continuously right

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=left :: Moves continuously left

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=up :: Moves continuously up

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=down :: Moves continuously down

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=stop :: Stops moving camera-head

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=right :: Moves one step right

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=left :: Moves one step left

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=up :: Moves one step up

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=down :: Moves one step down

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=home :: Go to Center Position

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=hscan :: Scan horizontal

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=vscan :: Scan vertical

http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=set&-status=1&-number=[0-7] :: set a position

http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=set&-status=0&-number=[0-7] :: unset a position

http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=goto&-status=1&-number=[0-7] :: goto to a set position


http://IP-Address:Port/cgi-bin/hi3510/param.cgi?cmd=setimageattr :: Sets the Image Parameter
You can set the following parameters:

brightness :: [0 – 255] the bigger the value the brighter the image

saturation :: [0 – 255] the bigger the value the more saturation the image has

contrast :: [0 – 255] the bigger the value the more contrast the image has

hue :: [0 – 127] the bigger the value the more hue the image has

flip :: (on , off) flips the image

mirror :: (on , off) flips the image

scene :: (auto , indoor , outdoor) sets the white balance mode


reset the parameter values

IR-LED :: Sets IR LED’s to auto mode :: Sets IR LED’s always active :: only IN-6011 :: Sets IR LED’s always inactive

ALARM :: enables the md area 1 :: disables the md area 1

http://192.168.x.x/cgi-bin/hi3510/param.cgi?cmd=setioattr&-io_enable=1&-io_flag=1 :: enable / disable external alarm in to trigger recording

Download INSTAR_CGI_H264_Chipset_English Guide

Download FI9821W-CGI-Commands


      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=0
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=1
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=2
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=3
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=4
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=5
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=6
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=7
      <command />/cgi-bin/hi3510/ptzgotopoint.cgi?&amp;-chn=0&amp;-point=8
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=1
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=2
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=3
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=4
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=5
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=6
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=7
      <command />/cgi-bin/hi3510/ptzsetpoint.cgi?&amp;-chn=0&amp;-point=8
      <command />/cgi-bin/hi3510/ptzstarttour.cgi?&amp;-tour=0
      <command />/cgi-bin/hi3510/ptzstarttour.cgi?&amp;-tour=1
      <command />/cgi-bin/hi3510/ptzstarttour.cgi?&amp;-tour=2
      <command />/cgi-bin/hi3510/ptzstarttour.cgi?&amp;-tour=3
      <command />/cgi-bin/hi3510/ptzctrl.cgi?&amp;-step=0&amp;-speed=10&amp;-act=hscan
      <command />/cgi-bin/hi3510/ptzctrl.cgi?&amp;-step=0&amp;-speed=10&amp;-act=vscan