Search found 18 matches

by rp346@njit.edu
Sat Dec 08, 2018 2:09 am
Forum: Programs, Libraries and Tools
Topic: MQTT connection stopes main.py
Replies: 2
Views: 2550

MQTT connection stopes main.py

I have this simple code (main.py) running on ESP32 with micropython. This works perfectly, but if just add MQTT part by uncommented the commented lines, things doesn't work nothing gets pushed to MQTT nor the relay connected to PIN 12 triggers. If i run ampy -p /dev/tty.SLAB_USBtoUART run main.py it...
by rp346@njit.edu
Fri Nov 23, 2018 2:16 pm
Forum: General Discussion and Questions
Topic: Debug main.py at runtime
Replies: 2
Views: 2895

Debug main.py at runtime

Hi, How do I debug main.py file at runtime. I am in a situation where I have boot.py and main.py on ESP32 running micropython. When the board starts up boot.py works perfectly because ESP32 connects to WIFI. But main.py which has application code doesn't run (my assumption). If I run main.py manuall...
by rp346@njit.edu
Fri Nov 23, 2018 2:07 pm
Forum: ESP32 boards
Topic: How to connect ESP32 to relay
Replies: 3
Views: 2792

Re: How to connect ESP32 to relay

Thanks
by rp346@njit.edu
Thu Nov 22, 2018 10:27 pm
Forum: ESP32 boards
Topic: How to connect ESP32 to relay
Replies: 3
Views: 2792

How to connect ESP32 to relay

Hi, I have this https://www.aliexpress.com/item/1PCS-NE ... 49680.html which want to control with ESP32. But not sure how do I connect to this relay to ESP32.

Anyone knows how to do connection ?
by rp346@njit.edu
Thu Nov 22, 2018 4:28 pm
Forum: General Discussion and Questions
Topic: MQTTClient erroring
Replies: 2
Views: 2628

Re: MQTTClient erroring

Thanks
by rp346@njit.edu
Mon Nov 19, 2018 1:03 am
Forum: General Discussion and Questions
Topic: MQTTClient erroring
Replies: 2
Views: 2628

MQTTClient erroring

I am trying to connect to mqtt using umqtt.simple, here is my code from umqtt.simple import MQTTClient SERVER_1 = "p44.cloudmqtt.com" PORT_1 = 154321 USER_1 = b'user1' PASSWORD_1 = b'0FVn7NrUPpd5' DEVICE_ID = ubinascii.hexlify(machine.unique_id()) mqtt1 = MQTTClient(DEVICE_ID, SERVER_1, user=USER_1,...
by rp346@njit.edu
Sun Nov 11, 2018 6:06 pm
Forum: ESP32 boards
Topic: Difference between SRAM & SPIRAM
Replies: 13
Views: 21480

Re: Difference between SRAM & SPIRAM

Ok, so can still flash Firmware with SPIRAM support on ESP32, but it will be up to application to use it or not.
by rp346@njit.edu
Sun Nov 11, 2018 6:00 pm
Forum: ESP32 boards
Topic: Difference between SRAM & SPIRAM
Replies: 13
Views: 21480

Re: Difference between SRAM & SPIRAM

jickster wrote:
Sun Nov 11, 2018 5:53 pm
SPIRAM is much slower. Waayyyyyyyy slower.


Sent from my iPhone using Tapatalk Pro
So its not recommended to use Firmware with SPIRAM support ?
by rp346@njit.edu
Sun Nov 11, 2018 5:57 pm
Forum: ESP32 boards
Topic: Difference between SRAM & SPIRAM
Replies: 13
Views: 21480

Re: Difference between SRAM & SPIRAM

Thanks
by rp346@njit.edu
Sun Nov 11, 2018 3:57 pm
Forum: ESP32 boards
Topic: Difference between SRAM & SPIRAM
Replies: 13
Views: 21480

Difference between SRAM & SPIRAM

I am wondering what is difference between SRAM & SPIRAM. I am asking this because I am trying to flash micropython to ESP32-CAM and I notices there is Firmware with SPIRAM support on https://micropython.org/download/#esp32. But ESP32-CAM specification has mentioned 520 KB of on-chip SRAM is there an...