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

ArdGen_UNO

via: https://www.arduino.cc/en/Main/Products
https://en.wikipedia.org/wiki/Arduino

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

 

via: http://weblog.west-wind.com/posts/2015/Jul/05/Windows-10-Upgrade-and-IIS-503-Errors

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.

via: https://technet.microsoft.com/en-us/library/ee844140%28v=ws.10%29.aspx

Xamarin or Apache Cordova

Xamarin (http://xamarin.com)

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 (https://cordova.apache.org)

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

http://www.codemag.com/Article/1503071
https://app-o-mat.com/video/jquery-mobile-cordova-intro-1
http://demos.jquerymobile.com/1.4.5/pages/
http://code.tutsplus.com/tutorials/build-an-audioplayer-with-phonegap-application-setup–mobile-16347
http://blog.monnet-usa.com/?p=420
https://msdn.microsoft.com/en-us/library/Dn771545.aspx

 

 

 

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

VIDEO

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

PTZ

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

IMAGE

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
http://IP-Address:Port/cgi-bin/hi3510/param.cgi?cmd=setimageattr&-brightness=0&-saturation=0&-contrast=0&-hue=0&-flip=off&-mirror=off&-scene=auto

WLAN

reset the parameter values

http://192.168.xxx.xxx./cgi-bin/hi3510/param.cgi?cmd=setwirelessattr&-wf_ssid=SSID&-wf_enable=0&-wf_auth=2&-wf_key=1234&-wf_enc=1&-wf_mode=0

IR-LED

http://192.168.178.87/cgi-bin/hi3510/param.cgi?cmd=setinfrared&-infraredstat=auto :: Sets IR LED’s to auto mode

http://192.168.178.87/cgi-bin/hi3510/param.cgi?cmd=setinfrared&-infraredstat=open :: Sets IR LED’s always active :: only IN-6011

http://192.168.178.87/cgi-bin/hi3510/param.cgi?cmd=setinfrared&-infraredstat=close :: Sets IR LED’s always inactive

ALARM

http://admin:instar@192.168.xxx.xxx/cgi-bin/hi3510/param.cgi?cmd=setmdattr&-enable=1&-name=1 :: enables the md area 1

http://admin:instar@192.168.xxx.xxx/cgi-bin/hi3510/param.cgi?cmd=setmdattr&-enable=0&-name=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
http://admin:instar@192.168.xxx.xxx/cgi-bin/hi3510/param.cgi?cmd=setmdattr&-enable=0&-name=1&cmd=setmdattr&-enable=0&-name=2&cmd=setmdattr&-enable=0&-name=3&cmd=setmdattr&-enable=0&-name=4

Download INSTAR_CGI_H264_Chipset_English Guide

Download FI9821W-CGI-Commands

http://community.ispyconnect.com/ispybb2/viewtopic.php?t=1442

/cgi-bin/hi3510/ptzgotopoint.cgi?&-chn=0&-point=0

      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=left&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=upleft&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=right&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=upright&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0?&-act=up&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=down&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=downleft&-speed=10
      /cgi-bin/hi3510/ptzctrl.cgi?&-chn=0&-act=downright&-speed=10
      /cgi-bin/hi3510/ptzstop.cgi?&-chn=0&-speed=0
 
 
 
 
      <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

via: http://www.instar.com/faq_cgi_hd