Search found 24 matches

by nherriot
Fri Nov 12, 2021 2:22 pm
Forum: General Discussion and Questions
Topic: SNMP library
Replies: 0
Views: 886

SNMP library

Hi Micropython community, This is not a specific question on Micropython. But I'm looking for an SNMP python library to use on a project that gathers analytics. I thought who better to ask than people who are working in the embedded and low lever driver space. If anyone can recommend a good library ...
by nherriot
Thu Sep 10, 2020 4:34 pm
Forum: Pyboard D-series
Topic: Tile-Sensa Test Program
Replies: 7
Views: 5036

Re: Tile-Sensa Test Program

Hi Jamonda, you need: 1) one of the microcontrollers from pyboard-D series. (https://store.micropython.org/category/pyboard%20D-series) 2) An adaptor board which you plugin the micro-controller and the tile sensor like this: https://store.micropython.org/product/WBUS-DIP68 which can take 4 tile sens...
by nherriot
Thu Sep 26, 2019 1:02 pm
Forum: Pyboard D-series
Topic: HTTPS for HTTP Servers
Replies: 0
Views: 2395

HTTPS for HTTP Servers

Hi all micropython folks, this is more of an open question. I'm looking for any good examples or guides to implement TLS/SSL over a TCP socket stream. i.e. I have an issue with my microWebSrv in that it only serves HTTP, but it needs to server over HTTPS due to a new security feature which is now im...
by nherriot
Thu Sep 26, 2019 12:58 pm
Forum: Pyboard D-series
Topic: Socket problems on Pyboard 'D'
Replies: 3
Views: 3440

Re: Socket problems on Pyboard 'D'

Hi Jean-Christophe, will try this out later in the week. Thanks for your reply and commit! :-) Just to let you know I ended up using the logging library to find out what exceptions were happening. They were time-out OS related. So your fix would probably not help the underlying condition. I added lo...
by nherriot
Mon Sep 23, 2019 2:34 pm
Forum: Pyboard D-series
Topic: I2C buses dead after firmware upgrade
Replies: 4
Views: 3738

Re: I2C buses dead after firmware upgrade

I think there was a change since the original firmware to not enable the external bus supply by default. You can control this with the 'EN_3V3' pin: >>> i2c = machine.I2C('Y') >>> i2c.scan() [] >>> machine.Pin.board.EN_3V3.value(1) >>> i2c.scan() [60] Does anyone know why this has been done! This t...
by nherriot
Tue Sep 17, 2019 10:37 am
Forum: Pyboard D-series
Topic: Socket problems on Pyboard 'D'
Replies: 3
Views: 3440

Socket problems on Pyboard 'D'

Hi MicroPython, I'm working with a tiny micro-webserver running on my pyboard 'D'. The link explains how to get the code up and running on the pyboard 'D'. I've noticed that for large files (for me an png image of 71k) that sometimes the whole image will not be returned. The board seems to hang slig...
by nherriot
Thu Jul 25, 2019 4:18 pm
Forum: Pyboard D-series
Topic: LED intensity on Pyboard D
Replies: 1
Views: 2109

LED intensity on Pyboard D

Hi Micropython Folks, just a quick question. I've tried using the '.intensity(<value>) method on the LED lights on the pyboard d. The intensity method does not seem to have any effect on brightness, except really to have it switch off or on as in: >>> LED(3).intensity(0) will switch my 'Blue' LED of...
by nherriot
Mon Jul 01, 2019 5:53 pm
Forum: Pyboard D-series
Topic: Building from source - can't find stdio.h ! :-(
Replies: 6
Views: 4607

Re: Building from source - can't find stdio.h ! :-(

The readme does have a pointer to the arm toolchain in the STM32 section: https://github.com/micropython/micropython#the-stm32-version Hi dhylands, thanks for the pointer. :-) I've created a specific page for people coming from a version of Ubuntu 16 or derivative which might help for them trying t...
by nherriot
Fri Jun 28, 2019 11:17 am
Forum: Pyboard D-series
Topic: building for BOARD=PYBD_SF to get _threads compiled in
Replies: 6
Views: 5004

Re: building for BOARD=PYBD_SF to get _threads compiled in

And since the stm32 port has: https://github.com/micropython/micropython/blob/ced340d739e84737dd5c8e6b4ab9af2ea44e29e7/ports/stm32/mpconfigport.h#L130-L132 the setting in py/mpconfig.h will be ignored. Hi Dhylands, that did the trick. :-) Thank you. My board now has _thread compiled in! And seems t...
by nherriot
Thu Jun 27, 2019 7:08 am
Forum: Pyboard D-series
Topic: building for BOARD=PYBD_SF to get _threads compiled in
Replies: 6
Views: 5004

Re: building for BOARD=PYBD_SF to get _threads compiled in

By accident I just did this yesterday with my pyboard d series sf2, and it worked without issues, using the compiler switch you have mentioned. What fault did you observe? Does import _thread not work? btw You dont have to set the compiler switch in py/mpconfig.h. just set it in your board specific...