This will help me to find the error in the code if the sensor output data is not correct. STM32 IDE also has the advantage of checking the memory data through debugging though its programming is not that easy. There are 5 USART in the Nucleo-64 board which helps me to connect maximum 5 peripherals with the board which works on serial communication. As my sensors generate the pulses of few volts which is not easily recognizable, the 12 Bit ADC resolution helps me to get better precision than Arduino. Sharing connectors, STM32 Nucleo boards can easily be extended with a large number of application related hardware add-ons (Nucleo-64 include Arduino Uno rev3 & ST morpho connectors, Nucleo-32 include Arduino Nano connectors). This helps me to get a more accurate result of my sensors reading. The highly affordable STM32 Nucleo development boards allow to try out new ideas and to quickly create prototypes with any STM32 MCU. It has a 12 bit ADC resolution which is better than 10 Bit ADC resolution of Arduino and also Arduino-Mega has an 8-bit microcontroller while Nucleo-64 has 32-bit microcontroller in it which affects the speed also. There will be no issue of current in the STM32 board and also I can do the register level coding easily with the STM32 microcontroller. STM32 also gives the debugging option during the code run. The STM32 gives multiple options for IDE’s such as IAR Embedded Workbench (EWARM), Microcontroller Development Kit for ARM (MDK-ARM) by Keil, TrueSTUDIO by Atollic and System Workbench for STM32 (SW4STM32) by AC6. While observing these errors I try to jump on the STM32 board which is the Nucleo-L152 board. It only allows observing the data in the serial monitor. It does not require to do register level programming due to its pre define library which is easy to use directly in my code by including the header file at the starting of code but when I was using multiple sensor interfacing with Arduino mega 2560 board, the sensor's output does not give correct reading due to the current required by sensors is exceeded the limit of maximum current of Arduino mega board and it also has disadvantage that during the running of code the Arduino IDE does not allow to debug the error or watching the data in the memory window etc. While programming the Arduino, it is easy to use the predefine function for ADC and USART peripheral which I am using in my project. I also want to share my experience with Arduino and STM32 boards. All Arduino boards are programmed through the Arduino IDE only and it is the big advantage of Arduino that its library of examples is present inside its software. Arduino gives great platform to learn the project of IOT’s with easy programming for beginners and students.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |