Search found 640 matches

by jimmo
Sat Jun 01, 2019 2:04 pm
Forum: Pyboard D-series
Topic: Prototyping board with 20-pin mezzanine plug/s
Replies: 8
Views: 510

Re: Prototyping board with 20-pin mezzanine plug/s

Hi, That does sound like a useful board to have. Just to confirm that what you're looking for is like this sort of thing https://learn.sparkfun.com/tutorials/sparkfun-arduino-protoshield-hookup-guide (i.e. 0.1" PCB holes in a breadboard row configuration, with a WBUS connector, and maybe one or two ...
by jimmo
Sat Jun 01, 2019 1:30 pm
Forum: General Discussion and Questions
Topic: Using HTTPS and sending mail
Replies: 6
Views: 413

Re: Using HTTPS and sending mail

1. Access HTTPS URLs. I experimented with `urequests` and it doesn't seem to do any checking on the certificate, which is important. HTTPS is supported. Cert validation depends on which board you have. e.g. ESP8266 no, ESP32 & PYBD apparently yes. 2. Sending email, hopefully with TLS. I saw that th...
by jimmo
Sat Jun 01, 2019 12:02 am
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 547

Re: ESP WROOM 32 urequests POST to Google Forms

send: b'POST /forms/d/e/1FAIpQLSdYLScXqq-cCoxqnrYXJd4zNzjF0tmbRYJd3eNBt4B7z55y1g/formResponse HTTP/1.1\r\nHost: docs.google.com\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nContent-Length: 48\r\nContent-Type: application/x-www-f...
by jimmo
Fri May 31, 2019 9:39 pm
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 547

Re: ESP WROOM 32 urequests POST to Google Forms

Just to confirm, you're able to do this from "big" python on your PC? (That's what you were talking about Anaconda?) I'm pretty sure from memory when you post json with urequests, there's json= kwarg you can use to send a dict directly (rather than using data=). (I don't think that's your problem, t...
by jimmo
Fri May 31, 2019 1:19 pm
Forum: MicroPython pyboard
Topic: Newbie Wifi Skin Question (Pyboard lite)
Replies: 5
Views: 472

Re: Newbie Wifi Skin Question (Pyboard lite)

Thanks in advance for any info that you may have for me. You might actually find it easier to flash MicroPython onto the ESP2866, write a simple program for the ESP8266 to do the WiFi bits and send simple commands to your pyboard (exactly as Damien suggests in that thread). You'll need a way to fla...
by jimmo
Fri May 31, 2019 2:24 am
Forum: ESP32 boards
Topic: AM2301 and DHT22 the same? AM2315 with ESP32?
Replies: 2
Views: 195

Re: AM2301 and DHT22 the same? AM2315 with ESP32?

Are the am2301 and am2302 equivalent to the dht22? Yes, it appears so. Does it also require a pull-up resistor? Yes, but often the pull-up is already included in the module. Your micro-controller can also provide this pull-up on its pin but often they can be a bit too weak so an external pull-up is...
by jimmo
Thu May 30, 2019 11:47 pm
Forum: Pyboard D-series
Topic: EMMC Flash Mounting issues
Replies: 11
Views: 764

Re: EMMC Flash Mounting issues

I see on the description when purchasing the emmc module that it should have a 'positioning' marker in the corner but for one, mine does not, and second, what would that do anyway? So it has no bump in that corner at all? (Unlike the photo) I think the idea is that bump fits just alongside the SD c...
by jimmo
Thu May 30, 2019 5:57 am
Forum: ESP8266 boards
Topic: Dump data to Mac fileshare or to Google drive?
Replies: 6
Views: 382

Re: Dump data to Mac fileshare or to Google drive?

Rather than making it a socket server on the Mac, just make an HTTP server in Python (http.server, flask, aiohttp, etc). Then you can use urequests and json on the ESP.
by jimmo
Thu May 30, 2019 4:08 am
Forum: ESP8266 boards
Topic: Dump data to Mac fileshare or to Google drive?
Replies: 6
Views: 382

Re: Dump data to Mac fileshare or to Google drive?

Hi, I think you might find this easier to start with some sort of simple gateway server that then puts the data where you need it. Whether that server runs on your Mac at home or in the cloud is up to you. e.g. the simplest option might be a simple python server that you send values to (using ureque...
by jimmo
Tue May 28, 2019 12:02 pm
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 2339

Re: How to switch on a electric bulb with ESP8266 board?

Does it work if you try it from the REPL? Try and just get the LED working on its own.

Code: Select all

>>> pin=machine.Pin(14,machine.Pin.OUT)
>>> pin.on()
>>> pin.off()