Search found 121 matches

by ThomasChr
Thu Jan 10, 2019 8:52 pm
Forum: General Discussion and Questions
Topic: Sensing sound from a speaker
Replies: 9
Views: 5756

Re: Sensing sound from a speaker

First you should try to examine the signal. An oscilloscope would be needed for that. Also Tones are no simple DC Voltage. It‘s AC. So depending on the moment of measuring you can get 5V, 0V or maybe -5V. As an alternative you can get simple chinese mikrophone moduls. They have an A0 analog AC Outpu...
by ThomasChr
Mon Jan 07, 2019 1:17 pm
Forum: General Discussion and Questions
Topic: Saving the value from I/O
Replies: 1
Views: 1790

Re: Saving the value from I/O

Micropython has a filesystem in flash, so just use normal file operations to save data.
by ThomasChr
Thu Jan 03, 2019 4:43 pm
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 1
Replies: 29
Views: 330867

Re: MicroPython Newsletter Issue 1

According to the Speaker in this Video (Christine Spindler) Pyboard-D is in the final testing and should be out in the next two weeks...
by ThomasChr
Thu Jan 03, 2019 2:20 pm
Forum: General Discussion and Questions
Topic: Pyboard D - demo
Replies: 3
Views: 3806

Re: Pyboard D - demo

Please note that the CCC does not particular like to support Youtube. This is the link directly to the talk: https://media.ccc.de/v/35c3-9648-microp ... ontrollers
by ThomasChr
Thu Jan 03, 2019 10:49 am
Forum: ESP8266 boards
Topic: Interrupt Routine, counting more than sys.maxsize
Replies: 8
Views: 4705

Re: Interrupt Routine, counting more than sys.maxsize

Thanks a lot. Now I'm seeing much clearer :-) I think the conclusion for me is that you can't really rely on the Interrupt of the ESP8266 to be very accurate/fast. But for my purpose they are working well enough (A timing of 1 ms would be 360 kW which I will never use in my flat) so I don't need to ...
by ThomasChr
Wed Jan 02, 2019 8:06 pm
Forum: ESP8266 boards
Topic: Interrupt Routine, counting more than sys.maxsize
Replies: 8
Views: 4705

Re: Interrupt Routine, counting more than sys.maxsize

Of course, my code to count the Pulses from a Power Meter is no secret, if it helps: https://github.com/ThomasChr/ESP8266-re ... er/main.py
by ThomasChr
Wed Jan 02, 2019 7:58 pm
Forum: ESP8266 boards
Topic: Interrupt Routine, counting more than sys.maxsize
Replies: 8
Views: 4705

Re: Interrupt Routine, counting more than sys.maxsize

In my case I‘m usig a Pin Change Interrupt. Does anyone know what the advantages and disadvantages of a hard ISR are?
by ThomasChr
Wed Jan 02, 2019 7:06 pm
Forum: ESP8266 boards
Topic: Interrupt Routine, counting more than sys.maxsize
Replies: 8
Views: 4705

Interrupt Routine, counting more than sys.maxsize

Hello Forum, I've got an ESP8266 with Micropython which is counting pulses. The pulses are count in an Interrupt Handler. They can be many and eventually they could be more than sys.maxize (2147483647). In the micropython manual I can read that: MicroPython supports integers of arbitrary precision. ...
by ThomasChr
Sun Jul 29, 2018 8:57 pm
Forum: General Discussion and Questions
Topic: Calling an OS system command
Replies: 5
Views: 5321

Re: Calling an OS system command

On Micropython there is no OS. What do you expect?
by ThomasChr
Fri May 11, 2018 1:13 pm
Forum: MicroPython pyboard
Topic: Clone from the original PyBoard
Replies: 2
Views: 2594

Re: Clone from the original PyBoard

I found the first change. Seems that they cut the cost on the voltage regulator. My pyboard uses 5 Microamps in pyb.standby() - the chinese Board uses 50 Microamps.