Quick update from the iPod

, 1 Comment »

Latest news from the iPod (love it by the way) while watching comedy central (Brian Posehn).

So on the electronics front that’s going well. The ADC got wires up a treat - ended up using the builtin pwm on the rabbit to drive the clk pin and used the 8 port D pins to read in a byte at once. Numbers came out - written to stdout once a second - but it’s made it pretty clear the actual integration will need to be on wire wrapped perfboard. It’s too easy to jar a wire loose and too much hassle to figure out where to stick it when that happens.

Sooooo… Ah! Also contributed a logger implementation to castle project which directs output to the system.diagnostics.tracesource. So that’s nice to have built in when the next bits hit the streets.

Going to the Dells this weekend.

Electronics: The Adventure Begins

, , No Comments »

Finally got started doing some real work on the electronics project I’m taking part of with my friend Kevin. A number of parts were picked up today at ABC Electronics and a few a/d converter chips were picked up at AEI Electronics. I have to say AEI/Acme isn’t what it used to be when it was on Washington… The wall of IC chips was nowhere to be seen - it’s become more of a high-end home audio gear shop or something.

In any case! First thing first was wiring up the rabbit so it can be worked on. That meant soldering a 50 pin header on the development board in the array of holes provided. This is essentially a direct connection to all of the lines coming out of the rabbitcore daughter board itself.

Then I was looking at the main prototyping area. A lot of what I’m going to be doing a very work-in-progress and I didn’t want to commit to a particular chipset yet, so I decided to leave the developer board and jump onto a breadboard.

840

The breadboard had a convenient locking edge normally used to connect multiple boards together. In this case I used it as a “stand” for the rabbit development board.

Next is the issue of getting lines down to the board. I have some wire-wrapping sockets used to prototype on perf-board, so I stuck one in from the bottom up. I was originally thinking of doing point to point wiring of lines as I needed them, but it occurred to me it would be more organized and useful in the long term to wire the lines from the header to the socket in a one-for-one pattern.

844

Ain’t that pretty? This way the silkscreen printing that labels the rabbit lines on the header both sides of the board can be used when grabbing the same lines from the socket.

So on the “bottom” of the dev board there’s a socket which is the right size to jam standard gauge solid wire to drop connections down to the breadboard.

847

If look at the large size on this one you’ll see this socket has brought forward PA0-PA7 and PB0-PB7. Inside the micro those are port A and B you can read/write as entire bytes. To test the work so far I’ve put some LEDs and flashed a program which wrote different byte values to port A, which came through just great once I realized I had the LEDs in backwards. (Sort of rusty :).)

The chip you see punched down there is the analog to digital converter. That’s what all those pins are going to be needed for because it’s a monster for i/o lines - it needs 4 lines to select input and 8 lines to read data back, and handful of others to latch, clock, and signal. Bit of a pain really - we’ll probably switch to a serial ADC at some point - but this one has some advantages right now. It’s easy to work with because it’s the old-school 10 pins per inch, it’s got 16 analog lines in which is huge, and it was a part the store had on hand.

So yeah. Hook that bad boy up next.

New toy in the mail

, 2 Comments »

rabbitcore 4400WYay! A development kit for the rabbitcore microprocessor board showed up today! Usb connection to interactive debugger and editor. Tcp wifi stack. All out-of-the-box with a prototyping board. The thing is the size of a credit card (1.84” × 2.85” × 0.50”) and runs on 3.3v. Amazing what people out there in the world are accomplishing.

Castle Project contribution

, , , 3 Comments »

I mentioned a little earlier I was going to be contributing to the castle project. That’s done now - it’s a facility which can be added to the Inversion of Control Container to integrate the Workflow Foundation into your castle based application. I know it’s sort of a niche need. Just like when you’re developing rails and mvc apps you should always go for the least code possible to implement a feature. (But no less.)

However there may be times where you’re doing significant after-page processing, or when you’re interacting with a long-running living workflow. In those cases the various calls into the web app are touching on an instance of a complex activity to see it’s progress or status, provide additional information as you go, or have different people of different roles moving things along.

The Workflow Foundation is one of the ways you can skin that cat. Depending on the specifics of the situation (and how you use it) WF can be a pretty attractive option. Of course something like using active record to manage activity state relationally is also perfectly fine. As always though it’s something you want to take a look to see if it makes sense or not for your use case.

Test driven development

, , , , No Comments »

TDDThis is a post about what by now is a very old subject. At the place where I work test driven development was first introduced by some colleagues of mine who were also some of the first advocates at the office of the scrum methodologies. Doug Swisher and John Murphy if memory serves, though I apologize in advance if that’s not correct.

I mention this now because I was reminded again about how it has permeated the development culture. Microsoft has also brought many of these practices in house in different areas and it shows. For example they’re working with a guy making Moonlight, and open source implementation of Silverlight for Linux, by providing documentation and the code for their full unit test suite. The MVC demo from Scott Hanselman also demonstrated unit testing and advocated some practices such as using a mock library. If you catch his presentation online at five minutes into it he’s showing the new MVC project template which includes a test library option selected by default, as well as an “I suck” option (his words) to omit any unit test library in your new solution.

He’s funny. Ah! I see he’s looking into various inversion of control containers. That’s a cool topic, but not what I’m talking about at the moment.

TDD is one of those things that’s a good habit, and one to constantly strive to reinforce, but one that’s also very easy to abandon when your project enters the grind to the finish line.

It’s something I’m thinking about because I’ve also been working on a small contribution to the open source castle project. I’m a huge fan of that group’s work and I’d like to give a little something back. But since it’s going out to that community I want the code to make a good impression for me - so I’ve been especially careful trying to follow conventions including providing a nunit lib.

I’ll post something more about that once it’s committed. How exciting.

Happy to be home again

, No Comments »

Everything’s back to normal again finally. I’m not a big travel fan.

Here’s a simply awful picture from a blackberry of Ballmer from where I was sitting.

Ballmer

He’s really energetic. It was a great interview.

Quick post before the last session

, , , No Comments »

Final session of the final day coming up. Definite signs of fatigue showing in the crowd, and already not looking forward to the taxi airport dash coming up.

That said, the content is still compelling and interesting today as it was yesterday. Loved the chance to talk to some of the engineers building the things I use to build things. Met interesting people during the breaks and at the events in the evenings.

The possibilities stretching outwards are endless and exciting, as always, and seeing the collection of vision and potential from the presenters and attendees is all very energizing. It’s a shame there are only so many hours in the day and only so many things you can accomplish. I think I’ll have to give up on sleep for a while to explore the things I’ve seen the past three days. :)

As always no time for details on the road, but I believe you can expect the posts to come to be more web-dev for a while.

Or in Ballmer’s words, Web developers! Web developers! Web Developers!

Mix08 continues

, , 2 Comments »

Just a quick post before breakfast the second day. Sessions attended on the first day included:

  • a panel about the next face of the web from a panel of excellent user experience thought leaders from various companies and consulting firms
  • a technical breakout session of a firm working with myspace to provide restful api capabilities based on wcf technologies, and
  • another very remarkable panel about how the business opportunities and realitites play out in the web 2.0 world and beyond

The panel about business was particularly interesting, with the ceos of Jacked and Seesmic providing a web 2.0 startup perspective and a product manager Tim Kendall of facebook adding the perspective of a company riding the huge wave of participation they enjoy.

Personally for me the first day has generated a lot of excitement. Much of the information being presented is in the same type of business and technology space I occupy in my career, and it’s a wonderful chance to see what people who have done things right have to say. Today will be more of a technical focus for me, returning to ajax on asp.net and developing with the new mvc tools.

I also won $13.50 after dinner last night. I’m not counting the $20 I lost earlier, so as far as the slots go I’m going to say I’m ahead.

But as always, for now, no time! I have to go eat!

Mix08 conference totally wired

No Comments »

Other places to follow the conference live:

http://twitter.com/mix08

http://flickr.com/photos/tags/mix08

Mix08 Day 1

, , , No Comments »

At MIX08 today, Las Vegas, and it’s in the lunch break after the keynote speach.

Ray Ozzie and Scott Guthrie spoke a great deal about vision and direction of where some of the tools will come together this year. Something they mentioned is it can seem like the individual parts can seem random as they occur and it was a good chance for them to reveal how it comes together to create a powerful set of potentials.

Silverlight is a key focus of course, even more emphasized than I was expecting, but some of the develepment and creative tooling are much nicer and more powerful than I was aware of. Definitely something to look into.

Silverlight 2 will be coming out with a functionally contained clr engine running ironpython, ironrube, javascript, and csharp within - and it’s targetting mac, windows, linux, and mobile. So it’s absolutely something to take seriously with a huge number of daily downloads that’s ramping up.

I won’t repeat the list of guest speakers, and you can watch the keynote for yourself, but they have some huge names invested to a greater or lesser extent. Nokia for example will have silverlight mobile on their devices, doubleclick will be supporting the technology as an advertising media, aol will also be using silverlight for some aspects of their site interactivity (email at least).

But I digress! Silverlight was not the main focus of the keynote - rather it was the connectedness that needs to be enabled in the future. Connecting management of applications, information, and media. Personal information and enterprise. I won’t attempt to reiterate here in a single paragraph, again more to come when time permits.

Design by j david macor.com.Original WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in