I wanted to answer my question above. Soooo......I had a bad MM feather. So I jumped the left channel amp input to pin A0 (fifth pin) on hallowing. Yes, the amp works fine but several bad things. There is amplified power feedback to speaker when USB plugged in, more than on the non modified MM. Maybe need a filter.... No issues w/battery power alone. If you use the board mounted power switch, you will not like the sound that comes out of the speaker. Again, it is much more amplified then on a non modified MM. I am pretty sure that if I cut the trace to the on board Hallowing amp on the other side of the pin, I will eliminate the feedback. Or maybe it's noise in the power circuit... No need to mess with this yet.
The hallowing on board amp is about twice as loud as the class D amp of the feather ( at 2/3 pot vol setting, using -3dB test files, same power sources, and same speaker). The class D amp is much better at reproducing the sound spectrum of my SD files without distortion. Just a few more watts and it would be great. Yes, the audio set to (0,0) on the feather. 8 ohm speaker.
I will stick w/the MM feather built in amp for clearer sound for the prototype. But for the final build, I ordered a few PAM8403's to test out. Going to use them with a TB w1-2025sa. This little speaker will play extremely clearly and loudly with just a few good watts.
And something else cool about the MM. For my code, I want 20 random sounds to fire off with the triggers. But I also want some other sounds to play at start only or for certain pad combinations. So these are just named outside of the 20 random tracks. Ex: 022, 023, 024 and called only when needed.
HalloWing Audio Eye of Agamotto XRAD
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
- Attachments
-
- Hot MM amp chip(my new replacement board), can't keep finger on it
- IMG_2727.JPG (159.77 KiB) Viewed 420 times
-
- amp setup....old and new using on board and hallowing amps
- IMG_2726.JPG (211.89 KiB) Viewed 420 times
-
- Jumper left amp MM input to A0 hallowing pin on my old (no right side sound) MM board
- IMG_2722.JPG (217.17 KiB) Viewed 420 times
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
I tried the jumper on the back of the MM board to increase volume to max output. Yes, it makes a difference and was louder, but not enough punch at the volume I needed( and it got really hot ). I ended up installing a PAM8403 (2 mono amps side by side) on top of the MM, and the MM on top of the hallowing. Wow, this little amp at 3.7v has all the punch I need out of the same tiny 2watt ce32a-4 speaker (-4 = 4 ohm, -8 = 8ohm) . My mp3's are all at a max of -3dB and there is only some mild distortion on the deep bass notes (to be expected from this little speaker). But the mids and highs are great. I had to reduce the volume to (12,12) for best volume and clarity. To save battery energy, I cut the power leads to the MM amp (pins 3 and 13 on the TPA2012D2). The PAM fits right on top using the MM's extra holes. I get power straight off the Hallowing BAT pin which runs up to the MM. Using mono jumper I installed above and adjacent ground, two more header pins run up to the PAM. Pretty easy. There is definitely some noise on the MM with the USB and battery connected which is probably related to the Lipo charger. There is only the tiniest noise when just on BAT.
I tried adding more densely packed LED strip (39 LEDs), but it ran too slowly(not just a simple code fix at my level on the tutorial samples). So enlarging the case and reprinting it let me add 3 more LEDs and a bit more room for electronics and switches/touch sensors. Everything is just right hardware wise now and it fits nicely in my fingers. Also gives me room for 1000-2000maH battery.
I tried adding more densely packed LED strip (39 LEDs), but it ran too slowly(not just a simple code fix at my level on the tutorial samples). So enlarging the case and reprinting it let me add 3 more LEDs and a bit more room for electronics and switches/touch sensors. Everything is just right hardware wise now and it fits nicely in my fingers. Also gives me room for 1000-2000maH battery.
- Attachments
-
- IMG_2733.JPG (218.6 KiB) Viewed 400 times
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
Here is near final product. Three black push buttons: left: color 'hold' - will set all pixels to current color and hold as long as pressed, and random sound. Center: one touch power I/O . Right: Fade last color and random sound. Four brass pins(on front cover) for cap sensors wired to A2-5 = four different pixel effects and random sound trigger. Shake for sound and rainbow. Light sensor functional for iris (which worked out well because the light sensor is shielded from the neopix by the EYE design, so it's not always contracted). 20 sci-fi MP3 files play randomly without hesitation(a few 'real' Agamotto sounds thrown in as well). 2 sounds on start-up w/special neopix pattern. 1000mAh Lipo and 1A charger. Some weathering washes....still a little bit to go. Have to finish weathering and make the strap. Will post a vid soon..... it's pretty cool in action.
- Attachments
-
- IMG_2735.JPG (198.95 KiB) Viewed 385 times
-
- IMG_2737.JPG (156.39 KiB) Viewed 385 times
-
- IMG_2738.JPG (174.48 KiB) Viewed 385 times
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
edit: unscrupulous Post has been removed by admin. THX!
Last edited by XRAD on Mon Nov 05, 2018 11:14 am, edited 3 times in total.
- adafruit_support_bill
- Posts: 88042
- Joined: Sat Feb 07, 2009 10:11 am
Re: HalloWing Audio (Eye of Agamotto)
Spam post removed . . .
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
Video to follow:
- Attachments
-
- IMG_2740.JPG (187.68 KiB) Viewed 343 times
- adafruit_support_bill
- Posts: 88042
- Joined: Sat Feb 07, 2009 10:11 am
Re: HalloWing Audio (Eye of Agamotto)
Nice looking build!
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
Thx Ada Bill! Done with this build. Time for may ADD to create something new....
Vid of EYE in action :
https://www.youtube.com/watch?v=WZlPtyd ... e=youtu.be
Vid of EYE in action :
https://www.youtube.com/watch?v=WZlPtyd ... e=youtu.be
- larrycalta
- Posts: 19
- Joined: Sat Jul 21, 2018 2:59 am
Re: HalloWing Audio (Eye of Agamotto)
XRAD, final result came out fantastic! Video is very cool. I was glad to see you stuck with the Hallowing and took full advantage of all the features. Half the fun was getting the programming to get it all working together. I know it took a lot of effort and time but also a great learning experience. Great job.
- adafruit_support_bill
- Posts: 88042
- Joined: Sat Feb 07, 2009 10:11 am
Re: HalloWing Audio (Eye of Agamotto)
Beautiful! Thanks for the video.
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
THX Bill and Larry! Appreciate the comments.
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
Hi Carter, THX for the comment! If anyone else is interested in building this, the 'final code' can be found here:
viewtopic.php?f=57&t=142444&start=15#p705579
Don't forget the .h file!
viewtopic.php?f=57&t=142444&start=15#p705579
Don't forget the .h file!
- nicolas2019
- Posts: 10
- Joined: Mon Apr 08, 2019 6:03 am
Re: HalloWing Audio
Dear XRAD I want to make the project "Uncanny eyes" with the TFT 240x240 ST7789 and the teensy 3.2 but the original code is made with the ST7735R TFT .. can you help me?XRAD wrote:Just as an update: I have moved most of the code for uncannyeyes via C++ to a teensy, which runs an adafruit 1.44 or 1.8 LCD no issues. I just needed to #include <Adafruit_ST7789.h>. You can carefully edit all the major functions to get a single canthus minus eye. Remove the logo and paint background black and eye looks great on a 1.8" . Also, I have configured the setup to include neopixels in varoius configs such as running down the row, fade, random flash, and a basic fire glow.
Will add adafruit FXMini or feather for sound effects....for this project: Eye of Agamotto
Feel free to move this out of Hallowing thread into other products build thread , and thx for the great tutorials and code example, could not have done this without them!
my teensy 3.2 and the TFT ST7789 are already working correctly with the graphics test code.
thanks for your time
- XRAD
- Posts: 753
- Joined: Sat Nov 19, 2016 3:28 pm
Re: HalloWing Audio (Eye of Agamotto)
so you want to use this:
240x240 ST7789 240x240
and hallowing display is 128x128, and the hard part of getting GFX test up and running you have already done.
I think you are on the right track. Include lib for #include <Adafruit_ST7789.h> and then make sure your pin configuration matches the Hallowing pins and the pin choices in the uncanny eye config file. I remember doing this, but unfortunately, I do not have the arduino.ino file anymore. (the TFT pin configuration is already set in the uncanny eye code for the feather based hallowing, ie: using feather SPI hardware)
IIRC, the 'eye' had to be centered? and I had to draw a small black border to hide the unused part of the TFT.
Read through the uncanny eye config files and .ino . they have important info on the TFT pin cofiguration.
these are the Teensy pins for TFT with Uncanny eye that I think I used.......but I could be wrong on 7,8,9
LITE: VCC? or a a digital PIN 'ON', can't remember
MISO: 12 (arduino standard)
SCK: 13 (arduino standard)
MOSI: 11 (arduino standard)
TFTCS: 9 ? (any CS pin, just assign in code)
D/C: 7 ?
RST: 8 ?
VCC: +
GND: -
You may find that the 'EYE' displays at 128w x 128h, and you will have to do further work on the code to 'expand' the image....
maybe someone else has some pointers?
240x240 ST7789 240x240
and hallowing display is 128x128, and the hard part of getting GFX test up and running you have already done.
I think you are on the right track. Include lib for #include <Adafruit_ST7789.h> and then make sure your pin configuration matches the Hallowing pins and the pin choices in the uncanny eye config file. I remember doing this, but unfortunately, I do not have the arduino.ino file anymore. (the TFT pin configuration is already set in the uncanny eye code for the feather based hallowing, ie: using feather SPI hardware)
IIRC, the 'eye' had to be centered? and I had to draw a small black border to hide the unused part of the TFT.
Read through the uncanny eye config files and .ino . they have important info on the TFT pin cofiguration.
these are the Teensy pins for TFT with Uncanny eye that I think I used.......but I could be wrong on 7,8,9
LITE: VCC? or a a digital PIN 'ON', can't remember
MISO: 12 (arduino standard)
SCK: 13 (arduino standard)
MOSI: 11 (arduino standard)
TFTCS: 9 ? (any CS pin, just assign in code)
D/C: 7 ?
RST: 8 ?
VCC: +
GND: -
You may find that the 'EYE' displays at 128w x 128h, and you will have to do further work on the code to 'expand' the image....
maybe someone else has some pointers?
Please be positive and constructive with your questions and comments.