Thursday, October 8, 2015

Interrupt

examples of interrupts

motor encoder

Using dfrobot Romeo bluno for motor control experiment

dfrobot wheel diameter = 42.5mm

if RPM is 200 and time lapse is 15 sec, the robot should have tranverse
1/4 x 200 = 50 revolutions 
and the distance covered is 50 x pi x 42.5 = 6677mm.

Let's program this.

Tuesday, December 30, 2014

IoT using ESP8266

Youtube tutorial on ESP8266

ESP8266 module wiki

ESP8266 connection esp. pull-up resistor

ESP8266 V3 setup


based on http://www.esp8266.com/viewtopic.php?f=13&t=475#
CH_PD          Pull-up
GPIO16/RST     Pull-up
GPIO15         Pull-down
GPIO2          Pull-up
GPIO0          Pull-up for normal or pull-down for bootloader mode.

Pull-up = resistor to VCC.
Pull-down = resistor to GND.

Its possible to wire GPIO directly but then its hard to use them in future if needed. My resistors is 10k right now.

more example on using ESP8266

some more example

webserver example

Another server example

AT commands