Jump to content

V0JT4

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    2

V0JT4 last won the day on February 19 2012

V0JT4 had the most liked content!

About V0JT4

  • Rank
    Advanced Member

Profile Information

  • Location
    Czech Republic
  1. Very nice project. I'm just wondering if you considered single sensor solution for temp,humid,pressure with BME280?
  2. V0JT4

    TI no longer offer free shipping?

    Great, $21 for shipping to CZE and prices for individual MCUs are not much better. I can get MSP430G2253 TSSOP28 from Farnell for half the price with much cheaper shipping.
  3. V0JT4

    IR remote controlled LED segment display

    Code and Eagle files were attached to 1st post with some minor text updates.
  4. Hello, I needed a large 3 digit display with remote control. All available didn't fit my needs, were quite expensive or not flexible enough. So I decided to create my own inspired by products I found. IR remote control looked simple and cheap enough, Seeedstudio sells some nice large 7 segment LED displays and prototype PCB manufacture in China doesn't cost much. First I LaunchPad prototyped the design with 8 channel serial LED driver, like SCT2168, and generic 3 pin IR receiver. I implemented NEC IR protocol with TimerA and bit banged serial display data output. All worked nicely so I ordered 5" 7 segment LED digits from Seedstudio. I highly recommend to order one extra digit. From my batch 2 horizontal segments had visibly couple LEDs busted. Also provided datasheet doesn't match what I received. Instead of 2x6 mine are 3x7 LEDs per segment. I tore one apart to see what's inside. Dot segment doesn't even have a polarity mark and only one seemed to work, but I didn't plan to use them anyway. I designed 2 boards, one large for individual segments of 5" digit, MCU and voltage regulator and small one for various sizes of common anode LED displays. I can extend the display by daisy chaining digits or run multiple displays in parallel depending on which side I connect next digit. MCU and power supply part is placed only on 1st digit. Currently I have ordered 2.3" digits from ebay for secondary display. Boards were made by Elecrow, I fit 1 large and 2 small designs on one 10x10 PCB. Code runs on small MSP430G2 MCU and only 4 pins are needed, board is designed for MSP430G2210 SO-8 package but with little leg bending and pin reassignment TSSOP-14 may be used. I use small remote I got with DVB-T tuner I use for SDR. It has just few buttons and fairly large labels. Current code implements 4 memory slots to switch between numbers. Everything is placed in plastic box covered by gray acrylic. Code: main.ctools.htools.c Eagle files: large.schlarge.brdsmall.schsmall.brd
  5. All you need is to change I2C device ID before you talk to it. i2c_init(0x50); do stuff with EEPROM i2c_init(0x68); do stuff with RTC Or maybe there is function in your I2C.c just for that instead of full init.
  6. V0JT4

    Universal Ripple Control Receiver

    I have all the data stored at http://sunny.ok.cvut.cz/~vojta/hdo/cd/ src-test contains the code for Logger. If you want to use it with unmodified FMX-100, you need a diode from 5.6V pin to LaunchPad USB Vcc and one NPN transistor for level shifting from HDO data pin to P1.3. And don't forget to connect ground. Simply connection would be as on picture for LoggerV1. It may be better to add RC filter on transistor input to suppress glitches. Or you can use optocoupler level shifting schema shown in 2nd post.
  7. V0JT4

    Products using MSP430

    Another device with MSP430 on EEVblog, Atten PPS3205T-3S Triple Output Power Supply uses MSP430F2013 (29:45).
  8. There is also news on E2E forum about new devices support by MSP-GANG programmer. Listed also on http://www.ti.com/gang430
  9. V0JT4

    6 channel logic analyzer

    Is it possible to expand the solution to 8 channels? The latch is already 8 channel and there are free pins available on MCU. Is there some software limitation? From layout point of view I would be willing to go for SOIC and no crystal on LaunchPad in exchange of 8 channel solution.
  10. V0JT4

    Universal Ripple Control Receiver

    I'm not sure how functional it may be without interrupts as its written to depend on them and as is described in MSP430 2xxx User's Guide. You would need to check some ready/busy flags of USCI_B module. However if you get to tx function you can verify functionality: Run upto tx count=0 Reset Run to rx count=0 and examine the memory in debug mode rxdata buffer should contain same data as txdata You can also test Anderson's code for I2C USCI, it is for 16bit addressing.
  11. V0JT4

    Universal Ripple Control Receiver

    First thing that pops my mind is to set 16bit addressing bit because your EEPROM chip uses it. replace i2c_rx(11, 0xA0, rxdata, 0, 0); with i2c_rx(11, 0xA0, rxdata, 1, 0); In test example I was using small EEPROM that uses only 8bit addressing, STMicro 24C16. I think all devices up to 256B and some up to 2KB (from outside they behave like 8 I2C devices in one pack) use it. In final design I used 64KB chip that requires 16bit addressing. You may also check if WP, A0, A1 and A2 are connected to GND. Another option is to place break point into I2C status interrupt that is hit when slave sends NACK or does not respond at all. Best way is to have scope or logic analyzer to see the waveform. You can watch transaction progress if you place break point at the beginning of "u8 i2c_int(void)" in i2c.c.
  12. V0JT4

    Universal Ripple Control Receiver

    Have you just downloaded and compiled the example code or have you done any modification? The interrupt service routine must contain the if clause to correctly wake up processor after I2C transaction is done or you have to use different approach not to overlap 2 transactions.
  13. Recently I use assembled modules with SiLabs CP2102 for under 3$. So far I didn't have any problem with them on Windows or Linux. If you need only chip it's possible to get 10pcs under 20$ on ebay. I think cheapest chip is PL2303, it's like half the price, but it requires external crystal. I got some RS-232<->USB cords with PL2303 and it didn't turn out to be the best solution. Maybe it wasn't caused by the chip itself but it's implementation.
  14. V0JT4

    I2c in msp430fg4618

    Check this out: viewtopic.php?p=16864
  15. V0JT4

    Universal Ripple Control Receiver

    This week I got PCBs from my tutor and had time to populate and do some test. Boards were produced by local company so the price was quite high. I'm glad there are also services like Seed.
×