You don’t need any programming experience before you start a CS degree program. They generally start everyone out from scratch. The main reason to try out some programming beforehand would be to see if you like it.
I probably wouldn’t jump into Arduino or Raspberry Pi development right away, although it is fun to see how code can control hardware. I’d advise starting with something simple like a Javascript tutorial.