- Download Arduino IDE
- Download p5 serial app
- Upload Arduino code to the Arduino board (you can find it in the
SoundClassifier
/ImageClassifier
/PoseClassifier
folder) - Open p5 serial app(if cannot open, change firewall settings)
- Running this p5 sketch on p5 web editor, remember to update the
portName
andmySoundModelURL
, and update class names to your own classes. - Demo
- Demo made by Cara Neels
- Running this p5 sketch on p5 web editor, remember to update the
portName
andmyImageModelURL
, and update class names to your own classes. - Demo
- Running this p5 sketch on p5 web editor, remember to update the
portName
andposeModelUrl
, and update class names to your own classes. - Demo
Trouble shooting:
- The models works in p5 web editor, but my LEDs are not lighted up
- Light up LEDs in the arduino code directly to test if there is anything wrong with the LEDs.
- Make sure p5 serialis working: There shouldn't be any error in the console. The p5 serial app should be open, but do NOT connect to the port inside of the p5 serial app, otherwise p5 serial app will be using the port, then p5 web editor cannot use the port.