/kernel_reloaded/

Author:

Other contacts

Novi članci

Flickr Goodness

Categories

gadgets Archive

June 19, 2013 @ 21:14

Reading temperature with WR703N and DS18B20 on OpenWrt

temp_sensor

 
You can easily get temperature readings from external Dallas DS18S20 sensors (1-wire protocol) on your TP-Link WR703N.
 
First things first, grab your credit card and order few Dallas DS18S20 sensors and usb to serial adapters. Now you need to connect Dallas DS18S20 sensor to USB to serial adapter.
 
After you got hardware part sorted now you need to setup software part. Main tool for reading temperature from 1-wire sensors is digitemp. Digitemp uses bit-banging to emulate 1-wire protocol over serial port.
 
opkg install digitemp
 
You also need usb to serial kernel module (driver) so install that also:
 
opkg install kmod-usb-serial-cp210x
 
After digitemp is installed you need to search 1-wire bus for all connected sensors, each sensor has it’s unique address so is has to be discovered and added to config file with this command:
 
digitemp_DS9097 -s /dev/ttyUSB0 -i
 
Now you can read temperature from your sensor:
 
digitemp_DS9097 -a -q
 

Filed under diy, english, gadgets, wireless · 1 Comment »

March 2, 2013 @ 22:42

Formatting output from Raspberry Pi temperature sensors

 
Raspberry Pi crew released tools and drivers than enabled reading from CPU and GPU temperature sensors.
 
In order to read GPU temperature use:
$ /opt/vc/bin/vcgencmd measure_temp
$ temp=43.3′C
 
Reading CPU temperature is similar, just read value from sys file system:
$ cat /sys/class/thermal/thermal_zone0/temp
$ 43850
 
As you can see both outputs need additional formatting to get only number values from them, and if you wish to have decimal precision then it gets a bit more complicated…
 
Read rest of story…

Filed under diy, english, gadgets, linux, tips&tricks · 5 Comments »

February 13, 2013 @ 19:15

Fix Arduino Mega 2560 avr-libc issue

Arduino MEGA2560_09
 
If you have Arduino Mega 2560 on any updated Linux distro with avr-libc 1.8 you probably have an issue with compiling.
 
Read rest of story…

Filed under english, gadgets, linux · No Comments »

February 12, 2013 @ 17:04

Novi službeni laptop

 
Eto već su prošle godine i stari nettop koji me par godina služio je odradio svoje, i ako se zvijezde poklope ima šanse da dobijem novi laptop, budget nije neograničen i moram birati između dva branda HP i Lenovo.
 
Prvo sam mislio da ću birati između nekog i3 laptopa no kako su cijene dosta pale, već se za razumnu svotu može dobiti i5, a neki modeli čak imaju i SSD disk!
 
Prvo treba krenuti od zahtjeva…

  • laptop treba biti prijenosan, težina oko 2 kg, nikako preko 2,2 kg
  • ekran 13-14″ opet zbog lakšeg nošenja okolo
  • SSD, ako ikako može, no cijena je tu faktor
  • mat ekran
  • kvaliteta izrade
  •  
    Read rest of story…

    Filed under croatian, gadgets, pc hardver · 6 Comments »

    April 12, 2012 @ 16:29

    Enable ad-hoc wifi networking on Android

     
    Google has disabled wireless ad-hoc networking in Android from day one. Underlying Android libraries and wifi stack support adhoc networking and so far Google has provided no explanation why it still, even after four years, leaves adhoc disabled.
     
    There has been huge outcry from Android users over this issue, but there is still no answer from Google Android developers.
     
    There are few suggestons on xda-developers forum, and also on Stackoverflow, but most solution so far consisted of using new rom that had ad-hoc support enabled or manually messing about system config files.
     
    But wait, there is an app for that!
     
    Read rest of story…

    Filed under english, gadgets, linux, tips&tricks · No Comments »

    February 7, 2012 @ 16:09

    Meteo wifi mesh točke

     
    Krenula je zanimljiva rasprava na CWN (Croatian Wireless Networks) google grupi o Meteo stanicama. Prenosim svoj dio rasprave i pošto vjerujem da će ova tema biti biti zanimljiva i široj geek publici ;)

    Ako nekoga zanima i pristup CWN grupi samo se treba javiti i dobije pozivnicu.
     

    >
    > @Valent: što to točno radite? nisam upućen
     

    Za prave profi i manje profi vremenske stanice je definitivno najupućenija Istramet ekipa [1] pošto su oni napravili po Istri čitavo čudo meteo stanica i bolje prognoze imaju od DHMZ-a ;) Bili su i na tv-u [2]. Vjerujem da oni najbojle znaju koje stanice valjaju i koje ne, ovisno o kvaliteti i uvjetima u kojima trebaju raditi.
     
    Ono što se radi preko projekta sa ekipom iz Wlan-Slovenije je da se od malih tp-link routera naprave senzorske stanice za sve tipove podataka, pa tako i za meteo podatke [3] ali i za razne druge tipove podataka. Evo kako to može lijepo izgledati [4].
     
    Bila je i super usporedba 5 meteo stanica u emisiji Gadget Show u rangu 1000-2000 kn [5] ali emisiju mozes pogledati online jedino ako imas vpn do engleske ;( ali našao sam i komentare na tu emisiju na nekom forumu [6]
     
    Po meni najbolje uzeti tp-link wr741 i na njega staviti DS18B20+ senzore kao što to radi ekipa iz Wlan-Slovenije [7] i za par sto kuna imaš online meteo stanicu. Mi smo sada naručili 10 senzore i krećemo u
    izradu pločice za 1-wire sabirnicu, tako da ćemo uskoro u Osijeku imati 10-ak meteo wifi mesh stanica.
     
    Pozivam i sve ostale da se uključe i u svoja mjesta postave mesh meteo nodove… sada dok je snijeg vani je pravo vrijeme, kada se okopni sve treba biti spremno samo za nakačiti na zidove i krovove ;)
     

    Ako vas zanima više projekt Otvorena mreža možete pročitati članak [8]. Svi novi sudionici na ovome međunarodnome projektu su dobrodošli, ako ste u Slavoniji i Baranji samo se meni javite ili pokrenite ogranak ovog projekta i u svome mjestu ili kvartu ako je veći grad u pitanju. Za sva dodatna pitanja stojim vam na raspolaganju.
     

    [1] http://www.istramet.com/
    [2] http://mojtv.hr/video/v/aTfOKdSGduE/istramet-u-dnevniku-nove-tv.aspx
    [3] http://dev.wlan-si.net/wiki/Modifications/SimpleThermometer
    [4] https://nodes.wlan-si.net/node/kozolectest/
    [5] http://fwd.channel5.com/gadget-show/videos/jon-test/jon-test-weather-stations
    [6] http://www.hardytropicals.co.uk/forum/viewtopic.php?f=1&t=8456
    [7] http://dev.wlan-si.net/wiki/Modifications/SimpleThermometer
    [8] http://kernelreloaded.blog385.com/index.php/archives/projekt-otvorena-mreza/

    Filed under croatian, diy, gadgets, linux · No Comments »

    December 20, 2011 @ 10:03

    Android Samsung Galaxy S2 vs Apple Iphone 4S TCO

     
    I have 2 year old smart phone (iPhone 3GS) and mine 2 year contract is almost over, so I’, looking at my options for upgrade for next two years.
     
    I really like playing with gadgets but I’m also cost concious, so I’m looking at TCO (total cost of ownership) of my next device.
     
    I’m not willing to pay over 200 kn (36$ or 27€) per month for my contract, so these are my options:
     
    Samsung Galaxy S2:
    T-Mobile with 150 kn contract – handset 2298 kn + 2 year TCO = 5898 kn
    VIP with 200 kn contract – handset 1999 kn + 2 year TCO = 6799 kn
     
    Apple Iphone 4S 16GB:
    T-Mobile with 150 kn contract – handset 1998 kn + 2 year TCO = 5598 kn
    VIP with 200 kn contract – handset 1699 kn + 2 year TCO = 6499 kn
     
    Maybe our legislative should make it mandatory for everybody to show TCO prices because that is what we pay for.
     

    Filed under english, gadgets, općenito · No Comments »

    October 5, 2011 @ 9:17

    Ugasite govornu poštu

     
    Mobilni operateri zarađuju korištenjem usluge govorne pošte koju namjerno ili “slučajno” uključuju svojim korisnicima.
     
    Evo kako isključiti uslugu govorne pošte kod Hrvatskih mobilnih operatera:
    * T-Mobile: #70# + tipka za poziv
    * VIP: ##002# + tipka za poziv
    * Tele2: *134*0# i tipka za poziv
    * Tomato: ##002# i tipka za poziv
     
    Pomognite svojim pritateljima i rodbini da uštede novac i svima im isključite uslugu govorne pošte.
     

    Filed under croatian, gadgets, općenito · 3 Comments »

    August 25, 2011 @ 8:14

    OpenWRT installation from Tomato

     
    I have an older Linksys WRT54GL v1.1 with Tomato firmware. Although I’m a hardcore Linux geek I never used OpenWRT, yeah, I know – shame on me ;)
     
    OpenWRT wiki has installation instructions that explain how users should first install 2.4 linux kernel based image, set some nvram options, and then install or update to latest 2.6 based firmware image, but WIKI has no links how to do an update.
     
    Read rest of story…

    Filed under diy, gadgets, linux, tips&tricks, wireless · 5 Comments »

    July 4, 2011 @ 17:30

    Google caught cheating in Android@Home demo

     
    You would expect that Google will use Android@Home protocol in it’s Android@Home demo [1], right?
     
    Well it looks like Google got caught cheating. It looks like Google has actually used equipment from Synapse Wireless [3] and their protocol called Snap [4], and not their own, in-house developed Android@Home protocol.
     
    Why did they do that? My guess is that they have limited developer resources who could code such a complicated protocol and wanted to do field survey how would press, other companies and general public react before they pored expensive development hours into questionably interesting product.
     
    Nice try Google, but it is still cheating.
     
    I would like to share comment from LinuxMCE [5] (most advanced smart home solution and it runs in Linux) forums by Darren:
     
    “Interesting…. but Google would have to buy it and open it up a bit more for it to provide a real alternative.
    From the Synapse website “Synapse Wireless Inc. provides patented hardware and software technology that helps tie together devices for remote monitoring and control.”
    So in terms of an application layer free of patents – not at the moment. But perhaps Google will but the company, open source the stack and donate the patents to one of the open consortium’s.
    We’re still in for a bit of waiting it seems.”
     
    I really hope that either Google buys Synapse Wireless and releases it’s patents to one of open consortium’s or does so with their own (hopefully in development) Android@Home protocol.
     
    [1] Android@Home demo at Google Keynote
    [2] Google’s Android@Home – The plot thickens…
    [3] Synapse Wireless
    [4] Snap protocol
    [5] LinuxMCE

    Filed under english, gadgets, wireless · No Comments »

      Recent Comments

      •  Tomáš Pavel: So I just solder it together and it works? That looks easy.
      • Valent Turkovic: NetVideoHunter (plugin) NetVideoHunter is a Firefox add-on (extension), and you can easily download...
      • Valent Turkovic: Also interesting, Google+ Share – https://addons.mozilla.org/en- US/firefox/addon/google-sha...
      • sf_jeff: Did you look under the “View” tab under the computer on the left?
      • blahmer anagas: set get fans at full speed hp linux, how can i set my fans to full speed on my hp 6530b 6730b? ^ just...

      Archives

      del.icio.us

      Flickr photostream

      User not found

      Meta meta :)