To the best of my knowledge the ESP8266 has ONLY 1 ADC input. I have seen labelled ADC or ADC0.
So the answer is: "No, you cannot read from ADC2 as the input does not exist on the ESP8266".
Search found 15 matches
- Tue Aug 11, 2020 4:41 pm
- Forum: ESP8266 boards
- Topic: ADC2 read ?
- Replies: 1
- Views: 1331
- Wed Apr 29, 2020 5:17 pm
- Forum: ESP8266 boards
- Topic: SOLVED: File download interrupted by RTOS message
- Replies: 8
- Views: 4184
Re: File download interrupted by RTOS message
@jomas, thank you for the information. I have updated the boot.py and this has eliminated the messages.
It appears the default boot.py created with the building of v1.12 has the debug message enabled.
It appears the default boot.py created with the building of v1.12 has the debug message enabled.
- Tue Apr 28, 2020 5:10 pm
- Forum: ESP8266 boards
- Topic: SOLVED: File download interrupted by RTOS message
- Replies: 8
- Views: 4184
Re: File download interrupted by RTOS message
I have done a little bit of investigation and compared the two NodeMCU boards I have running. One board is flashed with v1.10 and shows the following information: MicroPython v1.10-8-g8b7039d7d on 2019-01-26; ESP module with ESP8266 Type "help()" for more information. >>> import esp >>> esp.sleep_ty...
- Tue Apr 28, 2020 4:46 pm
- Forum: ESP8266 boards
- Topic: SOLVED: File download interrupted by RTOS message
- Replies: 8
- Views: 4184
Re: File download interrupted by RTOS message
@jimmo, I should have included more information about my setup. Yes, I am sending the file over the serial port (USB). The board is a NodeMCU that I have flashed with microPython. The odd part of this, is when I was using v1.10 of micropython I never saw the messages I am seeing now. @kevinkk525, I'...
- Tue Apr 28, 2020 4:10 am
- Forum: ESP8266 boards
- Topic: SOLVED: File download interrupted by RTOS message
- Replies: 8
- Views: 4184
SOLVED: File download interrupted by RTOS message
I am having issues downloading a large file to my ESP8266. Approximately 60% into the downloaded, I receive the following text from the ESP8266: scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 4 cnt connected with access-point, channel 11 dhcp client start... ip:192.168.xx...
- Tue Apr 14, 2020 6:29 am
- Forum: General Discussion and Questions
- Topic: Interfacing with industrial PLC and HMI
- Replies: 3
- Views: 3814
Re: Interfacing with industrial PLC and HMI
I have over 30 years of Industrial Automation experience and I'll try to answer some of your questions. I'm not sure of your own background and experience so I will assume minimal knowledge of Industrial Automation protocols. I have a lot of years experience with Modbus protocol. Modbus is used by a...
- Fri Jan 31, 2020 8:37 pm
- Forum: ESP8266 boards
- Topic: led.off() turns it on and vise versa??
- Replies: 4
- Views: 3775
Re: led.off() turns it on and vise versa??
kevinkk525 is most likely right in that the board you are using has an active low output for the onboard LED. I am using a NodeMCU board with an active low LED. I was experiencing the LED going on when issuing a led.off() command and turning off when issuing a led.on() command. :?: The trick is in t...
- Sat Nov 09, 2019 8:38 pm
- Forum: General Discussion and Questions
- Topic: waiting for an interrupt flag to be set
- Replies: 11
- Views: 6344
Re: waiting for an interrupt flag to be set
Sorry to jump in, but 65535 as a 2 byte interger viewed as a hex value is 0xFFFF. If you re-interpret this as a signed 2 byte integer value, this is -1. Not sure if this is significant for the return status for the connection, but it may be an error status. Just my 2 bits (or bytes in this case) ......
- Sat Nov 09, 2019 8:11 pm
- Forum: General Discussion and Questions
- Topic: CAN on STM32F4xx
- Replies: 12
- Views: 8047
Re: CAN on STM32F4xx
I'll start with the obvious. You will need to post more detail with regards to type of transceivers, wiring of the CAN bus and the micropython code use are using that demonstrates the problem.
Without this information it is difficult to speculate on what the problem may be.
Without this information it is difficult to speculate on what the problem may be.
- Sun Mar 24, 2019 3:57 am
- Forum: ESP8266 boards
- Topic: File system issue
- Replies: 2
- Views: 2227
Re: File system issue
@cefn thanks for the reply. The board is plugged into my laptop as I am continuing to do development. Good thought about using a good quality power supply.