LattePanda DFR0418 User manual

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 1/58
CONTENTS
GettingStartedwithLattePanda
PoweronyourLattePanda
Connectwithyourperipheraldevice
ConnecttoWi-Fi
Connectwith7“DisplayandTouchPanelOverlay
Software&OperatingSystems
HowtosetupaVNCserverontheLattePandausingTightVNC
Hardware&Accessories
InputsandOutputs
HowtoaccesspinoutsfromVisualStudio
ProjectExamples
Node-RED
TurnaLattePandaintoa3DPrintServerUsingOctoprint
FaceDetectionusingOpenCV
Troubleshooting&FAQs
HowdoIknowLattePandaison?
HowdoIre-installLattePandaWindowssystem?
WhatBootMethodDoesLattePandaUse?
CommonAdaptersandUSBcablerecommendations
GETTING STARTED
Power on your LattePanda
TheLattePandaispoweredthroughthemicroUSBport.AnystandardUSBadapter(suchasacellphonewallcharger)with
atleast2AofcurrentcanbeusedasapowersupplyfortheLattePanda.Apoweradapterwillnotbebundledwiththe
board,butyoumaygetonefromouronlinestoreoranyelectronicsretailer.
Note:CheckyourpoweradapterandUSBcableconnectionbeforeuse.Insufficientorunstablecurrentmaypreventyour
LattePandafrominitializing.
Here’sourlistofrecommendedpoweradaptersandcables
WhenyouhaveanadapterandmicroUSBcableready,followtheinstructionsbelowtogetstartedwithyourLattePanda.
1.PlugtheUSBintotheUSBpoweradapter,andthemicroUSBintothemicroUSBportoftheLattePanda(ThemicroUSB
portislocatednexttotheSDcardsocket).
IfyouneedIPSdisplayandtouchpanel,pleaseplugitfirst
Welcome

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 2/58
2.Whenpluggedin,youshouldseetheredLEDindicatorlightsupontheundersideoftheboard.Thismeansthatthe
LattePandaisinitializing.WaitpatientlyforafewsecondsuntiltheLEDgoesout.
3.WhentheLEDturnsoff,pressandholdthepowerbuttonforonesecondtoturntheLattePandaon.Youshouldseethe
LEDlightsupagain

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 3/58
Connect with your peripheral device
LattePandaiscompatiblewithawiderangeofperipheraldevices.
YoumayconnectanyUSBsupporteddevices,suchflashdrives,mouseandkeyboard,orawebcamtoUSB3.0and2.0ports.
TheSDcardsocketsupportsextrastoragefromaminiSDcard.YoumayalsoconnecttheLattePandatoanexternal
speakerdevicethroughits3.5mmaudiojack.
TheLattePanda’sArduinocompatibleco-processorwithplugandplayheadersandGPIOpinssupportsstandard5V
sensorsandactuatorsthatenableittointeractwiththephysicalworld.

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 4/58
Connect to Wi-Fi
1.InstalltheWi-Fiantennabypluggingtheroundshapedendintothesocketlabelled“ANT”locatednexttotheGPIOpins
ontheboard.
2.InWindowsselectaWi-FiconnectionbyclickingtheWi-Fiiconinthesystemtrayatthebottomrightofthescreen.Follow
thewizardtosetupaconnection.
Note:AweakWi-FisignalmaypreventaWi-Ficonnectionbeingestablished.Checktheantennaisconnectedproperlyto
theboardandmakesurethataWi-Finetworkisavailable.
Connect with 7“ Display and Touch Panel Overlay

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 5/58
Note:PleaseconnectitwithLattePandaBEFOREpower-on.AndmakesuretheGoldenFingerfacetherightside.
ThecontactsonFPCaresocompactandinorder.Pleasebecarefulthatanydislocationconnectionmaycausethe
LattePandashortcircuitandtheIPSdisplayabnormallikeghostingorflicker.
1.Liftuptheactuator.Usethumborindexfingermightbeeasier.

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 6/58
2.InsertdisplayFPCin.
PlaceGoldenFingersidedown!
Note:TheFPCmustbefullyinsertedintheconnector.Ifnotfullyinserted,theactuatorwillnotcloseproperly.Shouldthis
bethecase,liftuptheactuatorandrepeattheprocess(startingwithStep1above)
3.Rotatedowntheactuatoruntilfirmlyclosed.
4.InserttheFPCoftouchpanelin
Sameasthedisplay.PlacetheGoldenFingersidedowntoo.

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 7/58
Software & Operating Systems
Setting up a VNC server on the LattePanda using TightVNC
INTRODUCTION
InthistutorialIwilldemonstratehowtoinstallaVNCserviceonyourLattePandausingWindows.Thiswillenableyouto
accesstheGUIofWindowsrunningonyourLattePandafromadifferentPConyourlocalnetwork.IwilluseTightVNC,a
freeandeasytosetupservice.
VNCstandsfor“VirtualNetworkComputing”.Itisawayoftransmittingthekeyboardandmouseeventsofonecomputer
toanother-inotherwordsusingonecomputertoremotecontrolanother.Thisisusefulbecauseyoumightnothaveextra
monitors,keyboardsormicelyingaround–usingaVNCserviceenablesyoutoaccessseveralcomputersonyourlocal
networkusingjustonecomputer,monitor,keyboardandmouse.Youmightalsohaveaheadlessserversetupwhich
doesn’trequireconstantlyattachedperipherals.SettingupaVNCserveronyourheadlessserverisahandywayto
interfacewithaGUIifandwhenyouneedit.
Let’sgetstarted:
STEP 1 - INSTALLATION
1.DownloadandinstallTightVNCforWindowsonyourLattePanda.Choose32-bitor64-bitdependingonyoursystem
architecture.
(LattePandaStandardis32-bit,LattePandaEnhancedis64-bit)

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 8/58
Download(http://www.tightvnc.com/download.php)
2.End-UserLicenceAgreement
Acceptthelicenceagreementandclicknext
3.ChooseSetupType
TypicalinstallationwillinstallbothTightVNCserverandTightVNCvieweronyourLattePanda
Custominstallationallowsyoutoselectwhichelementstoinstall.Reallyallweneedistheserver,unlessyouwouldlike

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 9/58
tobeabletoviewotherPCsonyournetworkthroughtheLattePanda,inwhichcaseyouwillneedthevieweraswell.
Forthistutorialwewilljustdothetypicalinstall.

10/26/2016 Docs|LattePanda
http://www.lattepanda.com/docs/ 10/58
4.SelectAdditionalTasks
Checkalltheboxes
Table of contents
Popular Microcontroller manuals by other brands

AMS
AMS AS7261 Demo Kit user guide

Novatek
Novatek NT6861 manual

Espressif Systems
Espressif Systems ESP8266 SDK AT Instruction Set

Nuvoton
Nuvoton ISD61S00 ChipCorder Design guide

STMicrolectronics
STMicrolectronics ST7 Assembler Linker user manual

Texas Instruments
Texas Instruments Chipcon CC2420DK user manual

Texas Instruments
Texas Instruments TMS320F2837 D Series Workshop Guide and Lab Manual

CYPRES
CYPRES CY14NVSRAMKIT-001 user guide

Texas Instruments
Texas Instruments INA-DUAL-2AMP-EVM user guide

Espressif Systems
Espressif Systems ESP8266EX Programming guide

Abov
Abov AC33M8128L user manual

Laird
Laird BL654PA user guide





