HowTo: PCB - Building the Anemosens Sensor PCB

The Anemosens sensor PCB is the basis for the sensor setup of Anemosens a 3D printed anemometer that I developed for the second version of WinDIY.

For this purpose, an AH49E Hall sensor and an AS5048B I2C 14-bit "magnetic rotary encoder" are installed on the PCB. The AS5048B is used to determine the wind direction. The AH49E Hall sensor can be used to measure the wind speed by measuring the time of one complete rotation of the wind blades.

To assemble the PCB, it is divided into two parts at the prepared points and soldered together at a 90° angle. The finished PCB can then be installed in the 3D printed housing from Anemosens and fixed with three M2x6 screws.

I bought the board from the board manufacturer which has provided me with these free of charge. At this point, thank you again for the great service and cooperation 🙂.

In the following you can see some pictures of the finished board and all possible components.

You can also see more info in the following video.

This video also shows the setup of the Anemosens sensor PCB.

Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.

Affiliate links/advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support in being able to offer other useful projects in the future. 🙂 


For the assembly you have to master SMD soldering tasks. The following articles contain tips for this.

Required tool:

PCB ManufacturingAll infos you need for the production of the PCBs can be found here:

The structure

In earlier projects I have inserted single pictures at this point to show which components have to be soldered where on the PCB.

An even better way to get an overview of which components belong where on the PCB is shown in the following paragraph. Thanks to the work of OpenScope Project you can now generate very helpful HTML files in which you can directly see which components have to be installed where on the PCB.

You can see the overview for the Anemosens sensor PCB here: Anemosens Sensor PCB

The current file can also be found in the GIT repository under the following link:
(Please note that you have to download the HTML file to view it. Directly from the GIT repository this is not possible).

Program firmware

The firmware for controlling the sensors on the Anemosens sensor PCB in combination with the Anemosens_MCU PCB is still under development. You can see the current status from the GIT repository download. You can find the firmware at the following link.

Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at       


  1. Hi,

    First of all, congratulations for this project, it is really great to share your knowledge and I am very grateful.
    Just one question: does the pcb sensor bought on pcbway come with the electronic components on it (AS5048B, AH49E, ..)? Or do I have to buy them on my own?

    Thanks for your answer!

    1. Hi Nathan,
      Thank you. 🙂
      You have the choice. 🙂
      You can order the bare PCB or the PCB including assmebly. I recently prepared all the needed files for it. It is available in the repository as well.
      Best regards

  2. Hello Fab,
    Would you be so kind as to share the schematics of the sensor and of the MCU? If they are already available, I just couldn't find them.
    Thank you very much,

      1. Hello Fabian,
        Thank you very much for your reply.
        The sensor circuit seems to be not too much complicated; I didn't notice that clicking on a pad the whole track get highlighted, I'll try to follow your suggestion to recreate the schematic. I need it to study your idea and to try to understand which kind of signals are coming out from the circuit.
        This is a very interesting project, thank you for making and sharing it.
        Kind regards,

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.