Skip to content

Arduino-breadboard1
Arduino on breadboard - 1

Why should we build an Arduino platform on breadboard?
A simple answer is: why not?
This is far away to be an idiot answer, because sometimes people wants to take account into electronics but doesn't know where to start from.

Differently from a pure theoretic book, the practice is a continuous discover of our potentialities.
Very few people has the ability to see in mind what a theory can onto the matter, while the opposite path is more widely available.

The strength of a good practical spirit is the ability to better understand the theory!

So... why not?

...continue reading "Constructing an arduino on a breadboard"

Valve Hack
Valve Hack

Buying from e-bay a common valve usually is not gravity feed.
Needs a lot of pressure in order to allow the water to flow when the coil is energized.
The tools that we are going to need in order to make this modification are :
A glue gun
A straw
A water bottle
Tape
A diode
A screw driver
A dremel with 1.7 mm drill bit
A 12V 1A AC to DC adapter / power supply

...continue reading "Converting a normal water valve into a gravity feed valve"

Making DMM
Making DMM

In this third and last article of this series we will add two libraries in our Lazarus project and the event handling.
The compiled project can be found at TrustFm website.
We are going to use the synaser library (part of synapse) for the serial communication and the PlotPanel in order to plot our real time graph.
For synaser we are going to add only the "synaser.pas" file into our project.

For the PlotPanel we need to add the "plotpanel.pas" file into our project.

More informations for synaser can be found here and for PlotPanel here

...continue reading "Designing the software data logger for MASTECH MS8229 part2"

In this short post we will see how to do a measurement of resistance when you have to test a grounding system and how to do a ground resistance measurement.

**Little theoretical summary**

One of the major causes of injuries and danger in the electrical systems are high failure voltages (rated value of the system plus the power surge), due to generally high failure current (look at this post) of systems. Those currents are usually drained to ground by grounding systems. It's easy to understand why you want the lowest resistance possible in the grounding system, merely:

RG = UG / IF            (1)

...continue reading "How to do a soil/grounding system resistance measurement"

hole hack 3
MASTECH MS8229

We have seen in this article how to hack fiscally our multimeter.
Now we have to start building our software in order to parse the 14 byte hexadecimal string into something more human.
The knowledge of bitwise operations is highly recommended and specially the masking technique (bitwise AND).
It is now time to start !
From the FS9721-LP3 documentation we clearly see that we get as response from the device a 14 byte code.
Each byte of this code has this structure NNNNXXXX where NNNN is the number of the segment of the table.
The reported table below has 14 segments (seg1-14).

The XXXX part reveals which bits of the NNNN segment are active (1 = true) or not (0= false).
We immediately understand that a correct code should be 1X 2X 3X 4X 5X 6X 7X 8X 9X AX BX CX DX EX since all the segment columns of the table should be filled.

Mastech MS8229 LCD Decoding table
Mastech MS8229 LCD Decoding table

Time for an example. If the first byte of the 14-byte code is 17 (in hex) means that we are talking about the segment 1 (which is correct) and the settings for this first segment are 7 (in hex) or 0111 in binary.
From the table we discover that RS232,AUTO and DC should be on and AC off.

...continue reading "Designing the software data logger for MASTECH MS8229"