Jump to content


  • Content Count

  • Joined

  • Last visited

About geodave

  • Rank

Profile Information

  • Gender
  • Location
    Raleigh, North Carolina
  1. I am trying to do exactly what spirilis describes in the hypothetical remote sensing application on his wiki for the nrf24L01+ library: "A typical application of the nRF24L01+ which takes full advantage of the MSP430's touted low-power modes is remote sensing with periodic wakeup involving an MSP430 circuit attached to sensors in a remote location. An MSP430 using either the VLO or LFXT1 driving ACLK to wake up the device periodically will switch on the nRF24, take sensor measurements and once the nRF24 is ready (5ms Standby-I wakeup time has elapsed), transmit those to a base station, fol
  2. I am embarrassed to admit the my CE and CSN lines were switched. I checked it at least 10 times over the course of two weeks. I guess in life sometime it takes 11 tries. Code works as is! Hopefully this post will be useful to someone. No packet loss. Haven't tested the distance yet. Wiring for the Pi is as follows: radio 7 (miso) to gpio9/bcm21 radio 6 (mosi) to gpio10/bcm19 radio 5 (sck) to gpio11/bcm23 radio 4 (csn) to gpio8/bcm24 radio 3 (ce) to gpio25/bcm22 radio 2 (3.3v) to 3.3v radio 1 (gnd) to gnd Get it right or pay the price!
  3. Sadly I have not gotten it working yet but it is good to know someone has. It just means I am doing something wrong. When I call printDetails() it doesn't show the address or setting that I have specified. I thought it might be the wiring to the pi but I have checked them about 10 times and they are right. Maybe I didn't install and configure the library correctly. Not sure. My two MSP430's talk find across the house as well. Would you mind posting you MSP430 and Raspberry Pi code? I will load it up and see if I can get it to work and see if it also has packet issues.
  4. I couldn't find an example of someone using the Raspberry Pi as a receiving hub for sensor nodes that use the spirilis nRF24L01+ library and a MSP430G2553. I thought I would give it a shot since I think this would be beneficial to the community. I found a C library for the Raspberry Pi and nRF24L01+: https://github.com/stanleyseow/RF24. Class reference is here: http://maniacbug.github.io/RF24/classRF24.html There is also a newer python library but I haven
  5. Project update: I have been casually testing the setup for the past couple weeks with mixed results. Most of the testing includes a screaming infant on my shoulder. You can imagine why this project is moving so slowly. The main issues with the current setup seems to be the range. It will transmits okay the first times but the signal seems to get weaker with subsequent transmissions. I have purchased a NRF24L01+PA+LNA module to put on the receiver end. I am hoping this will get me a bit more distance so it is more usable. In the meantime I am going to work on the charting interface.
  6. Yep...I added a 100uF 10v capacitor to the Vin and was able to get another 25 feet of range with the receiver in the window facing the garden. I also tested in the house and got about 40 to 50-feet through 3 walls. Is this range consistent with what you are getting on these wireless modules with the trace antenna?
  7. Source is one AA rechargeable Ni-CD 800mAH. Okay so you are thinking if I put the larger capacitance on the Vin side it will stabilize the input and thus provide a stable output?
  8. I can't believe it has almost been a month since the last post...sorry! I have the fortune of visiting former soviet republics a couple times of year for work so I have been out of town. So I did install the new 10uH inductor with the two 10uF ceramic capacitors and it didn't work. Switched the Vin and Vout capacitors for cheap 22uF 16v electrolytic and it works sporadically. I removed the 22uF from the Vout and replaced it with a 68uF 16v cheap electrolytic capacitors and I am getting better performance. I currently have the transmitter in the garden and the receiver in a window about 3
  9. Thanks again @@spirilis. Sounds reasonable. I am thinking of ordering these inductors: http://www.mouser.com/ProductDetail/Bourns/78F4R7J-RC/?qs=sGAEpiMZZMsg%252by3WlYCkU1wbcydNIDvKD70RmuEuJkg%3d http://www.mouser.com/ProductDetail/Fastron/SMCC-N-100J-01/?qs=sGAEpiMZZMsg%252by3WlYCkU8BLlVcluYKE51pm1lHTf0E%3d These have higher current ratings and a resonable price. What do you think?
  10. The capacitors are ceramic 10uF 16v. I replaced them with 22uF 25v aluminum electrolytic to see if that would help and it didn't. Then I tried adding a 16uH inductor...no luck. I did hook up a 3.3v power supply to the battery terminals and it does work when you apply 3.3v. I tried using two 1.2v AAA's did not work. Grrrr. It seems like it wants more voltage. Ready for this one? So I decide to set rf_speed_power = RF24_SPEED_MIN | RF24_POWER_MIN to see if it was a power issue because I think this code means slower transmission speeds and less power consumption but more range as I understand
  11. Thanks for the response @@spirilis! I stuck a 22uF 25v capacitor on C4 and that didn't fix it. The inductor I am using is 10uh and I am not sure what it is rated to since it is the salvaged part from the light. It is a basic axial through hole and looking online those seems to range between 180 and 265ish mA. I can see how this might be causing the issue. I just started getting into soldering surface-mounted components but I would like to start using those more. My current PCB design uses through hole axial inductors so I might try to stick with those on these boards. I appreci
  12. I have a 10uf 16v ceramic capacitor on the DC-DC boosters VOUT. I also have a 0.1uf capcitor tied to the 3.3v line for the photoresistor circuit. I don't have anything for the nRF24 module but I will add one tonight and see if that helps. You can view the schematic on the first post. Thanks for the tip!
  13. I did populate the entire PCB tonight so I could stick it outside and test it with the Raspberry Pi. Only one problem...it doesn't work. Everything on the PCB is wired correctly because it works when I apply 3.3v directly to the MSP430G2553 DVCC and DVSS pins. I know I am getting 3.3v to the chip from the DC-DC boost converter because I can read it on my multimeter. I think this leaves me with a current issue. The TPS61097-33 DC-DC booster can source up to 100mA depending on the voltage. Apparently that is not enough to supply the circuit and/or code. http://www.ti.com/product/tps61097-33
  14. Thanks for the reply! Correct, the code works beautifully when you comment out the start/end offending code block. I can view the outgoing char buf through CCS and it looks normal. That is why this is so frustrating. It makes me sad you also think it is strange. I was hoping for an obvious mistake. I don't believe s = r_rx_peek_payload_size is the issue. Before I wrote the current rx code I was using Ike's example receiver code and I had the same issue with the thermister code block. Ike's code doesn't use r_rx_peek_payload_size to determine the size of the message payload
  15. @@spirilis maybe you can help me sort this out. I am still having issues with my thermister code. The math is correct and does show the current temp in the outgoing char buffer. I do believe it is transmitting because I am using USCI_B on the launchpad and I can see the 1.6 led flicker when the packet is sent. However, my receiver code isn't picking it up. When I comment out the offending math and just pass the raw adc the receiver picks it up 100%. I am using Opossum's printf library on the receiver side to print to UART. I have also made some changes so the packet size is dynamic.
  • Create New...