Search found 55 matches

by stanely
Tue Oct 26, 2021 1:19 pm
Forum: Drivers for External Components
Topic: I/O capable GUI
Replies: 7
Views: 19587

Re: I/O capable GUI

Great job, Peter! Your micro-GUI was recently credited in a nice instructable. https://www.instructables.com/Poor-Mans ... dium=email
by stanely
Tue Apr 20, 2021 12:07 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 40815

Re: Connecting to AWS with MQTT

I have great news! The brand spanking new v1.15 (idf4) MicroPython binary works with AWS Iot! YAY!!!

v1.15 does not have mqtt built in so you have to install it.
by stanely
Mon Apr 19, 2021 12:08 am
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 40815

Re: Connecting to AWS with MQTT

I finally got it to work, and am publishing MQTT messages to an AWS IoT Core topic. The biggest trick was to use an older version of the binary. The only one I found that works is an idf3 binary image: esp32-idf3-20191220-v1.12.bin I am using umqtt.robust and both text and binary (.der) key and cert...
by stanely
Sat Apr 17, 2021 4:17 am
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 40815

Re: Connecting to AWS with MQTT

Thanks for posting that. Unfortunately, they're using their own AWS library so doesn't help me much trying to connect to AWS with MicroPython MQTT libraries.
by stanely
Fri Apr 16, 2021 3:36 am
Forum: ESP32 boards
Topic: DAC Problem
Replies: 4
Views: 2326

Re: DAC Problem

I'm also dealing with this issue. It is not uncommon for ADC outputs not to swing rail-to-rail. It could also be the result of input offset voltage. Either way, an external circuit might be needed. I'm getting better than 0.1V, but it's still not 0. I plan to use a low voltage rail-to-rail opamp con...
by stanely
Thu Apr 15, 2021 8:37 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 40815

Re: Connecting to AWS with MQTT

Right, that's why I asked about UIFlow. Makes it easy, doesn't it? Problem is you can't re-use your code because they have no copy/paste yet. You can't open just pieces of prior programs to use in the new project. So you always start from scratch. But it's great for prototyping ideas. I have a Core2...
by stanely
Thu Apr 15, 2021 5:18 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 40815

Re: Connecting to AWS with MQTT

Can you please share your code that reads your cert/key and sets up the MQTT SSL/TLS connection? Thanks.

I will watch for the IAM and COGNITO when I get that far. Thanks for the heads up. Right now, I would be overjoyed to hear AWS tell me my credentials are bad.
by stanely
Thu Apr 15, 2021 1:48 pm
Forum: ESP8266 boards
Topic: Difference between print() and uart.write()
Replies: 4
Views: 3578

Re: Difference between print() and uart.write()

That's not gibberish. What you're seeing is that binary value mapped to the corresponding ASCII character. See here for \xff, https://www.codetable.net/hex/ff Print is showing you a printable representation of your bytes. uart.write() is just spewing the bytes. There might be a way to use repr() to ...
by stanely
Thu Apr 15, 2021 11:40 am
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 39
Views: 40815

Re: Connecting to AWS with MQTT

Which version of MicroPython are you using? Or are you using the trick MicroPython that comes with their UIFlow? That's actually a very cool system with many interface drivers built in. Have you seen the Core 2 with the integrated touchscreen? They bundle a lot of drivers with it that makes is very ...
by stanely
Wed Apr 14, 2021 11:52 pm
Forum: ESP32 boards
Topic: Help. ESP32 WROOM-32D board doesn't work with pins or PWM
Replies: 9
Views: 3641

Re: Help. ESP32 WROOM-32D board doesn't work with pins or PWM

Try adding some print statements in your code so you can see what it's doing in the REPL. I bought Hiletgo stuff on Amazon before and it's all been fine. BTW, schematic says internal LED is on IO2 on physical pin 15 not Pin 15. You would refer to it as Pin 2. That may be the problem with the motor p...