Monday, July 30, 2012

Wired up.

Logger wired up with the addon board. This was a quick setup with a button board, sensor board(cds connected) and just a third wired servo wire connector. I also decided to use jst power leads for the battery adapter harness(was tired of the long leads for the original connector). This is connected to an xbee for transferring the data wirelessly, and of course an LP for the programming.
The space taken by the program is currently just under 3k and I have a bit more to add...This is a bit of a concern and I'm considering using a 2453 for the last board as it'll double the amount of program space I have available. I'd prefer not to do this as I think the 4k limit I initially wanted to keep the prog within is still within reach.

Currently the updated code adds a simple header writer function that I've implemented on the single channel recording and another test mode that is suppose to record to 3 channels, though running into some difficulty.  For some reason A.0 only reads as 1024, even when connected to ground....When I figure this issue out, I'll add a blurb to this post describing the findings.

Saturday, July 28, 2012

ADC input test.


First run of the ADC10 with a simple light meter(Cds) with the results as expected. The light sensor was placed facing my computer monitor prior to my going to bed(just past 4am). So the graph shows the monitor running for a short period of time before going to a black screensaver, then eventually going to standby. This next transitions to the increase in light from the morning sun peaking through the window. The last part around the 50k mark is when I moved it closer to the window which pretty much pegged the level
Current setting of the sref is as follows( VR+ = VCC and VR- = VSS) though I may go with (VR+ = VREF+ and VR- = VSS) using 2.5v refgen to expand the range. I'm also down converting the data to 8bit values instead of using the 10bit values for testing purposes. I plan to have this as an option for the user to be able to select between. As I have a few updates that I'll be doing to the code, the current sources have not been updated yet.


This is a shot of the add-on board prior to being populated. The current setup that I'm using has a xbee and light sensor connected to ADC0. Pics to come soon.

Tuesday, July 24, 2012

MSP430+RFID

LaunchPad + RFID Reader. 
This is one of my older projects and something that I figured would be interesting to work on. This used the G2211 proc with a loop that waited for serial data before comparing the input key with some keys that were stored in an array. It worked like a charm and fit in about 600 bytes of code(when not optimized). This includes a set of RFID card data(keys) for testing. This was not something I had actually planned on working on but due to the serial code giving me some headaches, I figured I'd try something simple first. I  put the Parallax RFID reader  put to some use.


Update: Posting source code in git.

Friday, July 20, 2012

4 hour data collection.

Initial runs proved I had some logic to fix up, but after a day of more testing, I was able to get a stable though short recording period of the full span of the chip (65536 bytes). This graph shows two days temps after arriving to work. The high initial temp was due to the device being in my pocket and starting it shortly after arriving. This shows fairly consistent temps throughout the day so we know our env is at a nice cool temp.


The next milestones are related to the timing intervals and as soon as I build a second setup, I'll start testing longer periods of time in the day range, then week range. To make my efforts easier I've been using another chip(2211 and 2231 that came with the LP boards) so that I can do the timing tests and not reflash the chip over and over with the growing code footprint. After I've come up with some good timing functions I'll move them over to the main codebase and integrate them into the project. I'm also tempted to order more boards as these are working out so well, though I'm also considering some changes.Will have to consider it over the weekend.

Sunday, July 15, 2012

Graph data.

This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

Source code is now in a git repo: https://github.com/voodoofish/Logger430

Friday, July 13, 2012

DataLogger

I received the datalogger board today(July 3rd 2012) and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a standard 3 pin configuration.

Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far.  I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).




See the 43oh project page for more info.






Thursday, July 12, 2012

MAX3100 breakout board

The first run of my Max3100(Maxim IC) breakout board with a couple of different transceivers connected and a closeup of the populated board. I've found a couple of issues with this board that need to be corrected(this is what happens when you try to rush something).

 The errors were correctable but they also require a second run...This should give me something to work with at the moment though and give me some ideas on how to improve on this current design. 
 Currently this board allows you to connect a UM96(LN?), Xbee explorer board and bluesmirf bluetooth adapter. All of these devices are currently sold by sparkfun.com. This board actually allows you to connect anything that has a rx/tx serial signal to be connected, you just have to make sure you get the correct pins and you are set.
 This was designed with the MSP430 launchpad in mind and for procs that have SPI interfaces. Some specs on the chip that were useful: 8 word fifo buffer, interrupt with 4 maskable sources, hw handshake control lines(broken out though not ideally placed) and nice voltage range(2.7-5.5v)