Setting the MP3 Trigger volume is done as follows:
Serial.write('v'); // set volume command
Serial.write(20); // volume value. 0 (zero) maximum
volume to 64 minimum volumes
The mp3 files on the microSD memory card must be
named in the format TRACKxxx.mp3, where xxx =
001 to 255 (e.g. TRACK001.mp3,
TRACK010.mp3, etc.). Other file name formats will
not work. Although "only" 255 files are possible,
their size is not limited [17]. An example of a
program that plays 10 seconds of all tracks on an
mp3 is as follows:
void setup() {
Serial.begin(38400); //initialize serial
communication at 38400 bps
Serial.write('v'); // set volume command
Serial.write(20); // volume value. 0 (zero)
maximum volume to 64 minimum volume
}
void loop() {
piece = piece + 1;
if (piece > 255) piece = 0;
Serial.write('t'); // command play track
Serial. write(track); // the value of the track to be
played (between 0 and 255)
delay(10000); //waits 10 seconds then moves to the
next track
}.
4 Conclusion
In this paper, an autonomous system for informing
road traffic participants is presented. On a large
scale, the role of this system is to automate the way
of informing road traffic participants, thus
increasing safety and smoothing of traffic. Because
this system is autonomous and automatic, it can
work around the clock, day and night, unlike the
previous systems in which qualified staff is needed
to operate the system. The appearance of the
"human factor" decreases the stability of the system
because of fatigue, stress, and even routine errors
that lead to the wrong information about motor
vehicle drivers. The simplicity and low-cost price of
this system make it easy to implement at the
national level, or even internationally, if the
messages sent are in an international language.
As can be seen from the hardware description, this
system is autonomous because it can be powered by
batteries, so it can be placed anywhere, without the
need for power cables, and because all devices are
of low power, the batteries can last a long time
before they are recharged, compared to the other
systems where a radio broadcasting station is
needed which has a relatively high consumption.
Also, the system is automatic, with all operations
and decisions being made by the microcontroller,
while the others require experienced personnel to
operate and maintain the system.
Another important feature is the system’s versatility,
as it can be easily implemented in railway or even
naval traffic. Due to the low price of all devices, this
system can be implemented on a large scale, thus
covering a larger information surface and safer and
more fluid car traffic.
A main characteristic of this system is its autonomy,
being powered by batteries that must be recharged at
certain periods. In the future, batteries could be
replaced or recharged by green energy sources such
as photovoltaic and wind energy. Thus, warning
messages related to fog, poles, and the condition of
the road are issued, but as a future development,
ASRS 01 system will deliver more information
about the ambient environment and the safety of the
road by modeling it with Deep Learning algorithms
with the help of several sensors such as vehicle
wheel adhesion sensors, road roughness sensors,
control system to avoid aquaplaning of the vehicle,
dynamical tire pressure control system correlated
with the condition of the road.
References:
[1] Travelers' Information Stations Search,
http://transition.fcc.gov/mb/audio/bickel/tis.ht
ml, Federal Communications Commission,
2021.
[2] Low Power FM Broadcast Radio Stations,
http://transition.fcc.gov/mb/audio/lpfm/,
Federal Communications Commission, 2020.
[3] R. F. Soames, J. Truong, and C. Sakashita, The
Ultimate Safe System: Redefining the Safe
System Approach for Road Safety,
Sustainability, 14(5), 2978, 2022.
[4] J. Thunberg, T. Saeed, et al., Cooperative
Vehicles versus Non-Cooperative Traffic
Light: Safe and Efficient Passing,
Computers, 12(8), 154, 2023.
[5] P. Kopelias, E. Demiridi, et al., Connected &
autonomous vehicles—Environmental
impacts—A review. Sci. Total Environ. 2020.
[6] L. Ye, T. Yamamoto, Evaluating the impact of
connected and autonomous vehicles on traffic
safety. Phys. A Stat. Mech. Its Appl. 2019.
[7] G. Guo, Z. Zhao, and R. Zhang, Distributed
Trajectory Optimization and Fixed-Time
Tracking Control of a Group of Connected
Vehicle, IEEE Trans. Veh. Technol. 2023.
[8] P. Bhattacharyya, A. Laharotte, et al., Assessing
Connected Vehicle’s Response to Green Light
WSEAS TRANSACTIONS on SYSTEMS and CONTROL
DOI: 10.37394/23203.2023.18.45
Calin Ciufudean, Corneliu Buzduga