Forum
userhead marek196c
Replies (18)
  • You Reply:
    LattePanda wrote:
    marek196c wrote:Ok, about lcd / touch cable, there is no possibility to buy the spare fpc connectors and male to male cables to do my own the pcb?
    yeah thats also possible. i will find part numbers and names and get back to you
    Did you find the parts codes / some link to buy / manufacturer site?
  • You Reply: A bit of update about the coding:

    Code: Select all

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using LattePanda.Firmata; #define CDC1 0x53 #define CDC2 0x2C #define END_CMD 0x14 #define PLAY 0xE4 #define STOP 0x10 #define NEXT 0xF8 #define PREV 0x78 #define SEEK_FWD 0xD8 #define SEEK_RWD 0x58 #define CD1 0x0C #define SCAN 0xA0 #define SFL 0x60 #define PLAY_NORMAL 0x08 #define MODE_PLAY 0xFF //random off #define MODE_SHFFL 0x55 //random on #define MODE_SCAN 0x00 // play until 5 sec of song and skip #define byte unsigned char byte *b1; namespace CDC; { class Program { static Arduino = new Arduino(); static void Main(string[] args) { // note 1 arduino.wireBegin(0); arduino.wireRequest(CDC1, CDC2, 4, Arduino.I2C_MODE_READ_ONCE); arduino.wireRequest(CDC1, CDC2, CD1 END_CMD, Arduino.I2C_MODE_WRITE); arduino.wireRequest(CDC1, CDC2, PLAY END_CMD, Arduino.I2C_MODE_WRITE);//note 2 void Loop() { arduino.wireRequest(CDC1, CDC2, b1, Arduino.I2C_MODE_READ_CONTINOUSLY);//note 3 if(b1==PLAY)//note 4 } } } } /* P.S. the code is resoult of my understanding of page posted before with codes to radio and LP docs page about I2Cs Notes: note 1: till now initialize program and communication with Arduino + declaring global variables program starts here note 2: cdc1 and cdc2 should be address and header of device as they repeat continuously so only 3rd byte interested me as they are 8bit ones so 2 of them are 16bit and matching perfectly the variable. However here I just initializing/sending info to enable audio. note 3: here we start to read input from radio per each byte incoming note 4: triggering byte if interesting us, then will implement command to open player or play if opened and paused next if and elses will be about all actions such pause etc... */ someone can check and explain better functions wirerequest and tell me if I can use normal ones such provided on arduino forum (bcs is bigger is much faster find answers without loosing time) and how i can check addresses?
  • You Reply: ok, some progress in here, after some hours of searching on internet I found code needed without any oscilloscope to measure bits on it (thx to google) so if anyone will need code to do something like this click here. now will elaborate it to arduino on LP and interface it to windows.
  • You Reply: Ok, about lcd / touch cable, there is no possibility to buy the spare fpc connectors and male to male cables to do my own the pcb?
  • You Reply: Hi, I mean (about usb c) that should be a good idea to use it as support much more power (i mean current). The power bank that actually I got uses also usb charge but up to 2.1A (however booted LP without problems) now the psu for car will be approx. DC to DC converter 5V 3A + power bank for shut down + capacitor for cranking, capacitor will need to last about 10 sec, so assuming that LP consuming an average of 2.5A on boot (prefer to excess with values for margin) and it need to hold for 10 sec. so 0.7mah would be fine. That converting to Farad scale would be 0.5F, but is better to find more popular 1F, 1,5F on 5.5V. taht will be charged in instance when key turned to accessory and keep LP booting or working for (incase of 1,5F) 30 sec.
    And what about some conversion pcb from flat display cable to normal cable? or longer cable? as in my case will need around 1,5m of it.
  • You Reply: Hi, little update (as still waiting for more parts cables etc...) got the gps module GY-NEO6MV2, and power bank 10000mah (is with usb c, model yn-037t) by the way the usb c could be implemented to LP instead of micro usb as power port, about programming nothing new as can't do nothing w/o getting all parts. By the way will need help with programming interface (commands to use).
  • You Reply: I'm also looking for it, would be advantageous to create an double pcb with fpc to normal cable and then from normal cable to fpc (as is parallel port the cable at all can't be longer than 2m)
    @LattePanda Team do it please.
  • You Reply: Hi man, I'm not Latte Panda team guy or something, but as you said, you broken your LP bios, so why they would replace it for you? Anyway if you messed up with your bios, on-line you can find copy of it and just plug it to an eeprom programmer (if you got) or go to local computer repair centre that got it...
  • You Reply: Hi guys, I got the normal one not enchanted one, but, first of all, what hardware you using? you didn't mentioned your PSU, then try to get one (if don't got already one) that got 3Amp+, try to unplug all and leave ONLY HDMI and PSU cable, then try to boot it up few times (sometimes can just not being recognised connection to TV).
  • You Reply: After some time of trying etc... I got results:
    1st problem LP development team didn't measured correctly the Vcc, in the fact I unplugged all things (plugged main Vcc and HDMI cable ONLY) then tried to boot it, arrived to the 1st menu with 'choose region' but after pluging dongle of my kb or pluging my usb kb its shutting down. So my as well many people request to update the value of Main adapter to at least 5V@ >3Amps
    2nd problem OS. Why windows consume so much energy? I mean I can operate on 2Amps using live linux and plugged all stuff and windows can't? then missing support also for 'bootable' usb drives with clean Windows or Linux... (unless some lastest ones supporting uefi on 32bit).
    3rd problem, overheat... mainly suggested to buy the active fan cooler using 5v@0.14A, (also needed to take out if not can not boot to windows region selection).
    Then summary of my problem:
    Symptoms:
    on boot of windows powering down/restarting
    Cause:
    Overheat of CPU / using more energy that should
    Repair (Confirmed):
    Connected PSU 5V @ 4Amps (and good quality cable/ I used my galaxy tab and belkin one w/o problem)
    Thermal paste and heat sink from old mb chip applied as passive cooler + official fan-heat sink
    Used Live Linux to wipe the Windows partition
    Used "Official" Windows image (from docs page) on USB to restore windows (it should anyway erase all eMMC but i preferred to do it with Linux for being sure)
    Use of external powered usb host(If using 4a+ PSU not necessary).
  • You Reply: Ok a bit of update, changed the kb (however the one that I used before was working on it. Actually using an logitech k400 plus and it s awesome to use with (no cables, power only for dongle instead of powering mouse and kb.
    Now I'm on Sparky linux (x86 x64 ver.), using GParted I can see all of four disks (efi sys partition/ MS reserved partition/ Windows/ Recovery) but can access only to windows, that seem to be fine (checked all partitions and are fine). However files on windows like bootnxt and System Volume Information/MountPointManagerRemoteDatabase are empty, but they should got some information inside... (using leafpad).
    Afet saying that is certainly problem of software and current OSs that don't support the LP bios.
    Latte Panda Team some help with sw????
  • You Reply: Check my post here using it, you can use the linux to see state of your emmc drive and contents.
  • You Reply: Ok today I used option 3 to check the integrity of media, that failed then used command reset and exit to get into linux and got success!!! now i need to manage some additional mouse for it as keyboard don t seem to collaborate.
  • You Reply: Ok, some news, Using this post I can use live linux usb.
    Steps I've done:
    1 download sparkylinux
    2 using rufus on fat32 just burnt the image as an iso
    3 plugged to LP using f7 selected usb
    4 from linux menu selected normal mode (not compatibility)
    5 waited
    6 Got error: (initramfs) Unable to find a medium containing a live file system.
    Tomorrow will see forward.
    P.S. the hardware used is LP 2/32GB + 7" board pluged and touch overlay + 5V 0.14A fan (official one) + Keyboard (logitech K120) + USB drive (sandisk 32GB USB 3.0), On Samsung phone charger PSU 5v@2.0A and Samsung cable.
  • You Reply: Hi man, also you should check this one. but when you download the rar file and open it, you should get folder named image(...) opening it, you should get an tree of folders etc... all that folders should be on your usb root (NOT image_x86 folder only). then usb should be formatted to fat 32 (due to bios supports only this unit coding) and name it winpe (dunno why) but anyway automatically should boot from your usb and start the command prompt.
  • You Reply: Try to print another lever with 3d printer?
    Or use a bit of tape to hold it down?
    If you got the heat solder you can replace it with another one like this one here.
  • Topic:
    You Reply: you can anyway do delay switch, that disconnect the battery after some minutes after disconnecting of power source.
    By the way I'm waiting for my LP then my project is alike to get an video/audio player + gps + something else, but will pin on my radio via cd changer port (radio is an audi concert 2 on an audi a3 8p) and control it using radio (player) as got audio in as classical aux + commands through the code. but probably will open other thread on it.
    Btw if some1 interested about my project and wanna help, or maybe find some way to approach their own one, can click here.
  • You Reply: Honestly, you can do wake up/sleep through the arduino pin and battery with charging module in series of your car 5V charger...