Raspberry Pi

Raspberry Pi by Pi Foundation

Connection Type
Wi-Fi
Audio Support
Yes
Camera Support
Yes

Firmware


Raspberry Pi is a small and affordable computer that you can use to control a robot with either an EZB Server or Windows 11 installed on Raspberry Pi 4 or newer. It is recommended that Windows 11 be installed with ARC and an Arduino be used as the I/O EZB. The performance of I/O on a Pi is insufficient for robotics and servos. Alternatively, if you want the Pi used as an EZB Server to use onboard I/O, there are a few firmware versions that you can choose from the top of this page (DJ's EZBPi and PTP's Blueberry).

Install ARC on Pi with Windows 11 (recommended)

You can run ARC on a Raspberry Pi by installing Windows 11. Windows 11 for Raspberry Pi requires version 4 or newer with at least 8GB of RAM. While you can run it off an SD card, using an SSD external drive is highly recommended. If you do not use an SSD drive, the computer will run far too slowly to be enjoyable. Alternatively, you can run a speedy USB Thumb Drive. This will allow you to use an EZB external to the Pi, such as an Arduino, ESP32, or EZ-Robot controller. The I/O performance of the Pi is insufficient for most robotic applications, specifically lacking support for servos, PWM, ADC, multiple UART, and more. The recommended suggestion is to install Windows 11 and ARC and use an EZB over USB or WiFi to the Pi.

If you were to run a thumb drive for storage, we have had great success with the following...

There are plenty of instructions on the internet for installing Windows 11 on a Raspberry Pi 4 or newer. We have added a video below, but we recommend searching for updated instructions if something changes.



Some tips from the author of the above video in his video description are helpful. You can install Windows 11 on the Raspberry Pi 4 or newer without using a PC! We can do it all from the Raspberry Pi running a Debian-based OS like Raspberry Pi OS, thanks to the all-new WoR Flasher from Hotspot. As in this video, this installation will work with a micro SD card, a USB drive with M.2 SSD, or a 2.5" SSD. He shows you how to get this up and running on your Raspberry Pi so you can easily install Windows 11 on your Pi.


Installation Tips & Performance for SBCs

Our guide in the Support section includes freeing storage space, increasing performance, powering the SBC, and running headless with remote desktop software for robot computers, such as single-board computers. View the instructions HERE.

Raspberry Pi 4 is the oldest version that will run Windows properly. However, you can run the EZB Servers on any of the previous Raspberry Pi versions.


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

PRO
USA
#17  

@Legion:

Can you unzip the file ConsoleApp1.zip and run the command:

mono ./ConsoleApp1.exe

Note: No need the root privileges e.g. sudo

Please post the output.

Canada
#18  

=== AddressList ==== Af=[InterNetwork] Addr=[192.168.1.178] === Send Udp Message ==== Send Udp message=[EZ-B||Testing||192.168.1.178||23]

PRO
USA
#19  

@DJ: It seems is a bug in the udp code:

please change your code:

        private void doSendUDP(string str)
        {
            using (UdpClient udpClient = new UdpClient("255.255.255.255", 4242))
            {
                byte[] bytes = Encoding.ASCII.GetBytes(str);
                udpClient.Send(bytes, bytes.Length);
            }
        }

to this code:

        private void doSendUDP(string str)
        {
            var ipEndPoint = new IPEndPoint(IPAddress.Broadcast, 4242);
            using (var udpClient = new UdpClient())
            {
                var bytes = Encoding.ASCII.GetBytes(str);
                udpClient.Send(bytes, bytes.Length, ipEndPoint);
                udpClient.Close();
            }
        }
PRO
USA
#20  

@Legion:

Download this fix EZBPi_fixed.zip do backup copy of the existent EZBPI.exe and then override with the new file. then run:

sudo mono ./EZBPi.exe

Let me know if it works.

Canada
#21  

IT WORKED!!!!

Oh ty ty ty so much!

PRO
Synthiam
#22  

I’ll get amin to update next week. Thanks guys!!

United Kingdom
#23  

Hi, I'm having the same problem as above on my RasPi3B when trying to run EZBPi.exe. I've followed all the above checks and the code update but I'm still getting the same response:

pi@raspberrypi:~ $ sudo mono /home/pi/EZBPi/EZBPi.exe Raspberry EZBPi Version: 2019.3.29.0 Verbose logging is: False Serial port is: /dev/serial0 EZB: TCP Started on port 23 EZ-B Server started on TCP Port: 23 Camera: TCP Started on port 24 Camera Server started on TCP Port: 24 Press ESC to quit Broadcast error. The broadcast service has stopped. Here is why: System.Net.Sockets.SocketException (0x80004005): Access denied at System.Net.Sockets.UdpClient.Connect (System.String hostname, System.Int32 port) [0x001b0] in :0 at System.Net.Sockets.UdpClient..ctor (System.String hostname, System.Int32 port) [0x00044] in :0 at EZBPi.Broadcaster.doSendUDP (System.String str) [0x00001] in <0d7091e22ba140df8312a9ba44fa579a>:0 at EZBPi.Broadcaster._timer_Elapsed (System.Object sender, System.Timers.ElapsedEventArgs e) [0x00050] in <0d7091e22ba140df8312a9ba44fa579a>:0

I also have a Pi ZeroW and a Pi 2B on the network and get the same response. Pi Zero and 3 both running Buster, Pi 2 running Stretch.

I've also tried all the other usual fixes, like disabling firewall etc.

I'm getting a similar response when trying to connect ARC 2019.05.08.00 from my PC (Win10) to the Pi:

Attempting connection on 192.168.1.183 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.183:23 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected

I don't have anything else running that might be causing any conflict and I can connect to all my Pi's remotely from my phone using RasPi Check and RaspController.

Regards, CRW

Canada
#24  

Did you use the exe fix PTP gave?