Posts
Showing posts from August, 2014
Bash menu starter
- Get link
- X
- Other Apps
Starter menu to show you the power of tput. [code] #!/bin/bash #testmenu.sh #test for tput cursor movements #colour the screen tput setb 3 #Green in xterm and brown in linux terminal tput clear #paint menu onto the screen echo "" echo "" echo "TEST MENU" echo "1 ..... ECHO 1" echo "2 ..... ECHO 2" echo "3 ..... ECHO 3" echo "4 ..... QUIT" echo "" echo "Select item: " #loop around gathering input until QUIT is more than 0 QUIT=0 while [ $QUIT -lt 1 ] do #Move cursor to after select message tput cup 8 13 #Delete from cursor to end of line tput el read SEL if [ ${#SEL} -lt 1 ] then continue fi if [ $SEL -eq 4 ] then QUIT=1 continue fi #put message in middle of screen tput cup 15 20 #Delete from cursor to end of line tput el case $SEL in *) echo "You selected $SEL";; esac done #reset the screen #Find out if this is a "linux" virtual
LTSP
- Get link
- X
- Other Apps
Linux terminal server project lets you connect to multiple systems via rdp, vnc and etc. http://www.instructables.com/id/Another-almost-free-computers-thin-client-set-up/ http://www.instructables.com/id/Another-almost-free-computers-thin-client-set-up-P/ http://www.instructables.com/id/Part-III-LTSP-Maintenance/ http://www.instructables.com/id/Ltsp-clustering/
Backup monitor?
- Get link
- X
- Other Apps
If you set up your serial port for communications and have a serial terminal (some systems may require a usb adapter), you will never worry about not having a monitor for emergencies. (Connecting in this case to an nslu2 running linux.) Notes from an earlier article to set up serial communication, Your system may vary. Now to get the Pda working with the unit. The Palm pda will not work as is as a dumb terminal, so I had to install a program on to it from another computer called ptelnet.prc using a usb to serial interface. The Palm has an interface cable that will plug directly into the 9 pin serial port on the back of the computer. HP Journa has a standard rs232 port. $ pilot-xfer -p /dev/ttyUSB0 -i ptelnet.prc That should be easy. First to test the port. Strange the serial port on what is commonly known as com2:. (com1: =ttyS0) $ sudo /sbin/getty -h -L /dev/ttyS1 9600 vt100 & $ sudo chmod 666 /dev/ttyS1 A prompt did not show up on the Palm pda. Now what
Microcontroller and the adlib sound card.
- Get link
- X
- Other Apps
Saw this article ( http://www.raphnet.net/electronique/adlib/adlib_en.php ) about connecting an old eight (isa) bit sound card to the parallel port. Then I thought after looking at the connections that maybe the Arduino, RPi, Beagleboard, or the like could also be used. Just a matter of developing the software. Try this at your own risk. Then I thought there are lots of other old legacy eight bit cards that might be used (i.e serial, parallel, floppy, network, or etc). Adlib information: http://www.o-bizz.de/qbtuts/mallard/sbfaq.htm http://www.shipbrook.net/jeff/sb.html Embedded server with ISA network card This embedded server was built with NE2000 compatible ISA network card (popular Realtek RTL8019, probably Davicom DM9008F also) and ATmega32 microcontroller. I've bought RTL8019 card branded as "Planet" for $1.50. You can find souce code and basic schematic at http://www.ulrichradig.de/ . There may be some changes to pin assignment so please r
Legacy Robot notes.
- Get link
- X
- Other Apps
Have not made much time to work on special projects. One thing I need to start back on is robopet. There is nothing real super snazzy about this unit although it could be. Mainly I will use it for carrying snacks back and forth from the kitchen during sporting events. There will be a second level not currently attached to hold the goodies. More information about the unit follows. Electronics: Using an old Pentium I computer, usb wireless, DC battery power, dc-dc atx ps and compact flash with an ide conversion interface. Powered wheels came from two Tonka RC cars that I dissected. Made a special wiring hardness to connect the parallel port with the control electronics. Now I need to start testing the electronics for the motor control. Hoping the h-bridge can take the current. If not, I think I have a IC that will. Worst case scenarios is to do it the old fashion way with transistors. After that, everything should fall into place. Using a standard power supply to test the unit,