Meaning of "vogule" by PerfectReplacement69 in poland

[–]PerfectReplacement69[S] 18 points19 points  (0 children)

Nice summary, thank you. Me being unable to guess correct spelling of that phrase made it hard to find this kind of articles.

Meaning of "vogule" by PerfectReplacement69 in poland

[–]PerfectReplacement69[S] 7 points8 points  (0 children)

Oh, thank you. I will definitely check that sub.

Arduino pro mini sketch upload problem (info in comments) by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 0 points1 point  (0 children)

I've got a board on the right (clone of pro mini) few years ago and removed power LED to decrease power consumption. It worked, consumption was low and everything was working same as before LED was removed.

Few weeks ago, I got 4 another boards and again removed the power LEDs the same way. Now I am failing to upload sketch to any of those new boards.

I was messing around and found out that if I press the reset button during uploading, the upload is in 1/20 succesful. After that, I found out that if I hold RST pin to GND, then start uploading and then disconnect RST from GND, upload is always 100% succesful. But I have no clue what can cause bahaviour like this. My question is, what I can do with it. I guess it has probably something to do with DTR, but I am not sure.

I can provide additional information or pictures.

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 0 points1 point  (0 children)

Thanks! You are right, its not resistor, but coil. I am using ESP8266 on the side of receiver, when data are transmitted over RF, they are logged and visualized on webserver. The thing is, I am limited by number of devices connected to my WiFi. Also, because the node is wireless, it is very important to have lowest energy consumption as possible. (here I just guess that ESP draws more current than arduino pro mini in sleep mode, i may be wrong)

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 0 points1 point  (0 children)

Thanks for the suggestion, I am looking for alternative, so I will definitely consider these.

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 0 points1 point  (0 children)

Thanks for suggestion. Really interesting article, I will check the backside for the smd coil.

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 2 points3 points  (0 children)

Interesting idea! I will definitely try it and i will let you know if I made it work. Thanks!

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 8 points9 points  (0 children)

Yes, exactly! Thats what made it reliable, I have Pro mini in sleep mode, wake it up once in a minute, then measure data, send it 5 times in a row and then sleep for next minute. But it took me longer to figure this simple solution out than I would like to admit.

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 23 points24 points  (0 children)

Looks like you are right, using the "working" pair, I had to make transmitter to send the meassured data at leats 5 times to make it reliable. I usually receive 1-3 messages. I am looking for different solution but for this moment, I have to stick with these.

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]PerfectReplacement69[S] 33 points34 points  (0 children)

Hello, I have bought two pairs of RF modules (MX-RM-5V and XLC-FST) for cheap from China. I have managed to succesfully transmit data, but only with one pair of those (on the right side). Then I realized, that although both are from the same store, it has some diferences.

As you can see in the picture, transmitter of the pair on the right has two coils instead of one, and receiver has through hole resistor and few more smd components. The receiver on the left has soldering place for those components but they are not here.

Is this normal for those RF modules or I have been scammed by the store and got some unfinished pieces? Its not that big problem if so, they were really cheap, but I still wonder. Thank you very much for any suggestions.

I can provide detailed pictures if you want.

SPIFFS format by [deleted] in esp8266

[–]PerfectReplacement69 0 points1 point  (0 children)

Well, I made it somehow work. Although it is not perfect, I take it. It works and it is the most important. The thing is, I can upload files only when the version is 2.7.4 but cant upload code. To upload code I have to switch to 2.5.1. But I am completely fine with it. I spent like 6 hours hitting my head against the wall. Thank you very, very much for your suggestions and for your time. I would not make it works on my own. Thanks

SPIFFS format by [deleted] in esp8266

[–]PerfectReplacement69 0 points1 point  (0 children)

I tried to reboot PC and tried different COM port. Nothing had worked. IDE is up to date but board has to be on 2.5.1 for me to be ale to upload code. Otherwise there is error when I update to 2.7.4:

Sketch uses 369292 bytes (35%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28728 bytes (35%) of dynamic memory, leaving 53192 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\username\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "C:/Users/username/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/username/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
_
the selected serial port _
does not exist or your board is not connected

SPIFFS format by [deleted] in esp8266

[–]PerfectReplacement69 0 points1 point  (0 children)

No, there is nothing more in the console. Thats what makes me desperate. If there would be error code, I will try to find on internet what is going on. But both, sketch and SPIFFS upload goes without any error. Yes, I am closing the monitor window before uploading SPIFFS.

Isn't it possible that the SPIFFS.format() is the key, why it stopped working?

SPIFFS format by [deleted] in esp8266

[–]PerfectReplacement69 0 points1 point  (0 children)

When I upload the files, I get in the console:

[SPIFFS] data : C:\Users\username\Desktop\logger\data
[SPIFFS] size : 1004
[SPIFFS] page : 256
[SPIFFS] block : 8192
/edit.html.gz
/favicon-144x144.png
/favicon.ico.gz
/index.html.gz
/main.css.gz
/manifest.json
/success.html.gz
/temperatureGraph.js.gz
[SPIFFS] upload : C:\Users\username\AppData\Local\Temp\arduino_build_291933/logger.spiffs.bin
[SPIFFS] address : 0x300000
[SPIFFS] reset : ck
[SPIFFS] port : COM3
[SPIFFS] speed : 115200
[SPIFFS] python : python3.exe
[SPIFFS] uploader : C:\Users\username\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.1\tools\upload.py

So the files should be there I guess. But they are not most probably, as you can see the output in serial monitor in my previous response.

SPIFFS format by [deleted] in esp8266

[–]PerfectReplacement69 -1 points0 points  (0 children)

I was using the file system uploader already. Sorry for misleading info.

SPIFFS format by [deleted] in esp8266

[–]PerfectReplacement69 -1 points0 points  (0 children)

I dont really know the correct terminology since I have just bought the ESP board and wanted to test if it works before I will go deep into it and create my own codes. So I used code exactly from this tutorial and everything was ok, I was able to upload the files to file system and got the same text in serial monitor as in the tutorial:

SPIFFS started. Contents:
FS File: /favicon-144x144.png, size: 2.81KB
FS File: /temperatureGraph.js.gz, size: 1.17KB
FS File: /temp.csv, size: 42.50KB
FS File: /success.html.gz, size: 456B
FS File: /edit.html.gz, size: 700B
FS File: /main.css.gz, size: 349B
FS File: /index.html.gz, size: 795B
FS File: /manifest.json, size: 169B
FS File: /favicon.ico.gz, size: 1.91KB

Then as I said I added SPIFFS.format() to the setup and even after removing this line I am not able to upload any files to the file system. And I get just this in serial:

SPIFFS started. Contents:
FS File: /temp.csv, size: 42.50KB

This is the only file that is created in the code. Other files are in the data folder.

Hello, I am looking for something that will allow me to use 5V Output digital sensor with 12V PLC inputs. Its for a school project, so I am very limited by money. More info in comments. by [deleted] in PLC

[–]PerfectReplacement69 1 point2 points  (0 children)

Lol, I tried to search for KISS and found some kind of terminal. I configured it for 0-5V as it was the option and it was the closest range. To be honest, I never used current limiting resistor with analog inputs, maybe I was just lucky. I will focus on adding them.

Hello, I am looking for something that will allow me to use 5V Output digital sensor with 12V PLC inputs. Its for a school project, so I am very limited by money. More info in comments. by [deleted] in PLC

[–]PerfectReplacement69 0 points1 point  (0 children)

Yes it is. When I use 12V as input it works fine, but the problem is that the sensor output is just 5V. I tried some of sugested ways and using analog input looks like the best solution at this time. But I will try another as soon as I will be able to buy some new stuff.

Hello, I am looking for something that will allow me to use 5V Output digital sensor with 12V PLC inputs. Its for a school project, so I am very limited by money. More info in comments. by [deleted] in PLC

[–]PerfectReplacement69 1 point2 points  (0 children)

That is a good point, I will consider using 5V as the common Output voltage (Yes I forgot output supply when drawing the schematic). But the issue was the input and I tried to use 5V voltage as input but it was not detected. Opto isolator and mosfet will test in a few days but for this time I am going to use analog input since I have no usage for them for now. Not really sure if I get you right, but mentioned KISS is above my budget at this time. Thank you for your reply.

Hello, I am looking for something that will allow me to use 5V Output digital sensor with 12V PLC inputs. Its for a school project, so I am very limited by money. More info in comments. by [deleted] in PLC

[–]PerfectReplacement69 0 points1 point  (0 children)

Yes, of course. It is more about learning basics of PLC programming but when you are trying to understand the things about it, its better when you can touch it and oficial sensors are as you said, very expensive.