Please sign in to continue:

Comments 57

I like the concept. The main issue with the project is that the code is poorly written and confusing. You might want to make a class with encode and decode methods, along with using the boolean gates in an array.

I have already made the matrix, so I don't have any more LED strips to cut. The code works with a matrix that is 15 LEDs wide and 10 LEDs tall. Just buy a 150 LED strip from Amazon.com and make sure that it has 30 LEDs per meter, and is 5 meters long. If you look in the "How to make a neopixel matrix" project you will see that I cut the strips at 10 LED intervals, which makes 15 strips that are 10 LEDs long. Take note of the arrows on the strips, as they will alternate on each column. Just solder wires between the strips as seen in the guides pictures. 5v -> 5v, GND -> GND, and DO -> DI. Just make sure there aren't and short circuits, as that will ruin the Arduino board and/or the matrix.

Thanks for using my project as inspiration for your own project! Here is an explanation:

You can't even run Python on an Arduino normally. Arduinos run compiled C++ code. The Python script runs off of a PC or laptop that has Bluetooth and an open USB port. You use the HC-05 on the racket to connect via Bluetooth. Then you connect the matrix to an Arduino Nano and that connects to the USB port on the same computer. Make sure the COM ports are correct as well.

If you need any more help just reply to this message or message me. :-)

You can't even run Python on an Arduino normally. Arduinos run compiled C++ code. The Python script runs off of a PC or laptop that has Bluetooth and an open USB port. You use the HC-05 on the racket to connect via Bluetooth. Then you connect the matrix to an Arduino Nano and that connects to the USB port on the same computer. Make sure the COM ports are correct as well.

I think it's great that you're taking an interest in MCUs! The Arduino doesn't go into sleep mode when a delay is active. A delay simply paused the progression of the code for a set amount of milliseconds. An OLED display is more complicated than an LCD, but you can find Sparkfun OLED displays that use I2C and libraries. Have fun! :)

Any 5v arduino board will work, so yes, you can use the nano. On your pc the python script will execute and once finished it will show a .jpg image. The image looks like a heatmap but instead each pixel correlates with the distance. The image is 100 x 100 pixels large.

It does take a minute to scan, as it has to scan each pixel individually for 100x 100 pixels, so moving object detection is harder. But you can visualize the position of an object if it can stay still for about 5 minutes at a time.