Doblocks is an Arduino-based open source hardware platform for novice programmers. It contains 15 different colour and function modules that can be combined on the main module as desired, each with a magnetic connection. Users can easily write portable applications according to the combination in the Arduino IDE. In addition, the Bluetooth module can communicate with the app, making Internet of Things applications easier.