Wednesday 5 February 2014

Facebook Wants To Read Your SMS, Confidential Info: Kaspersky

New Delhi: Leading social media company Facebook wants to read SMSes and other confidential information of people on the Android mobile phone platform, cyber security firm Kaspersky said on Monday.


“Over the last few days there has been a constant scrutiny over Facebook having access to your SMS. Buried within the latest update for Facebook’s Android app is a feature that is causing growing concern among some users,” Kaspersky said in a statement on Monday.


No immediate comments were received from Facebook.


Facebook is one of the companies that has been accused by U.S. Whistleblower Edward Snowden of sneaking in to private information to help National Security Agency of U.S. in spying at global level. The social media firm has denied that allegation.


The Facebook application at the time of installation on Android mobile phones seeks certain permissions and the updated version now asks users to allow it “Read your text messages (SMS or MMS)”.


The social media’s logic behind seeking access to SMS is that “if you add a phone number to your account, this allows us to confirm your phone number automatically by finding the confirmation code that we send via text message“.

Here Comes the Sun-Powered MacBook?

Apple wants to use natural energy sources to keep MacBooks powered while on the move.
The company has won a patent for a laptop with a lid that features a second display, touch inputs and solar cells. The latter could help users keep their MacBooks' batteries topped up without having to plug in an external charger.
Apple filed its application in 2010, and the U.S. Patent and Trademark Office granted the patent this week.
Apple wants to use natural energy sources to keep MacBooks powered while on the move.
The company has won a patent for a laptop with a lid that features a second display, touch inputs and solar cells. The latter could help users keep their MacBooks' batteries topped up without having to plug in an external charger.
Apple filed its application in 2010, and the U.S. Patent and Trademark Office granted the patent this week.
Photovoltaic Cells The company's U.S. Patent No. 8,638,549 is for an "electronic device display module." It details Apple's proposal for a two-sided glass laptop casing that features a regular screen on the front. On the reverse, the display housing has photovoltaic cells for charging via sunlight and other sources. These are located under the rear part of the lid.
The two-sided display could be built using a number of materials, including glass, metal, ceramic and fiber composites. The rear could include electrochromic or smart glass. That type of material can alter opacity either to block light or allow it to pass through, effectively allowing Apple to hide the rear-facing display until it's activated by a user or to charge the photovoltaic cells when the glass is transparent.

Vechile to Vechile Communication

The U.S. Department of Transportation on Monday announced it would move forward with a plan that would make car-to-car communication mandatory among light vehicles, a measure that could lead to safer roads.
Vehicle-to-vehicle, or V2V, communication allows cars to share data including speeds and brake applications with nearby cars. That data can then help warn drivers about possible collisions. For instance, if one car turns a corner and unexpectedly slams on the brakes, that car could communicate the action to nearby vehicles, which could then warn their drivers.
The technology would be used only to share information affecting safety, the DoT emphasized. It would not be used to collect personal data or for location tracking.
The technology could be especially useful in preventing common crashes such as rear-end or lane-change collisions, the DoT said.


V2V connectivity has been tested extensively; a program in Ann Arbor, Mich., deployed close to 3,000 vehicles in the largest road test of the technology.
The National Highway Traffic Safety Administration plans to release a report on its analysis of some of that testing and a year-long pilot program for V2V communication technology, which will provide more details about its technical feasibility, costs and safety benefits.
The NHTSA will then begin the process of drafting a proposal for a regulation that would make it mandatory in new vehicles in a "future year."

Waiting for Green Light

Like any advancement in technology, the implementation of V2V communications likely will be gradual, said Tsiotras.
"The main issues will be reliability of the technology and, most importantly, also the issue of mixing vehicles -- having this technology with vehicles that lack the ability to communicate with other vehicles," he explained.
"It will take some time before all the vehicles will have this capability," Tsiotras observed. "Till then, I think that the focus will be mainly on the use of the V2V technology for traffic regulation purposes. Collision avoidance will follow afterwards."

Wednesday 13 November 2013

Simple Light Meter for Photography

he light meter circuit is a tool, measure the quantity of light, widely used to a photography, To decide the correctness of the exposure.
Sometimes, we are use with other works, such as my son likes to use in science experiments, which do not need to have high quality.
This simple light meter in figure 1 is a example circuit form LM134/LM234/LM334 datasheet of National Semiconductor (most popular IC), It takes very little equipment,
Features of circuit, when there is a lot of light level, an ammeter will show a high current, but a little light it will lower the current.
We use the light sensor device is the LDR( Light Dependent Resistors) which Normally the resistance of a LDR is very high, but when the light hits it, that has a lower resistance.
The LM334z is 3-Terminal Adjustable Current Sources, that the output of 1µA to 10mA with a resistor between pin 1 and 3, and used the power supply voltage input is wide range of 1V to 40V.

CIRCUIT DIAGRAM
 
The ammeter may be used the 0-1mA Analog DC Current Panel Meter Ammeter
0-1mA Analog DC Current Panel Meter Ammeter

AT89SXX ISP SERIAL PROGRAMMER

Introduction   

Welcome to the world of Microcontrollers, and the first thing you need is a Device Programmer. This In System Programmer is RS232 (serial port) based but can indirectly be used with USB using USB to RS232 converter. If you need something like this you need to assemble a very simple circuit (Programmer Unit).

Hardware

Figure 1 shows  the  Block diagram of the in-system programmer interface,  the programmer can be self powered or target powered it depends on how you plan to use it.
Figure 1:   Block Diagram of the ISP Programmer
Figure 2  shows  the  actual circuit  diagram. The Programmer has just two ICs. IC1 = AT89C2051, IC2 = MAX 232. Few Resistors, LEDs, capacitors etc. The value of the crystal is critical and must be 11.0592 MHz.  

Figure 2:   Circuit Diagram of the ISP Programmer

Firmware.

Assemble the circuit and burn the firmware into an AT89C2051(you will need a conventional parallel Programmer to Program the AT89C2051).

Software

The Software is a Windows GUI application and supports all programming functions. When you run the software for the first time it looks for a valid programmer on COM1. If the Programmer is connected to say COM2 you will receive an error message but when the application starts select Options->Settings on the Menu and specify the correct COM Port.
Following are the main features of this software,


  • Device Supported - AT89S51, AT89S52, AT89S8252, AT89S8253.
  • Read and write  Intel Hex files.
  • Chip Erase.
  • Verify.
  • Lock.
  • Read Device Signature.
  • Advanced Device Specific Functions.
  •          
    Download
    For AT89SXX ISP Flash Programmer Software and Firmware for AT89C2051 download 
              AT89C2051 FIRMWARE FOR PROGRAMMER
              AT89SXX HEX DOWNLOADER

    AVR ISP SERIAL PROGRAMMER


    This simple COM PORT based  AVR atmega Programmer will allow you to painlessly transfer hex programs to most ATMEL AVR microcontrollers
    without sacrificing your budget and time. It is more reliable than most other simple AVR programmers available out

    there and can be built in very short amount of time.

    AVR programmer consists of in-circuit serial programmer (dongle) and small pcb with a DIP socket where you can fit
    your microcontroller and have it quickly programmed.

    You may also use this programmer as a stand alone in-circuit serial programmer that can be used to conveniently
    program AVR microcontrollers without removing them from the target circuit.

    Entire AVR programmer has been build with using common parts and fits in the case of the serial connector. The socket pcb has been created to fit a 28-DIP AVR ATmega8 microcontroller, but you can build a socket pcb for any other AVR microcontroller out there. This AVR programmer is compatible with a popular PonyProg software that shows you a status bar of the programming progress.



    AVR In-Circuit Serial Programmer Schematic








    Ensures that the chip is receiving exactly +5V voltage it ensures error free programming.

    +5V voltage supply for AVR chip may be provided from external power supply or even better - directly from USB

    Pony Prog :The Programming software


    To be able to send hex file from your computer to AVR microcontroller you will need to download and install PonyProg2000. After the installation, the first thing you will need to do is configure PonyProg to work with our AVR Programmer. To do this go to "Setup" menu and select "Interface Setup". The following window will be shown and highlighted areas show you exactly which options should be selected.



    In the next step select "AVR micro" and your microcontroller type that you will be programming (ex. ATmega8





    At this point PonyProg configuration is complete and we can open hex program with which AVR microcontroller will be flashed. Go to "File" menu, select "Open Program (FLASH) File ...", and point to the hex file to open it up. You should see hex numbers as shown on the screen below. If you haven't connected AVR Programmer dongle to your computer's serial port yet, then now is the time. Make sure that AVR Programmer is physically connected to your AVR microcontroller through Socket PCB or through ICSP 6-PIN connector. Finally click on the highlighted icon "Write Program Memory (FLASH)", or go to "Command" menu and select "Write Program (FLASH)".

    !! IF your Flash(.hex) file have special configuration bits Then you have to configure those bits manually.




    Click on "Yes" button to confirm the programming.
    Now sit tight, relax and watch the programming progress on the status bar. PonyProg will program AVR microcontroller and verify if the hex file was transferred without any errors. For your information this process shouldn't really take more than 10 to 30 seconds. This depends on the size of the program that you're trying to flash.






    After programming is completed "Write successful" window will be shown letting you know that AVR microcontroller has been programmed, and is now ready to be used.






    Programming The Security and Configration Fuse bit (if needed)


              First click on the sercurity and configration button in the tool bar,  a dilog box will apper as shown in the image blow.



    To read the current security bit from the devive please click Read button in the securit and configration bits dialog box

    now you are ready to change the configration bits
    To caclulate these ceck box values accoring to your needs or to claculte by use hfuse and lfuse

    just check and uncheck the boxes accoring to your setting and click write button.