Qwiic hat and sensor with R pi 3A+

Got the Arduino IDE installed on a working Raspberry pi 3A+, then put on the QWIIC Hat and connected a sensor (UV spectrometry). LED of the sensor lit a couple times, then the Pi crashed.

Tried to restart, not working, then formatted the SD card, re-installed the Ubuntu with nothing else and still the Rapsberry pi not booting (just a blue initial screen, then nothing)

What can be done?

You need to use raspi-config to enable communication with a peripheral device.

Unplug everything, re-flash the OS, and start over after enabling the protocol(s) you’re gonna use