Idea #1: Robot control
Posted on July 25, 2011
Use mouse for robot control:
left/right => forward/backward
wheel => turn CW/CCW
Filed Under Uncategorized | Leave a Comment
Robot parts
Posted on July 24, 2011
I’m building a 4×4 robot. I’ve never done any electronic/mechanic projects before, so I’ll learn and make mistakes along the way.
Here are some of the major parts (minus sensors) that I plan to use.
Boarduino Specification:
- Designed to plug into a breadboard for easy prototyping
- Petite size, only 3″ x 0.8″ (75mm x 20mm)
- All ‘standard’ pins are brought out – Digital 0 thru 13, Analog 0 thru 5, ARef, 5V, Ground, Vin and Reset
- 2 LEDs, green power and red “pin 13″ LED just like the Arduino Diecimila
- Standard Reset button
- ATmega328P, running at 16.00 MHz, just like the latest Arduino, the Duemilanove (note that the product photo above hasn’t been updated)
- 6-pin standard ICSP header
- Standard 2.1mm DC jack (just like the original Arduino) with 5V regulator to run on 7V-17V power (DC)
- USB or External power, selectable with a jumper (just like original Arduino)
- 1N4001 diode protects against using incorrect wall adapter
- 6-pin header at the end for a USB-TTL cable
- Auto-reset capability when used with a USB-TTL cable
- Available as a low cost kit with standard parts, so its never out of stock
- All through-hole parts are easy to solder
XBee Pro 60mW Wire Antenna – Series 1
- 3.3V @ 215mA
- 250kbps Max data rate
- 60mW output (+18dBm)
- 1 mile (1500m) range
- Built-in antenna
- Fully FCC certified
- 6 10-bit ADC input pins
- 8 digital IO pins
- 128-bit encryption
- Local or over-air configuration
- AT or API command set
Motor Specification:
- Horse Power Cont.: 5W
- Voltage/current: 12V DC
- RPM: 300
- Reversibility : Reversible
- Length of Motor (including spindle): 76.1mm
- Diameter of Motor (D): 37mm
- Length of Motor Body(excluding spindle) (BL): 56.4mm
- Full Length of Spindle (SL1): 19.7mm
- Length of Spindle (SL2): 14.6mm
- Length of Spindle Flat (SL3): 13.5mm
- Diameter of Spindle (SD): 6.0mm
- Height of Spindle (no a flat ) (SH): 5.4mm
- Weight: 186G
Wheels Specification:
- Plastics Wheel Rim
- Diameter: 60 mm
- Width: 50 mm
- Hexagonal joints: 12 mm
- Rubber Tires
- Diameter: 130 mm
- Width: 57 mm
Coupler specifications
- 6mm Shaft Motor Flexible Coupling Coupler
- Material: Brass
- Total length: 18mm
- Hexagonal edge to edge distance: 12mm
- Screw hole diameter: 4mm
L298N Dual Stepper Motor Driver Controller Board Module
- Driver: L298N Dual H Bridge DC Motor Driver IC
- Driven part of the terminal supply area Vs: +5 V ~ +35 V; such as the need to take power within the board, the supply area Vs: +7 V ~ +35 V
- Driven part of the peak current Io: 2A
- The logical part of the terminal supply area Vss: +5 V ~ +7 V (can take power within the board +5 V)
- The logical part of the operating current range: 0 ~ 36mA
- Control signal input voltage range:
- Low:-0.3V ? Vin ? 1.5V
- High: 2.3V ? Vin ? Vss
- Enable signal input voltage range:
- Low: -0.3 ? Vin ? 1.5V (control signal is invalid)
- High: 2.3V ? Vin ? Vss (control signal active)
- Maximum power consumption: 20W (when the temperature T = 75 ?)
- Storage temperature: -25 ? ~ +130 ?
- Other Extensions: control of direction indicators, the logic part of the plate to take power interface.
- Driver Board Size: 55mm x 49mm x 33mm
- Thickness: 3MM
- Other sizes: Please see the image
- Support any of 37MM Geared Motor
Filed Under Uncategorized | Leave a Comment
MSP430 in VirtualBox on MaxOS
Posted on June 16, 2011
If you are using MacOS and you want to write some code for MSP430 the easiest way is to use VirtualBox and Windows.
To allow VirtualBox to see development board, you need to load some drivers, fortunately someone already wrote them, so just follow this link to install them: http://mspdebug.sourceforge.net/faq.html#rf2500_osx
then reboot and connect the board in VirtualBox. After you can upload and debug code.
Filed Under Uncategorized | Leave a Comment
My flickr
Posted on May 26, 2011
Pages that use my flickr images (among other):
http://oneplusonedirect.com/police-recommend-charges-against-kelowna-rcmp-constable/852055/
http://en.wikipedia.org/wiki/Royal_Canadian_Mounted_Police_Protective_Policing
http://commons.wikimedia.org/wiki/Category:Royal_Canadian_Mounted_Police_security_detail
http://www.photographyblogger.net/25-wonderful-wet-roads/
http://en.wikipedia.org/wiki/File:Porcupine.jpg
http://kardekphotography.blogspot.com/2011/01/26-fotografias-de-estradas-molhadas.html
http://www.xatakafoto.com/trucos-y-consejos/tres-consejos-para-mejorar-tus-fotografias-a-isos-altas
Filed Under Uncategorized | Leave a Comment
Installed FF plugins
Posted on March 5, 2011
- Adblock Plus 1.3.3http://adblockplus.org/en/
- ColorZilla 2.5.3.1http://www.colorzilla.com/
- CSS Usage 0.2.2http://spaghetticoder.org/cssusage/
- EditCSS 0.3.7http://editcss.mozdev.org
- Extension List Dumper 1.14.8http://www.sogame.cat/
- Firebug 1.6.2http://www.getfirebug.com/
- Firebug Paint Events 0.1.7
- Firecookie 1.1.1http://www.janodvarko.cz/firecookie
- Firefinder for Firebug 1.01http://robertnyman.com/firefinder/
- FireQuery 0.9http://firequery.binaryage.com
- FireRainbow 1.2http://firerainbow.binaryage.com
- FireSass for Firebug 0.0.5http://github.com/nex3/firesass
- Flashblock 1.5.14.2http://flashblock.mozdev.org/
- GridFox 2.0http://www.puidokas.com
- MeasureIt 0.4.6http://frayd.us/
- Page Speed 1.10.2http://code.google.com/speed/page-speed/
- Prism for Firefox 1.0b3http://wiki.mozilla.org/Prism
- RankChecker 1.7.9http://tools.seobook.com/firefox/rank-checker/
- savememory 1.0.5http://www.savememoryfirefox.com/
- Screengrab 0.96.3http://www.screengrab.org/
- Semantic Checker 0.8.0http://www.semantic-checker.com
- SenSEO 1.5.5http://www.sensational-seo.com/
- SEO For Firefox 3.4.2http://tools.seobook.com/firefox/seo-for-firefox.html
- Seo Toolbar 1.1.3http://tools.seobook.com/seo-toolbar/
- SeoQuake 2.6.8(Disabled)
- Session Manager 0.7.4http://sessionmanager.mozdev.org/
- StumbleUpon 3.81http://www.stumbleupon.com/
- Web Developer 1.1.9http://chrispederick.com/work/web-developer/
- Web Testing Framework 0.0.1http://phpied.com/wtf/
- XRefresh 1.5http://xrefresh.binaryage.com
- YSlow 2.1.0http://developer.yahoo.com/yslow
Filed Under Uncategorized | Leave a Comment
Posted on December 25, 2010
I got a fake canada goose expedition parka for christmas.
Yey ?;-) Well its the thought that counts…
Filed Under Uncategorized | Leave a Comment
So two bytes are walking to a bar after work…
Posted on December 19, 2010
While they’re walking, one says to the other: “Are you all right? You look kinda sick.”
The other responds: “Yeah, I’m fine; I’m just feeling a bit negative after our shift.”
and other programming jokes at http://stackoverflow.com/questions/234075/what-is-your-best-programmer-joke/234138#234138
Filed Under Uncategorized | Leave a Comment
My new company
Posted on December 15, 2010
I started a company Gemstones Design http://websitecenter.ca/ with my friend David.
We specialize in creating light-weight, attractive, functional websites that work.
So if you need an application, website or a web app give as a call.
It is a bit different from my previous jobs at IBM ;-) (developing java VM and class libraries) but I want to run my own business and we have all the expertise to make it big (not only in web design and application but in other markets as well).
Specialties
web development, website design, application development,
Filed Under Uncategorized | Leave a Comment
Posted on December 3, 2010

Filed Under Uncategorized | Leave a Comment
Simple PHP router with closures
Posted on October 25, 2010
function display($somevar) {
$routes = array(
“ix” => function() { return HomeController::outFrontLayout();},
“re” => function() use($somevar) { return RegisterController::outManageUsers($somevar); }
);
return $routes[$pageName]();
}
Filed Under Uncategorized | Leave a Comment












