Sunday, June 10, 2012

JAPAN!


JAPAN! woot. so we finally got here. We are staying in Kyoto, next door to the imperial palace and the Imadegawa campus of Doshisha University. Our confrence is on the Muromachi campus, just down the road. We have a room in the Nashinoki inn, a little bed and breakfast run by a super old lady who speaks just a little english and her son (?) who speaks a lot more.
Nashiniki Inn!
The front door. You take your shoes off at the door, and swap them for slippers. Then you take your slippers off at your  room. you also get a special pair of bathroom slippers.

Our room has a sweet low table, some futons and a place to hang some clothes. Thats about it. The floors are  Tatami mat's, so no shoes allowed.
futon beds, with buckwheat husk pillows, which turn out to be really comfortable.
the outside of our room. lots of books i cant read on the shelf there.
as soon as we got here, we were taken upstairs and the old lady that
runs the place served us tea and rice cakes while explaining
the rules.
theres a 4-foot tall or so door onto a little
balcony outside our room. It looks over a
small garden, and at some other peoples
homes. the garden has a japanese maple in
it! which is sweet because we are in japan.
we had a traditional japanese breakfast...
everything was really nicely laid out, and all the hot dishes had neat little lids that fit perfectly and turned into sauce dishes when you took them off. the middle tray has miso soup, rice, dried seaweed, and tea on it.
the top two bowls have assorted cooked and or pickled veggies in them. most of it i have no idea what it was. the orange stuff in the upper left is probably the chewiest and crunchiest thing i've eaten, which is odd as it obviously started its life as a vegetable. the fried fish in the middle was remarkably good and not a bit fishy. lower right is a tomato filled with egg and peppers. i tried it but its a bit too much runny egg for me.
nom nom nom. Also we met an australian who lives here. This friday we should be drinking with him, which should be interesting. Lots of other cool stuff but im tired so ill post tomorrow.

Monday, November 21, 2011

A lower power LED blinker

There have been a number of changes to this circuit since i started, and it looks like i should really re-design my LED blinking circuitry before going much further.The biggest change was switching from two 1.3V battery cells in series, for a system voltage of 2.6V, to one or two batteries in parallel, giving a system voltage of 1.3V or so. To reach a charging voltage of 2.6V i was going to up-convert my coil voltage to 5V with a boost converter, and use that to charge the batteries. Ive since changed all of that, and now charge my batteries directly from the coils at 1.3V. I still have a boost converter after the batteries, as all of my LED drive circuitry was designed for 5V operation.

What i'm hopping to do is remove the boost altogether, and just run everything off of a single cell voltage of 1.3V.  This is quite do-able, but will mean a re-design of the LED circuitry. Additionally, new parts need to be found that can operate with a 1V supply rail.

LTSpice simulation for my new oscillator
The first part to replace is the 555 Timer that i'm using as an oscillator. Its hard to find a version of this chip that can operate at such a low voltage. Additionally, i don't need all the capabilities of a 555, i just need an astable circuit. One of the simpleness ways to do this is with a Relaxation Oscillator, built using a comparator or an op-amp. Since i only have a single supply rail my circuit is slightly different than some. Ive basically just added a voltage divider (R1 and R2) to re-zero the input so that everything works as expected. This seems to work fine... so ill use it. The benefit here is that the MAX4289 op-amp that i'm using can run off of a 1V supply, while the 555 i was using needed 3V or so. Additionally, its much simpler.

Oscillator output, with the load varied between 100kOhms and 1kOhms
I tested the designed oscillator with a few loads, just to make sure that I wont have to add a buffer stage to its output. It looks like as I swept the load between 100kOhms and 1kOhms (13uA to 1.3mA) the oscillation frequency only changed slightly. This is OK, so ill just use the circuit as-is.

The rest of my logic (to make the LED's blink in two different patterns) can be slightly simplified, but ill use basically the same chips. Currently I'm using the NC7S family, which needs at least 3V supply voltage, so ill just switch to the NC7SP family of chips, which can run off of 0.9V. The revised schematic looks something like this,
New Schematic using 1V logic.
Here, the boost converter just drives the LED's, while everything else is 1V logic. To deal with this, i may also need to change the LED string switches (U7 and U9), so I'm ordering some low voltage MOSFET's just in case i need to replace the BJT's I'm using now.

I went ahead and modified the old layout as well, here is an updated version.
New layout to go with the new schematic.
Ive made a few important changes here:

  • There is only a single battery now, so the majority of the layout sits on top of this. This is about as small as this design will get as long as I'm using a AAA battery. 
  • The controlling switches have been moved to the LED board, so they will still be accessible if i decide to put the battery in the seat post as I've been planning.
  • Finally, the LED board itself has a new shape. I measured the back of my current bike seat, and if everything goes well this new shape should fit nicely between the rails at the back of the seat.

Thats about it. Ill send for the new board today and order the parts in the next few days. If all goes well i should get the new boards back next Monday or so.