Mar 072013
 

RagdollRBD-POST

The folks at Blender have given me a couple of new tools with which to satisfy my desires to maim and mutilate ragdolls.

Rigid Body Dynamics in the animation system and Cycles Hair Rendering.

So in honor of that or whatever… here’s my first non-game-engine ragdoll (with hair) for your demented pleasure…

http://funkboxing.com/wordpress/wp-content/_postfiles/ragdollRBD-POST.blend

Mar 052013
 

This is going to be a little note/link reference page for all the stuff I’ve done with Raspberry Pi’s. I had this stored in a gdoc but I figured it’s more useful here. This isn’t very well sorted or formatted yet. If you find this page and need some info that I haven’t finished posting, just message me and I’ll try to light a fire under it.

[SETUP FROM RASPIAN IMAGE]
***run rpi-config (automatically runs at first boot)
___ [SETTINGS:]
___ <EXPAND ROOT>
___ <START SSH ON BOOT>
___ <UPDATE RPI-CONFIG>
$ sudo apt-get update
$ sudo apt-get upgrade
***run rpi-update (https://github.com/Hexxeh/rpi-update)
***change uname/pword

[WIFI]
$ sudo apt-get install wicd wicd-curses
***add user pi to netdev if/when prompted
***configure network with wicd-curses (couldn’t get to work without encryption, WEP worked)

[X11VNC SERVER INSTALL AND AUTOSTART]
http://www.megaleecher.net/Raspberry_Pi_VNC_Setup

[MINI LCD SCREEN – INCREASE SHELL FONT SIZE]
http://www.raspberrypi-spy.co.uk/2012/11/cheap-miniature-lcd-screen/
***edit the SD cards boot.cfg, uncomment LEFT/RIGHT overscan

[IPAZZPORT BT KEYBOARD]
http://www.ctheroux.com/2012/08/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/

[WEBCAM]
$ sudo apt-get install guvcview
***worked out-of-the-box with HP HD-2200 1280×720 webcam

[WEBCAM STREAMING (FAST ENCODING WITH MJPG STREAMER)]
http://www.justrobots.net/?p=97
$ ./mjpg_streamer -i “./input_uvc.so” -o “./output_http.so -w ./www”
$ mjpg_streamer -i “/usr/lib/input_uvc.so -d /dev/video0 -r 320×240 -f 10” -o “/usr/lib/output_http.so -p 8090 -w /var/www/mjpg_streamer”
***to display the image stream just add this line to a html-file.
<img src=”http://192.168.88.120:8090/?action=stream” width=”752″>

[ARDUINO IDE]
***this works from the Adafruit Ocidentalis image, might need java packages from basic raspian image
$ sudo apt-get install arduino

[RUN A PYTHON SCRIPT AT STARTUP]
http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html
$ sudo nano /etc/init.d/nokiaLCDboot.sh | (CREATE SCRIPT)
$ sudo chmod 755 /etc/init.d/nokiaLCDboot.sh | (MAKE EXECUTABLE)
$ sudo update-rc.d nokiaLCDboot.sh defaults | (REGISTER SCRIPT)
$ sudo update-rc.d -f nokiaLCDboot.sh remove | (UNREGISTER SCRIPT)
$ sudo /etc/init.d/nokiaLCDboot.sh start

*’&’ at the end of a command runs it as a background process, returning control to the terminal.

*running as daemon – http://www.raspberrypi.org/phpBB3/viewtopic.php?t=37901&p=314885

http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/

[NOKIA 5110 LCD] – NEEDS EDITING
***link to post with image and pin assignments
***not sure if all of these packages are necessary. I did a lot of thrashing around to get this thing working so this isn’t very clean yet.
$ sudo apt-get install python-imaging python-imaging-tk
$ sudo apt-get install python-pip
$ sudo pip install wiringpi
$ sudo pip install spidev
***unblacklist SPI then REBOOT
$ sudo nano /etc/modprobe.d/raspi-blacklist.conf
***turn up CONTRAST 0xc4

[GPIO BUTTON SETUP] – NEEDS EDITING
???***VCC3V -> 10K RESISTOR -> BUTTON -> GPIO 17, 22, or 25 (PIN 11, 15, 22)

[FM TRANSMITTER] – NEEDS EDITING
http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=25301&start=25
***CPU or DMA usage???

[TEXT TO SPEECH] – NEEDS EDITING
http://elinux.org/RPi_Text_to_Speech_(Speech_Synthesis)
installing pulseaudio – made it less crackly
use ESPEAK
http://www.gaggl.com/2013/01/raspberry-pi-text-to-speech/
***using this command seems to make it work
$ espeak “hello” –stdout | aplay (piping through aplay or something else seems to be critical)

[LIGHTWEIGHT WEBSERVER]
http://www.penguintutor.com/linux/light-webserver

[PHP SERIAL] – NEEDS EDITING
http://www.fritz-hut.com/php-serial-class/
USE HIS DEMO CODE… CHANGE DEVICE TO /TTYUSB0
AND BAUD RATE TO 9600
AND HAVE TO PUT THIS FILE IN /VAR/WWW/
https://code.google.com/p/php-serial/source/checkout

 

—PROBABLY NOTHING USEFUL PAST THIS POINT—

[TO EDIT]

• OPEN CV
http://www.raspberrypi.org/archives/tag/opencv

https://github.com/andygrove/rasp_pi_camera_opencv

• SDR W/ TV DONGLE AND/OR FUNCUBE DONGLE
DVB-T+DAB+FM
RTL2832U + R820T Mini DVB-T + DAB+ + FM USB Digital TV Dongle – Black
http://www.oz9aec.net/index.php/funcube-dongle/479-the-funcube-dongle-propro-on-the-raspberry-pi
http://g0orx.blogspot.com/
http://www.funcubedongle.com/?p=861
http://www.eham.net/ehamforum/smf/index.php?topic=84327.0

• WSPR NODE
https://github.com/threeme3/WsprryPi

• COMMAND TO MAKE BACKUP COPY OF SD IMAGE
dd if=/dev/sdx of=/path/to/image bs=1M

• GET SYSTEM INFO
http://cagewebdev.com/index.php/raspberry-pi-showing-some-system-info-with-a-python-script/

• GYRO/ACCELEROMETER SETUP – MPU-6050
http://playground.arduino.cc/Main/MPU-6050
http://arduino.cc/forum/index.php?topic=121825.0
http://arduino.cc/forum/index.php?topic=124153.0
http://www.botched.co.uk/pic-tutorials/mpu6050-setup-data-aquisition/
http://arduino.cc/forum/index.php?topic=103408.0
http://www.i2cdevlib.com/devices/mpu6050#help

• R.O.S. INSTALL ON RASPIAN

—MORE UNSORTED / SOME NOT DIRECTLY RASPERRY PI RELATED—

• R2D2 with VOICE CONTROL AND FACE RECOGNITION…
http://www.wired.com/design/2013/01/raspberry-pi-r2d2/

• RPI ANDROID HTML5 CONTROL OF SERVOS
http://martinsant.net/?page_id=479

• WEB COMMANDS->PYTHON
http://askubuntu.com/questions/218496/sending-keyboard-commands-to-ubuntu-through-python-remote-for-my-blackberry
http://stackoverflow.com/questions/3289584/web-ifing-a-python-command-line-script
http://mail.python.org/pipermail/tutor/2005-November/043372.html

• WEB CONTROL OF GPIO
https://bitbucket.org/sbub/raspberry-pi-gpio-web-control/overview
http://www.instructables.com/id/Web-Control-of-Raspberry-Pi-GPIO/
http://elinux.org/RPi_Low-level_peripherals

• NON ROS ROBOT TELOP
http://raspberrypirobot.blogspot.com/
http://code.google.com/p/cmd-robot/
http://www.finventing.com/2013/01/06/robotic-light-painting-with-raspberry-pi/

• HTML FORM BUTTON
http://stackoverflow.com/questions/4120678/multiple-buttons-on-a-form

• OPENCV
http://www.betasix.net/opencv-2-2-python-examples/
http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/

• HTML CONTROL
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=23897

• X11VNC MULTIMONITOR
http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors (search ‘occasional dual monitors’)

• WIIMOTE
http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/wiimote/

Feb 232013
 

Apparently you have to pay to apply to die on Mars.

It pains me somewhat to post this because I am a lifelong, radically enthusiastic supporter of human space exploration. But I have deep concerns about the Mars One Project.

I believe that exploration of space is an imperative for human beings. I believe that it is necessary to proliferate our species into space to protect against the possibility of our extinction. Most importantly I believe the overwhelming challenges and threats of space are the only force that could serve to unite us as a species.

Humans are at their best when threatened by nature. Our fears of one another fade against the will-less, obliterating power of a dangerous environment. We communicate, collaborate, invent, engineer, and solve. However brief our existence has been, all the greatness of humankind lay in our collective will to deny, defy, and to challenge nature at every level. We refuse to simply reproduce, die, and adapt our biology based on the whims of nature. We combat the change nature tries to force onto us. We do battle against an eternal and all-powerful enemy, arrogantly sometimes, but we do it, and we’re pretty damn good at it. And when we respect the power of our opponent, nature, we often prevail. We survive, we build, we thrive, and occasionally we do so in style.

We need the challenges of planetary colonization. We need to experience the fear of annihilation by nature, often. That kind of fear brings us closer, and makes us strong, wise, and compassionate to each other. I believe space is the only chance we have to become a race worthy of our own brilliance.

I say all this because I want you to understand the depth of my devotion to human space exploration before I make any criticisms of a space program.

Since I became aware of the Mars One project I supported it, but harbored reservations.

I finally decided I would go ahead and participate in the application process. I was pretty shocked when I found the fee page in the posted image. It solidified my concerns and influenced me to write about them.

Some may consider this an over reaction. Thirty eight dollars is a paltry sum for a chance at such an epic adventure. But I think it represents and/or reveals a massive error in this programs motivations that should be considered.

I’m not naive enough to think our motivations for space exploration will always be pure, but I think our motivations for space exploration are as important as our ability to achieve it and we must always be at least aware of them, and preferably actively control them.

If we are motivated into space by desire to dominate ourselves and Earth, we will destroy ourselves soon enough. If our motivations are for profit, then our returns will be less than we expect, because we will always fail to calculate the intangible benefits of ingenuity, inspiration and cooperation, demanded by space travel.

How did America expect to profit from the moon landing? It didn’t, but it did profit, in ways that could never have been predicted. National and human pride aside, enrollment and graduation in university science curriculums spiked across the nation. How many modern scientists and engineers will tell you that they were first inspired to their track by the space program? How many dreamed of exploration and discovering space? How many dreamed of extracting wealth and profit from it? Are we too grown up to remember what drove us to want to grow up in the first place?

In general the privatization of space travel gives me great pause. It makes space a playground for wealth. Market forces are too fickle and blind to provide the path needed to expand our presence in the universe at all, let alone in a responsible manner. Private ventures in space can disseminate the technology and make it more accessible, but it will not push the boundaries that need to be pushed. Only science and discovery have the brass-balls to push boundaries that don’t clearly have profit on the other side. And it is only the other side of those boundaries that we find new forms of riches and beauty.

The natural and human resources needed to send the mass of a human being in space, and to keep them alive, are enormous. One could do the math and find how many starving children could be fed, clothed, housed, and educated with the money it takes to keeps a human being alive in space for one day. It would probably be a depressing number. I am not an economist and I cannot envision a solution to this imbalance and I imagine it will persist. To a degree, inequality is a fact of life, I make no excuses.

But who should we sent into space then? Me; Mr. Smarty-Pants, because I’m so thinky? Probably not- I’m really not as bright as all that and a flight surgeon would ground me soon as they took my pulse and checked my vision.

Until now astronaut selection has been carried out by nations. These nations created space programs and selected the best and most capable, based on criteria defined by the best and most capable. We placed vast resources in the hands of these brave test pilots and astronauts and they understood that they rose into space as our ambassadors, and caretakers of the vast power and resources that they controlled, but they were not owners. I think we need to maintain this as a sacred tradition at all costs. Reverence for heroes can be dangerous, but it can be a fuel for inspiration if we choose the right ones.

It is not fair or wise to allow wealth to squander the resources needed to propel Earth bound mass into space and preserve is there. Those resources should be reserved for those we deem worthy by thoughtful, rigorous, criteria of physical and mental ability. Fame, popularity, and wealth should determine nothing except who gets the best seats to watch the launch.

My concerns about the Mars One program are primarily that its motivations are vague. The mission goals are simply to put people on mars and watch them be there. It’s admittedly a lot like a reality show. I cannot tell you how disturbing a precedent this could set. In some ways this could end up being some kind of survival sport. I know that’s kind of fucked up to say- but this program could have the unintended effect of trivializing the lives of astronauts, and I that cannot be allowed to happen. I’d loose my shit if I found out about a betting pool on an astronauts survival, but I’m virtually certain there would be more than a few if this becomes a mass-media phenomenon. I’d like to believe most space enthusiasts are much better than most NASCAR fans. (apologies to the 8 or 9 legitimate fans of NASCAR and NASA out there) We root for mission success. We mourn failure with real pain and real tears. No one watches a launch and secretly hopes to see a crash, no one. I know this probably naive, but please let me have this one.

If Neil and Buzz had been stranded on the moon, or if Lovell, Swigert, Haise had been lost, there may have been some cynical bastards that would be goofing on them, but I think the majority of humans on the planet would have felt pain for the loss of true heroes.

Will we feel the same about game-show astronauts if they are in peril and distress? Will we allow ourselves to become an audience in another kind of Colosseum? Can we afford to let a profession and title such as ‘Star Voyager’ become anything less than what it sounds like? (Please nobody say anything about Lisa Nowak. Astronauts are humans and humans occasionally go squirrel nuts… wiring goes bad… let’s move past it)

I’d feel better about the Mars One program if they were aggressively and publicly recruiting the scientific community to present scientific and engineering missions to the public that these astronauts will carry out.

Am I just being nostalgic here? Is this some weird form of astronaut hero worship? Am I trying to hold back progress in space for the sake of an ideal about progress in space? Maybe I am being narrow minded but I see a great deal of peril on this path. I care too deeply about the future the human species in space to allow my obsession with space flight to overwhelm my sensibilities about the future. We can only afford to allow the best of us into space as our ambassadors and caretakers of our powerful and hungry technologies. I am sure the Mars One project has the best intentions, but the road to hell was paved with those. Let us be bold, but cautious, and always be aware of our weaknesses and our demons.

Just to clarify- I have no objection to the ‘one-way’ idea. That’s the nature of colonization and I think it can paradoxically provide some psychological support for the crew since it will strongly motivate them to find ways to make Mars more Earth-like and may make it easier for them to begin to think of Mars as a home. And since that brings up terraforming I’ll also say I have no objection to that as long as we make protections for if/when life is found on another planet. I am admittedly very anthropocentric about space, but I don’t want us to turn into a race of destroyers.

In case you were wondering. yes, I always wanted to be an astronaut when I grew up. I sometimes experience childish disappointment when I think about the fact that I will never experience space flight for a multitude of reasons. But I know it’s childish and it’s very fleeting and I celebrate with my whole-heart for those who earn the chance to experience it themselves. And yes- I would absolutely accept a one-way trip to Mars  if I was selected, if I had total confidence in the projects goals. I clearly don’t have that confidence, so I’ve decided not to apply.

I wouldn’t leave Earth behind because I want to abandon humanity, I would because I want to help inspire humanity. I’ve called myself a misanthrope on many occasions because of my pervasive and inconsolable sense of isolation in the world. But the truth is I am in totally and absolutely in love with human kind, so much so that I am overwhelmingly disappointed in our lack of devotion to our true potential (and to my own, if I’m to be perfectly candid).

I love what I believe we could become if we believed it together. I need to know that we can and will become that. That is my perfect knowledge; that human kind has an unlimited future in eternity, because we will someday finally own ourselves and deny natures right to exterminate, as it has or will do to every other species. We will become natures equal. If that is my supreme arrogance, so be it, it’s the only absolute goal of sapient life that make any sense to me. I fully realize this sounds like the most classic hubris of man, to usurp Gods will. But in my mind God is within nature, but also far beyond it. I do not seek to challenge God in any manner. I seek to impress upon God the depth of my gratitude for creation by helping our species become the devoted stewards of it in all its vastness.

So I’ll finish up this semi-coherent rant by saying that I understand and am sorry if I raise anyone’s ire. I’m so committed to human exploration of space that if I read this I might be inclined to think negatively of the poster for the criticism of such an ambitious project. But I feel strongly, so I had to write this, I hope you understand.

Feb 052013
 

It warms my heart to find a human being who has surpassed my own assumptions about intelligent life in the universe and our obligations to it. It’s even nicer to find that human has already found like-minded humans and formed an organization with goals that make perfect sense to me. Looks like I have some catching up to do. A Rational for METI – Alexander L. Zaitsev.

I’ve always found it arrogant to consider that we are the only form of intelligent life in the cosmos given the evidence that:

A) Self-described “intelligent life” exists in at least one known finite space-time.

B) Space-time is infinite.

The SETI Institute has been searching for extraterrestrial signals since 1984 and I have always been highly supportive and interested in their efforts. METI seems to make the assumption that extraterrestrial life does exists and searching for it is less important that taking action to support and encourage intelligent life wherever it arises. Essentially the purpose of METI is to aide and expedite any extraterrestrial SETI that may be as isolated and overwhelmed by the vastness and hostility of the universe as we are.

In my mind METI is the ultimate act of altruism of intelligent life and civilization. The Message to Extraterrestrial Intelligence is essentially the gift of knowledge to another intelligence that “You are not alone.”

METI also argues that isolation of intelligent life can lead to its extinction and so reaching out into the universe to seek mirrors of our our existence is truly the only way to safeguard it.

This all makes absolute and perfect sense to me.

Thank you Mr. Zaitsev. I am humbled and grateful for your ideas. You’re a credit to the species (and I’m finding fewer and fewer opportunities to offer that compliment).

 

Jan 262013
 

I just found out I lost another friend. Brian Charles Folse. I met him in 2000-something when I worked at Franklin Press.

He was the guy that got me started with Linux. I probably wouldn’t ever have gotten off the ground with my first Debian install without him. It was way before the net installs, it was a kernel compiling nightmare and he was totally patient and supportive and I’d have given up without his help. He was a brilliant programmer and a good guy and he was too young for this.

I don’t have a lot to say right now- I’m still pretty upset that he died and that I found out so late.

I’m a very shitty friend and I don’t have that many of them. I never keep in touch with people. I’m just so fucking wrapped up in my own head that I can only be friends with people that are very independent so I don’t worry about them. Because of that I’m pretty distant even from those few people I consider friends. I’m very sorry for that. Anyone who would tolerate me as a friend deserves much better than me as a friend. Fortunately people like Brian have lots of friends besides me.

Sorry Brian. I’m glad I knew you and I called you a friend. I wish we could have worked on building robots or something. I thought it would be great if someday I could start a company with or hire Brian as an engineer and work on something like that. I actually thought that might happen someday.

Thanks for everything Brian. I’ll keep the Folding@Home trilarian team account working for you. Hope that’s something. Goodbye and I hope it’s better where you are.

 

 

Jan 182013
 

With these words this man has summed and totaled my feelings about human existence. I envy and pity this man. His mind was a gift to humanity, and it must have been agony for him to know the powers that would squander his gifts. My life would lack substance were it not for his ideas, the understanding of the elegance of the universe that he helped shape. But were it not for his ideas I might not know the scale of mankind’s will to do harm to himself. What should he have done? What should any of us with a mind do? Should we cherish it alone and hide it from the world so the world cannot misuse it? Should we share it wantonly and absolve ourselves of the responsibility? I don’t know, hell, it’s arrogant of me to ask since my ideas are not profound like his were… anyway… here is what he said.

http://www.aip.org/history/einstein/essay.htm

“How strange is the lot of us mortals! Each of us is here for a brief sojourn; for what purpose he knows not, though he sometimes thinks he senses it. But without deeper reflection one knows from daily life that one exists for other people — first of all for those upon whose smiles and well-being our own happiness is wholly dependent, and then for the many, unknown to us, to whose destinies we are bound by the ties of sympathy. A hundred times every day I remind myself that my inner and outer life are based on the labors of other men, living and dead, and that I must exert myself in order to give in the same measure as I have received and am still receiving…

“I have never looked upon ease and happiness as ends in themselves — this critical basis I call the ideal of a pigsty. The ideals that have lighted my way, and time after time have given me new courage to face life cheerfully, have been Kindness, Beauty, and Truth. Without the sense of kinship with men of like mind, without the occupation with the objective world, the eternally unattainable in the field of art and scientific endeavors, life would have seemed empty to me. The trite objects of human efforts — possessions, outward success, luxury — have always seemed to me contemptible.

“My passionate sense of social justice and social responsibility has always contrasted oddly with my pronounced lack of need for direct contact with other human beings and human communities. I am truly a ‘lone traveler’ and have never belonged to my country, my home, my friends, or even my immediate family, with my whole heart; in the face of all these ties, I have never lost a sense of distance and a need for solitude…”

“My political ideal is democracy. Let every man be respected as an individual and no man idolized. It is an irony of fate that I myself have been the recipient of excessive admiration and reverence from my fellow-beings, through no fault, and no merit, of my own. The cause of this may well be the desire, unattainable for many, to understand the few ideas to which I have with my feeble powers attained through ceaseless struggle. I am quite aware that for any organization to reach its goals, one man must do the thinking and directing and generally bear the responsibility. But the led must not be coerced, they must be able to choose their leader. In my opinion, an autocratic system of coercion soon degenerates; force attracts men of low morality… The really valuable thing in the pageant of human life seems to me not the political state, but the creative, sentient individual, the personality; it alone creates the noble and the sublime, while the herd as such remains dull in thought and dull in feeling.

“This topic brings me to that worst outcrop of herd life, the military system, which I abhor… This plague-spot of civilization ought to be abolished with all possible speed. Heroism on command, senseless violence, and all the loathsome nonsense that goes by the name of patriotism — how passionately I hate them!

“The most beautiful experience we can have is the mysterious. It is the fundamental emotion that stands at the cradle of true art and true science. Whoever does not know it and can no longer wonder, no longer marvel, is as good as dead, and his eyes are dimmed. It was the experience of mystery — even if mixed with fear — that engendered religion. A knowledge of the existence of something we cannot penetrate, our perceptions of the profoundest reason and the most radiant beauty, which only in their most primitive forms are accessible to our minds: it is this knowledge and this emotion that constitute true religiosity. In this sense, and only this sense, I am a deeply religious man… I am satisfied with the mystery of life’s eternity and with a knowledge, a sense, of the marvelous structure of existence — as well as the humble attempt to understand even a tiny portion of the Reason that manifests itself in nature.”

Dec 172012
 

So here’s my review of the Hexbright – Open Source Flashlight

• It’s insanely bright. You really have no idea. Seriously impressive.
• Good and solid, yeah. Perfect fistful of flashlight but still goes in the pocket. It’s not a mace like a big maglight but you would not want to be cranked upside the head with this. You could drop it on a bare foot without fracturing anything, but you’d remember not to do it again.
• Battery life seems good. Haven’t stress tested but no complaints yet.
• Simple, rugged construction. Twist off end pulls all the guts out of the aluminum and you’ve got access to the board, battery and LED, no problem.
• Nice beam! The single LED and lens give a really unexpectedly beautiful spread. A little hot in the center but it is a flashlight…
• Color temperature – 5380K – just shy of daylight. Meter also showed a tiny green spike in high mode but not noticeable with the eye. Easily color corrected with a little gel.
• Programming – easy to get started (but to be fair I’m pretty experienced with Arduino). Just had to load the board file and I was off and running. Loaded a couple of examples and pretty soon I was adding code the factory firmware. This is where having a ‘programmable’ flashlight is really cool. So for instance I didn’t like the fact that I had do cycle from LOW-MED-HIGH to turn the light off. So I added some code to where a long press after LOW or MED will turn the light off. Lots more possibilities here.
• Overalll: It’s an amazing flashlight and it’s open-source! Get one!
Images
Canon EOS 400D
1/4 s | f/4.0 | 28mm | ISO 400 | Daylight (5200K)
OFF | ULTRA-LOW | LOW | MEDIUM | HIGH

Here’s my hack at the firmware. Adds an ‘ULTRA-LOW’ mode, and a ‘DAZZLE’ mode. Also long-press will turn the light off from any mode.

modified hexbright firmware

Dec 072012
 

If you’re a Blender user or are interested in Blender and live in South Louisiana (or around) please take a moment to fill out this survey to help the Baton Rouge Blender User Group expand to support and unite all the Blenderers in the South Louisiana area.

Oct 262012
 

[EDIT] Please check out the newest version of the FX Code (v0.51) with Android Bluetooth Control App and Chrome Control Extension.

This code has been revised and I made a new post about it – please see updated post HERE

[EDIT] If you end up using this code for a project please send me a link/pics/video! I love seeing what people do with this! If you like I’ll post a link to your project on the FastSPI FX – User Coolness post. Also make sure to thank Daniel Garcia (the genius dev of the FastSPI library) on the G+ FastSPI Community.

[EDIT] If you have any requests for certain types of effects I’d be happy to look into it. Just let me know what you’re looking to do and I’ll take a swing.

If you find this code very useful please consider donating a little via paypal. I’m having some ‘financial instabilities’ right now and any little bit would help. And if you need a certain effect coded, a donation would certainly obligate me to get that working for you! Sorry for this, it sort of feels like panhandling and the real credit should go to the library creator, but we do what we have to… Thanks for understanding.

[paypal-donation reference=”FastSPI LED FX Code”]

I’m also grateful for bitcoin donations to: 1K5Yy77ejes2FZrHBG5fns3QAicnwZcduq

fastspijpg

Some LED effects I’ve written for Arduino and FastSPI library.

Mostly written for a circle of LEDs but plenty useful for any configuration.
Code available here… the code

***Here is an update to the FastSPI_2_RC1 – the code

Used WS2811 strip, but have also tested with WS2801.

I’ve only tested this on the duemilanove and nano boards. It’s looking like this does not work on the UNO and I’m not sure about the Leonardo or the new Due.

Several people have indicated problems finding the SerialCommand library – so here’s the version I’m using SerialCommand

Here’s where I found it. Thanks to this guy for the library- Steven Cogswell
http://husks.wordpress.com/2011/05/23/a-minimal-arduino-library-for-processing-serial- commands/

http://youtu.be/Jcs1udKP4rs

 

Aug 262012
 


This is UgBot: The ugliest electronic mess since Superman III.

UgBot technically isn’t a robot, just a remote controlled thing. It started as a test for my next robot project (to be called Dominar Rygel XVI)

I just had to work through a few simple ideas before I started on a more sophisticated platform and this is what I ended up with.

UgBot’s hardware is:
(1) Arduino Nano
(1) Bluetooth TTL Module
(2) Micro Servos (modified to continuous rotation)
(1) Breadboard (sawed in half)
(1) Battery Pack (4)AAA
Poweraide and Coke Caps for wheels
Lots of jumpers

and the software is:
-Arduino sketch with CmdMessenger, Servo, and SoftwareSerial libraries (software serial is so I don’t have to pull the TX/RX pins for debugging. It’s a big help)
-Android app which I basically stole from this guy Eirik Taylor’s project. I changed the UI and the serial commands but the rest is pretty much his code. I’m so lazy I didn’t even change the name so the app is still called BluCar from his project.

I absolve myself of the theft since he admits that he took most of the code from the BlueTooth Chat example in the Android SDK.

Here’s the Android and Arduino Code

Here’s updated android code (w/ multitouch enabled) Code