Chat freely about anything...

User avatar
By churchill
#14177 Hello,

Excuse my english but I'm a French native speaker.

I'm new in the ESP8266 world. I have 2 ESP12 and ESP07 ordered but not yet received. I have some experience in programmings computers and arduino. 3 years ago I made a "computer" for my motorbike with an atmega328.

I plan to make a new computer for my motorbike, and perhaps use an ESP8266 for this.

The actual "computer" count the rotation on the wheel, has a real-time clock (for hour, date, speed calculation) and check the temperature. The actual features are : speed, average speed, alarms on speed, distance (3 counters), average fuel consumption, date and hour, time counter. He actually use a LCD screen, 2 buttons, 1 led, 1 Hall sensor, I2C clock (DS1307) and a DS18B20 for the temperature.

I'm not sure is an ESP12 + I2C screen can be used for this (can a GPIO make an interruption ? Is there a watchdog ? ...), and if I can use Lua or if is preferable to do this in C.

Any idea ?
User avatar
By kenn
#14193 If you are comfortable with Arduino, then SMING or one of the other Arduino-based frameworks would be a good choice.

Personally, I'm using SMING. I avoided Lua because I prefer something in C/C++ and compiled.
User avatar
By churchill
#14258 Thank you for your reply. For me Lua or C is not a problem (I have to learn Lua, but it looks as a simple language).

My question is more hardware oriented. Do I have access to GPIO interrupts (to count the wheel rotations) either in Lua or C ? and more generally, is Lua or C equal in term of ESP hardware usage capacity ?