Tuesday Update
We got the Butterfly's USART working. We are now able to send serial data to and from the Butterfly at 115k baud (the highest rate the XBees will be able to use) with 0% error. This allows us to easily test the ADC by having it spit readings to HyperTerminal. It appears the ADC is fully functional.
We also worked on the pre-amplifier for the ADC. The voltage levels we get out of line level MP3 players and audio jacks seems to range between 0-0.3V. The ADC can read values between 0-3V. So in order to utilize the ADC's full precision, we will need to amplify the input by a gain of about 10, we think.
Friday, February 22, 2008
Thursday, January 31, 2008
Progress!
01-31-08: We've mostly figured out the A2D. ADMUX is used to pick the input channel for the mux (we're not sure what physical pins the channels correspond to yet). ADC stores the converted data. We also got the LCD to display text.
Next time: use BitScope to find which pin we're reading.
Next time: use BitScope to find which pin we're reading.
Tuesday, January 29, 2008
Friday, January 25, 2008
ADC sample code
Here is the site where some ADC code can be found. It's inside the 0.7.2 zip file as ADC.c.
I put the AVR Studio installer (aStudio4b528.exe) on the Memorex flash drive. It's 73Mb and you have to register on their site to download it, so you can use that if you want to save a step.
I put the AVR Studio installer (aStudio4b528.exe) on the Memorex flash drive. It's 73Mb and you have to register on their site to download it, so you can use that if you want to save a step.
Development Kit Order
1x XBee 802.15.4 Starter Kit at $99.00 each = $99.00
Sales tax = $7.67
Shipping = $8.38
Total = $115.05
Total project cost so far is $335.85.
Sales tax = $7.67
Shipping = $8.38
Total = $115.05
Total project cost so far is $335.85.
Breadboard Order
2x 6.5"x3.125" 1360pnt Breadboard at $13.65 each = 27.30
Sales tax = $1.98
Shipping = $7.42
Total = $36.70
Total project cost so far is $220.80.
Sales tax = $1.98
Shipping = $7.42
Total = $36.70
Total project cost so far is $220.80.
Butterfly Order
3x AVR Butterfly at $21.28 each = $63.84
Sales tax = $4.95
Shipping = $2.83
Total = $71.62
Total project cost so far is $184.10.
Sales tax = $4.95
Shipping = $2.83
Total = $71.62
Total project cost so far is $184.10.
Subscribe to:
Posts (Atom)