Main Site Documentation

Running Arduino on the BrainPad


With the oscillosope I see no spikes on I2C lines of the oled display with the Arduino App. When I use a BrainPad TinyCLR App I can see spikes when I write on the display.
Something seems to be wrong with the pin definitions.


Yes i forgot one thinggggggg

pinnames.h should be pullup for i2c pins but i will send to you info when i go home


Are you relying only on internal pullups for i2c??

Some implementations may need stronger pullups. I had to use 1k pullups with multiple MCP23017’s on a bus. Datasheet will tell you definitively (in that case MCP’s datasheet recommended 1k on those, not 2.2k)


I suggest to continue the discussion about the oled display in a separate thread.

This thread should not be overfreighted with too many details.


Today I Received Brainpad so from today i will test and check and re-create all examples from ghi to arduino ide and 2 mbed variants (one with vs2017 and visualgdb)(another one with online mbed compiler) and i will publish them at github with instructions.


I tested some samples with i2c ssd1306 and i can confirm code that working for Nucleo STM33F411 do not work on Brainpad version compiled for Nucleo STM32F401 even with pullup version as you say.

I’m going next test I2C scanner to see what detect it.


O.K., the Adafruit_ssd1306_128x64 library now works perfectly on the BrainPad.


And here is my first Project with the BrainPad running Arduino Code


And here is, how the BrainPad can be programmed via the serial SWD Interface


And here is Buzzer, Lightsensor, Temperaturesensor, and Accelerometer