Posts

Showing posts from February, 2017

Stepper motor and the parallel port.

Image
Various stepper motors, They are great for robots and other automation projects.  The same ideas can be used with micro-controllers.Here are just a few notes. Testing stepper motor wiring: http://www.piclist.com/techref/io/stepper/wiresmeterbattery.htm The bipolar motor (4 wire): From an old Seagate hard drive. Unipolar motor. CLS VarMode = 0 VarRot = 0 VarRev = 0 VarDelay = 0 int1 = 0 Main: CLS OUT 888, 0 DO UNTIL INKEY$ <> "" PRINT "Enter the number of revolutions" INPUT VarRev VarRev = VarRev * 50 PRINT "Enter the Mode of operation" PRINT " 1 for single coil excitation" PRINT " 2 for double coil excitation" INPUT VarMode PRINT "Enter the number of delay cycles" INPUT VarDelay PRINT "Enter the direction of rotation" PRINT "5 for CW 7 for CCW" INPUT VarRot VarMode = VarRot + VarMode IF VarMode = 6 THEN GOTO ScCW: IF VarMode = 7

Just a quick tip or two with Kodi.

Image
One of the interesting features in Kodi is setting the country and time zone: Here is a picture tour of where to go. The other quick hint is that having a remote control might be an issue.    To set a web interface add-on as the default web UI, go to System -> Services -> Webserver and select that add-on for the Default value. Then go to the hostname (or IP address) of that HTPC+Port number. Note: Some platforms use port 80, which is the assumed port if no port is given in the address. Now you can use a touchpad with a browser or a laptop.  Setting up am entry in the local dns will make things easier. I like the fact that the cursor keys work great with the system. Personally I just use an old 600 mhz laptop to be the remote control. Allows you to use the internet if you need to or even just use an editor to take notes. That's it for now.