onsdag 10. mai 2017

WS2812B RGB Led Chips

The soldering pads are ok sized even for
persons that arent soldering very often.
Recieved 100 WS2812B RGB Led Chips today.
These are the same kind that is used in the neopixel (and clones of such).

It means you can do adressable RGB leds with "as many" pixels as you want, simply using just data in / data out (and power + ground).

Adafruit has a nice tech sheet of the LED chips (5050): https://cdn-shop.adafruit.com/datasheets/WS2812.pdf

I have had fun with these lights in the past, by hacking IKEA lamps, making my own MQTT IoT smart-light (connected to Home Assitant).

So, what are potential use-cases?

  • Very compact lights on a bicycle
  • Very compact lights on a stroller
  • Hidden lighting insde a house, behind a TV etc.
  • Lights for toys/RC-cars, etc.
Since they are individual adressable, you dont use a lot of ports on the MCU.. Let's say you want to make a doll house with rgb lighting in every room, also on the outside. That is not an issue, you can just use a couple of pins on the MCU :-) Then you can use other pins for motion sensors, oled display etc.

Of course there is a limit of how much current you can draw from the MCU, so you might have to provide external power if you are using a lot of leds.

mandag 16. januar 2017

OnePlus 3T - get your nougat

Some countries lag in the update cycle of the infamous phone OnePlus 3T (also the OnePlus 3).

In a few easy steps you can get Nougat (Android 7) today!


  1. Download Opera VPN from Google Play Store
  2. Activate said VPN
  3. Set region to oh Canada
  4. Search for update in menu
  5. Start update
  6. Pause update
  7. Disable VPN
  8. Resume update
Steps 6-8 are optional, yet will speed up the download of said update.


onsdag 13. april 2016

Android app for weather and local air quality - now updated with feedback UI!

For my BA project I'm making a contextual app for Android 2.3+ that targets the users context (time and place). It shows the forecast and weather now as well as local air quality.

Weather is shown for the entire globe where as the air quality is limited to stations in Norway. It uses my service bus that runs on a LEMP server with Redis for key/value storage.

My App asks my servicebus for the closest stations, the service bus runs geospatial queries and then query the API's if it's not already stored in Redis.

The user can then enrichen the data by submitting how the local weather is, as some times it's not the closest station that is most correct (maybe you live at a different elevation, maybe there is a mountain between you and the closest station or other factors that would mean that other stations should be weighted above the closest ones.).

Current data sources:

onsdag 9. mars 2016

Android app for hacked robot vacuum

I tried the third party Android app for my IoT hacked robot vacuum and I really like it.

Thank you the german hackers and of course LG that uses linux!

Here are some pics from alfa release.






If you want to try the app, look at my previous blog post: LG Hom Bot Square Wi-Fi mod

LG Hom Bot Square WiFi MOD

LG Hom Bot Square now with Wi-Fi :-)

This is a very nice Internet Of Things modification to the LG robot vacuum!

After completing the guide here: 
http://www.robvanhamersveld.nl/2015/03/13/lg-hombot-3-wifi-mod/ I went to the german robot hacking forums where I found out that they also made an Android APP. Will have to download the APK and maybe the source too.

This is how the robot views the world!

The Android APP can be downloaded from here: https://github.com/rampage128/hombot-control/releases/

This is what a robot map looks like


Related german links:

tirsdag 8. mars 2016

Sony Z5 series getting Android Marshmellow

Sony Z5 series now has marshmellow rolled out in Norway. If you have yet to get it OTA you can try to connect a USB cable to your PC (having Sony PC Companion installed).

mandag 29. februar 2016

Redis service bus for API calls

Redis service bus for API calls means that I can store the
users context (geo fence) as a time+place context.
Instead of having all the users query the same API calls for the same context, why not geo fence the API queries and let redis act as a remote storage for the results? That's what I asked my self in my undergoing bachelors project.

My Android app "Kontekst" (Norwegian for Context) will query data sources like YR and NILU – Norsk institutt for luftforskning.

The context of the user shold show data relevant for the user and the user should not have to wait for the same data delivered to other users in the same context. There is the dimension place (location) and there is time. Time doesent stand still even though the user does and after 10 minutes, the data is considered stale when it comes to air quality and the local weather situation.

Yet there are hundreds of thousands of inhabitants, even in the city of Bergen, Norway! So why not use the contexts and harvest the great powers of Redis?