Shop OBEX P1 Docs P2 Docs Learn Events
Propeller based SPI eprom programmer for nRF24LE1 — Parallax Forums

Propeller based SPI eprom programmer for nRF24LE1

Alex.StanfieldAlex.Stanfield Posts: 198
edited 2014-02-21 14:54 in Propeller 1
Has anyone made or knows how to make a propeller based SPI eeprom programmer?

I have a couple of nRF24LE1 modules in which you download its program like you would write to an SPI eeprom. Since I have some propellers but no usb-spi dongle I'd like to know if someone did this before.

Thanks in advance

Alex

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-16 15:17
    I know Cluso99 has written a program which allows a Propeller to program an AVR ATtiny microcontroller.

    Maybe his program could be used as a starting point.

    Sorry, I don't have a link.
  • Alex.StanfieldAlex.Stanfield Posts: 198
    edited 2014-01-16 17:36
    Duane, I think I found it.

    http://forums.parallax.com/showthread.php/134719-Programming-the-ATtiny84-with-the-Propeller-(working)

    Will give it a try when time permits

    Thanks a lot for the pointer.

    Alex
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-16 19:10
    Duane, I think I found it.

    http://forums.parallax.com/showthread.php/134719-Programming-the-ATtiny84-with-the-Propeller-(working)

    Will give it a try when time permits

    Thanks a lot for the pointer.

    Alex

    That's the thread I was thinking of.

    I'm also interested in the nRF24LE1. I hope you keep us updated with your progress.
  • Alex.StanfieldAlex.Stanfield Posts: 198
    edited 2014-01-16 20:07
    Duane Degn wrote: »
    I'm also interested in the nRF24LE1. I hope you keep us updated with your progress.

    Sure! It will take a couple of days until I find some spare time. I first need to adapt the module's 2mm pins to the quickstart.

    Alex
  • Alex.StanfieldAlex.Stanfield Posts: 198
    edited 2014-02-21 13:07
    Well I finally got it working!

    Attached is a quick and dirty nRF24LE1 programmer using the Propeller as the SPI driver.

    ProperBurner_nRF v02 - Archive [Date 2014.02.21 Time 17.34].zip

    Included in the zip file is a led blinking demo to download to the nRF24LE1 module. It toggles P0_3, P0_4 and P0_6 pins on the module (which I got connected to the QS leds)

    I built an adapter to convert the module's 2mm spacing and 90° angle between the pin rows to the QuickStart pin header.

    140221-175120.jpg
    140221-175106.jpg


    I decided to place the starting pin at Prop's pin 8 and go forward (skipping 1 wire just when the pins turn)
    This allowed me to place some P0 pins from the nRF24LE1 just on the QS leds and allow some quick testing and debugging.

    Hope you find it useful. I believe this chip/module is a great complement to the Propeller for those remote ultra-low power peripheral/sensor needs.

    Finally of course the usual disclaimers and warning apply here too, use it at your own risk.

    Have fun
    Alex
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-02-21 13:31
    Wow, this is great!

    Thanks for posting this. Now I'll need to get a couple of those modules to try.

    Do you have any suggestions on where to buy them?

    I see from your earlier thread, you mentioned this seller. It looks like it is still a decent price. Is there a seller you like better?

    I agree that these are a great way of easily adding wireless sensors to a Propeller project.
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-02-21 14:34
    That's really nifty!

    If I read the description of this correctly, for $6 you can add wireless, ADC and RTC to you favorite Propeller? That's kinda cool!
  • Alex.StanfieldAlex.Stanfield Posts: 198
    edited 2014-02-21 14:51
    Duane Degn wrote: »
    Wow, this is great!

    Thanks for posting this. Now I'll need to get a couple of those modules to try.

    Do you have any suggestions on where to buy them?

    I see from your earlier thread, you mentioned this seller. It looks like it is still a decent price. Is there a seller you like better?

    I agree that these are a great way of easily adding wireless sensors to a Propeller project.

    Thanks Duane, I have only bought a couple from the seller I posted. the seller is Ok, the modules are cheap knock-offs, one of mine came with one of the antenna inductors misplaced however the seller promptly replied he will replacements. I believe all sellers take the modules from the same source as they look identical. If you search Aliexpress you will find better prices for larger quantities. My next buy probably would be from there.

    Alex
  • Alex.StanfieldAlex.Stanfield Posts: 198
    edited 2014-02-21 14:54
    mindrobots wrote: »
    That's really nifty!

    If I read the description of this correctly, for $6 you can add wireless, ADC and RTC to you favorite Propeller? That's kinda cool!

    ADC yes, but RTC is not what I would expect,still have to digg into it because it's not what I needed for my project. From browsing the specs its' kind of a timer function which you can keep running when putting the chip on low power, but I didn't see any calendar functions in it.

    Alex
Sign In or Register to comment.