Archive for the ‘Windows’ Category

07
mag

Hi all!!
Today i show how is possible to connect iPhone to Arduino without any Wifi or Ethernet shields!

Here the app that controls 4 leds (green yellow, red and orange), a DC motor with a fan, a piezo speacker and the room temperature with LM32 sensor!


Arduino iphone control


What you need?
Arduino with anything you want
iPhone / iPad / iPod
– A website to host php pages
– An internet connection on pc (Win + Mac)

What you need to know?
– A little bit of electronics
C language
C# language
PHP language
Objective-C language

Good.
In PHP make a stupid page that get in $_REQUEST a command and store it to a file on server!
Three lines of code…

In C# make a web listener that call php page and checks the output. If any condition are verified, send to COM9 the value that you want to get from arduino.

In C from Arduino, in the Loop() read Serial value. If the value respond to your configuration, call LigthUpLed(green) for example!

In Objective-C make an iPhone App with a stupid layout that call in GET your PHP page and send a command!

To make everithink work, run your C# listener app on Windows and from your iPhone send get call to web server!

Now, your nerd app will control arduino!!!

In this example app that i made, i control HIGH or LOW for Four LEDs, a DC Motor, a Piezo Speacker and a Temperature Sensor.

I used resistors, 4 leds, LM32, DC Motor, TIP120, diode, wires, beer.




Here a screenshot (click to enlarge):


Arduino iphone control

Here a video:



Rif: albertopasca.it

enjoy!

FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

, , , , ,

22
feb

Hi all,
i need to deploy homebrews apps to my WP7 phone, download photo and data, prepare it for next update
…but when i connect, zune show me this error:





zune error message reading

The Zune software can’t access important data on your device“.

Anyone have a solution?




Zune download from here.

Microsoft possible solutions are:

  • Update the Zune software – donenothing
  • Restart the Zune player – donenothing
  • Update the Zune device to the current device software – donenothing
  • Erase the Zune device, and then resync the content – donenothing
  • Reference from Microsoft: http://support.microsoft.com/kb/950446

    …yes, ok… but the working solution????




    albertopasca.it

    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , ,

    06
    feb

    Hi all,
    do tou like Windows Phone 7? Do you want to customize start menu adding images to your tiles???
    Like this shot?





    I have a solution for it!!!

    I created a beta version 0.00001 page that permits you to create automatically tiles for your windows phone!!!

    Here a tiny link, useful to open it from phone: http://goo.gl/g9BFS

    It’s a simple web page. You can easily upload a photo, set your phone size and click generate!
    Easy easy easy!





    Now, after loaded an image and generated tiles, you need to center image in internet explorer, open tool bar menu and click “Pin to start” or “Aggiungi a start”, like this:

    Move your created tile where you want and compose your collage!

    Easy to use, cool to show!

    enjoy and send me a feedback!

    Rif: albertopasca.it





    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , , ,

    28
    gen

    Hi all,
    a large collection of tricks that you made with registry edit in your Windows Phone 7.
    These are all hidden features, but simply editable from the registry directly from phone.

    If you don’t have a unlocked phone with registry editor, read this article.
    After that, read this one to read / write registry in WP7.
    Rif: albertopasca.it

    Here we goooooo:

    Prevent Relock for ChevronWP7 unlocked device

    1
    2
    3
    [HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
        "PortalUrlProd"=""
        "PortalUrlInt"=""

    OR

    1
    2
    3
    [HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
    "PortalUrlProd"="127.0.0.1"
    "PortalUrlInt"="127.0.0.1"

    Enable Wifi 11n

    1
    2
    [HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms]
        "11nModeDisable"=dword:0

    Caller ID issue fix

    1
    2
    [HKEY_CURRENT_USER\ControlPanel\Phone]
    "CallIDMatch"=dword:7

    Live ID Activation Code
    (Usefull on HD2 to bypass boring serial number step)

    1
    2
    [HKEY_LOCAL_MACHINE\Software\Microsoft\GwpCPC]
      "ActivationCode"="R****-H****-I****-*7***-**8**"

    Developer Unlock State

    1
    2
    [HKEY_LOCAL_MACHINE\Comm\Security\LVMod]
        "DeveloperUnlockState"=dword:1





    Unlock Hidden option in ease of access settings

    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\System\Accessibility]
        "CompactMode"=dword:0
        "TTY"=dword:1
        "telecoil_UI"=dword:1
        "telecoil"=dword:1

    Set AutoData

    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\System\AutoDataConfig]
    "RunADC"=dword:1
    "ConfigurationStatus"=dword:0
    "Attempt"=dword:0
    "MaxAttemptsAllowed"=dword:3

    Show 3G Toogle

    1
    2
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Connectivity\CellularCPL]
     "Show3GToggle"=dword:1

    Add “never” option to Lockscreen screen time-out

    1
    2
    [HKEY_LOCAL_MACHINE\ControlPanel\Lock]
    "DisableNever"=dword:0

    Rif: albertopasca.it

    Disable System Logs for best performance (usefull on HD2)

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Application]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Security]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\System]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-CellularLogPublisher-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-Dtpt-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-FacebookStatusEvent-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-Mtp-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-SharePoint-Notification-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-ShortMsgEtw-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-SNTransports-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-Commsync-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-SyncStatusEvent-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\SYSTEM\EventLog\Channel\Microsoft-WindowsMobile-TelShell-ShellHistoryChannel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-UnifiedStorePublisher-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-RilDrvLogChannel-Channel]
    "DefaultEnable"=dword:00000000
    [HKEY_LOCAL_MACHINE\System\EventLog\Channel\Microsoft-WindowsMobile-ZTraceChannel]
    "DefaultEnable"=dword:00000000

    Cleartype settings

    1
    2
    3
    4
    5
    6
    [HKEY_LOCAL_MACHINE\System\GDI\ClearTypeSettings\0409]
    "ForceOff"=dword:1
    "Enabled"=dword:0
    "Quality"=dword:0
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\0409]
    "ClearTypeText"=dword:1

    System & Home Background color to grey (replace dark theme background color)

    1
    2
    3
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\1]
        "PageBackgroundColor"="#FF818181"
        "SysTrayBackgroundColor"="#FF818181"


    keypad,keyboard background & menu color black (Restart needed to apply)

    1
    2
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\1]
     "ChromeColor" value="#FF000000"

    Famous on WM6 glyph cache entry

    1
    2
    [HKEY_LOCAL_MACHINE\SYSTEM\GDI\GLYPHCACHE\0409]
        "limit"=dword:4000

    Notification & sound volume

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    [HKEY_CURRENT_USER\ControlPanel\Notifications\Vibrate]
    "Enabled"=dword:0
    [HKEY_CURRENT_USER\ControlPanel\Notifications\Message]
    "Enabled"=dword:1
    [HKEY_CURRENT_USER\ControlPanel\Notifications\Led]
    "Enabled"=dword:1
    "TimeOut"=dword:1e
    [HKEY_CURRENT_USER\ControlPanel\Notifications\Sounds]
    "Enabled"=dword:1
    "Repeat"=dword:0
    "Wave"="Alarm1"
    [HKEY_CURRENT_USER\ControlPanel\Notifications\Default]
    "LedRefCount"=dword:0
    [HKEY_LOCAL_MACHINE\ControlPanel\Volume]
    [HKEY_CURRENT_USER\ControlPanel\Volume]
    "Key"=dword:2
    "Screen"=dword:2
    "Mute"=dword:7
    "Volume"=dword:C666C666
    "MaxSystemUIVolume"=dword:1E
    "MaxInCallUIVolume"=dword:A
    "MaxdBAtten"=dword:2D
    "MinInCallVolume"=dword:1111

    Unlock Hidden option in ease of access settings

    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\System\Accessibility]
        "CompactMode"=dword:0
        "TTY"=dword:1
        "telecoil_UI"=dword:1
        "telecoil"=dword:1





    Change default IE search engine
    BING

    1
    2
    3
    4
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
        "DefaultScope"="Bing"
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Bing]
    "URL"="http://m.bing.com/search/search.aspx?mid=8015&LC=en-us"

    GOOGLE

    1
    2
    3
    4
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
        "DefaultScope"="Google"
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Google]
    "URL"="http://www.google.com/m?hl=en&gl=us&client=ms-hms-tmobile-us&q={searchTerms}"

    YAHOO

    1
    2
    3
    4
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
        "DefaultScope"="Yahoo"
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Yahoo]
    "URL"="http://de.search.yahoo.com/search?p={searchTerms}"

    Add url to IE new Tabs

    1
    2
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\AboutURLs]
    "tabs"="http://www.albertopasca.it"

    Rif: albertopasca.it

    ACCENT COLOR NAMES

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    HKEY_LOCAL_MACHINE\ControlPanel\Themes\AccentsDisp layName\0409]
    "0"="Green" ;
    "1"="Red" ;
    "2"="Blue" ;
    "3"="Orange" ;
    "5"="Pink" ;
    "6"="Brown" ;
    "7"="Lime" ;
    "8"="Teal" ;
    "9"="Purple" ;
    "10"="Magenta" ;
    "11" = "Light blue";
    "12" = "Dark blue";


    LIGHT

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\0\Accents]
    "0"=dword:FF339933
    "1"=dword:FFE51400
    "2"=dword:FF1BA1E2
    "3"=dword:FFF09609
    "5"=dword:FFE671B8
    "6"=dword:FFA05000
    "7"=dword:FF8CBF26
    "8"=dword:FF00ABA9
    "9"=dword:FFA200FF
    "10"=dword:FFFF0097

    DARK

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\1\Accents]
    "0"=dword:FF339933
    "1"=dword:FFE51400
    "2"=dword:FF1BA1E2
    "3"=dword:FFF09609
    "5"=dword:FFE671B8
    "6"=dword:FFA05000
    "7"=dword:FF8CBF26
    "8"=dword:FF00ABA9
    "9"=dword:FFA200FF
    "10"=dword:FFFF0097

    ADD MORE COLORS

    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\AccentsDisplayName\0409]
    "13"="Grey"
    "14"="Light grey"
    "15"="Black"
    "16"="White"
    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\AccentsDisplayName\0c0a]
    "13"="Gris"
    "14"="Gris claro"
    "15"="Negro"
    "16"="Blanco"
    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\0\Accents]
    "13"=dword:FF808080
    "14"=dword:FFC0C0C0
    "15"=dword:FF000000
    "16"=dword:FFFFFFFF
    1
    2
    3
    4
    5
    [HKEY_LOCAL_MACHINE\ControlPanel\Themes\1\Accents]
    "13"=dword:FF808080
    "14"=dword:FFC0C0C0
    "15"=dword:FF000000
    "16"=dword:FFFFFFFF


    ADD MORE THAN 10 UNSIGNED APPS

    1
    2
    [HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
        "MaxUnsignedApp"=dword:7fffffff ; Allow max number of unsignd apps

    VARIOUS

    1
    2
    [HKEY_LOCAL_MACHINE\Software\Qualcomm\QosLib]
      "Enabled"=dword:0
    1
    2
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Camera\Settings]
      "ScreenOrientation"=dword:0
    1
    2
    [HKEY_LOCAL_MACHINE\Software\Qualcomm\RIL\Options]
      "ExtendedSSInfo"=dword:0
    1
    2
    3
    4
    5
    6
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Connectivity\CellularCPL]
      "MakeDataConnectionExclusive"=dword:1
      "Show3GToggle"=dword:1
      "AutoNetwork"=dword:1
      "Roaming"=dword:0
      "CellDataOn"=dword:1
    1
    2
    3
    [HKEY_CURRENT_USER\ControlPanel\PhoneNetSelMode]
      "AlwaysShowGSMOperationModes"=dword:1
      "Option"=dword:0
    1
    2
    [HKEY_LOCAL_MACHINE\Software\HTC\Proximity]
      "ProximityDetectStatus"=dword:0

    NEVER LOCK SCREEN

    1
    2
        [HKEY_LOCAL_MACHINE\ControlPanel\Lock]
        "DisableNever"=dword:0

    Enjoy as usual and be carefully!!!

    Snippet from the web.

    Rif: albertopasca.it





    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , , , , ,

    27
    gen

    Hi all,
    you want change bing homepage from Internet Explorer?

    IE


    Here a simple tricks without unlocking your phone!

    The string to edit is here in regedit:

    1
    HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\AboutURLs

    and the key is edit is “tabs“.

    But… how to change Regedit string in Windows Phone 7 ???
    First of all, read this post (how to enable MGF menu).





    Next, open MGF, set the password like the previous link and go to:
    -> Engineer Menu
    -> Other Settings
    -> Edit Registry

    Select HKEY_LOCAL_MACHINE.
    On next textfield type correctly: “Software\Microsoft\Internet Explorer\AboutURLs
    Next one write “tabs” – STRING
    On the last one, in “Input Data“, type your home page like “http://www.albertopasca.it

    Before click SET, please click QUERY to verify that is all correct.
    At the bottom you can view registry current key.

    If you wrongly type strings, you could damage phone registry and could be necessary an HARD RESET! Be carefully!

    Once your setting are ok, click SET and restart your phone!
    Now, when you open Internet Explorer without any tabs, you see your custom homepage.

    Default tabs value is “res://ieframe.dll/tabswelcome.htm”.

    This settings was applied successfully on LG OPTIMUS 7, my phone.

    enjoy!

    Rif: albertopasca.it





    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , ,

    27
    gen

    Today a phone code to enable in your apps list a new tool, MFG!


    Open telephone and call ##634#.
    After that, in your app list you can view MFG.




    MFG use a password to enter in secret menù. Type 277634#*# and click ENTER.


    Once opened you can set/view/edit a lot of phone functions, like regedit!

    1 Device test
    2 ELT mode
    3 sw Sanity test
    4 factory reset
    5 version
    6 call ui display
    7 engineer menu
    8 Folder tester
    9 IRT test

    enjoy and be carefull!!!

    Rif: albertopasca.it





    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , ,

    20
    nov

    Eh si,
    anche il mio nuovissimo Windows Phone 7 fa di tutto per essere ritrovato!!!
    E’ un LG Optimus 7 – E900 !





    Chiama il telefono dal pc

    Tramite l’account di Windows Live, è possibile sapere:

    Trova
    Vedi la posizione indicativa del telefono su una mappa.

    Chiama il telefono dal pc

    Fai squillare
    Fai squillare il telefono con una suoneria speciale per 1 minuto, anche se il telefono è in vibrazione o silenzioso.

    Per i curiosi, questa è la suoneria che viene sparata a palla sul telefono!

    AUDIO

    Blocca
    Blocca il telefono e nessun altro potrà usarlo. Puoi anche scrivere un messaggio da visualizzare sullo schermo con le istruzioni per restituirlo.

    Chiama il telefono dal pc

    Cancella
    Rimuovi tutti i dati dal telefono e ripristina le impostazioni di fabbrica.

    Trova il telefono





    Altro? hehe


    albertopasca.it

    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , , ,

    17
    ott

    Bene,
    come al solito Microsoft non si tira indietro e presenta il nuovo SDK per Windows Phone 7 e XBOX 360!

    Provato subito in anteprima!

    Si presenta così il nuovo emulatore Microsoft. Un interfaccia completamente diversa dai soliti copia/incolla (Android, iPhone, Symbian) esistenti.

    Windows Phone 7
    Windows Phone 7




    Ovviamente è stata creata subito la prima APP inutile, ma funzionante!

    Windows Phone 7

    Funzionamento dell’sdk abbastanza semplice.
    Integrato in Visual Studio 2010, contiene i classici elementi da trascinare, proprietà, debug e via dicendo.
    Usa XAML e C#.

    La licenza per lo sviluppatore costa 99€ ed è valida un anno.

    Rif: albertopasca.it

    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , ,

    28
    lug

    Hello,
    I found a magic trick for windows… it use WMIC.

    Using WMIC, it is possible to list out all the running processes and their parameters!

    The following command-line outputs the list of running processes (with the complete command-line arguments used for each process) to a text file:

    1
    WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline





    Yeah!!!
    I was interested to this line in particulary…
    I downloaded a tool that convert mp3, avi, etc… in various format (it use ffmpeg background utility), but i want to know the correct parameters used in ffmped to convert avi in IPOD compatible video!
    After 1 second I give that magic string!

    ffmpeg.exe -y -i “DEC_M6_U1_L3_R.avi” [...] “DEC_M6_U1_L3_R.mp4″

    I’m happy!

    Rif: albertopasca.it



    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , , , ,

    21
    lug

    Well,

    a usefully thing (for me) that convert real media files like CAMV, RM, SMIL in iPod compatible video (AVI mpeg4).

    It’s a multithread windows executable easy to use.

    It merge RM and CAMV in AVI file and after convert the AVI in Mpeg4 for iPod compatible video in 320×240.

    Rcam

    you can download it here.

      - Requires Framework .net 2.0+. It’s a C# application.
      - Unzip all and click Rcam.exe. Mantain mencoder.exe and ffmpeg.exe in the same path of your executable.

    If you prefer unix version of rm camv converter, read this old article.

    WARNING! It’s a beta version 000000.000001 ! There are a lot of bugs… but it works!

    it’s all.

    Rif: albertopasca.it

    FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

    , , , , , , , , , , , , , , ,

    Switch to our mobile site