LattePanda

LattePanda by DF Robot

Connection Type
Wi-Fi / USB
Number of servos
12
Audio Support
Yes
Camera Support
Yes

The LattePanda is a small single-board computer (SBC), similar to the Raspberry Pi and a kabillion times more powerful. The LattePanda can run Windows 10 and, therefore, a full version of ARC! The LattePanda also has an Arduino Leonardo built on board, which means you can load the EZB Firmware and have a self-contained and competent PC robot controller. This firmware works with ARC versions greater or equal to 2019.06.25.00.

* Connection Notes *

Due to an undocumented bug feature (?), the Arduino Leonardo's USB, the serial driver, requires DTR Enabled to trigger received data events. This can be done by viewing the Connection Config screen (the same place you set the baud rate) and checking DTR Enabled checkbox.

Arduino Firmware

In the meantime, download the Arduino firmware below. You can program on the Arduino Leonardo that's built into the LattePanda. Adding this firmware lets you connect ARC to the local Arduino and directly control the GPIO.

Download Arduino Leonardo Firmware: EZ-Genuino_Leonardo.zip (updated Dec 11, 2022)

Pinouts

The Digital pins can be used for PWM, servos, and digital on/off. The ADC ports are 0-5 for analog input. Digital pin 0 is Uart #0 RX, and digital pin 1 is Uart #0 TX.

Board PWM Pins PWM Frequency

Uno, Nano, Mini

3, 5, 6, 9, 10, 11

490 Hz (pins 5 and 6: 980 Hz)

Mega

2 - 13, 44 - 46

490 Hz (pins 4 and 13: 980 Hz)

Leonardo, Micro, Yún

3, 5, 6, 9, 10, 11, 13

490 Hz (pins 3 and 11: 980 Hz)

Uno WiFi Rev2, Nano Every

3, 5, 6, 9, 10

976 Hz

MKR boards *

0 - 8, 10, A3, A4

732 Hz

MKR1000 WiFi *

0 - 8, 10, 11, A3, A4

732 Hz

Zero *

3 - 13, A0, A1

732 Hz

Nano 33 IoT *

2, 3, 5, 6, 9 - 12, A2, A3, A5

732 Hz

Nano 33 BLE/BLE Sense

1 - 13, A0 - A7

500 Hz

Due **

2-13

1000 Hz

101

3, 5, 6, 9

pins 3 and 9: 490 Hz, pins 5 and 6: 980 Hz

PDF Robot has a great shield for the latte panda that powers it from 7-12v and breaks out the I/o for servos and sensors. We highly recommend getting the shield to reduce spaghetti wiring on your robot :). Check it out here: lattepanda shield


EZ-Robot EZ-B v4 Direct Connection

While the onboard Arduino Leonardo is convenient, the amount of gpio is limiting. Those who wish to connect an EZ-B v4 to the LattePanda directly can do so and have full access to the 24-pin, three hardware UART, eight ADC, i2c, digital switching power supply, and real-time streaming audio.

  1. The camera port of the EZ-B v4 will be used for the hardwired connection. View the datasheet of the EZ-B v4 to see the pinouts of the camera connection. It's best to modify an existing EZ-Robot camera cable to access the pins. Connect the EZ-B camera's TX to LattePanda pin #2 (D0 RX) on the Arduino header. Connect the EZ-B camera's RX to the Arduino header's LattePanda pin #4 (D1 TX). Connect the EZ-B camera's GND to LattePanda pin #23 (GND) on the Arduino header.
  2. The EZ-B v4 web configuration must be configured in the Advanced Tab to change the Serial/USB Connection to 256000 BAUD. This is done by connecting to the EZ-B v4 via Wi-Fi and visiting http://192.168.1.1 in your browser. Select Advanced Settings and change the Serial/USB Connection dropdown to 256000. Press the Save and Reboot button.
  3. Upload the following program to the onboard Arduino Leonardo on the LattePanda: EZB_Passthrough.zip. Due to the lack of hardware UARTs on the LattePanda, this converts the onboard Arduino Leonardo into a USB UART adapter at 256,000 baud.
  4. In ARC, press the CONFIG button on the connection control and enable DTR Enable.
  5. Select the COMx port from the drop-down in the connection control and press CONNECT. You are now connected to the EZ-B v4 via hardwire for instant response and no latency.

  6. Installation Tips & Performance for SBCs

    We have a guide in the Support section that includes steps on freeing storage space, increasing the performance, powering the SBC, and running headless with remote desktop software of robot computers, such as single-board computers. View the instructions HERE.

Related Tutorials

Related Hack Events

Related Questions


ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

PRO
Synthiam
#1  

I added details on this page of how to connect an EZ-B v4 directly to the lattepanda's arduino uart port for no latency fast connectivity. The LattePanda's Leonardo may be limiting in gpio for you, so the above instructions explain how to expand the gpio with an EZ-B v4.

#2  

Hi DJ, thanks for the details to connect an EZ-B to the lattepanda. I have a question, though: in this configuration, can you still use the other pins of the lattepanda's Leonardo, or it is only the EZ-B you can use in ARC ?

PRO
Synthiam
#3  

Only the EZ-B in ARC. The LattePanda is consumed with transmitting and receiving data between the Intel CPU and EZ-B. However, the LattePanda doesn't give you much I/O anyway.

If you want to use the LattePanda's Leonardo I/O, then use the first version of the firmware. However, you are limited to only a few I/O and no hardware UART.

#4  

Thanks DJ for the clarification. As I have just bought the Gravity IO Expansion Shield you suggested in the other post, now I have a choice to make... :-)

PRO
Synthiam
#5  

Haha yeah. It’s a tough choice. The ezb I find is super convenient because the Leonardo on the pi still has a few quirks. I find not all ports can control servos. Sometimes the Leonardo reboots when moving too many servos at once. I think it’s the way arduino handles servos by connecting to pwm timers. There’s a limited number of timers so it has issues if you exceed that. Give it a try and let me know your experience

#6  

I am trying to decide which Panda to get, 32 Gig or 64 Gig. Does anyone know if an extra storage device can be added to this panda like adding a solid state portable terabyte hard drive and still have all the robot controller functions working at same time?I assume there must be extra SD card storage but the portable drives are way bigger and usually need the USB port. Thinking for camera footage to be stored this way from robot cam.

#7  

I don't know about any of that but when buying a computer or laptop I've always bought one with as much power and space as I could afford. Keep it simple and powerful. I often got over powered rigs but never was disappointed by their performance.

PRO
Synthiam
#8   — Edited

It has usb 3 so you can add an external solidstate drive. Blue usb connector is usb3

I never ever suggest running any software off an sdcard. It’s much to slow. A usb3 drive will have a theoretical transfer speed limit of 5gbps. A sdcard is between 2mbps and 4mbps

also, always buy ssd drives. They’re so cheap. $15 for a 120 gb ssd

#9  

Thanks DJ, I am looking at the 4 Gig ram 64 Gig storage Panda unactivated win10. I have activated WIN10 on a USB setup stick that I can try to get it installed., but there are many people asking in the Panda Feedback questions if this is even possible. Saving $50.00 difference.

#10  

Hi DJ, is the direct connection to lattepanda work with the IoTiny ? I don't find the "Serial/USB Connection" in the Advanced Tab of the web interface...

PRO
Synthiam
#11  

The iotiny doesn’t have the available uart rx for serial connection. Unfortunately the iotiny is limited to WiFi connectivity.

I recommend an ezbv4 or even an arduino with a servo shield

#12  

Hi DJ, thanks for the precision. I will go with the EZB v4 then.

United Kingdom
#13  

hi dj i cant get ultrasonic to work useing lattepanda get message not supported on this ezb, is there a fix please , ps i love my robot tommy

#14   — Edited

Hello DJ & forum ... may i ask about the 4 step?

i can't understand where is the config button on the connection button, to enable DTR!  can you help me please!:(

PRO
Synthiam
#15  

Use the tutorial: https://synthiam.com/Community/Tutorials/LattePanda-Beginners-Guide-18552

it’s also listed as related content to this thread.

Germany
#16  

Hi DJ,

just a short question:

Can I use the LattePanda with installed ARC software for direct control of an EZ-B in areas where I will have no WLAN connection anymore ?

It will be a robot application, where no internet access is required.

Thanks in advance !

Cheers

Volker

#17  

Hello User, yes you can use EZB out anywhere when no internet because the Latte Panda can connect to the EZB's built in server, No other Wifi needed.

Germany
#18  

Hi Robo rad,

thanks a lot; good to read, indeed !

Do you have a link for a corresponding wiring between these two units ?

#19   — Edited

You don't need any cable or wire as both communicate through wireless EZB server wifi. Then when you do want to add a different home Wifi the EZB can be changed to client mode where Latte panda and EZB use the home wifi router. I Use both methods as i bring robot out to cottage where no Wifi, then use just EZB to connect with Panda wireless. You can connect a cable to the Uart on the EZB but I have never tried that, DJ or Jeremie could chime in on that connection. Are you wanting to use windows 10 or the Arduino built in on the Panda,you can use both.

Germany
#20  

Hi robo rad,

it's for my XXL insect: What will be the pros and cons for the two options to connect a Lattepanda and an EZ-B ?

-   3-wire connection (as shown above) -   EZ-B wifi hotspot

I guess, when using the hotspot I may circumvent these software changes in the EZ-B web configuration.

Thanks a lot for any hint !

Cheers

Volker

#21  

Yes the default ezb connection works great when you reset it and have no other Wifi . The Latte Panda does not even need to be on the robot but just near by for the wireless to EZB on the robot. I do this because the Latte Panda needs around 3---5 Amps to boot up to windows unless you follow DJ's tutorial how to run micro computers "headless" and other ways to run with less power. The EZB can run with just any 7.4 battery up to something like 16 volts I believe.Even 5 volts Jeremie told me with no extra servos attached.

Germany
#22  

Sure, a LattePanda does not need to be installed onboard ...

... but then I can also use my Toughbook (it's a CF-D1); a really solid control unit.

In a few weeks I will be confronted with the task to realise remote control for my insect.

Currently I do not see a direct way with Synthiam BLOCKLY.

Maybe I will use a surplus RC gear:

-   Low-pass filtering the outputs of the PWM receiver outputs (RC section with long time constant). -   Connecting the resulting DC signals to ADC inputs of the EZ-B

Could work; at least worth a try !

PRO
Synthiam
#23  

Use the user interface and control it by a mobile device or a phone or computer. The user interface also displays the camera feed and gives you access to customizable scripts and buttons. https://synthiam.com/Support/Skills/User-Interface/Interface-Builder?id=16063

PRO
Synthiam
#25   — Edited

You can use Blockly in all skills of all events across arc. Check out the link I provided and create a user interface. Load it on your phone and voila

heres the link to user interface builder: https://synthiam.com/Support/Skills/User-Interface/Interface-Builder?id=16063

PRO
Synthiam
#26  

Forgot to mention there’s joysticks and other options as well. A list is provided in a step of the robot building section in the getting started guide: https://synthiam.com/Support/Get-Started/Planning%20Your%20Robot/remote-control-robot

#27  

I am using quite a lot of the functionality of ARC including Bing speech recognition, YOLO, AIML chatbot, camera, sensors, 20 servos, etc.

  1. Which LattePanda do you suggest for best speed?
  2. What is the minimum configuration that would work?
PRO
Synthiam
#28  

I recommend a rock pi/x with as much ram available

#29  

So you recommend a rock pi/x 4gb ram 64 gb disk over a LattePanda? Why? Price?

PRO
Synthiam
#30   — Edited

Better performance - see the rock pi page on here. There’s a comparison chart

link: https://synthiam.com/Support/Hardware/Rock-Pi-X

Portugal
#31   — Edited

I have the ODYSSEY - X86J4105. It has plenty of ram and cpu power to handle object recognition and many plugins in ARC. Got mine for 200 EUR.