Jump to content
43oh

touch

Members
  • Content Count

    107
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by touch

  1. I too am addicted to buying interesting stuff I see. I recently purchased some stuff from sureelectronics.net, they have some really good deals on component assortments, also picked up some graphics LCD's for 2.40$ each...unbeatable IMO, shipping is kinda expensive, but was next day for 30$ on a $100 order.
  2. Could you post the code you used? I tried something similar, but I gave up due to the limited RAM/Flash.
  3. You're exactly right, there was a tiny short... I don't know why I didn't think of that. I had etched some breakout boards (these are SOIC16 chips), there was a hairline piece of unetched copper connecting the two traces. Thanks!
  4. ah, I forgot it was testing the same way with the display disconnected... So it cant be a display miswiring.
  5. I tried a second chip thinking I had a faulty chip, same exact problems. Would a miss-wiring of the 7 segment cause this? If you put LT low, it's supposed to light all the Segments and that works fine, so I doubt its wired incorrectly.
  6. Hi all, I picked up some CD74HC4511 binary to decimal converters to use with my 7 segment displays, however I'm having some issues with them. The problem I'm having is some decimals fail to fully display, for example: I'm sending 0100 (d3 low, d2 high, d1 low, d1 low), that should display a 4, however the G segment on my display is not lighting up, when probing the G LED's pin I'm getting 1.8v, I'm also getting 1.8v when I probe the F pin, pins D and E are 0v as expected, pins F, B and C are 3.5v as expected. Similar things are happening when trying to display the decimal 6, al
  7. Zigbee/Xbee radios are really nice but way too pricey for anything I do. I guess I'll try my hand at porting over VirutalWire, seems people have really good results with it combined with these cheap modules. Thanks for the link to sparkfun, I found this to be very helpfull: http://winavr.scienceprog.com/example-a ... llers.html the RFM12B and RFM22B both look much nicer, wish I would have picked up them instead.
  8. I created some similar code for some of my projects. I keep meaning to put it together into a useful package and try to do something with the ADC, so we can have AnalogRead(), but keep forgetting. However, I do have some reservations about trying to make things "Arduino plug and play compatible", I see no point in the setup and loop functions as they can be done in main() so easily, is stopping the watchdog that big of a deal? I think every documentation relating to starting out with the MSP430 has said something about it, and as others have mentioned the MSP430G and the Atmega328 are tota
  9. I picked up some cheap ASK transmitter/receivers for 5$ each (I'm a bit addicted to buying parts... :oops: ). http://www.seeedstudio.com/depot/433mhz ... th=139_140 http://www.seeedstudio.com/depot/315mhz ... th=139_140 I've been looking on how to get them working with the MSP430's. There appears to be two ways: UART - You can directly feed the TX into the transmitter and the receiver to RX and transmit using low 1200buad serial, but the problem is you get a lot of garbage data you need to filter out and apparently its not the best way to utilize these transmitters. VirtualWire -
  10. I wanted to get some of the Parallax RFID readers but my Radio Shack had none . Looking at the specs they appear to use a 10byte card ID, the RDM630 cards appear to be 3 byte only. I also wondered about storing stuff in flash, as I wasn't able to find anything on storing stuff in the MSP430's flash memory. I had originally planned on making it so I could authorize or de-authorize cards from my RFID reader, but just ended up hardcoding the card ID's.
  11. Here's some code I ported over from the Arduino to work on the MSP430G series. It's for decoding the Wiegand protocal used in this RFID reader: http://www.seeedstudio.com/depot/125khz ... th=144_153 It will print any detected RFID cards 3 byte ID over serial in HEX. Ports 1.4/1.5 are used for DATA0/DATA1 // Copyright (c) 2010 seeed technology inc. // Author: Icing Chang // Version: september 2, 2010 // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software F
  12. It works as expected if I use the example code provided by TI for toggling a single LED with an interrupt, I'm just trying to expand upon that to the two LED's based upon the falling state of each switch. After reading a bit more, I've figured out that the flags actually tell you what port caused the interrupt, and changed my code accordingly, but now either switch toggles both LED's. #include void main(void) { WDTCTL = WDTPW + WDTHOLD; P1DIR = BIT0 + BIT6; //led 1 and 2 as outputs P1IES |= 0x01; P1IFG = 0x00; P1IE |= BIT4 + BIT5; _BIS_SR(LPM4_bits + GIE)
  13. I've been messing around with interrupts to get better acquainted with them and have ran into a big of a snag that I cannot figure out. I'm trying to use two momentary switches on ports 1.4 and 1.5 to toggle the state of the two debug LED's using interrupts, however whats actually happening is one button is toggling both and the other toggles just one LED. Anyways, here is my code: #include void main(void) { WDTCTL = WDTPW + WDTHOLD; P1DIR = BIT0 + BIT6; //led 1 and 2 as outputs P1IES |= 0x01; P1IFG &= BIT4 + BIT5; P1IE |= BIT4 + BIT5; _BIS_SR(LPM4_bit
  14. Picked up some samples myself... Wonder when they are releasing the ones with 4/8KB flash? I did find this on digikey: http://search.digikey.com/scripts/DkSea ... 28123-5-ND but @ 2$ each that's not a very good deal.
  15. I've been thinking of picking up a couple Nokia LCD's.. http://iteadstudio.com/store/index.php? ... cts_id=155 6$ for a 84x48 LCD would be useful for a lot of projects. http://iteadstudio.com/store/index.php? ... cts_id=133 They also have some 2.4 inch TFT LCD's for 18$, been thinking of getting some of them to try with my ARM DEV boards. Correct me if I'm wrong, but the only difference when you driver a LCD in a higher bitrate (IE 8 bit instead of 4bit, or 16 bit instead of 8bit) is you would be able to get more frames per a second rendered to the LCD? Personally, I'm looki
  16. zeke, it works perfect now. I did need to make one change to your code: ROMCode[7] should be ROMCode[0]. Thanks again for all the help you've provided, its definitely helping me learn.
  17. I guess I'll give my two cents as well. I've never bought a shield, and at-least don't plan on buying one anytime soon. Why? there are too many form factors, for example I have the following development boards: Launchpad, Arduino Diecimila, STM32VLDiscovery, a STM32F103 breakout I made myself, and I'm also hoping to get an mbed. If I was to buy a shield, it would only work on ONE of them, but there's likely a chance I would like to use it on more than one, so for this reason I stick to breakout boards. However, here's my comments: 1. LCD display -> How about a LCD serial backpac
  18. I'm getting 331~, that is obliviously incorrect because its not only missing some bits, but its not 90F~ degrees in my room! After studying the datasheets, I believe I may have been sent the wrong version of chips. I noticed that the DS1820/DS18S20 is ONLY a 9bit chip, and I'm getting a 9 bit output, the DS18B20's have a configurable resolution however. Furthermore, the DS1820/DS18S20 have longer conversion times, and that could be why I'm getting some funky readings randomly. Question, what are your chips stamped with? Mine just says DS1820. Thanks! EDIT: Yep, just confirmed b
  19. Alright, I gave your newest code a try. I am hooking it up using a 4.7k pullup resistor from VCC to DQ. it's not in parasitic power mode. Heres the results I got: 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 032b343 0332350 033e362 0344368 0344368 033e362 034b375 0344368 0351381 034b375 0344368 033e362 033e362 0338356 0338356 0338356 0338356 0338356 0338356 0332350 0332350 03
  20. I'm using RealTerm, that lets me view the "RAW" serial data, I was outputting it as a 8bit int, but tried hex and am still getting "03". I also gave the debugger a try and here's what I'm seeing:
  21. I just gave your code a try but I'm only getting "3" printed out over my serial, any idea what this means?
  22. I'm going to pick up some of these samples I think. Take a look here: http://dangerousprototypes.com/docs/MCP ... kout_board Would be nice to have some of the breakout boards.
  23. I've got some DS1820''s myself and have been unable to get them working. I'm going to try a little later tonight, but I know the DS1821 works fine. Take a look at this: http://milesburton.com/index.php?title= ... ol_Library http://www.pjrc.com/teensy/td_libs_OneWire.html http://www.phanderson.com/arduino/ds18b20_1.html It really seems like for the DS1820's sensor we need to go about properly addressing it. Anyways, I'll try to give it a try tonight, it would be nice to get high resolution working too.
  24. Recently as I've been working on more and more projects that I need to interact with via UART for debugging or interfacing, and I've been running out of serial ports! I was wondering if anyone knew of any boards/chips that would give me several virtual com ports from 1 IC/1 USB Port? All the USB to UART IC's and adapters I see give you only 1 UART and at most a few GPIO's, but I've yet to find any that give you multiple UART ports.
  25. Sorry it took so long, been slacking off . Done: viewtopic.php?f=10&t=452&start=0
×
×
  • Create New...