Thursday, May 11, 2006
tv dead
Struggles of Final Friday
After loosing my computer to a faulty hard drive, I haven't been able to document my code or tales of pre-Final Friday. I spent my friday by looking for t.v.'s and setting up a mess of a project. Thankfully I had thought out most of my project before hand and the final product was very achievable. I lost all my code, because for some reason my power supply shorted out and took my hard drive with it. My code was basically using a "if else... if else... if" command to check for distances in the sensor, by using the class code. I also, on powerup, allowed the dvd player to start up and loop the dvd by using the a-b control. The method was exactly the same as the night at the lab... Just ground it! The start up switch simply shut off the dvd player. Danille really made the project complete by adding a creative spraypaint chalk in the form of a hop-scotch set up. Children and a few adults found a great deal of pleasure in dancing in the boxes switching the video.
Review #4
Shawn Wiggins
Friday, February 24, 2006 I attended the Reception for the Firehouse Gallery's hosting of works by Amanda Dickson, Kate Johnson, Danielle Kling, Cynthia Martinez, and Megahn Regnier. The showing was more personal than most art displays, because I was partners with Danielle, friends with Cynthia, and my girlfriend was roommates with Megahn. I may just need to development my maturity in art, but I found the display a little challenging to view, because of the relationships I had with the girls. As a man I realize the expressiveness that most woman are choked not to share, but I really felt like I wasn't sapposed to be their to view the projects. After gathering my maturity and a few pieces of cheese I browsed the selections. Each piece was very similiar in the fact they all showed the viewer a new side of the artist most, even friends, wouldn't see. Besides a physical expression I realized more of a eagerness to share from the artist then in most shows I attend. I learned a lot from the show, because of the fact I had to overcome a typical stumbling point for men viewing female sexual expressive art. Once I realized my stupidity I found a new level of maturity in the women and myself.
Review #3
Shawn Wiggins
February 22, 2006 Sigur Ros, an icelandic rock band, took control of The Uptown Theatre in Kansas City, MO. Starting the concert the four female orchestra members of Sigur Ros performed a short selection of instrumental songs as a concert warm up. The woman spoke quietly, dressed in velvet, and made life come from cold instruments. The girls, as well as most modern European bands, use a wide variety of traditional instruments. Many types of xylophones lined the stage. The girls also made use of a few electronic instruments and computerization. The music created, almost improvised, made you feel completely happy. After making a few mistakes the girls were able to complete their set with smiles across their faces.
After listening to many fans of Sigur Ros talk about their religious faith in this band during the intermission, the lights dimmed and a curtian closed! The band started off their set by playing a fan favorite Glossili behind a giant white sheet, illimuniated from the rear. The band owned everyone's mind and heart. The dynamics of the band are a triat lacking by most rock bands, but when implemented are very simple. The simple loud, soft, and loud again dynamics are wonderful until they become predictable. The tone of several keyboards, string quartet, and full band took the attention away from the single musicial asspect of dynamics and back to the music itself. The band played songs that pleased many of their fans, and they left the audience wanting more. After the show many people still proclaimed their love and, sadly, their faith in a rock band.
Tuesday, May 09, 2006
Review #2
Shawn Wiggins
Tuesday, March 21, 2006 Nickel Creek with special guest The Ditty Bops gave Wichita residents a wonderful concert at the historic Orpheum Theatre. Amanda, Abby, and two other men took the stage as The Ditty Bops. Heavily influenced by early 20th century country music, the girls added a new twist. This was my first time hearing this group, and songs were songs that one could easily tap their foot to, but the girls creatively added props and wonderful facial expressions to each song. The influence of the added measures was outstanding. Each song became a mini comedy show. Some really did make you think about the situations they were describing. The foursome left the stage with a well satisfied audience.
After an intermission stalled with technical difficulties, Nickel Creek proudly took the stage. Although Wichita's audience was more familiar with the band's more traditional bluegrass sound, the band wasn't scared to offer their new expressive side. The audience took more rock influenced songs with great appreciation. Sean, Sara, and Chris came across as the audience's best friends. Each song was professional to the point most if one error was made the performers took the song to new levels. Toward the end of the set each member played a solo piece. Sean played a new song off his new album, Sara played one of her favorite cover songs, and Chris reminded us of Bach's birthday with a wonderful performance of a Bach solo violin piece, performed on the mandolin. Chris clearly stole the spotlight with the technically difficult piece. Nickel Creek finished their performance by huddling around a single condenser microphone, in a traditional bluegrass style, and make the show feel like a backyard picnic.
Review #1
Shawn Wiggins
Monday, May 08, 2006 Wichita State University hosted the WSU Concert Band and WSU Symphonic Wind Ensemble in Miller concert hall. The night started off with the WSU Concert Band, conducted by Professor Brian Silvey. The first piece, A festival Prelude, started off slightly out of tune, but since it was a short piece, the intonation was not a major concern. The band quickly played With Each Sunset by Richard Saucedo. The first half of the Concert Band's performance was concluded with a performance by Cody Procter and the band. They performed Portrait of a Clown as Cody acted as a Mime, using body expressions to emphasize the music being played. Besides the moment of costume troubles the piece was really enjoyable. Next Craig Kirchhoff, a worldly known conductor, entered the stage. He effortlessly lead the band through Procession of the Nobles. Following the University of Minnesota conductor, Kirchhoff, a Graduate Conducting Assistant, Paula Leshkevich, took the command of the band. She calmly led the band through His Honor by Henry Fillmore. The band concluded with the religiously based tune, Laude.
After the intermission the Symphonic Wind Ensemble, led by Dr. Victor Markovich, lined the stage with brass players. A few brass players were also sent into the audience. The group proudly performed FanFare Canzoniques. The sound was powerful and majestic, and the musicians performed as one large instrument. After the first piece another ensemble, featuring four of WSU's excellent horn players, took the spot light. Konzertstuck by Robert Schumann brought a few members of the audience to their feet. The song was a real honor to the horn department. Finally Kirchhoff returned to the stage and led the full wind ensemble in an epic, thirteen minute, piece Lincolnshire Posy. The Symphonic Wind Ensemble made the night extremely enjoyable.
Wednesday, April 26, 2006
Logochip Controlling DVD Player
Video Switcher
Here is a picture of my circuit (DRAWING)
Monday, April 24, 2006
tonights ideas
here is some test code i ran to see if i could switch a led when i got close to the sensor:
to go
init
clearbit 7 portb-ddr ; set as output
clearbit 7 portb ; turn off led
loop
[
ifelse (getvalue < 300) ; if you are closer than 300 us
[
print getvalue
setbit 7 portb ; turn on led
]
[
print getvalue
clearbit 7 portb ; else turn it off
]
wait 4
]
end
There are a few glitches, but they may have to wait because my eyes are getting heavy.
As far as the video jog/control... I think I'll use two harddrive motors...and run them opposite of each other... with a piece of string... If i can get the unit appart I may just figure out the switching... like the group that is using a cd player
almost almost... no
450
452
453
457
458
458
459
459
454
449
455
456
455
449
450
359
452
451
457
458
459
714
465
466
465
467
467
468
461
460
461
455
462
449
462
449
462
705
450
462
457
469
463
469
719
353
448
469
469
469
468
468
469
476
476
476
732
477
trial and errors
to getvalue
clearbit 2 portc-ddr ; change C2 briefly to output,
no-op no-op no-op no-op
setbit 2 portc-ddr ; sending short "high" pulse
clearbit 2 PIR1 ; reset to trigger next event on C2
setn (((read TMR3H) * 256) + (read TMR3L)) ; get current timer 3 value
waituntil [testbit 2 PIR1] ; have we got even on C2 yet?
setm (((read CCPR1H) * 256) + (read CCPR1L)) ; what was value of timer 3 at time of event on C2?
output (m - n) ; return the time it took for the event to occur
end
Sunday, April 23, 2006
Thanks keith for some insight
; Keith's edited version of John's Code - Shawn Wiggins
constants [[CCP1CON $FBD] [T3CON $FB1] [CCPR1H $FBF] [CCPR1L $FBE] [PIR1 $F9E]
[TMR3H $FB3] [TMR3L $FB2]
[ARRAY_SIZE 16] [SHIFT_SIZE 4]]
global [total_val total_move_ave ptr temp]
to init
setbit 2 portc-ddr ; set pin C2 as input
setbit 2 portc ; set pin B7 as input
write CCP1CON #00000100 ; turn on capture/compare module
; see spec sheet pg. 129 for T3CON settings:
setbit 0 T3CON ; turn on timer 3
setbit 6 T3CON ; use timer3 as clock source for capture/compare
setbit 5 T3CON
setbit 4 T3CON ; 1:8 prescale value (slowest speeed) for timer3
setptr 0
settotal_move_ave 0
setn 0
repeat ARRAY_SIZE [setarray n 0 setn (n + 1)]
end
to getvalue
clearbit 2 portc-ddr
setbit 2 portc-ddr
clearbit 2 PIR1 ; reset to trigger next event on C2
setn (((read TMR3H) * 256) + (read TMR3L)) ; get current timer 3 value
waituntil [testbit 2 PIR1] ; have we got event on C2 yet?
setm (((read CCPR1H) * 256) + (read CCPR1L)) ; what was value of timer 3 at time of event on C2?
output (m - n) ; return the time it took for the event to occur
end
to getave ; here is a relatively easy way to
average out values
repeat 8 [ ; get 8 readings
settotal_val (((total_val * 7) + getvalue) / 8) ; average in the newest reading
wait 1
]
output total_val ; return average
end
to setarray :index :value ; generic code to read and write to arrays
setglobal :index + 10 :value
end
to array :index
output global :index + 10
end
to get_move_ave ; a better way to do moving average.
settemp getvalue ; get the current value
settotal_move_ave (total_move_ave + temp - (array ptr)) ; subtract the oldest value, and add the current value
setarray ptr temp ; record the current value
setptr (ptr + 1) % ARRAY_SIZE ; update the pointer in the circular buffer
output (leftshift total_move_ave (0 - SHIFT_SIZE)) ; return the output of the moving average
end
Not a good attempt at the logochip
to init_SRF05
setbit 2 portc-ddr ; set pin C2 as input
setbit 7 portb-ddr ; set pin B7 as input ***
setbit 7 portb ; ***
write CCP1CON #00000100 ; turn on capture/compare module
; see spec sheet pg. 129 for T3CON settings:
setbit 0 T3CON ; turn on timer 3
setbit 6 T3CON ; use timer3 as clock source for capture/compare
setbit 5 T3CON
setbit 4 T3CON ; 1:8 prescale value (slowest speeed) for timer3
setptr 0
settotal_move_ave 0
setn 0
repeat ARRAY_SIZE [setarray n 0 setn (n + 1)]
end
to getvalue_SRF05
clearbit 2 PIR1 ; reset to trigger next event on C2
setn (((read TMR3H) * 256) + (read TMR3L)) ; get current timer 3 value
setbit 7 portb-ddr clearbit 7 portb-ddr ; trigger SRF05 for reading ***
waituntil [testbit 2 PIR1] ; have we got event on C2 yet?
setm (((read CCPR1H) * 256) + (read CCPR1L)) ; what was value of timer 3 at time of event on C2?
output (m - n) ; return the time it took for the event to occur
end
to getave ; here is a relatively easy way to average out values
repeat 8 [ ; get 8 readings
settotal_val (((total_val * 7) + getvalue_SRF05) / 8) ; average in the newest reading
wait 1
]
output total_val ; return average
end
to setarray :index :value ; generic code to read and write to arrays
setglobal :index + 10 :value
end
to array :index
output global :index + 10
end
to get_move_ave ; a better way to do moving average.
settemp getvalue_SRF05 ; get the current value
settotal_move_ave (total_move_ave + temp - (array ptr)) ; subtract the oldest value, and add the current value
setarray ptr temp ; record the current value
setptr (ptr + 1) % ARRAY_SIZE ; update the pointer in the circular buffer
output (leftshift total_move_ave (0 - SHIFT_SIZE)) ; return the output of the moving average
end
Saturday, April 15, 2006
DVD player!
I was thinking that using the logo chip as a "ground" switcher would be a neet approach. This would work by having the hot line connected to all three monitors and switching the ground on the logochip to make the right monitor active... oh we will see.
Monday, April 10, 2006
Last try for the night
After changing to a windows machine... which works fine... when i brought it back to my linux box it says '
made it
opened?
Welcome to LogoChip Logo!
in the console
lol haha that was John's print statements...
oh well
Through logic I feel my serial connection is ok... onto some other problem since ! test-serial works.
John's new compiler.txt
localhost LogoChip2.0-2004-08-10 # java -jar LogoChip.jar
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
/dev/ttys0 is the only file that reacts to the stty -F /dev/... raw command
so I'm I'm assuming this is my correct serial port file
***UPDATE***
This is the first time get a verbose respone from the serial port..usually it just doesn't say no such device... using
localhost LogoChip2.0-2004-08-10 # ln -s /dev/ttyS0 /dev/ttyss0
ln: `/dev/ttyss0': File exists
localhost LogoChip2.0-2004-08-10 # chmod 777 /dev/ttyss0
localhost LogoChip2.0-2004-08-10 # stty -F /dev/ttyss0
speed 19200 baud; line = 0;
min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost
-isig -icanon -iexten -echo -echoe
localhost LogoChip2.0-2004-08-10 # java -jar LogoChip.jar
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
Then it still says Logochip not connect.
LOGOCHIP HELP~
downloaded sun's JDK1.4.2-10
emerge sun-jdk (The Gentoo pkg installer)
the java files are in /opt/sun....1.4.2../
downloaded commapi files from java
the commapi files are in /usr/share/commapi/
export LD_LIBRARY_PATH=/distination to libLinuxSerialParallel.so:$LD_LIBRARY_PATH
I also moved the libLinuxSerial.... to /usr/lib/
export CLASSPATH=/usr/share/commapi/comm.jar:$CLASSPATH
edited javax.comm.properties by changing the serial port ref to /dev/ttyss0
moved javax.comm.properties to /opt/sun...1.4.2.../jre/lib/
/usr/share/LogoChip2..../
edited compiler.txt in the LogoChip folder and changed the line 561
carefully [openport "/dev/ttyss0 setportparams 19200 8 1 0] [print [Can't open serial port]]
ln -s /dev/ttyS0 /dev/ttyss0
chmod 777 /dev/ttyss0
stty -F /dev/ttyss0 raw
I changed directories to /usr/share/LogoChip..../
java -jar LogoChip.jar
(You must be in the LogoChip.jar directory to stop getting the ticktask error)
The console comes up with the following output in the terminal
localhost LogoChip2.0-2004-08-10 # java -jar LogoChip.jar
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
java.util.NoSuchElementException: Vector Enumeration
at java.util.Vector$1.nextElement(Vector.java:307)
at JavaxSerialHandler.getPortNames(JavaxSerialHandler.java:37)
at SerialPrims.prim_portnames(SerialPrims.java:56)
at SerialPrims.dispatch(SerialPrims.java:17)
at Logo.evalSym(Logo.java:52)
at Logo.evalToken(Logo.java:38)
at Logo.eval(Logo.java:29)
at Logo.evalArgs(Logo.java:66)
at Logo.evalSym(Logo.java:51)
at Logo.evalToken(Logo.java:38)
at Logo.eval(Logo.java:29)
at Logo.evalArgs(Logo.java:66)
at Logo.evalSym(Logo.java:51)
at Logo.evalToken(Logo.java:38)
at Logo.eval(Logo.java:29)
at Logo.evLine(Logo.java:24)
at Logo.runList(Logo.java:83)
at Logo.runCommand(Logo.java:75)
at Ufun.dispatch(Logo.java:542)
at Logo.evalSym(Logo.java:52)
at Logo.evalToken(Logo.java:38)
at Logo.eval(Logo.java:29)
at Logo.evLine(Logo.java:24)
at Logo.runToplevel(Logo.java:14)
at LogoCommandRunner.run(Logo.java:571)
at LogoChip.main(LogoChip.java:48)
then when I download the the test.txt file I get this in the logochip console...
logochip not connected.
and this in the terminal...
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
Sunday, April 09, 2006
AHHH!!!!! LOGOCHIP CONSOLE!!!!
download SDK1.4.2... into /usr/portage/distfiles/
emerge -av sun-jdk (double check files)
emerge rxtx (so linux can use the javacomm drivers)
register and download commapi from Sun's website
copy comm.jar into /opt/sun.../jre/lib/etc/
echo Driver=gnu.io.RXTXCommDriver > /usr/java/j2sdk1.4.0/jre/lib/javax.comm.properties
errors so far!!!
localhost scwiggins # java -jar LogoChip2.0-2004-08-10/LogoChip.jar
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
.... then I get "I don't know how to ticktask"
Tuesday, March 14, 2006
Finding a DVD player
I need to find a dvd player to experiment with the a desired controller. (usually in the shape of a wheel). If anyone has any thoughts on where to find one (cheeply) let me know.
Wednesday, March 08, 2006
Wednesday, March 01, 2006
Project Troubles

Project assignment:
Since we hadn't really thought about using the logochip in our project until this week, we haven't had a chance to jump into the coding of the trigger in our project. I was hoping to make a wide enough array with an infrarad sensor to cover a large display (4 meters or so). I saw on a suppliers website a discription on using two sensors at either end of the wall and pointing them toward the middle... like this...

I'm just not sure if this would work... and I'm not sure I want to risk the chance... So John asked us to either present code or present the problems we are facing... this is my challenge... being able to encompass a .5x10 meter space with infrared sensing with as little sensors as possible.
Tuesday, February 28, 2006
More Circuts

Hey I'm having trouble reading this schematic! I have the things I'm confused about circled in green. The circut takes a sound and basically causes a feedback. If you familiar with the guitar it is called the E-Bow. If I can figure out my last few struggles I can save 70 some dollars on this piece of equipment just by building it myself! Thanks for any help.
Sunday, February 12, 2006
Ooops...
I completly forgot to hand in my pd2 file. Well here it is in all its glory. I edited Joey's file and added a master volume control and cleaned up some of the extra dac~'s.
Sunday, February 05, 2006
Student Pairings (Week 2)
I met with Danielle Kling this evening. I had a blast being able, for a brief time, share ideas towards the project. I felt as if there was "less" talk and more production of ideas, although it was much "what ifs." We "attempted" to combine our ideas for the sake of direction, but still left room for our own personal input. I've learned several things from the two artists I've met with, Ann and Danielle. I'm eager to meet with some of the male artists to get a different approach on these projects. We will see if two x's are better than one. Y who knows.

