Arduino Easy 2560
Moderators: rtenklooster, Voyager, BertB, Stuntteam
Forum rules
You have entered the experimental forum, beware!!!
You have entered the experimental forum, beware!!!
Re: Arduino Easy 2560
I loaded software everything ok but how I am supposed now with it to connect. He isn't allotting the IP address to me. unless somehow differently is an address standing? I am calling for help!!
Re: Arduino Easy 2560
ªU
PID:0
Version:0
INIT : Incorrect PID or version!
SD�S«¹Ñ�failed
ªU
PID:0
Version:0
INIT : Incorrect PID or version!
this is what i get when looking to a serial log
PID:0
Version:0
INIT : Incorrect PID or version!
SD�S«¹Ñ�failed
ªU
PID:0
Version:0
INIT : Incorrect PID or version!
this is what i get when looking to a serial log
Re: Arduino Easy 2560
I've got exactly the same.. I tried adding an sdcard; but that didn't help. Some info (or source code) would be helpfulfrank wrote:ªU
PID:0
Version:0
INIT : Incorrect PID or version!
EDIT: I got it working after formatting the sdcard to FAT. Although it connected to my MQTT broker; I didn't succeed to create a push button call (e.g. at which topic does it send to?). It's not untuitive how to configure and how pins are mapped as they are called D1 etc. Most likely it's because I have no espeasy experience... so I think I will stick to my self written MQTT arduino sketches for now... hopefully this project will mature soon.
Last edited by jerrebxl on 09 Jan 2017, 20:34, edited 1 time in total.
Re: Arduino Easy 2560
Somebody will help me how I am supposed to start it on arduino I am calling for help best step by step PLEASE HELP ME
Re: Arduino Easy 2560
I was having issues but after adding a micro sd card to the Ethernet shield its now working.. looks good !
Re: Arduino Easy 2560
Hi
i'm French, i'm testing arduino mega and i have same problem :
Firmware : R147
SD Mount failed
ªU
PID:0
Version:0
INIT : Incorrect PID or version!
i'm French, i'm testing arduino mega and i have same problem :
Firmware : R147
SD Mount failed
ªU
PID:0
Version:0
INIT : Incorrect PID or version!
Re: Arduino Easy 2560
i solved it by putting in an sd card
Re: Arduino Easy 2560
when the final version will be ?
Re: Arduino Easy 2560
i can connect an DHT12 on the i2c bus en the scanner sees the sensor but i can't put it in devices. Can somebody help?
Re: Arduino Easy 2560
Hi,
I was looking for a EspEasy sollution with cable, now its finally there
But I cannot connect to an ip adres, Can someone please explain me how this works.
I tried cross cable, connect with static ip to the 192.168.4.1, DHCP, flashed both versions but I cannot get ip address. (flashing successful)
The Arduino Mega and the ethernet shield W5100 is working because I have a sketch with both and that is working fine.
So if someone has this working can you help me? Thank you.
I was looking for a EspEasy sollution with cable, now its finally there
But I cannot connect to an ip adres, Can someone please explain me how this works.
I tried cross cable, connect with static ip to the 192.168.4.1, DHCP, flashed both versions but I cannot get ip address. (flashing successful)
The Arduino Mega and the ethernet shield W5100 is working because I have a sketch with both and that is working fine.
So if someone has this working can you help me? Thank you.
Re: Arduino Easy 2560
Did you put an sd card in the network board. It will not work with out thatDomoke wrote: ↑09 Mar 2017, 21:57 Hi,
I was looking for a EspEasy sollution with cable, now its finally there
But I cannot connect to an ip adres, Can someone please explain me how this works.
I tried cross cable, connect with static ip to the 192.168.4.1, DHCP, flashed both versions but I cannot get ip address. (flashing successful)
The Arduino Mega and the ethernet shield W5100 is working because I have a sketch with both and that is working fine.
So if someone has this working can you help me? Thank you.
Re: Arduino Easy 2560
Hi Frank, thank you for the quick reply,
Yes I also tried with an micro sd card (I only had 16gb) I formated and partitioned it with FAT and 4gb. No luck.
Do I have to flash the firmware with the sd card already inside, did not tried that.
Is it a static ip adres or DHCP?
Re: Arduino Easy 2560
Tried with a different old microsd card 2gb and it works now, instant Ip received - DHCP.
Frank, wonderful, thank you.Now I can start trying to make some switch inputs.
One more small question, the Arduino Mega has a lot more ports, I can control 10 of them now with this great interface, I would like some more (total of 35, yes i know ),
just inputs to read the status of a switch and forward this to domoticz.
I tried and searched the internet to find a solution with cable, this is the best option so far for a user that has difficulties to get it all programmed. Is the current amount (10) a memory limit?
Frank, wonderful, thank you.Now I can start trying to make some switch inputs.
One more small question, the Arduino Mega has a lot more ports, I can control 10 of them now with this great interface, I would like some more (total of 35, yes i know ),
just inputs to read the status of a switch and forward this to domoticz.
I tried and searched the internet to find a solution with cable, this is the best option so far for a user that has difficulties to get it all programmed. Is the current amount (10) a memory limit?
Re: Arduino Easy 2560
Hi i have some problem.
I download on gidhub source and uploading on Mega 2560+W5100
ArduinoEasy start all good, but have 1 bug, then i try to add new Device in menu Devices i can`t.
I'm trying to select a switch for example, but when I select it, nothing happens.
UPD:
I found out that not on one page of ArduinoEasy you can not choose anything, it just is not saved.
But if I download the firmware from here: https://www.letscontrolit.com/wiki/inde ... ak_preview
And upload it into Mega 2560 then everything works.
Who can answer what the problem is.
I download on gidhub source and uploading on Mega 2560+W5100
ArduinoEasy start all good, but have 1 bug, then i try to add new Device in menu Devices i can`t.
I'm trying to select a switch for example, but when I select it, nothing happens.
UPD:
I found out that not on one page of ArduinoEasy you can not choose anything, it just is not saved.
But if I download the firmware from here: https://www.letscontrolit.com/wiki/inde ... ak_preview
And upload it into Mega 2560 then everything works.
Who can answer what the problem is.
Re: Arduino Easy 2560
I checked all the code, but I can not find the error.
Re: Arduino Easy 2560
for me it is working fine
i hope some one will make the i2c work so i can connect sensors
i hope some one will make the i2c work so i can connect sensors
Re: Arduino Easy 2560
mb problem its on my libraries..
Can u make ZIP lib, ArduinoEasy and share ?
Or say what Version lib u use.
And what version IDE u use ?
Can u make ZIP lib, ArduinoEasy and share ?
Or say what Version lib u use.
And what version IDE u use ?
Re: Arduino Easy 2560
i just used the original file with uploader
Re: Arduino Easy 2560
Martinus is that you are back on this forum en that is great. Is it possible that you do some development on this side project???
Re: Arduino Easy 2560
The ArduinoEasy source code is here: https://github.com/letscontrolit/ArduinoEasy
Re: Arduino Easy 2560
Running all night without devices without problems.
Adding one device: webserver gone within 5 minutes.
Ping still working.
It's almost as if the webserver is looping at the device and therefor never get's to answer the incoming call.
I used the image, lets see if the source are better...
Re: Arduino Easy 2560
Are you running the encj2860?
Doesn't this have a much larger memory footprint?
Doesn't this have a much larger memory footprint?
Re: Arduino Easy 2560
is it possible to ad i2c to the system for DHT12 sensors?
Re: Arduino Easy 2560
Afaik I2C should be active in this firmware.
But plugins should be copied from the main ESP repository and may need some patching...
But plugins should be copied from the main ESP repository and may need some patching...
Re: Arduino Easy 2560
it is active i can see the sensor when i check in the advanced tab. But i dont have the knowledge to patch it in
Re: Arduino Easy 2560
If i compile and upload the arduinoeasy source code mentioned earlier, compiled the image is only 115KB, it works. However changes to config or devices are ignored, submit brings back the original webform page, while changes to advanced are saved. Reboot works however.
If i use the image supplied, i can save config/devices/advanced changes (but rules cannot be saved!). However a reboot means the arduino is no longer responding to the browser calls, direct cmd calls don't work either. A cleaned (files removed) sd-card is needed to bring it back to life. If i make a device, it also fails (webserver no response). However direct cmd commands (gpio,3,1) does work (attached two leds to relay for both channels), when no device is created.
Hw:
- Mega 2560 R3 Mega2560 REV3 (ATmega2560-16AU CH340G) Board
- Ethernet W5100 Network Expansion Board SD Card Expansion
- 5V 2-Channel Relay Module Shield (connected to D3/D4)
Info:
Unit: 8
Uptime: 0 days 21 hours 17 minutes
Load: 1% (LC=5479)
Free Mem: 2778
IP: 192.168.178.118
GW: 192.168.178.1
Build: 147
Devices: 4
(but no devices defined!)
If i use the image supplied, i can save config/devices/advanced changes (but rules cannot be saved!). However a reboot means the arduino is no longer responding to the browser calls, direct cmd calls don't work either. A cleaned (files removed) sd-card is needed to bring it back to life. If i make a device, it also fails (webserver no response). However direct cmd commands (gpio,3,1) does work (attached two leds to relay for both channels), when no device is created.
Hw:
- Mega 2560 R3 Mega2560 REV3 (ATmega2560-16AU CH340G) Board
- Ethernet W5100 Network Expansion Board SD Card Expansion
- 5V 2-Channel Relay Module Shield (connected to D3/D4)
Info:
Unit: 8
Uptime: 0 days 21 hours 17 minutes
Load: 1% (LC=5479)
Free Mem: 2778
IP: 192.168.178.118
GW: 192.168.178.1
Build: 147
Devices: 4
(but no devices defined!)
Re: Arduino Easy 2560
I'm beginning to suspect the SD card write method, a reboot is working but a reset is screwing up ArduinoEasy. I think a reset is aborting the sd config files, so ArduinoEasy cannot startup due to corrupted config files... I think the config files are left open on a SD card, a reset is then not closing the file meaning it's corrupted...
Re: Arduino Easy 2560
Beware that this was experimental stage firmware, sort of PoC only. Main work was done to get it running at all and prevent instant crashes.
I've noticed that my local source was newer than the repository so i synced it to github. I'm currently unable to verify this firmware.
I've noticed that my local source was newer than the repository so i synced it to github. I'm currently unable to verify this firmware.
Re: Arduino Easy 2560
can you upload it here so that we can test it? i want to use this to control my heating system seperate in every room
Re: Arduino Easy 2560
It was exactly what i was looking for: An ESPEasy that is using Ethernet instead of WiFi, it's supposed to be used as a gate control which doesn't have WiFi but it does have an ethernet cable.Martinus wrote: ↑09 Aug 2017, 08:20 Beware that this was experimental stage firmware, sort of PoC only. Main work was done to get it running at all and prevent instant crashes.
I've noticed that my local source was newer than the repository so i synced it to github. I'm currently unable to verify this firmware.
Re: Arduino Easy 2560
i found the new version (i was looking and reading with my eyes shut ) and i will test it.
The dht plug in gives errors when i put it in.
Arduino: 1.6.12 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
xxxxxxxx \ArduinoEasy-master (2)\ArduinoEasy-master\ArduinoEasy\_P005_DHT.ino: In function 'boolean Plugin_005(byte, EventStruct*, String&)':
_P005_DHT:79: error: 'class EthernetServer' has no member named 'arg'
String plugin1 = WebServer.arg(F("plugin_005_dhttype"));
^
exit status 1
'class EthernetServer' has no member named 'arg'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
so if you can help me with this i will be a step ferther
Re: Arduino Easy 2560
You cannot simply copy a ESP8266 plugin to an Arduino plugin, they are fundamentally different! The ESP8266 uses the WifiServer class, while ArduinoEasy is using the EthernetServer class...frank wrote: ↑09 Aug 2017, 15:34 i found the new version (i was looking and reading with my eyes shut ) and i will test it.
The dht plug in gives errors when i put it in.
Arduino: 1.6.12 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
xxxxxxxx \ArduinoEasy-master (2)\ArduinoEasy-master\ArduinoEasy\_P005_DHT.ino: In function 'boolean Plugin_005(byte, EventStruct*, String&)':
_P005_DHT:79: error: 'class EthernetServer' has no member named 'arg'
String plugin1 = WebServer.arg(F("plugin_005_dhttype"));
^
exit status 1
'class EthernetServer' has no member named 'arg'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
so if you can help me with this i will be a step ferther
For example: The ESP is using the
Code: Select all
WebServer.arg("plugin_001_type")
Code: Select all
WebServerarg(F("plugin_001_type"))
Martinus has shrunk and altered the code a LOT, to make it fit in 256KB. That means that a lot of code has been removed to make it fit in this small thingy called Arduino...
Re: Arduino Easy 2560
I've added the DHT plugin on github that compiles without error but can't verify that it actually works...
Re: Arduino Easy 2560
Funny thing is that the plugin mechanism and many early plugins were initially ported from Arduino AVR to ESP8266. So now we are sort of porting them back...
Well most of the challenge was (and will be) to keep RAM usage within 8k... (where ESP8266 has 80k...)
Re: Arduino Easy 2560
You have been busy on the arduino/webserver classes, i'll reload and look on the serial port what exactly is happening when rebooting regarding the config files. Would be nice if i can reboot without crashing the config files.
Re: Arduino Easy 2560
i have tested the dht plug in. The 12c scan does see the dht 12. but in the devices tab there is no reading. The log says dht no reading.
Re: Arduino Easy 2560
This P005 plugin is build for DHT one-wire sensors only (DHT11/DHT22).
Maybe P034 will do the job, this one seems to compile without modifications (taken from the R147 ESP Easy source)
Maybe P034 will do the job, this one seems to compile without modifications (taken from the R147 ESP Easy source)
Re: Arduino Easy 2560
I'm actually on holiday right now and while my wife is reading a book, i'm browsing the ESP forum...
Using a netbook now to remotely control my Windows 10 (XBMC-Kodi) PC stick that's still powered on at home.
Arduino compiles a bit slow there (Atom Z3735 cpu), but still fun to be able to use the Home Cinema TV Stick as a remote emergency development platform...
I could finish some loose ends on ESP Mega development as well.
But no Arduino Mega is active on the Home network right now and even if it was, they have no OTA capability...
Using a netbook now to remotely control my Windows 10 (XBMC-Kodi) PC stick that's still powered on at home.
Arduino compiles a bit slow there (Atom Z3735 cpu), but still fun to be able to use the Home Cinema TV Stick as a remote emergency development platform...
I could finish some loose ends on ESP Mega development as well.
But no Arduino Mega is active on the Home network right now and even if it was, they have no OTA capability...
Re: Arduino Easy 2560
i am on a holliday also. And running like crazy to test the setup
The p034 did the trick i don´t get it in my domoticz but that is settings i think
The p034 did the trick i don´t get it in my domoticz but that is settings i think
Re: Arduino Easy 2560
is it possible that communication with domoticz doesn't work ?
this is wat the log tels me
Welcome to Arduino Easy: Mer Ruimte
0:00:00 : HTTP : connecting to 192.168.1.167 using port 8090
0:00:00 : /json.htm?type=command¶m=udevice&idx=249&svalue=22.50;41.70;0
0:00:00 : HTTP/1.1 401 Unauthorized
0:00:00 : Content-Length: 91
0:00:00 : Content-Type: text/html
0:00:00 : Set-Cookie: SID=none; HttpOnly; path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT
0:00:00 :
0:00:00 :
401 Unauthorized
0:00:00 : HTTP : closing connection
Log
Powered by www.letscontrolit.com
this is wat the log tels me
Welcome to Arduino Easy: Mer Ruimte
0:00:00 : HTTP : connecting to 192.168.1.167 using port 8090
0:00:00 : /json.htm?type=command¶m=udevice&idx=249&svalue=22.50;41.70;0
0:00:00 : HTTP/1.1 401 Unauthorized
0:00:00 : Content-Length: 91
0:00:00 : Content-Type: text/html
0:00:00 : Set-Cookie: SID=none; HttpOnly; path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT
0:00:00 :
0:00:00 :
401 Unauthorized
0:00:00 : HTTP : closing connection
Log
Powered by www.letscontrolit.com
Re: Arduino Easy 2560
Maybe wrong access credentials?
HTTP401 says username and/or password is wrong.
HTTP401 says username and/or password is wrong.
Regards
Shardan
Shardan
Re: Arduino Easy 2560
i am using the same login and password as my other esp units
Re: Arduino Easy 2560
Just checked the source, authentication is not implemented yet...
Re: Arduino Easy 2560
It crashes after a reboot because it hangs at the portUDP.endpacket call in the syslog function...
Disabling the endpacket (and other portudp calls) means it runs again after a reboot!
Another call at sendSysInfoUDP is also causing problem, at endpacket, disabling it.
*Happy Girl*
Disabling the endpacket (and other portudp calls) means it runs again after a reboot!
Another call at sendSysInfoUDP is also causing problem, at endpacket, disabling it.
*Happy Girl*
Last edited by LisaM on 09 Aug 2017, 21:12, edited 1 time in total.
Re: Arduino Easy 2560
Software Fix...
Setting: Don't use syslog logging, ntp or SendUDP cmd! It will kill espeasy after reboot...
Last edited by LisaM on 09 Aug 2017, 21:19, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 38 guests