28
Feb 10Some DAC fun

My sensor peripheral interface design lab has us working with a 4 channel DAC. The requirements are to make a sine and triangle wave- but since those are kinda boring I thought id do some experimentation in XY mode

My sensor peripheral interface design lab has us working with a 4 channel DAC. The requirements are to make a sine and triangle wave- but since those are kinda boring I thought id do some experimentation in XY mode
-Mar 30 leave for OSAKA
-Upgrade to lithium packs?
-Hottub Monitor
-Interactive ‘rave’ visualization
-Study!
[EDIT: ZOMG. rotation matrices are awesome. wish I understood those when I first started this... ]
[EDIT 2: Google released an Android app that does much of this based on your phones accelerometer/gps. i feel discouraged. best to just move on i suppose.]
My current Microcontroller project is a data logger that keeps track of position, velocity, and acceleration of a motorcycle. It will use this information to generate a visualization of the ride , presenting the raw figures , as well as lean angle, incline, and engine rpm which can be extrapolated as follows:

Calculation of the incline angle

where I am now:
I have the uC hardware together and logging data (pictured below) the next step is mounting it to my bike and reving the engine to collect data so that I can see if my ideas on RPM determination are valid. Schools been busy lately, so this may have to wait.. but stay posted!
Motorcycle Profiler Hardware

Calculation of the lean angle
Inspired by our hosting of the 2010 Fermi Cup (A graduate Electrical&Computer Engineering vs Materials Engineering keg off) I decided to throw together an appropriately geeky microcontrollered beerbong installation at the bottom of our staircase
This was a good first way to break in my shiny new mbed microcontroller, as well as to continue flirtations with the Processing language.
Pics Below:
In LOVE with all my courses – how it should be.
ECE 153b – Sensor Peripheral Interface/Design
More on hardware description languages; field-programmable logic and ASIC design techniques. Bus interfacing. Mixed-signal techniques: A/D and D/A converter interfaces; video and audio signal acquisition, processing and generation, communication and network interfaces, basic motor control (PID).
Currently working on a circuit/program which acquires an signal via ADC, and replays it over DAC. Full Lab Report coming soon!
ECE 181C / ME 170C – Intro to Robot Control
Overview of robot control technology from open-loop manipulators and sensing systems,
to single-joint servovalves and servomotors, to integrated adaptive force and position
control using feedback from machine vision and touch sensing systems. Design emphasis
on accurate tracking accomplished with minimal algorithm complexity.
21.7 second Wall Following bot:

RoboRat Solo Time Trials Tomorrow!
RoboRat Final Competition W2010
ECE 130B – Discrete Time Signal Processing
Analysis of discrete- and continuous-time linear systems in the time and frequency
domains. Superposition and convolution. Bilateral and unilateral Laplace and Z
transforms. Fourier series, Fourier transforms, discrete Fourier transforms. Filtering,
modulation, and sampling. — Usefull Stuff!
MAT 259 – Information Visualization
Exploration the visual organization of information. Lectures, readings and technical demos will focus on a range of conceptual models of data visual mapping as implemented in various disciplines, artistic, statistical and scientific, that are used to represent information visually.
-2D Spatial Visualization link
-3D Interactive Visualization
Coming Soon!
Continue to Chuglet Project
Classes kinda boring this quarter.
not inspiring.
Continue to W10
So as you know, during the 2008-2009 school year I chaired the UCSB IEEE club.
Through an interesting chain of events, I was asked, through the IEEE club, to direct a 2 unit lower division course in µCs.
I had just learned about the Arduino platform, and , although basic, seemed to be ideal for an freshman introductory microcontroller course.
Course Syllabus/ Outline shown below:
Your browser does not support iframes.
Your browser does not support iframes.
Some of the Final Project posters – also posted on the 4th floor, HFH:



Continue to F09
- Physics 15 lab – FerroFluid Fountain!

FerroFluid Fountain! from Z R on Vimeo.
Continue to ECE94R
I could probably use that title for a number of things… however here I am of course talking about Voltage
Short story: Broken down $200 craigslisted GS450 becomes [after several months of of grunting, grinding, welding, searching, researching, spending, assembling, and spraypainting,] my pride and joy 72V battery powered Electric Death Machine!
For the technically interested, the drivetrian consists of a D&D Systems separately excited motor powered by a CAN programmable Sevcon controller and 72v, 35Ah of sealed lead acid. Charging is accomplished with 6 individual four stage 7amp constant current “smart” chargers, and a Kelly DC-DC converter is used to provide a 12v signal to the ‘standard’ motorcycle electronics. Regenerative braking is automatically activated with release of the throttle, and can be modulated with a second lever located on the left handlebar (think engine braking and clutch lever on an ICE bike).
The project was ‘finished’ back in April ’09, in time to be ridden to and featured in Santa Barbara’s Green Car Show, However after riding on and off for several months, the SLA batteries spouted their last electrons and are now sitting at an uncomfortable -5v.. It is well known that SLA batteries SUCK anyways (and actually ended up being my performance bottleneck), so I am saving up and hoping to swap in a Lithium pack sometime hopefully this year. Current lithium packs have greater energy density, are lighter, have better discharge characteristics and longer lifespans than sealed lead acid, only problem is they are (as of this writing) ~4x the price (a pack and BMS system for my motorcycle would run around $3k) … A LiFePO4 pack would mean significant gains in terms maximum range and acceleration.
I have most of the parts laying around for an embedded security system, which, initially will require fingerprint authentication to activate ignition (O.K. its not really an ignition, its a primary contactor…) , and eventually will also include GPS and GSM/GPRS communication so that the bike’s location can be queried via cell phone, or alerts can be sent in the event of invalid activation attempts. However I have found my desire to actually implement this diminished as, until I replace the batteries, the bike is unrideable anyways..
More pretty Pictures:
Also be sure to check out http://www.elmoto.net/ , probably the best electric motorcycle resource out there.