\documentclass[a4paper,10pt]{article}
\usepackage[left=24mm,right=30mm,bottom=25mm,top=25mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage[usestackEOL]{stackengine}
\usetikzlibrary{shapes.geometric, arrows}
\usetikzlibrary{fadings}
\usetikzlibrary{shadows.blur}
\newlength{\borderwidth}
\setlength{\borderwidth}{2mm}
\definecolor{plava.b}{RGB}{91,75,183}
\definecolor{crvena.b}{RGB}{163,32,48}
\definecolor{zelena}{RGB}{149,173,124}
\definecolor{orange.b}{RGB}{245,164,41}
\definecolor{unutra}{RGB}{255,255,225}
\definecolor{s.plava}{RGB}{183,206,225}
\definecolor{purp}{RGB}{129,81,153}
\definecolor{siva}{RGB}{140,138,134}
\tikzstyle{M3} = [rectangle, rounded corners ,minimum width=4cm, minimum height=1.5cm,
text centered, border = plava.b, inner sep=10pt,
blur shadow={shadow blur steps=3},
draw,fill=unutra]
\tikzstyle{nosilac} = [rectangle, rounded corners ,minimum width=4cm, minimum height=1.5cm,
text centered, border = zelena, inner sep=10pt,
blur shadow={shadow blur steps=3},
draw,fill=unutra]
\tikzstyle{signal} = [rectangle, rounded corners ,minimum width=4cm, minimum height=1.5cm,
text centered, border = crvena.b, inner sep=10pt,
blur shadow={shadow blur steps=3},
draw,fill=unutra]
\tikzstyle{BJT} = [rectangle, rounded corners ,minimum width=4cm, minimum height=1.5cm,
text centered, border = orange.b, inner sep=10pt,
blur shadow={shadow blur steps=3},
draw,fill=unutra]
\tikzstyle{DSO} = [rectangle, rounded corners ,minimum width=4cm, minimum height=1.5cm,
text centered, border = s.plava, inner sep=10pt,
blur shadow={shadow blur steps=3},
draw,fill=unutra]
\tikzstyle{diodni} = [rectangle, rounded corners ,minimum width=4cm, minimum height=1.5cm,
text centered, border = purp, inner sep=10pt,
blur shadow={shadow blur steps=3},
draw,fill=unutra]
\tikzstyle{kolo} = [rectangle, rounded corners ,minimum width=3cm, minimum height=3cm,
text centered, border = siva, inner sep=10pt,
blur shadow={shadow blur steps=2},
draw,fill=white]
\tikzstyle{arrow} = [normal,->,>=stealth]
\tikzstyle{arrow1} = [normal,-,>=stealth]
\tikzstyle{100}=[rectangle]
\tikzstyle{modularni}=[rectangle,minimum width=3cm,text centered]
\tikzset{
border/.style = {
postaction = {clip, postaction = {draw = #1, solid,
line width = \borderwidth, path fading=,
postaction={draw, path fading = north}},
}
}}
\begin{document}
\begin{tikzpicture}[node distance=3.5cm]
\node (prvi) [M3] {\sffamily\bfseries
\Centerstack{M3 Cortex MCU \\STM32F103}};
\node (drugi) [nosilac,below of=prvi] {\sffamily\bfseries
\Centerstack{NOSILAC\\DSS AD9833}};
\node (treci) [signal,below of=drugi] {\sffamily\bfseries
\Centerstack{SIGNAL PORUKE\\DSS AD9833}};
\node (cetvrti) [100,right of=drugi,xshift=0.3cm] {\sffamily
{0.7V@100kHZ}};
\node (peti) [100,right of=treci,xshift=0.3cm] {\sffamily
{0.7V@5kHZ}};
\node (sesti) [BJT,below of=cetvrti,xshift=1.7cm,yshift=1.8cm] {\sffamily\bfseries
\Centerstack{BJT \\MODULATOR}};
\node (sedmi)[modularni,right of=sesti]{\sffamily\Centerstack{Modulirani\\signal}};
\node (osmi) [kolo,right of=sedmi,xshift=-0.3cm]{};
\node (deveti) [DSO,below of=peti,xshift=1.1cm,yshift=1.5cm]{\sffamily
\Centerstack{\textbf{DSO} \\4x Kanala}};
\node (deseti) [diodni,below of=osmi,yshift=-0.3cm,xshift=-0.1cm] {\sffamily\bfseries
\Centerstack{DIODNI detektor \\sa NF RC filterom}};
\node (jedanaesti)[100,above of=osmi,yshift=-1.7cm]{\sffamily{pojačavačc RF signala}}
\end{tikzpicture}
\end{document}
So I am doing this diagram like one below but I can not figure out how to draw arrows like this.And can anyone help me how to make circuit inside this grey rectangle.



overleaf. It's a little red number on the top right. – Rmano Apr 13 '21 at 08:41