Translate

Saturday, March 24, 2018

Drobo - monitoring it



Now that the Drobo unit is on the final place, connected to the server, I did set up a monitor activity of it.

The server, other than handle the backup operations, also monitor that everything is OK, Drobo included.





Friday, March 23, 2018

Repairing a zapper

In the springtime, summer and fall, there is an appliance that works almost 24 hours a day, at least in my garage.
A zapper.
This one, a PestiTech, did work all the last summer and fall.
Really, in Arkansas is not an option to have a zapper to limit the "things" that can fly and bite you !
The garage is the main entry for these pests, so a good zapper is really the first protection.
Now it was time to restore it and ... of course dead !

Saturday, March 17, 2018

Why sometime ...

... simple things does not work or just make you crazy losing hours and hours if not days  ?

Who work in the magical world of the software development, especially embedded or firmware, sometime find himself in weird situation, when something incredibly simple and trivial, simply does not work.
Why ?

Saturday, March 10, 2018

magclock

Years ago I did a very quick project with a MSP430F2013 capable to generate a signal to drive a magnetic clock like the one below


(the video does not represent the actual clock, just an example).

The code, few lines in C, is in the magclock repo on my github account.

The idea is quite simple.
Three coils are controlled by the MSP430 in a sequence, like the brushless hard disk motors, same principle but much much slower.
Basically the system is designed to move a dented wheel one notch every second.
That wheel then controls the other gears of the clock.

The only thing is to have an accurate timing, so better to use a crystal on the MSP430.
This article give some other information about the MSP430 clock capabilities and settings.

Friday, March 9, 2018

Update firmware of a GXV3000



The GXV3000 is an old phone from Grandstream, not anymore in production and supported, but still available on Ebay at a decent price.
It is possible to even find in Ebay "new" GXV3000, i.e. never used before, like one I bought recently as a replacement for a broken one.
So I had to go back on memory lane in order to update the firmware in it to the last available one (high recommended in order to fix the SPIT problem)
Here what is needed to do the job.


Friday, March 2, 2018

A personal CI system




In this article I'm describing how to set up and configure a basic CI (Continuos Integration) system that can be used for many  things, based on an open source program called Jenkins.

Of course, for my projects to set up a CI  to build them is just little bit overshooting, but surely is interesting and fun.




Thursday, March 1, 2018

Freddy the cat - memory

Once in a while I put something not technical related on my blog.
Today is one of these days.

Little bit more than one year ago, our cat, Freddy the cat, left us.


Still missing him.
Recently Ladyada from Adafruit, a shop where sometime I buy electronic stuff, communicated the death of her cat, Mosfet.
I remembered Freddy.

So ... dear Freddy, I'm posting on my blog a small memory of you.


Saturday, February 24, 2018

Playing with Drobo (updated !)



I did buy a Drobo for my server. 
Here a kind of review and my discoveries.

Of course the main purpose is to connect Drobo to my server, so I'm planning to use it only for Linux.
The goal is to end up with at least  a couple of Terabyte of space, possibly more in the future.



Friday, February 9, 2018

Compile ZeroMQ as static library

On some environment can be useful to have ZeroMq as static library rather than a dynamic one.
In order to create a static ZeroMQ library, follow these steps.

To do so, under ubuntu :
  1. sudo apt-get install build-essential
  2. sudo apt-get install libtool
  3. sudo apt-get install automake
  4. sudo apt-get install autoconf
  5. sudo apt-get install uuid-dev
  6. Download the tarball for the libsodium from the Libsodium website
  7. Extract the tarball in a directory
  8. go in the directory
  9. ./configure --enable-static --disable-shared
  10. make
  11. sudo make install
  12. Download the tarball from the ZeroMQ website
  13. extract the tarball in a directory
  14. go in the directory
  15. ./configure --enable-static --disable-shared
  16. make
  17. sudo make install
At this point is better to close all the terminals and re-open them.

On some systems is better to run :
sudo ldconfig to update the system library cache, otherwise it is requested a reboot of the machine.

Install Czmq

In order to bind the library with the C language is necessary to compile the library Czmq


  1.  git clone https://github.com/zeromq/czmq
  2.  cd czmq
  3.  ./autogen.sh
  4.  ./configure --enable-static --disable-shared
  5.  make
  6.  sudo make install
  7.  sudo ldconfig







5V Solar Power Supply - testing results

As described in the 5V Solar Power Supply - testing system article, here some results after running tests for a while.

First of all, I did connected the data logger to the battery terminal and let it run for few days, with the load connected, drawing around 350mA.
Here a graph, starting with the battery charged.
Once the battery was depleted, with the load connected there is no way to have it recharged enough.
The weather was good at least for the last two days, so plenty of sun, but even with the 3W solar panel the battery was unable to be charged enough.


This indicates anyway the need to disconnect the DC/DC converter in order to have the battery charged.