Search found 83 matches

by rpr
Sun Sep 06, 2020 5:06 pm
Forum: ESP32 boards
Topic: ADC only possible with Pins 32 - 39?
Replies: 2
Views: 181

Re: ADC only possible with Pins 32 - 39?

Those other pins are connected to ADC2 which is not currently supported. Part of the reason might be that ADC2 cannot be used when WiFi is active. In principle, it might be possible for someone to write/modify the micropython ADC driver to support the ADC2. https://docs.espressif.com/projects/esp-id...
by rpr
Thu Jul 09, 2020 2:55 am
Forum: ESP8266 boards
Topic: How do I reset my main.py file?
Replies: 3
Views: 366

Re: How do I reset my main.py file?

Can you copy an empty main.py via rshell? Then power cycle.
by rpr
Mon Jul 06, 2020 9:47 pm
Forum: Programs, Libraries and Tools
Topic: Cannot find I2C devices on ESP32
Replies: 11
Views: 858

Re: Cannot find I2C devices on ESP32

l00p1n6 wrote:
Mon Jul 06, 2020 9:41 pm
Thank you Roberthh!
Your pullup idea did the trick:

Image
https://ibb.co/4jNZDvw

NB: I didn't have 4.7k so I had to use 10k and 9.1k in parallel which gave me 4764 Ohm.
Nicely done. :D
by rpr
Sat Jun 20, 2020 7:45 am
Forum: ESP8266 boards
Topic: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
Replies: 3
Views: 1462

Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?

Looks like the most recent update on my Chromebook to Chrome stable version 83 has finally enabled pass through of the serial ports to crostini. I have only tried it on my nodemcu esp32. Once you connect it, you get a popup asking if you want to pass to Linux. It then shows up as /dev/ttyUSB0 inside...
by rpr
Mon Jun 01, 2020 10:41 pm
Forum: General Discussion and Questions
Topic: Can import random, but can't call randint
Replies: 4
Views: 534

Re: Can import random, but can't call randint

On my esp32 running MicroPython v1.12-421-g4371c971e, randint works. MicroPython v1.12-421-g4371c971e on 2020-05-30; ESP32 module with ESP32 Type "help()" for more information. >>> import random >>> help(random) object <module 'urandom'> is of type module __name__ -- urandom getrandbits -- <function...
by rpr
Thu May 21, 2020 1:40 am
Forum: General Discussion and Questions
Topic: Season of Docs : MicroPython
Replies: 23
Views: 2553

Re: Season of Docs : MicroPython

Let me first start by thanking both Matty and Jim on creating the Project Ideas documentation. I am in full agreement with the list of areas mentioned in the Ideas Summary Section. I think that list is in order of need and should be followed as much as possible. Once you guys have a more defined pla...
by rpr
Sat May 16, 2020 7:17 am
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 2272

Re: ESP32 ADC voltage drop after some hours

I'm curious about this behavior. I have hooked up a precision voltage reference AD584 chip set to output 2.5 V. This is connected to one of the adc inputs of the ESP32 (set to 12 bit width and atten_11db). Taking adc data every 1 second which is published via MQTT (using the mqtt_as) to a broker. A ...
by rpr
Sat Apr 11, 2020 3:40 pm
Forum: General Discussion and Questions
Topic: Interfacing with industrial PLC and HMI
Replies: 3
Views: 653

Re: Interfacing with industrial PLC and HMI

I have been using the Advantech ADAM-xxxx series of PLCs which use modbus. Most of the ones I have used are networked over wired Ethernet so can be accessed by any computer over the network. They provide Windows GUI and other software and also Linux drivers. But most can be used directly via Python ...
by rpr
Sun Nov 03, 2019 8:50 pm
Forum: ESP8266 boards
Topic: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
Replies: 3
Views: 1462

Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?

I too have been looking for a solution using a Chromebook using crostini/Linux. Unfortunately it is not possible as of right now as USB support for such serial devices is not present in chrome. Maybe it will change in the future.

For Arduino, there appears to be some sort of web app and ide.
by rpr
Sun Nov 03, 2019 7:30 pm
Forum: ESP32 boards
Topic: Web-Scraping (with BeautifulSoup4?) on ESP32
Replies: 1
Views: 501

Re: Web-Scraping (with BeautifulSoup4?) on ESP32

Not sure about bs4 but a quick Google search shows that there are available APIs for weather data, for example, openweathermap Haven't used them but using requests module they should return json that should be figurable with the micropython json module.