Sensors with STM32F4Discovery

Hi all,

I wanted to attach some sensors to my STM32F4Discovery board and thought I should ask people on the mailing list for recommendations. The basic question I have is, what is the easiest way to connect a sensor to this board with RIOT running on it? What is the interface that I should use (ADC, GPIO, I2C?). What interfaces does RIOT support?

Regards, Adeel


I would take a look at the existing drivers in RIOT. The drivers say what connection type the support (most often SPI/I2C). Then you go on eBay and look for "Arduino" + the sensor you are interested in. Usually that leads you to a cheap board with the sensor and all the infrastructure electronics it needs (resistors, capacitors, ...).

Cheers, Ludwig