Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Cw1X

  1. Hi guys, does someone know of a way to implement "lost signal" on the reciever side with Spirilis's ENRF24 library? I tried using rfSignalDetected() it seems to always evaluate to true. Because the while(!radio.available()) always just sits waiting until the data is ready I can't seem to think of a way to check if I stopped recieving data. Something like: void loop () { unsigned long lastRecvTime = 0; while(!radio.available()) ; if(radio.read(&data, sizeof(MyData))){ lastRecvTime = milis(); } unsigned long now = millis(); if( now - lastRecvTime >
  2. Hey Leta, welcome to the 43oh. I'm from Bosnia too, kinda stuck here I didn't try Arduino just because it's kinda expensive for us here, and Texas Instruments is shipping for free AND gives free samples so its pretty much a no brainer. I think you would be most comfortable with energia given your knowledge of C++. It's full of examples and user base is constantly growing so code examples shouldn't be too hard to find. Just use the tutorials to get to know how microcontrolelrs work. I hope you're gonna have a fun time here.
  3. I've got the three rocket version of the silkscreen but rev E of the chip. Got mine few days ago.
  4. OK got it. Stupid me. I didn't P1OUT &= ~BIT0 at startup. So basically I didn't turn off led at startup and it looks like it has been working the whole time but I just didn't thought off of trying it . Thanks Spirilis its working great now, my remote LED is happily blinking. Thank you for making an awesome library
  5. No idea, I just checked everything and reconnected it but still no luck. I'm gonna try changing the pin mappings and see if I get anything.
  6. I didn't change anything from the nrf_userconfig.h file I just connected according to it. So: CE --> P2.0 CSN --> P2.1 IRQ --> P2.2 SCLK-->P1.5 And of course MOSI and MISO pins which I tried reversing but nothing. As requested my unaltered config file. And thanks again, its nice to meet so helpful strangers /* nrf_userconfig.h * User configuration of nRF24L01+ connectivity parameters, e.g. * IRQ, CSN, CE pin assignments, Serial SPI driver type * * * Copyright (c) 2012, Eric Brundick <spirilis@linux.com> * * Permission to use, copy, mo
  7. Well I've tried reversing those pins, and also double/triple checking every other but no success. I'm not using booster pack, just modules and some wire
  8. Spirilis I could use your help. I'm stuck trying to connect G2452 with nrf24 modules. I made a new thread but bluehash suggested that I post a link here so here it is. http://forum.43oh.com/topic/3269-g2452-and-spirilis-nrf24l01-library/#entry28432 Thanks
  9. Oh sorry bluehash I thought it would be better if I didn't clog that thread with questions but I see thats the way its done my bad This is the thread http://forum.43oh.com/topic/2050-nrf24l01-registerscommands-and-functionswork-in-progress/page-2.
  10. So... trying to make G2452 and nrf24l01+ module working with an awesome library Spirilis wrote but I can't make it work. I'm using ping-remote-led example where I just added if (msprf24_current_state() == RF24_STATE_NOTPRESENT) { P1OUT |= BIT0; // Set red LED _DINT(); LPM4; // Halt completely } after the msprf24_init function so I could see if I hooked everything right. Almost the same code from examples work with G2553 but I cant get 2452 to work. Is there anything I need to do when working with USI instead of USCI? By looking
  11. Edit: Nvm, I Didnt understand your problem very well so I posted something compleely opposite. Dont mind my ramblings
  12. And another silly question from me. Let's say I need Cap Touch and PWM on an MSP with just one timer. I mean CapTouch example (Not the library for BoosterPack) from TI uses timer and WDT and works like a charm but I kinda lost on how to throw PWM into the mix. I thought about using timer for Cap Touch and when touch is sensed (I just need one button) switch the timer to PWM and stay there for a while (Fade some leds in and out) and then go back to Cap Touch etc. But the problem is it just doesn't work, its all jumpy, twitchy and I'm lost so If you would be so kind to lend a helping hand I woul
  13. As far as I know 2553 has TIMERA_0 and TIMERA_1, you can use them to generate two separate PWM chanels. I dont really know about using delay option on PWM, dont see how could that work but I'm pretty sure I know very little about anything
  14. Dammit I feel pretty lame right now. Thank you oPossum.
  15. Hello, so I have a problem like this. I have a variable which goes from 128-255 and a CCR1 register that goes from 0-255. The question is, How do I change value in CCR1 by two steps for every step in my variable. So 128 is 0 in CCR1, 129 is 2, 130 is 4 etc. I suck at programming so I hope some of you guys can help me out. Thanks
  16. Well it says "Forum Recent Topics" but I think me mean same thing.
  17. I would really like to see who posted the last reply together with the date and time in "Forum Recent Topics" on the main page. I think its easier that way to see if there are new replies from the last time you checked because I personally easier remember usernames that time. So that's my suggestion Thanks
  18. Yeah, but I don't think I can just plug it in Launchpad and count the peaks right? Thats why I asked how to rectify it. I was afraid I wont be able to pick a low voltage if i use diodes.
  19. Here are some pictures of waveform when engine is at idle and you can clearly see frequency rises on the other picture with RPM's but I don't see a big voltage difference. But then again this is from a sound card oscilloscope so dont know how trusty is it Idle: Throttle:
  20. Wow guys, lots of suggestions. Great to have someone to help out. I would like to avoid external IC's because our local store is either way too expensive or doesn't have it and I don't feel like waiting 2-3 weeks to get it from China. The pick up looks like this and the magnet that spins with the crankshaft looks like this . That little metal strip on the outside is what triggers the pick up. So its one time per revolution. I thought there must be a simple way to get those pulses under control and just count them up. @jsolarski Thank you very much for the offer but I don't think I
  21. I would like to give you a part number but I it's on a (chinese) scooter and I highly doubt something useful could be found on it. I know just as much as you from the google search. Would it be easier if I just wrap some wire over the spark plug cable and pick that up? I still need some conditioning circuitry thou. Thanks
  22. Question. When I measure voltage when the engine is idling I get a reading about 0.8V. So, in theory I need I diode with a very small voltage drop. Can I run that through an opamp or something?
  23. I said it produces AC because every search I did on the web said it produces AC. Ok, guys, I will try to put something together with a comparator. Thanks
  24. Unfortunately I only have cheapo multimeter which reads between 2.5 and maybe 10V AC. I could try to hook it up to a improvised soundcard oscilloscope if it could help to see. But as far as I know its just ac spikes which increase in frequency and amplitude with RPM's. Thanks
  25. So, first of all. Sorry if I'm asking stupid questions but Im kinda lost after lots of googling. I need to sense a voltage spike from pick up coil on a crankshaft. I just need to measure frequency not the voitage and Im confused how would I rectify such a small voltage which is arround 0.6-0.7V AC to trigger an interrupt on the MSP. Any help would be appreciated. EDIT: OK, so I found out that actually voltage and frequency increases with RPM's so it's between 0.5-10V AC. Any ideas how to rectify and cleanup this signal? Thanks
  • Create New...