Go Down

Topic: Problem in downloading of wimos D1 esp8266 board manager with Ard IDE1.8.2 (Read 1 time) previous topic - next topic

Mahesh chamaraja

Hi,

I'm trying to download the WiMos D1 esp8266 board manager in arduino IDE 1.8.2 but getting error during download. Please check the attachment for more details

PC: windows 10, 64bit

Following procedure I'm trying it out:

1> https://arduino.esp8266.com/stable/package_esp8266com_index.json: loading this link in arduino IDE preference.
2> Go to tools select the board manager

Please let me know more info is required

Regards
mahesh


PaulRB

Hi Mahesh

The image you attached does not show the complete message and it's very difficult to read. Please click the "copy to..." Button at the top right of the message window and paste it into a post using code tags </>.

PS. Did you mean WeMos?


Mahesh chamaraja


PaulRB

If you cannot understand us, there is a forum section called "India". Perhaps you should post your question there.

marine_hm

#5
Oct 20, 2017, 02:45 pm Last Edit: Oct 20, 2017, 03:37 pm by marine_hm Reason: add another picture for boards
Recently upgraded as well and seem to have the same or similar issue.

Not looking for help with the sketch.  Just need help recognizing the Wemos D-1 mini for now.
Sorry;  Forgot sketch(not complete)  need to add: reading from sensor
Code: [Select]
/*
 * WiFi BME280 humidity, temperature & pressure sensor
 * Reports current weather data via Mosquitto MQTT, WiFi, Raspberry Pi3(b)
 */

#include <EEPROM.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>


// ASSIGN PINS
#define BME_SCK 13//  SCK to Pin 13
#define BME_MISO 12// SDO to Pin 12
#define BME_MOSI 11// SDI to Pin 11
#define BME_CS 10//   CS  to Pin 10

#define SEALEVELPRESSURE_HPA (1013.25)

//Adafruit_BME280 bme; // I2C
Adafruit_BME280 bme(BME_CS); // hardware SPI
//Adafruit_BME280 bme(BME_CS, BME_MOSI, BME_MISO,  BME_SCK);

// Connect to the WiFi
const char* ssid = "######";
const char* password = "######";
const char* mqtt_server = "192.168.0.140";

WiFiClient espClient;
PubSubClient client(espClient);




int bme280Pin = D7;  // receive data from BME280 temperature sensor





boolean reconnect() {  // **********************************************************
  // Loop until we're reconnected
  while (!client.connected()) {
    Serial.print (F("Contacting MQTT server..."));
    // Attempt to connect
    if (client.connect("BME280")) {     //assign a "client name".  Each wemos must have a unique name
      Serial.println (F("connected"));
      
      // ... SUBSCRIBE TO TOPICS
      client.subscribe("BME280");
      return client.connected();

      Serial.print (F("Failed to connect. "));
      Serial.println (F(" Attempting connection again in 3 seconds"));
      // Wait 3 seconds before retrying
      delay(3000);
      return 0;
    }
  }
}


void setup()
{
  {
    Serial.begin(9600);
    client.setServer(mqtt_server, 1883);
    client.setCallback(callback);
    pinMode(relay1Pin, OUTPUT);
  }


  // Connect to WiFinetwork
  Serial.println();
  Serial.println();
  Serial.print (F("Connecting to "));
  Serial.println(ssid);

  WiFi.begin(ssid, password);
  WiFi.mode(WIFI_STA);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    //Serial.begin(9600);
    Serial.print (F("."));
  }
  Serial.println (F(""));
  Serial.println (F("WiFi connected"));
  // Print the IP address
  Serial.print (F("Local IP: "));
  Serial.println(WiFi.localIP());
}


void loop() {
  if (!client.connected()) {
    reconnect();
  }

  client.loop();
}


Code: [Select]
Arduino: 1.8.4 (Windows 7), Board: "WeMos D1 R2 & mini, 80 MHz, 115200, 4M (3M SPIFFS)"

Board d1_mini (platform esp8266, package esp8266) is unknown

Error compiling for board WeMos D1 R2 & mini.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Here's what's in my settings:



marine_hm

Paul;

In that folder PERT describes.  I found 2.3.0 and 2.4.0-rc1

Removed 2.4.0-rc1 and reloaded arduino.ide.  It now compiles.   I can move forward, tinkering with my temp sensor.

Thank you again!

PaulRB


marine_hm

Well.  Let me put it back and remove the other one.  Be right back.
No, Now my Wemos Boards are gone.

I remember when the new revision was put out on Github, it was experimental.  It also had a different url for the boards.  Can't seem to find the url or the video tutorial.

RC-2 was released 5 days ago.  I will have to look at that.


https://github.com/esp8266/Arduino/releases


After reading and following the directions.  This is my error message:
Code: [Select]
Arduino: 1.8.4 (Windows 7), Board: "WeMos D1 R2 & mini, 80 MHz, 921600, 4M (3M SPIFFS)"

Board d1_mini (platform esp8266, package esp8266) is unknown

Error compiling for board WeMos D1 R2 & mini.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

PaulRB

I would delete the package from boards manager, close the ide, then delete any remaining files & folders from packages/esp8266. Then restart the IDE and re-install the esp package in boards manager.


sudarshangb

Hello,

I freshly installed arduino IDE and I added the link

http://arduino.esp8266.com/stable/package_esp8266com_index.json

I can see the WeMos D1 board listed. But my problem is I cannot install the package.

I get an error message. (Picture attached)


I cannot delete the older packages because there are none in the folder.

What are my options?

Thanks in advance.


PaulRB



Quote
I can see the WeMos D1 board listed
Where, exactly? In that picture, or in the menus in the IDE?

Go Up