At this point I am starting a new thread to document a major code revision and update to my predator cannon.
The Arduino update suffers from substantial delays as it only has 16mhz and is getting phased out with circuit python used on the m0 and m4 based chipsets. Minimum delay I could achieve with what I was doing was about 5 seconds from initial input.
The raspberry Pi zero w offers a Cortex ARM 1GHZ CPU, 3.5mm audio via hdmi, 40 pin GPIO, wireless, Bluetooth and runs on 5VDC. There are a few write ups on using the wii remote and a few on using the wii nunchuck.
https://lifehacker.com/the-raspberry-pi ... 1792789503The capabilities allow me to do the same things in less than half the footprint. Plus I should be able to consolidate the fx sound board capabilities onto the pi itself.
The servo bonnet uses the pca9685 chip and the i2c bus.
https://learn.adafruit.com/adafruit-16- ... on-libraryThe pimoroni onoff shim will allow for clean shut down and startup of the raspberry pi, essential for minimizing sdcard corruption possibilities. It is a self contained single line installer and has built-in debounce capabilities to prevent accidental power cycling.
https://shop.pimoroni.com/products/onoff-shimSo far this python code base seems to be the most well suited to my needs:
https://github.com/OLIMEX/raspberrypiThis will have to be done in steps and will not be a fast process.
Reference sites consulted thus far:
https://learn.adafruit.com/adafruit-16- ... on-libraryhttps://learn.adafruit.com/circuitpytho ... spberry-pihttps://linuxize.com/post/how-to-instal ... -debian-9/https://www.raspberrypi.org/magpi-issues/MagPi67.pdfhttps://computers.tutsplus.com/tutorial ... -cms-20984https://raw.githubusercontent.com/Boeee ... unchuck.pyhttp://www.brianhensley.net/2013/03/ras ... ase-1.htmlhttp://www.airspayce.com/mikem/bcm2835/https://www.thingiverse.com/thing:3597240https://pimylifeup.com/raspberry-pi-wii ... ntrollers/http://whatacowpi.blogspot.com/2012/07/ ... ry-pi.htmlhttps://github.com/OLIMEX/raspberrypi