Monthly Archives: January 2011

Fonera 2.0n USB boot script

Some time ago I wrote script for Hacking Fonera Access Point. This script move root file system to USB device and permit any kind of installation and easily revert any changes to original state without stress for internal flash drive. … Continue reading

Posted in Fonera, Linux | Leave a comment

MaxSonar sensor and pySerial

LV-MaxSonar-EZ0 sensor by MaxBotix. Interfacing with computer serial port and Python via pySerial module. Download Python and pySerial. The wiring is so trivial. Start from data sheet we need 4 pins: GND, VCC, TX, RX. Sensor operating voltage is from … Continue reading

Posted in Python | Leave a comment

Curve fitting with Python

First we need a NumPy and MatPlotLib modules. Look at curve fitting explanation from wiki. Second degree polynomial equation would help us: y=ax^2 + bx + c This will exactly fit a simple curve to three points. Using more points … Continue reading

Posted in Python | Leave a comment