Jump to content
43oh

simpleavr

Members
  • Content Count

    725
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by simpleavr

  1. Welcome xD, you remind me of a failed memory card format,
  2. perfect timing. just wrapping up a launchpad project. i do need to clean up the code though. is there a deadline for this?
  3. i went to 9600 at 8mhz. haven't tried 9600 at 16mhz, need some adjustment to the timer_a interrupt timing to get it work properly. that's about the limit (by the launchpad usb-uart 3410 circuitry). and with a ca-42 cable (pl2303 based) i am able to do 57600bps.
  4. interesting read, i am working on a similar project. i am using a hoperf rfm12b module ($6) instead of the bluesmirf and get decent results. the comparison of the G2231 w/ the tiny24 is based on similar technical spec. i.e. pin count, memory size. but the tiny24 is not that popular, just google "attiny2313 projects" and "attiny24 projects" and u can see. a more real world comparison would be w/ the tiny2313 where most avr fans are using. i would say the G2231 have my liking, mainly on being 16bit and inexpensive. and adopting the launchpad from avr development is effortless to me (gues
  5. i guess the originating country play a role in the FedEx charge. my samples were all shipped from texas (no charge) and the EZ430s came from somewhere in europe (should mentioned i ordered two). the invoice also stated that the product is worth $40 (i had to also paid a few dollars on tax). i read that FedEx usually charge $20 for value of around $50 and more if it's over. but they won't charge a penny if the shipment is FedEx "Express".
  6. my UK friend, what was your experience w/ FedEX. I also got the EZ430 w/ coupon that brought the price to $0.00 (w/ free shipping from new eStore), but FedEx in Canada decided to charge me custom clearance fee of $20.00. and that's the cost for the device itself. and FedEx does this selectively, i order free samples and did not get charged. now i will order only from newark canada for ti items as i can predict the cost (usually just $12.00 shipping).
  7. very cool! now thats great pratical physics demostrated. i wonder if it can be made into a bike intercomm, that would be a great application as wind noise would cut out normal intercomm usage. i wish we still have radioshack in canada (they got brought and now became "the source"), looking at all the great deals mentioned here.
  8. i think you had too many variables to your problem here. 1. is your ttl level shifter reliable at launchpad's logic level? 2. may be typos / timing issues in your source code? 3. pc side serial drivers good? 4. bad cable? (i had replaced the stock launchpad usb cable) i would suggest you go back and start clean w/ basic code that are tried by others. you may want to start by short circuit the launchpad TX RX jumpers. I.e. remove both jumpers and on the emulator side, tied them together. i.e. remove one jumper block and turn the other 90 degrees and short them. you may then u
  9. @doc i am no master, just happened to "need" to use all io pins on my clock project and thus more familiar w/ them. everyone has their area of expertises. i am learning a great lot from posts here. especially lately on the uart and spi area. people will come across all these topics and could use the info we shared here.
  10. actually i think it is the other way around, to use the XIN XOUT as IOs, i have to set them to 0s i.e. P2SEL &= ~(BIT6|BIT7); it is more consistent this way, all P1 pins have P1SEL bit low when they are digital IOs. i checked the datasheet p.43 and p.44 to confirm this, the tables also implies that u cannot use P2.7 as IO when P2.6 is timer output. i observed this as i always sets P2SEL=0x00; to make them available as IO. i would guess that at POR value of P2SEL is set to BIT6+BIT7 (aux function, but default setting) and u have to reset them (turn off) to enable IO.
  11. simpleavr

    i2c Explorer

    since u mentioned that u are using some of joby's code. just a heads-up, if u ever need to run w/ 8Mhz at 9600+, u will start to lose bit6 and bit7 for every byte u send. inside uart.c timer interrupt handler the add offset (ie. CCR0 += BIT_TIME) need to be moved to top as the 1st statement to run in the handler. otherwise after shifting out the 1st 6 bits, the time will be off enough for u to loss the last 1 or 2 bits. it is because the "if (!isReceiving)" check takes a few cycles to run. #pragma vector=TIMERA0_VECTOR __interrupt void Timer_A(void) { if(!isReceiving)
  12. @GeekDoc when they indicated it's shipped, u should get it within two days. I got my 2 ez430 dongles just yesterday, my other 2 LPs is "ready to ship" and ETA at 25th also.
  13. I tried all day yesterday, always busy. tried again last night, server reported error (not enough disk space to load some module). tried again this morning, found out coupon expired. but i found out they had shipped my 2 ez430 dongle (free w/ coupon i got from this forum, plus free shipping).
  14. for those who are still interested in this project. i got a source code request from an instructable member. and i had updated my project page w/ source code. the source code has the easter egg stripped out though, in case there is still people who want to investigate the hidden egg. http://www.simpleavr.com/msp430-projects/3p4w-clock the code is kind of not tidy / structured, as most optimization strategy i used does not allow for that. any comments / critics are welcomed.
  15. Welcome timotet. are those avr tinys on your picture / icon? or just 555 timers
  16. Welcome, I see people are getting their LaunchPads now.
  17. i had tried eagle, than later on mostly gSchem/PCB as it's popular in a linux setup. more recently i do things w/ Fritzing http://fritzing.org/ (still alpha) as it's breadboard friendly and simple. you can't do complex project w/ it though. my project has schematic / breadboard layouts done in Fritzing. (you can also generate double sized PCBs.
  18. there ain't much subroutines in the code, this was not intended to obfuscate the code and hide the egg, it's just more efficient in the 2k program space in do everything in a big main() the seg2port() translates digits to port output values for display, which has nothing to do w/ the egg. another hint for those who are persistence. the egg function require the use of timera comparor in output pin toggle mode. i.e. look for CCTL0 = OUTMOD_4 (in assembly, machine code) may be you could already guess what the egg function does (and how to activate / connect it).
  19. Welcome, i see that you showcase your shield boards w/ red mini breadboard. They do match nicely w/ the LaunchPad.
  20. the easter egg was just a fun way to occupied excessive flash spaces, we all like challenges, don't we? i've updated the page to introduce different approaches one can use to locate the egg. anyway the code will be released later regardless. the code base was from my older (but not published) avr 3PNW clock. i had so much difficulty to code in the tiny2313's 2K code space back then. and now when i tried it on the MSP430 16bit, I got room for temperature adc reads and still more room to put in a sizable easter egg. very impressive little MCU it is, the 430G2231. can't wait to play w/ th
  21. Hi All, My breadboard video got picked up by bluehash and featured here and i was invited to join the forum. All good reads here I found out. Looking forward to learn from you all.
×
×
  • Create New...