Hall effect sensor: everything you need to know for your projects with Arduino

sensor Hall effect

You may be looking for a device that allows you to detect nearby magnetic fields, or to use it as a non-contact switch, for applications that need water protection, etc. In that case, you can use the Hall effect sensors of which I will show you everything you need to know to integrate it with your future Arduino projects. In fact, if you are going to use them together with neodymium magnets, the applications you can get out of them are many.

The connection of this type of device is very simple, as you can see. Moreover, they are very cheap electronic components and you can easily find them in many specialized shops or on the Internet. If you want to know more, you can read on…

Read moreHall effect sensor: everything you need to know for your projects with Arduino

MOSFET: everything you need to know about this type of transistor


There are several types of transistors. These electronic devices are very important for today’s electronics, and they represented a great advance in moving from vacuum tube based electronics to solid state based electronics, which are much more reliable and consume less energy. In fact, the MOSFET are the ones used in most chips or integrated circuits, although you can also find them in printed circuit boards for many other applications.

Well, since it is such an important semiconductor device, I will present you everything you need to know about this work of science and engineering that allows us to make so many circuits and that have improved our lives in many ways.

Read moreMOSFET: everything you need to know about this type of transistor

Stepper motor: integration with Arduino

Stepper motor

Electric motors are increasingly in demand, perhaps the most popular among the Arduino makers’ projects are those that run on direct current, as they provide mobility. Among them, it is worth mentioning stepper motors that are used for multiple applications, especially for robotics, as actuators, etc.

Electric cars, small autonomous robots, industrial applications for automation, motion repeaters, etc. The reason why servo and stepper motors are so good for these applications is that they can perform slow or fast movements, but above all controlled. In addition, the drives are continuous for applications where many stops and starts are required with great precision.

Read moreStepper motor: integration with Arduino

MPU6050: module for positioning with Arduino

Plate MPU6050

If you need to create a project and position it, i.e. to know how it is positioned with respect to space, you can use the module MPU6050. That is, this module is an inertial measurement unit (IMU) with 6 degrees of freedom (DoF). That is thanks to the 3-axis accelerometer type sensors and a 3-axis gyroscope that it implements to work.

This MPU6050 can know how the object containing it is positioned for use in navigation, goniometry, stabilization, gesture control, etc. applications. Mobile phones usually include this type of sensor to, for example, control certain functions by gestures, such as stopping if the smartphone is turned around, driving vehicles in video games by turning the mobile as if it were a steering wheel, etc.

Read moreMPU6050: module for positioning with Arduino

NodeMCU: the open source IoT platform


NodeMCU is a module to implement an open source IoT (Internet of Things) platform. It uses a firmware running on the Espressif Systems ESP8266 SoC that we already analyzed in this blog, and a hardware based on the ESP-12 module, with 11 GPIO connections, one of them 10-bit analogical (1024 possible digital values), as you could read in the same article that I refer to.

The term NodeMCU refers to the firmware and not to the development kits, although lately it is used as a synonym for the whole platform. Also, you should know that these modules used as Lua language, at the beginning, but as you will see that has evolved. In fact, they were based on the eLua project and the non-operational Espressif SDK for ESP8266, and using open source projects to compose the missing parts like lua-cjson, spiffs, etc. In case you don’t know it, Lua is an imperative and structured programming language light enough to be used as an interpreted language with extensible semantics.

Read moreNodeMCU: the open source IoT platform

All about the Arduino I2C bus

Arduino bus I2C

With Arduino you can create a lot of projects, as you can see if you read OSHardware programming the microcontroller in a simple way. But among the analog and digital connections of this free hardware board, there are some that are still somewhat unknown to many beginners, such as the true potential of the PWM connections, the SPI, the RX and TX pins of the serial port, or the I2C bus itself. So, with this entry you can at least know everything you need from the I2C.

With the I2C bus you can connect and use many third party devices that have this type of protocol to communicate with the Arduino board. Among them, you can connect accelerometers, displays, meters, compasses, and many more integrated circuits thanks to this Philips invention.

Read moreAll about the Arduino I2C bus

How to make a powerful home metal detector

If you like DIY and adventure, one of the best instruments you can have is a homemade metal detector. With it, you will not only have fun searching the countryside for “hidden treasures”, but also have fun setting up this device with your own hands and following a few simple steps. There are several methods to do this, although some propose to use an old radio that you do not use, but the results will not be as good.

This article proposes a more professional metal detector with higher power that allows you to detect smaller metal parts or those that are located at greater depth. This will avoid you to invest a significant amount of money in a metal detector, which can vary a lot in price. For example, you can find some very cheap ones that will give poor results for about 40 to 4800 euros on some professional products.

Read moreHow to make a powerful home metal detector

TP4056: the module for charging batteries

Many of your projects may need a lithium battery charger. If that’s your case, you’ll need a module like the TP4056. This circuit allows you to connect an electrical power source to its input and a battery to its output so that it can be properly charged. Something very practical because more and more devices need a battery to work.

The sources of electrical energy can be various, from a mains adapter, a power supply, a solar panel, a generator, etc. The same components are not required in all cases, as in some cases the signal from that source has to be adapted to be suitable for this TP4056 module. But this is something that depends on each case and you will have to evaluate it according to your needs…

Read moreTP4056: the module for charging batteries

Push button: how to use this simple item with Arduino

push button

A push button is a button that allows to interrupt or send an electronic signal. With this simple element combined with other elements you can create projects for many applications. The use of this type of button is very common when it comes to projects with Arduino. And by combining several of these buttons you can create a somewhat more complex keyboard, although there are already programmable keyboards for these uses .

By the way, don’t confuse the button with a switch. They’re totally different things. The difference is that the switch is activated or deactivated with every push on it. While the switch will only remain in a state while it is being pressed. I have commented that it can send or interrupt, that is because there are two fundamental types of buttons.

Read morePush button: how to use this simple item with Arduino

7-segment display and Arduino

7-segment display

A display is a small screen with segments that are illuminated by LEDs to show some information. That’s why they are very useful to show some kind of data, such as a counter count, the value collected by some sensor in decimal, etc. As you know, this kind of 7-segment display can form numbers and letters, as well as some symbols. Although it is quite limited.

There are other multi-segment displays that can form more complex symbols or alphanumeric characters. You can also combine several of these 7-segment displays to show more numbers or amount of information. In fact, they already sell modules with several of these simple displays joined together to create a somewhat larger panel, like modules that use four 7-segment displays, etc.

Read more7-segment display and Arduino