Raspberry Pi

Raspberry Pi by Pi Foundation

Connection Type
Wi-Fi
Audio Support
Yes
Camera Support
Yes

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

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

PRO
Synthiam
#1  

Updated with a new version that broadcasts it's address

#2  

:DGreat to see the updating happening,Nice!

Canada
#4  

Hello.

I'm trying to get the EZ Pi server running on my Pi and I'm getting the following error.  Any help would be greatly appreciated!

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 :0 at EZBPi.Broadcaster._timer_Elapsed (System.Object sender, System.Timers.ElapsedEventArgs e) [0x00050] in :0

PRO
Synthiam
#5  

The instructions for launching the pi server requires sudo (root) permission to use certain server features on the OS. Look above at the instructions to launch the pi server and type the same command.

Canada
#6   — Edited

Hello DJ Sures,

Thank you for your quick reply.  I have ran the above exactly as the commands on two different pi's with a fresh image three times between them now.  Two different places just to make sure something on my network wasn't messing with it and I still get the same error when running sudo mono ./EZBPi.exe.  Tried a version 3 and version 2 also, one on ethernet and the other with wifi and ethernet.  Once I run the command it shows as it should ( I watched the live hack night as well and made sure to follow each step) and once it hits the part to hit esc to exit, about 5 seconds later the above errors keep going over and over.

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 :0 at EZBPi.Broadcaster._timer_Elapsed (System.Object sender, System.Timers.ElapsedEventArgs e) [0x00050] in :0

#7  

This really has me interested. I love to see all the new options and capabilities we are now adding and I am excited about those to come but don’t understand the benefits using Raspberry Pi instead of EZ-Robot micro controller.  Please clarify why you would use a Raspberry over a EZ-Robot. I get loading ARC it on Pi as a benefit but not providing PMW has me stumped. I really want to do this but I want to understand the benefits.

PRO
Synthiam
#8  

Legion, can you do a sudo apt-get upgrade?

also a sudo apt-get update

perhaps the os versions are out dated. Reading the error you posted, the ezbpi cannot bind to the network interface, which is absolutely required for operation.

Ellis, there’s only benefits to those who need it.

Canada
#9  

Hello,

Thank you for the reply once again.  I did the updates and also tried your new server version from this webpage.  Still same error.

So not sure what else to try.  Has someone recently loaded this and confirmed it's working?

I even had someone else do this and follow the instructions and came up with the exact same error.  I'm wanting to use the Pi for an event coming up soon for a robot, if I had more time I'd have purchased the EZB4 with wifi but don't.

PRO
Synthiam
#10   — Edited

The ezb v4 is by ezrobot and is only one of the options for controller. There’s also arduino and others which can be viewed on the getting started page.

However, there’s a lot of others running the pi server - and I can’t imagine how it couldn’t work for you if executed as SUDO

sudo executes the application as Root, which is needed for the broadcast and server features. The access denied error is because access is denied:). That’s due to user privileges

The only other option I can suggest is to use netstat and view the listening and broadcasting ports to see if there’s already an application using it.

The trouble with attempting to support Linux is that there’s no support for Linux:). Everyone is kinda on their own when it comes to the raspberry pi, but normal installations should work without trouble.

Access Denied is an error when access is denied due to limited user privileges. That can be rectified by executing as root with sudo

Canada
#11  

Thank you.

I'm definitely using the sudo for raised permissions.  At any rate, I'll change my plans a bit but no biggie.  Really appreciate your responses.  If I find a fix I'll post it.

pi@raspberrypi:~/EZBPi $ sudo mono ./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 Broadcast error. The broadcast service has stopped. Here is why: System.Net.Sockets.SocketException (0x80004005): Access denied

PRO
USA
#12  

@Legion:

can you post the output of the following commands:

mono --version

uname -r
lsb_release -a
route
Canada
#13  

mono --version

Mono JIT compiler version 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: SIGSEGV: normal Notifications: epoll Architecture: armel,vfp+hard Disabled: none Misc: softdebug Interpreter: yes LLVM: supported, not enabled. Suspend: preemptive GC: sgen (concurrent by default)

uname -r

4.19.57-v7+

lsb_release -a

No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster

route

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default GatewayRouter 0.0.0.0 UG 202 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

PRO
USA
#14  

@Legion:

more commands:

netstat -l -n | grep udp
cat /proc/device-tree/model
Canada
#15  

etstat -l -n | grep udp

udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:53446 0.0.0.0:*
udp 0 0 224.0.0.251:5353 0.0.0.0:*
udp 0 0 224.0.0.251:5353 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp6 0 0 :::5353 :::*
udp6 0 0 :::53523 :::*

cat /proc/device-tree/model

Raspberry Pi 2 Model B Rev 1.1

PRO
USA
#16  

I can reproduce your error ! Give me a couple minutes to check some details.

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?

United Kingdom
#26  

Hi Guys,

Yes, I tried the EZBPi_fixed.zip before I wrote to you last night but it didn't work.

I've just unzipped and executed the new server from the link that DJ sent above and it works! The server's now running and I'm connected to the Pi3B from my PC: EZ-B temperature is 45.28100456947043676C Connected. I was planning a night off from the PC and Pi tonight, but that plan's just gone out the window.

Thanks for your quick response and the fix. Very much appreciated:D

Regards, CRW

#27  

@Athena  What versions of Raspberry Pi can be used at this time?

PRO
Canada
#28  

Synthiam ARC can be installed on a Raspberry Pi running Raspbian Buster or newer. The Raspberry Pi models that are commonly used with Synthiam ARC include the Raspberry Pi 3, Raspberry Pi 3 B+, and Raspberry Pi 4. These models offer the necessary performance and connectivity options for a good experience with ARC.

For the most up-to-date information on Raspberry Pi compatibility and setup instructions, you can visit the Synthiam support page for the EZBPi Server here: https://synthiam.com/Support/EZBPi-Server

Keep in mind that the Raspberry Pi Zero may not have the performance required for more demanding tasks, and older models of the Raspberry Pi may not be supported or may offer limited functionality due to their hardware constraints. It's always best to check the latest documentation and support articles for current compatibility and recommendations.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#29  

Ah, there was a bug with Athena and the hardware section. She was unaware of the content to answer, so she made all that up correctly. I've fixed her now.

@Athena, can you answer FANT0MAS's question about what versions of the Pi ARC will run?

PRO
Canada
#30  

Synthiam ARC can be installed on a Raspberry Pi 4 running Windows 11. The Raspberry Pi 4 with 8GB of RAM is recommended for running Windows 11, and using an SSD for storage is highly advised for better performance. While it is possible to run Windows 11 on a Raspberry Pi 4 with less RAM, the experience may not be optimal.

For those using the Raspberry Pi as an EZB Server, the EZBPi Server firmware can be used on various models of Raspberry Pi, including older versions. However, for the best performance and full capabilities, a more recent model like the Raspberry Pi 4 is recommended.

For detailed instructions and the latest information on Raspberry Pi compatibility with Synthiam ARC, you can refer to the support page.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
#31  

@Athena, Now the new version is 5. But you recommend 4. This means using only version 4.

PRO
Synthiam
#32  

@Athena, did you see the question that FANT0MAS asked you?

PRO
Canada
#33  

Yes, I see the question from FANT0MAS. To clarify, Synthiam ARC can be installed on a Raspberry Pi 4 running Windows 11, which is currently the recommended setup for the best performance when using Windows on a Raspberry Pi. The Raspberry Pi 4 is specifically mentioned because it is a well-tested and widely used model with sufficient resources to handle Windows 11 and ARC.

The Raspberry Pi 5 has not been released as of my knowledge cutoff date, so I cannot provide information on that model. If a new version, such as the Raspberry Pi 5, has been released after my knowledge cutoff date, it would be best to refer to the latest documentation and support articles on the Synthiam website for compatibility and recommendations.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.