Search found 85 matches

by roland_vs
Thu Dec 07, 2017 8:41 pm
Forum: Other Boards
Topic: I know what I want for Christmas
Replies: 4
Views: 1149

I know what I want for Christmas

by roland_vs
Wed Dec 06, 2017 2:29 pm
Forum: Development of MicroPython
Topic: adding a modliblib... module
Replies: 4
Views: 837

Re: adding a modliblib... module

But... what I don't understand is why similar modules like uhashlib etc. appear automatically... and my unalib does not...?
by roland_vs
Wed Dec 06, 2017 12:42 pm
Forum: Development of MicroPython
Topic: adding a modliblib... module
Replies: 4
Views: 837

adding a modliblib... module

Dear, I have added a "modunalib.c" to the "/extmod" directory and added all necessary additions to - ports/stm32/mpconfigport.h - py/objmodule.c and of course to the - /extmod/modunalib.c I use a #define MICROPYTHON_PY_UNALIB similar to the other modules to switch in/out the use of the library and s...
by roland_vs
Tue Nov 28, 2017 3:03 pm
Forum: Other Boards
Topic: [STM32L476DISCO] RTC not ticking
Replies: 5
Views: 1492

Re: [STM32L476DISCO] RTC not ticking

Update: I have updated the `mpconfigboard.h` of my own board variant and the `STM32L476DISCO` by adding the external oscillator to be enabled: #define MICROPY_HW_RTC_USE_LSE (1) The RTC will run now. This does not explain why it's not running using `lsi` or `msi` mode, but at least my hardware is ti...
by roland_vs
Sat Nov 11, 2017 3:33 pm
Forum: MicroPython pyboard
Topic: machine.I2C and the stop condition
Replies: 12
Views: 2802

Re: machine.I2C and the stop condition

@pythoncoder

There are nice application for the chip (see analog devices website):
See CN039 application of Analog Devices to create an EC meter and temperature (really smart).
Another nice application is to measure the characteristics of a loudspeaker.
by roland_vs
Sat Nov 11, 2017 3:11 pm
Forum: MicroPython pyboard
Topic: Little wonders need some thanks
Replies: 7
Views: 2013

Little wonders need some thanks

Today I received another pyboard and LCD160. Works right out of the box!
Now my sensors will have a face thanks to:
@dpgeorge for micropython!
@pytoncoder for the nice gui!
Image
by roland_vs
Thu Nov 09, 2017 12:28 am
Forum: Hardware Projects
Topic: Project Help Pool Motor
Replies: 16
Views: 3635

Re: Project Help Pool Motor

Having snubbers is a good idea in general in order to make thing robust and safe! On the subject of having a triac and relay, check out this article. http://www.st.com/content/ccc/resource/technical/document/application_note/group0/b1/6f/59/1d/45/f1/4f/30/DM00356324/files/DM00356324.pdf/jcr:content/...
by roland_vs
Wed Nov 08, 2017 8:09 am
Forum: MicroPython pyboard
Topic: Support for hardware crypto?
Replies: 7
Views: 1730

Support for hardware crypto?

Hello, Many flavours of the STM32 have a crypto unit in hardware and also there are a number of chips like the ATECC508 from Atmel that have such engine for AES, DES, SHA1, SHA2, etc. on board. It seems that the STM32 HAL has a decent interface to the hardware crypto unit. Does anyone work on making...
by roland_vs
Tue Nov 07, 2017 9:01 am
Forum: Drivers for External Components
Topic: mpy-IMU / fusion with FXAS/FXOS chips
Replies: 11
Views: 2265

Re: mpy-IMU / fusion with FXAS/FXOS chips

@pythoncoder

Peter,

Calibration helps a lot. The reading is CCW is positive and CW is negative to 180. So that was easy to fix by adding 180 to the negative. Also my headless system could use a display at this point :idea:

Thanks a million.

R
by roland_vs
Tue Nov 07, 2017 12:47 am
Forum: Drivers for External Components
Topic: mpy-IMU / fusion with FXAS/FXOS chips
Replies: 11
Views: 2265

mpy-IMU / fusion with FXAS/FXOS chips

Dear all, and maybe Peter @pythoncoder I'm trying to get the fusion library to work (micropython-IMU) using different sensors. I use the FXAS21002 and FXOS8700 chips to get gyro, accelerometer and magnetometer readings. What I really need is compass information so I tried to use the fusion module to...