Video streaming of GR LYCHEE via wifi

Can GR LYCHEE streaming video via wifi? if ans is YES kindly provide example and related documents.

  • Yes, but ESP32 on GR LYCHEE transfer data up to 1Mbps, so it is little bit slow. Please consider 1fps via Wi-Fi.
    I had prepared web camera example as below web, but that is Japanese one. English version will be there in May.
    gadget.renesas.com/.../4.html
  • In reply to Okamiya Yuuki:

    Dear Sir, Thank you for reply............

    We have to save "index.htm" file in SD card. What should be the file name in sd card and what should be the location i.e. folder?
  • In reply to itsme_raju2002:

    The below "index.htm" should be root in SD. When a brower such as IE, Chrome automatically open index.htm.
    gadget.renesas.com/.../index.htm
  • In reply to Okamiya Yuuki:

    Hi Sir,
    Can you please give us the link of English Version of this web camera example?
    Thanks in advance!
  • In reply to Okamiya Yuuki:

    Thanks for the prompt reply. :)
  • In reply to Okamiya Yuuki:

    i tried this code but im getting an error on compile, it shows 'network is not declared in this scope'.i tried it on both online and offline compiler.please help!!

  • In reply to Okamiya Yuuki:

    Finally figured out the problem.Its just a declaration error in the code provided.The instance of the class ESP32Interface is
    called as 'wifi' and in code the keyword 'network' is used instead of 'wifi'.I just replaced the occurances(2) of 'wifi' with 'network' and it worked.
    code

    #include <Arduino.h>
    #include <Camera.h>
    #include <SD.h>
    #include <HTTPServer.h>
    #include <mbed_rpc.h>
    #include <SdUsbConnect.h>
    #include <ESP32Interface.h>
    ESP32Interface network;
    #define WIFI_SSID "change this with your ssid"
    #define WIFI_PW "change this with your pwd"

    Camera camera(320, 240);
    SdUsbConnect storage("storage");

    static int snapshot_req(const char ** pp_data) {
    size_t size = camera.createJpeg();
    *pp_data = (const char*)camera.getJpegAdr();
    return size;
    }

    void setup(void) {

    Serial.begin(9600);
    Serial.println("Starts.");

    // SD & USB
    Serial.print("Finding strage..");
    storage.wait_connect();
    Serial.println("done");

    camera.begin();

    Serial.print("Connecting Wi-Fi..");
    network.connect(WIFI_SSID, WIFI_PW, NSAPI_SECURITY_WPA_WPA2);
    Serial.println("done");

    Serial.print("MAC Address is ");
    Serial.println(network.get_mac_address());
    Serial.print("IP Address is ");
    Serial.println(network.get_ip_address());
    Serial.print("NetMask is ");
    Serial.println(network.get_netmask());
    Serial.print("Gateway Address is ");
    Serial.println(network.get_gateway());
    Serial.println("Network Setup OK\r\n");

    SnapshotHandler::attach_req(&snapshot_req);
    HTTPServerAddHandler<SnapshotHandler>("/camera"); //Camera
    FSHandler::mount("/storage", "/");
    HTTPServerAddHandler<FSHandler>("/");
    HTTPServerAddHandler<RPCHandler>("/rpc");
    HTTPServerStart(&network, 80);

    }

    void loop() {
    }