LattePanda

LattePanda

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 EZ-Builder! The LattePanda also has an Arduino Leonardo built on-board, which means you can load the EZB Firmware and have a self contained and very capable PC robot controller. This firmware works with EZ-Builder versions greater or equal to 2019.06.25.00.

* Connection Notes *

Due to an undocumented bug feature (?), the Arduino Leonardo's USB serial driver requires DTR Enabled to trigger received data events. This can be done by viewing the Connection Config screen (same place you set the baudrate) 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. By adding this firmware, you can connect EZ-Builder to the local Arduino and control the GPIO directly.

Download Arduino Leonardo Firmware: EZ-Genuino_Leonardo.zip

Pinouts

The Digital pins from 0-14 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.

DF Robot has a fantastic shield for the lattepanda that both 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. For those who wish to directly connect an EZ-B v4 to the LattePanda can do so and have full access to the 24 gpio, 3 hardware UART, 8 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 LattePanda pin #4 (D1 TX) on the Arduino header. 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 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 EZ-Builder, 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.

Related Content

tutorial
Create Auto Position Actions From EZ-Script

Create Auto Position Actions From EZ-Script

This tutorial uses the ControlCommand() EZ-Script command that instructs the Auto Position control to create a frame and...
live hack
The Lattepanda Robot Hack

The Lattepanda Robot Hack

I'm hacking the lattepanda to control Robotis Dynamixel servos and use a USB camera for machine vision. This will be a...
tutorial
Lattepanda Beginners Guide

Lattepanda Beginners Guide

In this Tutorial we will go over the LattePanda micro controller and its integration with the Synthiam Platform
live hack
Astro Boy Live Hack....Onward And Upward!

Astro Boy Live Hack....Onward And Upward!

Astro Boy Live Hack (Part 2) ***UPDATE time switched to 8pm**** The eighties Astro Boy cartoon was likely the majority...
live hack
Astro Boy Live Hack......Forward, We March Together!

Astro Boy Live Hack......Forward, We March Together!

Astro Boy Live Hack (Part 3) The eighties Astro Boy cartoon was likely the majority of the inspiration that got me into...
question

In-Browser Object Detection Using YOLO And Tensorflow.Js

This is interesting...might be worth checking out! What do you guys think? https://github.com/ModelDepot/tfjs-yolo-tiny...
question

Intel Core-I7-4790K Mini Itx Pc Vs Latte Panda For Robot Main Pc Control

While i was looking through my options of a small form facter pc with plenty of computational power and read and write ability, i stumbled accross the...
question
ARC Shortcut Creator

ARC Shortcut Creator

Does Shortcut Creator work in ARC? The Create Shortcut and Copy file path to clipboard are both greyed out and not...
question
WISH LIST - Auto Connect Check Box And Servo Buttons

WISH LIST - Auto Connect Check Box And Servo Buttons

Hi guys, I can't find a wish list area, so I'm posting this here. If there is a wish list area, please move this post...
question
How Do I Play Audio File In Blocky?

How Do I Play Audio File In Blocky?

How do I load an audio file in blocky? All I get is a small white line when I try to load an audio file. I am...
question

Speech Recognition - Pause Not Working

Howdy When my voice recognition is paused it still activates. The sound wave is red and pause check box is grey. I have an enable phase as well, but...
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 ?
Synthiam
#3  
Only the EZ-B in ez-builder. 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... :-)
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.
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...
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