Search found 140 matches
- Sun Apr 10, 2022 4:01 am
- Forum: ESP8266 boards
- Topic: Identify board from code?
- Replies: 3
- Views: 3558
Re: Identify board from code?
Thank you. Yeah, I know I can effectively set a constant to toggle the code between configurations. As you say, I could stash it in a file, but there's still the risk that the state file could get copied over with the wrong value due to various sporadic user errors. I was hoping for a definitive sol...
- Sun Apr 03, 2022 3:49 am
- Forum: ESP8266 boards
- Topic: Identify board from code?
- Replies: 3
- Views: 3558
Identify board from code?
I see sys.platform, which returns "esp8266", which is certainly helpful, but is there a way to detect which of the various wrapper boards I'm running on? I want to configure the pins differently for different boards. For example, given an ESP-01's limitations, I want to reallocate the TX pin for oth...
- Mon Mar 28, 2022 7:07 pm
- Forum: ESP8266 boards
- Topic: D1 Mini analog input voltage
- Replies: 7
- Views: 6083
Re: D1 Mini analog input voltage
Thank you again. Appreciate the input on the matter.
Cheers!
Cheers!
- Mon Mar 28, 2022 7:00 pm
- Forum: ESP8266 boards
- Topic: D1 Mini analog input voltage
- Replies: 7
- Views: 6083
Re: D1 Mini analog input voltage
I wasn't talking about VCC. My questions were about the analog input pin.
- Mon Mar 28, 2022 6:59 pm
- Forum: ESP8266 boards
- Topic: D1 Mini analog input voltage
- Replies: 7
- Views: 6083
Re: D1 Mini analog input voltage
Okay. That fixed it. If I provide power to the D1, then 3.3V into the analog pin produces 1V when I measure the ESP-12's direct analog pin. I only get the .46V reading when the D1 isn't powered (even if I connect the D1's ground obviously). I didn't realize the need to power it just to get a proper ...
- Mon Mar 28, 2022 6:53 pm
- Forum: ESP8266 boards
- Topic: D1 Mini analog input voltage
- Replies: 7
- Views: 6083
Re: D1 Mini analog input voltage
I used a YwRobot power supply, which offers 5V and 3.3V. Obviously, I connected the D1's ground to the ground associated with the power supply to establish a common ground across the entire system. Then, like I said, the 3.3V input seemed to produce .46V instead of 1V. I'll try it again with power t...
- Mon Mar 28, 2022 5:31 pm
- Forum: ESP8266 boards
- Topic: D1 Mini analog input voltage
- Replies: 7
- Views: 6083
D1 Mini analog input voltage
The ESP8266 has an analog input pin, but it operates in the voltage range 0V-1V, not 0V-3.3V, and clearly not 0V-5V. The D1 Mini is a wrapper around the ESP-12E/F (although later versions of the D1 Mini completely deconstructed the ESP8266 and spread its individual components out on the D1 Mini's bo...
- Sun Mar 20, 2022 3:37 am
- Forum: ESP8266 boards
- Topic: D1 Mini motor shields, three to choose from
- Replies: 2
- Views: 2745
Re: D1 Mini motor shields, three to choose from
Oookay. The TB6612FNG is 15V and 1.2A-3.2A while the AT8870 is 6.5-38V and 2A-3.6A, so the first one seems completely redundant in terms of voltage, useful only for a few very low current motors perhaps. So, until you pointed out that it was older and deprecated, which I didn't know in advance, it w...
- Sat Mar 19, 2022 5:50 pm
- Forum: ESP8266 boards
- Topic: D1 Mini motor shields, three to choose from
- Replies: 2
- Views: 2745
D1 Mini motor shields, three to choose from
I haven't found a good Wemos or D1 Mini forum. There are several, but some haven't had posts in several years and others just don't seem very active in general. Since I work in MicroPython on any given microcontroller, I tend to bring questions to this forum. So I realize this isn't the ideal place ...
- Thu Apr 15, 2021 8:11 am
- Forum: MicroPython pyboard
- Topic: Input voltage limit, V+ as output, and actuator power supply options
- Replies: 4
- Views: 4968
Re: Input voltage limit, V+ as output, and actuator power supply options
Fair enough. Thanks for the excellent advice.