Solar mobile charger circuit

solar mobile charger circuit

C1 and C2 – 4700 µf

This circuit is self explanatory. It uses solar panel to convert light energy to electrical energy to charge your mobile. It uses 5v regulator IC 7805 to provide constant current of 5v. Resistor R2 limits charging current to safer level.

Note: if your panel is rated less that 1.5 A then R2 is not required.

Components required –

  1. Solar panel ( 5v 5 watt)
  2. Diode 1N4007
  3. IC 7805
  4. C1,C2 – 4700µf
  5. RED LED
  6. R1 – 1K
  7. R2 – 47 ohm
  8. USB female socket

 

Raspberry Pi XBMC Media Center

In this project I will let you know steps to make your own Raspberry Pi XBMC Media Center.

Parts Required
The parts you will you need for this project are listed below. You will probably only need a USB keyboard and mouse for the setup after this you can remotely control XBMC (Kodi) via a tablet and/or web browser.

  • Raspberry PI
  • 4 GB SD Card (8 GB+ Recommended) or Micro SD Card if you’re using a Raspberry Pi B+ or 2
  • USB Keyboard
  • USB Mouse
  • HDMI Cord

Optional Item: Ethernet Cord or Wifi dongle

Step1:

Choose an operating system to install onto the Pi. Note: If you have a Raspberry Pi 2 please use OpenElec instead of Raspbmc. (You can follow the same steps but download the OpenELEC image instead of Raspbmc)

Raspbmc

 

Raspbmc

Raspbmc runs a full version of linux underneath XBMC but because of this it is slightly slower to boot up and the interface is somewhat slower when compared to a lighter weight version such as Xbian and OpenElec.

I found this the easiest to install and doesn’t require much work to have it working perfectly. You will need to tweak it a little to get the best out of it though. This is the most popular out of the three versions.

Find out more over at the Raspbmc website. Note: Raspbmc has now been discontinued please use OpenELEC instead.

OpenELEC

OpenELEC is a very light weight simple media center for the Raspberry Pi. The pro and con for this one is that the Linux OS underneath is virtually nonexistent. This allows for much faster boot times and just faster performance overall.

The biggest drawback on this is there is little to no room to move in terms of adding new drivers etc. If you do need to this then it will require an entire rebuild of your Pi.

This is great if you have technical skills and don’t require anything else but the standard drivers for XBMC (Kodi)

Xbian

xbian

Xbian much like OpenELEC is very light weight and fast but is much easier to install and configure than OpenELEC. This has everything Raspbmc has and is virtually identical. Xbian tends to get a lot of updates which means you get some minor features before the other two variations of XBMC.

This is perfect for anyone who wants faster updates but apart from that it is basically the same as Raspbmc.

Step 2

Installing Kodi (XBMC) Onto the SD Card

There are two ways to install Raspbian unto the SD Card the first two methods require a network connection to the Raspberry Pi. If you don’t have this luxury then simply follow my guide using the offline image.

Install via NOOBS (Network Connection Required)

Follow my earlier post How to install NOBS for Raspberry Pi for this.

 Install via OpenELEC Image

  1. Download the OpenELEC Project SD Card Image from the Raspberry Pi website.
  2. You will need a formatting tool. Download SD Formatter 4.0 for either Windows or Mac.
  3. Follow the instructions to install the formatting software.
  4. Insert your SD card into the computer or laptop’s SD card reader and check the drive letter allocated to it, e.g. G:/
  5. In SD Formatter, select the drive letter for your SD card (eg. G:/) and format

Install the OpenElec Image onto the SD Card

  1. Download and install the Win32DiskImager.
  2. Unzip the OpenElec image file so it will be .img and not img.gz (7zip is useful for this)
  3. Launch the Win32DiskImager and select the OpenElec ISO file and also the drive letter your SD card is assigned (Eg. G:/)
  4. Confirm you have the correct details and click on Write.

win32diskimager1

The Boot up

  1. Plug in all your necessary equipment into the Pi. (Keyboard, mouse,power supply and WiFi adapter(optional))
  2. Turn the Pi on by plugging in the micro USB cord from the power supply. It will now boot and spend about 5-10 minutes getting everything set up.
  3. Now it is all done and ready to go but if you would like to setup network and access files then go onto the next the section.

How to configure Visual studio load test Database manually?

To configure Visual studio load test Database manually perform following steps:
  1. Open a Visual Studio Command prompt. Type the following text: On a 32-bit version of Windows type: cd “c:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE” -or- On a 64-bit version of Windows type: cd “c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE”
  2. In that folder, type the following text:
    • SQL Express: SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql
    • SQL: You can install the database to any existing SQL server. For example, if you had a SQL server named Server1 you would use the following command: SQLCMD /S Server1 -i loadtestresultsrepository.sql

Caution The parameters are case sensitive. You must type uppercase S and lowercase i. SQLCMD /S pintu-home -i loadtestresultsrepository.sql

You might also need to specify a user name and password so that you can connect to Server. If so, you would use the following command: SQLCMD /S Server1 -U <user name> -P <password> -i loadtestresultsrepository.sql Caution: The parameters are case sensitive.

configure Visual studio load test Database manually

  1. On the Load Test toolbar, choose Manage Test Controllers. The Manage Test Controllers dialog box is displayed.
  2. In the Load Test Results Connection String, click the browse button (…) to display the Connection Properties dialog box. Note:If you change the connection string for a controller, then you must select the controller.
  3. In Server Name, type localhost\sqlexpress or the name of the server that you used in step 2 such as Server1.
  4. Under Log on to the server, choose Use Windows Authentication.
  5. Under Connect to a database, choose Select or enter a database name. Select LoadTest from the drop-down list box.
  6. Choose OK.
  7. Choose Close in the Administer Test Controller dialog box

 

New features in JMeter 2.13?

JMeter 2.13 is now here for sometime now. There are many new features in JMeter 2.13 . Some of the important and major enhancements are listed below.

Following are the Major enhancements in JMeter 2.13 version.

New Element – New Async BackendListener with Graphite implementation

A new Async BackendListener has been added to allow sending result data to a backend listener. JMeter ships with a GraphiteBackendListenerClient that allows sending results to a Graphite server using Pickle of Plaintext protocols.

New JMeter 2.13

New connect time metric

Starting with this version a new metric called connectTime has been added. It represents the time to establish connection. By default it is not saved to CSV or XML, to have it saved add to user.properties:
jmeter.save.saveservice.connect_time=true

ConnectedTIme

95 and 99 percentile addition on Aggregate Graph and Report

The listeners Aggregate Graph and Aggregate Report previously showed only the 90 percentile (historical behavior), the 95 percentile and the 99 percentile have been added and are customizable. To setup the percentiles value you want, add to user.properties:
aggregate_rpt_pct1=90
aggregate_rpt_pct2=95
aggregate_rpt_pct3=99

New JMeter 2.13

Https test script modification

Now component is able to detect authentication schemes and automatically adds a pre-configured HTTP Authorization Manager with the correct Mechanism

Windows 10 tweaks and tricks

Digging deep into Windows 10. Here are some of the most useful windows 10 tweaks and tricks.

  • Use the Hidden Screen Recorder App

Until now, if you wanted to record videos of the apps on your screen, you required a third-party app. However, Windows 10 changes this thanks in part to the new Xbox app. One of the new features of the Xbox app is the Game Bar, which allows not only to record footage of your gameplay but capture footage inside most of your apps as well. Naturally, this hidden functionality to record your apps is quite exciting.

To access the Game bar simply press and hold the Windows and G keys. The Game bar, which is essentially a toolbar, will then pop up on screen. If it’s your first time launching the Game bar for that app, you will get a message asking, “Do you want to open Game bar?”—simply click on “Yes, this is a game.”

windows10_recorder

  • Task view and virtual desktops

This feature was already there for MAC OS and Linux users long ago. Better late than never. Windows 10 now supports virtual desktop out off the box. To get started, click the Task View icon on the taskbar (immediately to the right of the Search box), or hold down the Windows key (abbreviated throughout as Win) and Tab. You can also drag an app to a new virtual desktop by bringing it over to the +New Desktop option at the lower right.

  •  Use Snap Assist for Split-Screen View

This feature helps to open two windows in a perfect split-screen view. To do that, start by dragging the first window to either the left or right edge of your screen. When you release your mouse button, the window will automatically be sized to fit exactly one half of your screen, then Snap Assist will populate the opposite half of your display with thumbnails of any other windows you currently have open.

  • Secret, powerful new Command Prompt tools

Windows 10 packs a new command line features, including the ability to copy and paste inside the command prompt with Crtl + C and Crtl + V.

To activate the goodies, open the command prompt. Right-click its title bar, then select Properties. You can find and enable the new features under the “Edit Options” section of the Options tab.

Note: Ctr+X will not work

  • GodMode

The legendary GodMode, a hidden staple for Windows power users, returns in windows10. As before, activating it unveils a power user menu that brings together all of your system’s far-flung settings and configuration options into a single location. Just create a new folder and rename it to following:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Don’t forget the period after “GodMode”, and you can rename the “GodMode” portion whatever you’d like if you want another name for the folder.

GodMode

 

How to enable Dark Mode in windows 10?

Steps to Enable Dark Mode in windows 10

Microsoft has introduced a dark theme option for the new Edge browser in Windows10 is looks great.
Dark Theme for Edge

 

As of now it is only available for Edge browser. But there is a simple tweak to enable dark mode for Windows 10. Following are the steps to do that.

Step 1: Launch the registry editor

Run the command regedit in run window or type it in search window and select it to open.

Step2: Access the correct value as mentioned below.

HKEY_CURRENT_USER -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Themes -> Personalize

Step3: Add a new item of type DWORD(32) value.

Add a new value of type DWORD(32) and rename it to  “AppsUseLightTheme,”. Keep the default value set to 0.

Regedit Personalize

Step:4 Logout/restart the system.

You are now done.

Note: Updating registry is not recommended. Try at your own risk.

IOT Testing and its Challenges

What is IOT?

As per Wikipedia “The Internet of Things (IoT) is the network of physical objects or “things” embedded with electronics, software, sensors, and network connectivity, which enables these objects to collect and exchange data.”

The Internet of Things allows objects to be sensed and controlled remotely across existing network infrastructure, creating opportunities for more direct integration between the physical world and computer-based systems, and resulting in improved efficiency, accuracy and economic benefit. Each thing is uniquely identifiable through its embedded computing system but is able to interoperate within the existing Internet infrastructure.

Internet of things or IOT covers all those device which are connected to the internet like automobile, washing machine, watch etc. All of these tools were available before. We are simply adding the internet to old things.
The smart watch is a good example of an IoT device. People are using it to track not only distance of run but uses GPS and wireless connection to upload the data to the internet. These information can be used later for analysis. Similarly you can control your home/office lights through internet. Most of you might already be using Smart TV. IOT devices have already started creeping in our day to day activities.

What is IOT testing?

IOT testing involves testing across wide variety of devices with different hardware/software combinations, across different types of network connectivity etc.

Challenges in IOT esting

1. Wide variety of devices – There are thousands or more different internet connected products now. All of them are collecting and sending and displaying data all the time. Testing on all this devices is not feasible for companies developing software’s for it.
2. Connectivity issue – Internet connectivity is what makes this network of things possible, but in many cases that network is intermittent or unreliable. It is important to know that data will be saved and stored correctly if you unexpectedly lose a connection, and is delivered correctly when your connection is restored. You can simulate this by using airplane mode or temporarily disabling the internet connection on the device. Even better than simulation is taking a walk in and out of wifi connections and seeing what really happens when you really lose a connection.

3. Different types and bandwidth of connectivity – There are so much variety of connectivity that testing all possible cases is a challenge

4. Security concerns – With the increase in connectivity the inherent problem of internet will boil down to IOT as well. According to some study, approximately 70 percent of devices in the Internet of Things are vulnerable to security problems — missing data encryption, minimal password requirements, and access to the user interface without passwords.

IOT testing Expectation –

IOT testing is more closely related to how user interact with the devices. Testing scope should also include human experience. “Human Experience” testing has the following components of human interaction with the device.

  1. It should include all physical things, including size, shape and gender of the users.
  2. All sensory reactions including sight, sound, and touch.
  3. Orientation, or the interaction with human movement

Other than that we must also plan for testing in various geographical locations, different weather conditions and contexts.  Finally we must also consider value and test thoroughly in terms of the users perceptions, mind sets, biases and emotions when interacting with the device.