Hi,
I decided to run a simple contest at Hackaday.io. The idea is to build something fun with ESP8266 and MicroPython. I have an unopened OpenMV camera board as the main prize. Details at https://hackaday.io/contest/12641-esp82 ... on-contest
Have fun!
HackADay contest for MicroPython/ESP8266
-
- Posts: 288
- Joined: Sun May 04, 2014 8:54 am
Re: A contest
Nice idea!
Good motivation to finish one of my various projects.
Good motivation to finish one of my various projects.
Re: HackADay contest for MicroPython/ESP8266
Just a quick note, that Adafruit and Espressif agreed to sponsor more prizes for the contest! You can win a HUZZAH Feather board or an ESP32 chip!
Re: HackADay contest for MicroPython/ESP8266
Competition has 17 entries. Not bad!
Re: HackADay contest for MicroPython/ESP8266
The contest is officially over, and here are the first winners: https://hackaday.io/contest/12641-esp82 ... st-results
We are still waiting for the Espressif Systems to pick their winners, so more prizes to come.
We are still waiting for the Espressif Systems to pick their winners, so more prizes to come.
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: HackADay contest for MicroPython/ESP8266
Great contest and congratulations on the high turnout! Unfortunately I could not submit a project because I simply didn't have the time to do any hardware work during the last weeks.
I looked at the encoder project, since I wrote some code to use rotary encoders with the pyboard/stmhal port in the past. Unfortunately, I think the code presented by the code is too simplistic. Reading encoders in a poll-loop without debouncing will probably lead to many missed values, readings jumping back and forth and so on. Also, you should always have some kind of acceleration with encoders, otherwise they are very cumbersome to use with large value ranges.
So, putting my money were my mouth is, I adapted my encoder library to work on the esp822 port and added acceleration. The library uses pin interrupts to read the encoder switches and debounces readings by using gray code error checking:
https://github.com/SpotlightKid/micropy ... er/encoder
I tested this on the pyboard, the STM32F4DISCOVERY and an ESP-8266 board (Doit ESP12E NodeMCU DEVKIT V2) and it works really well.
Chris
I looked at the encoder project, since I wrote some code to use rotary encoders with the pyboard/stmhal port in the past. Unfortunately, I think the code presented by the code is too simplistic. Reading encoders in a poll-loop without debouncing will probably lead to many missed values, readings jumping back and forth and so on. Also, you should always have some kind of acceleration with encoders, otherwise they are very cumbersome to use with large value ranges.
So, putting my money were my mouth is, I adapted my encoder library to work on the esp822 port and added acceleration. The library uses pin interrupts to read the encoder switches and debounces readings by using gray code error checking:
https://github.com/SpotlightKid/micropy ... er/encoder
I tested this on the pyboard, the STM32F4DISCOVERY and an ESP-8266 board (Doit ESP12E NodeMCU DEVKIT V2) and it works really well.
Chris
Re: HackADay contest for MicroPython/ESP8266
Nice. I suggested the author to use pin interrupts, but it seems that he's just beginning his adventure with programming. I still think that he well deserved his prize for the work and learning he's done.
You might want to post your library at the "Drivers for External Components" section, so that more people see it, and so that it's easier to find it when looking for a particular driver.
You might want to post your library at the "Drivers for External Components" section, so that more people see it, and so that it's easier to find it when looking for a particular driver.
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: HackADay contest for MicroPython/ESP8266
Which I just did.deshipu wrote:You might want to post your library at the "Drivers for External Components" section,