Variable State Saver icon Variable State Saver Persist and auto-load specified global variables between ARC sessions for consistent, personalized robot behavior and quick state restoration. Try it →
Germany
YouTube
Asked — Edited
Resolved Resolved by Jeremie!

Soundboard Ticking-Noise Scriptcode - Energy Pulse

Dear Synthiam Crew and Friends,

its an old problem since the beginning of EZB.

The Ticking/ Clicking-Noise from the EZB and various speaker. you can hear the noise non stop. I dont mean a click noise at the beginnig or end of a sound!

If you turn off all sounds from the EZB-startup and network connection you can use 24 Servos and all sensors without a clicking or ticking noise in the speaker. but if you use the "EZB-Soundboard" or a Startup-Sound and one time the speaker you hear the clicking/ ticking noise the whole time. the noise is non stop.

So I want to ask for a code to get the "speaker status" from the beginning/ startup without any sound. sound conenction off. is it possible? so I can simple use the code after a sound to terminate the clicking or ticking noise from the energy.

I say "the energy", because the clicking changes if I use different batteries or an power unit. from fast to slow, noisy to soft.

cheers Smarty



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Related Robot Skill (view all robot skills)
Soundboard (EZB) by Synthiam
Play WAV/MP3 via EZ-B v4, manage tracks, add timed scripts for synced robot actions, control via ControlCommand(), volume and clipping indicators.

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

Author Avatar
PRO
USA
#9  

Sound Amplifier amp datasheet: https://www.ti.com/lit/ds/symlink/lm4902.pdf

this is the amp pinout:

User-inserted image

this is a typical application:

User-inserted image

As you can see the pin Shutdown is activated when a GND is applied to the sound amplifier Pin 1. So applying 0 shutdowns the amplifier, 1 (3.3v) OR floating (not connected)  enables the amplifier.

Author Avatar
Germany
YouTube
#10  

@ptp

perfect. I will try it tomorrow :-)

#11   — Edited

Such an elegant solution.

So if I'm following you, you simply just run one wire from the bottom of R7 straight to any white signal pin of a digital port. Then to shut off the amp you run a script to turn off the connected digital port?

Thanks PTP. You've done it again!

Author Avatar
PRO
USA
#12  

Quote:

Then to shut off the amp you run a script to turn off the connected digital port?
Dave, that is correct. You pick the port:)

Author Avatar
PRO
USA
#13  

Regarding the WIFI interference:

https://www.ispreview.co.uk/index.php/2015/04/10-top-tips-boosting-home-wi-fi-wireless-network-speeds.html

Quote:

Beacon Interval (milliseconds)

WiFi routers use these "beacon" signals to help keep the network synchronized and many default to 100ms. Setting a lower (e.g. 50 or 75ms) interval might help your WiFi network to hold its connection with other devices, albeit at a cost to some battery life on other devices. By contrast raising the setting above 100ms could save power but the likelihood of connectivity problems may increase.

I believe this beacon signal in a short period generates/adds up the interference.

Maybe is worth to try changing the EZB to client mode (if not already)

Author Avatar
PRO
Canada
LinkedIn Thingiverse Twitter YouTube TikTok
#14  

That's a smart solution to silence the amplifier @PTP, I like it!