• jbaker

    I'm trying to get values from analog sensors connected to a raspberry pi pico. That pico is plugged into a rp5 where I want to read those sensor values in Pure Data. Question-- to interface the pico's sensor values with the Pure Data I can either

    Use the pico as a keyboard HID device (using MicroPython on the pico, and "HID" object in Pure Data), or

    Use the "comport" object in pure data to unpack and read the sensor values over serial.

    Does anyone have any thoughts about either way? Limitations or resolution(if that even applies). Someone please correct any of this- I'm thinking the HID might be a bit friendlier, both pi's and an audio interface are going in a Disney princess guitar I got from goodwill eventually, but I'm trying to get it functional first. I see values in pure data using a Logitech USB game controller and the "HID" object, and about 10 years ago I got sensor values over serial with the "comport" object in Pure Data with an Arduino Nano v3.1. I was reading a little about the u2if git repository that might be another option...and Just found out about the teensy boards... was thinking the teenzy 4.0 might be a better option. But- I haven't gotten this working, so that's first. I appreciate this space!

    posted in I/O hardware diyread more
  • jbaker

    I did yesterday. Just made from scratch using the game controller section of the pd floss manual. Ran it on a rpi 5. Opened pd with 'sudo pd' in terminal. The 'device' object connected to the hid object is nice for seeing what's connected to the pi. Easier to decipher then serial devices. Connected an old Logitech USB game controller. About half the values were reading but I didn't change anything from the example from floss.

    posted in technical issues read more
  • jbaker

    @yannseznec I tried it once but haven't had luck. Also tried the mcp3008 with GPIO but.. idk the chip got super hot and smelled like plastic. I think I put the ribbon cable the wrong way. Anyway- let me know if you have success with this. Getting all the gpio pin errors with wiringPi. I know it's deprecated.. and with a pi5 idk. Think I need to flash my sdcard and start over and stick to one method. Have an Arduino nano and can't get that to work in pd either but that's a different story. It's worked in the past. I need a version of grasshopper java learning app but it teaches Python instead. Sorry to rant, anyway huge fan of pure data. Used it to make an on-air light at my job with midi and osc last year! I need to post it somewhere.

    posted in I/O hardware diyread more

Internal error.

Oops! Looks like something went wrong!