Search found 217 matches

by torwag
Fri Dec 13, 2019 12:27 pm
Forum: Programs, Libraries and Tools
Topic: How to eval bytecode from network?
Replies: 10
Views: 452

Re: How to eval bytecode from network?

Hi, people always fear this "wear out the flash" thing. I challenge this. Unlike you have code which constantly writes to the flash (like writing log files), I would not see that a "pull an update at start" has any chance to wear out the flash within the usual lifetime of a system. Even if the flash...
by torwag
Tue Nov 12, 2019 7:39 am
Forum: Other Boards
Topic: MicroPython on PIC16F684
Replies: 3
Views: 304

Re: MicroPython on PIC16F684

Hi,

the PIC16F684 is to small to house Micropython.
For the same reason, I guess they ask you to write assembly ;)
If this project is open minded, you might be able to switch the controller?
by torwag
Tue Nov 12, 2019 7:35 am
Forum: ESP8266 boards
Topic: Counting pulses from an electricity meter
Replies: 12
Views: 721

Re: Counting pulses from an electricity meter

Hi, is there any reason you want to write to your influxdb database every 250ms? The ESP should be powerful enough to do the math and e.g. send an average value every minute. Or, if you really want to get all the raw data, you could create a buffer and send 100 values in one go, which would result i...
by torwag
Tue Nov 12, 2019 6:53 am
Forum: Hardware Projects
Topic: plant watering
Replies: 32
Views: 1687

Re: plant watering

Hi, this looks like a good start. You can add code using the code tags. Just mark the code with the mouse and press the </> button. This adds the code into its own window with some better formatting and an own scroll bar, thus it does not take up much space. Did this for you on your last post. As fo...
by torwag
Mon Nov 11, 2019 7:32 am
Forum: Hardware Projects
Topic: plant watering
Replies: 32
Views: 1687

Re: plant watering

Hi, That should be relatively simple. The relay does the main work for the pump. All you need here is a I/O pin to be set high or low. That is not different to any LED-example you find in the tutorials and documentation. The soil sensor delivers an analogues signal. This can be read in by Micropytho...
by torwag
Fri Oct 11, 2019 9:47 am
Forum: General Discussion and Questions
Topic: Micropython Education - Project proposals, ideas and help requested.
Replies: 12
Views: 730

Re: Micropython Education - Project proposals, ideas and help requested.

Hi, I gave a similar lecture last semester and one of the main advantages in my opinion is the different workflow which includes a much easier debugging routine if things go wrong. I told the students that they can use python, ipython or micropython on the PC to craft many parts of the internal stru...
by torwag
Thu Oct 10, 2019 5:37 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 695

Re: MicroPython on Casio fx-CG50 Questions?

How interesting that so many MicroPython-people are also HP and RPN fans ;) Decades of HP48GX user here, which unfortunately, does not work anymore. I got an HP49G recently from a colleague.... However, I don't use it nearly as frequently as before, as my smartphone runs an HP48GX emulator and the P...
by torwag
Tue Oct 08, 2019 12:57 pm
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 695

Re: MicroPython on Casio fx-CG50 Questions?

Just to make it even more OT: There is droid48 on Android to completely emulate an HP48G.... I can see the fun factor of running micropython on a calculator, but can't see a real use of programming on the calculator. It might have it's case when you have to repeatedly rerun the same calculus, over a...
by torwag
Thu Sep 19, 2019 6:12 am
Forum: General Discussion and Questions
Topic: A call to help me learn code the right way on MicroPhyton
Replies: 10
Views: 645

Re: A call to help me learn code the right way on MicroPhyton

Hi Martin, welcome to the forum and with that you might have taken the correct way to step in. Just to clarify there is nothing like "the organisation". Damien the founder of Micropython runs a small business selling pyboards. There are a few other small companies relying on Micropython. However, th...
by torwag
Fri Aug 30, 2019 5:58 am
Forum: Other Boards
Topic: [Arch_Mix/RT1052] Arch_Mix board with MicroPython
Replies: 1
Views: 210

Re: [Arch_Mix/RT1052] Arch_Mix board with MicroPython

Hi, any "offical" port to a new SoC can be found in github in the folder ports https://github.com/micropython/micropython/tree/master/ports as far as I know the NXP RT1052 is not official. Thus, you would need to look out whether seeed published the fork they used to create that port. Ports are gene...