Search found 7 matches
- Fri Dec 17, 2021 5:34 pm
- Forum: ESP32 boards
- Topic: ADC voltage range
- Replies: 3
- Views: 5194
Re: ADC voltage range
Yes, I'm aware on the ADC2 issue when using WiFi, so using ADC1, pin 33. Set up some voltage dividers to get more readings. 0.51V - 458 1.03V - 1105 1.99V - 2288 3.29V - 4095 (from the 3V3 pin) All at 11 dB. So looks like using 3.6 as the full range would give the best voltage calculation. However, ...
- Thu Dec 16, 2021 8:06 am
- Forum: ESP32 boards
- Topic: ADC voltage range
- Replies: 3
- Views: 5194
ADC voltage range
Hi, From the documentation: http://docs.micropython.org/en/latest/esp32/quickref.html#adc-analog-to-digital-conversion ADC.ATTN_0DB: 0dB attenuation, gives a maximum input voltage of 1.00v - this is the default configuration ADC.ATTN_2_5DB: 2.5dB attenuation, gives a maximum input voltage of approxi...
- Wed Dec 15, 2021 12:59 pm
- Forum: ESP32 boards
- Topic: Thonny + WebREPL
- Replies: 3
- Views: 5003
Re: Thonny + WebREPL
Hi,
Sounds good. Thank you for working on improving Thonny. Will you use mpremote?
Daniel
Sounds good. Thank you for working on improving Thonny. Will you use mpremote?
Daniel
- Tue Dec 14, 2021 7:45 pm
- Forum: ESP32 boards
- Topic: Thonny + WebREPL
- Replies: 3
- Views: 5003
Thonny + WebREPL
Hi,
I have not figured out a good workflow when developing with Thonny and WebREPL. Stop/restart in Thonny does not work. So, I have to save the file, reboot (ctrl-d) the board (TinyPICO) and restart Thonny for every edit.
Has anyone a better WebREPL workflow? Another IDE?
Thanks,
Daniel
I have not figured out a good workflow when developing with Thonny and WebREPL. Stop/restart in Thonny does not work. So, I have to save the file, reboot (ctrl-d) the board (TinyPICO) and restart Thonny for every edit.
Has anyone a better WebREPL workflow? Another IDE?
Thanks,
Daniel
- Sat Sep 11, 2021 1:18 pm
- Forum: Programs, Libraries and Tools
- Topic: mpremote over wifi?
- Replies: 0
- Views: 2242
mpremote over wifi?
Hi,
The possibility for mpremote to mount the filesystem seems useful. Could it be possible to connect over wifi? Perhaps a coming feature?
Daniel
The possibility for mpremote to mount the filesystem seems useful. Could it be possible to connect over wifi? Perhaps a coming feature?
Daniel
- Wed Nov 25, 2020 3:57 pm
- Forum: General Discussion and Questions
- Topic: Using webrepl instead of USB connection with Thonny IDE
- Replies: 24
- Views: 15485
Re: Using webrepl instead of USB connection with Thonny IDE
I just released the next beta of Thonny 3.3, which should work much better with WebREPL: https://github.com/thonny/thonny/releases/tag/v3.3.0b7 Looking forward to your feedback! Great! WebREPL support is just what I need. Unfortunately, it's not very stable for me. Using a TinyPICO ESP32. Some thin...
- Wed Nov 25, 2020 3:15 pm
- Forum: Programs, Libraries and Tools
- Topic: Control dc motor speed - PID controller
- Replies: 4
- Views: 7061
Re: Control dc motor speed - PID controller
Hi, I recently wrote a PID, based on: https://en.wikipedia.org/wiki/PID_controller#Pseudocode class PID: def __init__(self, Kp, Ki, Kd, dt, setpoint, measure_func, output_func, output_min, output_max): self.Kp = Kp self.Ki = Ki self.Kd = Kd self.dt = int(round(dt / 1000)) # Convert from ms self.setp...