Cognitive radio networks (CRNs) are emerging as a promising solution to address the spectrum shortage problem. A cognitive radio network is a radio that senses the spectral environment over a wide frequency band and can temporarily use it in a way that causes no harm or interference to the primary user (PU). In a cognitive system, however, one challenging issue is the spectrum sensing operation (SS). Finding a way out of this challenge should go a long way to mitigate the artificial spectrum shortage problems concerning academia, the wireless industry, regulators, and many other areas. In this paper, we will discuss the implementation of the spectrum sensing operation using a real signal generated by Raspberry Pi 4 card and a 433 MHz Wireless transmitter using ASK (Amplitude-Shift Keying) and FSK (Frequency-Shift Keying) modulation types and captured using MATLAB-Simulink software. In addition, we implement an RTL-SDR hardware using the energy detection technique. The Federal Communications Commission (FCC) according to a study conducted has shown that during the rush hours, some frequency bands are overloaded. Yet, the use of frequency spectrum is not uniform; some frequencies in the spectrum according to the hours of the day and to the geographical position are not occupied or partially occupied while others are heavily used. The activity is concentrated on cellular radio and FM (Frequency Modulation) bands. The term spectrum holes are given to the unused frequencies. It is a region of spatiotemporal frequencies allocated to a licensed user also known as the primary users (PUs), but at a particular time and specific geographic location the PU, secondary, is not using the band and unique use is possible. As the demand for the frequency spectrum becomes more and more, the FCC suggests a substantial increase in the efficiency of the spectral resource. The cognitive radio (CR) is an intelligent device that can sense the spectrum holes, making it available for unlicensed users (secondary users (SUs)) opportunistically and dynamically. The SUs can take advantage of these spectral holes without causing little or no harmful interference to PUs. In this paper, we will evaluate the performance of the spectrum Sensing Implementation using the commonly used method known as the Energy Detection (ED) method.