Pdxbot.07 recap and my 3 day drawing arm.

Posted by & filed under Dorkbot.

There is something perverse about creating an event and then winning it.
It seems as thought Thomas, Jason, and I along with a few other dorks put in more hours in meetings, creating art and preparing for pdxbot.07 than pretty much any of our personal projects let alone anything that we could have brought to it.

And what have you done for the revolution today?

Posted by & filed under Dorkbot.

Its one am and though i studied and built circuit diagrams and layed out the parts and I went to work and communicated and wrote and coded but no arms have moved and while joints have been soldered no sound or movement has come out.

In the morning the list of shit I havent gotten done goes on.

Sorry emilliano.
/me sings in my worthless spanish

“Yo dice nada nada nada

manyana en la manyana

nada nada nada hoy!”

But what if it dont work?

Posted by & filed under Dorkbot.

A couple of weeks ago I took one of the projects that came to the meetings last year using the arduino called the bzztbomb. I am trying to take this Arduino project to the next level in two ways.

# to create a board which would cleanly amplify the sound from the arduino board as an above board add on.
# To create a low cost board which could be used to for the finished product.

The schematic for the V-1 in its current form is at http://www.digithink.com/embedded/hardware/arduinosound/rev1/noisinout_reva.pdf
The eagle files are at

http://www.digithink.com/embedded/hardware/arduinosound/rev1/noisinoutdip_a.sch
and
http://www.digithink.com/embedded/hardware/arduinosound/rev1/noisinoutdip_a.brd

http://dorkbotpdx.org/files/images/postapril.preview.jpg

When I finished my prototype I was able to get stereo output by modifying the example sketchbook called play_melody_faded_volume but found that the sound out of the pwm volume control sounded aweful.

I started looking at filtering the output to get smooth outputs. One of the missing pieces of the documentation of the arduino AnalogWrite is the duty cycle of the timer. A web search had the timer running at everything from 400 hz to 10-32khz. Once I finally put the sketch on a scope I found that the pwm duty cycle is 2ms long.

500hz.

The sound being modulated is in the range between 261(c) and 523(C) hz. which makes 500hz a very unuseful value.

In otherwords the model included in the examples doesdnt work with ardueno – 0007.

20 days to create an artbot.

Posted by & filed under Dorkbot.

My basic strategy is to pull from the parts that I have been building for my maze solving bot. I feel like I have spent more time creating the event and running from meeting to meeting than I have on building the bot. The nearest event like this is at the RoboGames in SF. At least with my maze solving bot I can go to robothon.

The upside is that this will be the first annual. And there should be a next year.

http://www.pdxbot.org/cms/uploads/media/Artbot_Rules.pdf

January 07 Release (PPC and Intel)

Posted by & filed under osx-avr.

Go to sourceforge download area AVRGCC20070131 contains patched versions of avr-gcc-4.1.1 avr-binutils-2.17 and libc-1.4.5 gdb-6.5 This includes the new_devices patches posted to the freebsd ports collection as of 01JAN07. AvrDude5.3.1 contains avrdude 5.3.1 plus the osxintel hack LibUsb.pkg contains the library required by avrdude to talk to the Atmel AVR-ISP MKII AvrA1.0.3 contains a version… Read more »

October Release (PPC – Intel)

Posted by & filed under osx-avr.

Go to sourceforge download area This release contains: avr-gcc-3.4.6 avr-binutils-2.17 and avr-libc 1.4.5 avrdude 5.2. These versions are all patched using the patches released into the FreeBSD ports collection as of october first. To keep the devices in sync I am also releasing avra 1.03 which adds the following to avra 1.02 AT90PWM2 AT90PWM3 AT90USB1286… Read more »

Packaging Avr Tool Chain

Posted by & filed under osx-avr.

General outline for creating AVR development environment for OSX. Since the gcc chain serves a much greater community than just the avr and its stability is critical to the stability of the entire open software community the avr community has elected to maintain patches. The avr-binutils, avr-gcc and patches used are all to be found… Read more »

AvrA

Posted by & filed under osx-avr.

AvrA The assembler that comes with the GCC tool chain is generalized against itself and therefor can not be used to assemble code written for atmels native assembler. When working with new processors this is problematic since the code samples are often the best points of reference. There is good news and bad news here…. Read more »

Atmel (why avr)

Posted by & filed under osx-avr.

Atmel (www.atmel.com) I came across atmel because they made an inexpensive flash based 8051 product which could be programmed in circuit. It had been about 10 years since I had done anything with microcontrollers but I knew the intel 48/51 family pretty well. I had built a bunch of drawing robots around the chips when… Read more »

August Release

Posted by & filed under osx-avr.

Download Package (PPC) It contains a meta package containing the following: * avr-gcc 3.4.5 (+ may 06 newdevices patch) * avr-binutils (+ may 06 newdevices patch) * libc 1.4.4 * avrdude 5.1 * avra 1.0.2 * mfile * Xcode templates