tag:blogger.com,1999:blog-23250423652359944762024-03-12T22:36:57.148-04:00diyembedded.comCool embedded projects for even cooler geeks! Specializing in the NXP LPC2148 and Microchip PIC18F452 microcontrollers and the Nordic Semiconductor nRF24L01 2.4 GHz RF link.brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.comBlogger32125tag:blogger.com,1999:blog-2325042365235994476.post-59868213699620136932011-07-30T16:14:00.002-04:002011-07-30T16:14:57.957-04:00PC bootloader app bugI just noticed that there's a major bug in the PC bootloader application I released a couple of weeks ago. I have fixed the bug, and you can get the latest version <a href="http://www.diyembedded.com/bootloader/PC/nrf24lu1_bootloader_pc.zip">here</a>.brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com48tag:blogger.com,1999:blog-2325042365235994476.post-45962035174350458602011-07-25T20:43:00.000-04:002011-07-25T20:43:34.576-04:00New product added to store...So we now have an <a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=5&products_id=21">FT232R USB-to-serial breakout board</a>. You can use it to connect your project's UART to your computer over USB, and it looks just like a serial port!<br />
<br />
<div style="text-align: center;"><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=5&products_id=21"><img src="http://store.diyembedded.com/images/ft232r.jpg" /></a></div>brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com4tag:blogger.com,1999:blog-2325042365235994476.post-23641474006642347382011-07-17T23:27:00.001-04:002011-07-18T08:36:36.778-04:00New PC-side bootloader version...So I wanted to let everybody know I've released a new version of the PC-side bootloader. The new version adds a terminal, so now you don't have to keep switching back and forth to program the device. Also, the code works natively in Linux (tested with Ubuntu 11.04). You just have to run the executable with mono (not wine, it doesn't work this way for me...this is how it gets run if you just double click it). You can download it <a href="http://www.diyembedded.com/bootloader/PC/nrf24lu1_bootloader_pc.zip">here</a>.<br />
<br />
Check out a screen shot here:<br />
<br />
<div style="text-align: center;"><a href="http://www.diyembedded.com/images/nrf24lx1_pgm_v2.png"><img height="303" src="http://www.diyembedded.com/images/nrf24lx1_pgm_v2.png" width="400" /></a></div><br />
<b>EDIT:</b> After typing the post, I thought about a few things to add. First, you can leave the terminal open while you program the device (you don't have to close the terminal first to program the device). The app will handle opening/closing the serial port automatically. <br />
<br />
Also, I have a very small shell script in the bin directory that Linux (and Mac OS, I would presume) users can use to run the executable with mono. To run the command, open up a terminal and then cd to /<wherever_you_unzipped>/nrf24lu1_bootloader_pc/nrf24lu1_programmer/bin/Debug and run the script nrf24lu1_programmer (*NOT* nrf24lu1_programmer.exe).<br />
<br />
Finally, if for some reason you have to forcibly kill the program in Linux, you will have to manually delete the lock file for the serial port you are using. The lock file location and name will be listed in the output box of the programmer app.brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com7tag:blogger.com,1999:blog-2325042365235994476.post-25984692516091697752011-07-11T23:22:00.000-04:002011-07-11T23:22:25.213-04:00New productsYes, I know that I'm not terribly prolific in postings. But here are a few new products to tickle your fancy!<br />
<br />
<div style="TEXT-ALIGN: center"><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=19"><img src="http://store.diyembedded.com/images/nrf24z1_c.jpg"></a><br />
</div><br />
This is a breakout of Nordic's nRF24Z1 audio streamer IC. It allows inputs up to 24 bits at 96 kHz, and can output up to 16 bits at 48 kHz (which is still higher than CD quality). It can handle both S/PDIF and I2S input and output, and doesn't actually require a microcontroller to work (it can read its settings from an external EEPROM).<br />
<br />
<div style="TEXT-ALIGN: center"><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=20"><img src="http://store.diyembedded.com/images/nrf24z1_r.jpg"></a><br />
</div><br />
And the obligatory RP-SMA version, too!<br />
<br />
<div style="TEXT-ALIGN: center"><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=3&products_id=15"><img src="http://store.diyembedded.com/images/qt1011.jpg" height="150" width="150"></a><br />
</div><br />
For those interested in capacitive touch sensors, this one should fit the bill! It has a built-in sensor "button", and it only needs 4 pins to work - VCC, GND, a mode pin, and an output (to your microcontroller, LED, etc.)!brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com21tag:blogger.com,1999:blog-2325042365235994476.post-71289017868727353352010-10-13T21:44:00.001-04:002010-10-13T21:46:03.761-04:00New products and library updateIt's been a few months, but I've got a few new products to offer!<br />
<br />
<div style="TEXT-ALIGN: center"><br />
<a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=12"><img src="http://store.diyembedded.com/images/nrf24le1_24_c.jpg" /></a><br />
</div><br />
This is the breakout for the 24-pin version Nordic's nRF24LE1 microcontroller. It's just like the 32-pin variety, except it has 7 GPIO pins and 7 ADC inputs (plus a smaller footprint and lower cost).<br />
<br />
<br />
<div style="TEXT-ALIGN: center"><br />
<a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=13"><img src="http://store.diyembedded.com/images/nrf24le1_24_r.jpg"></a><br />
</div><br />
Don't forget to check out the RP-SMA version, too!<br />
<br />
For those interested in the SDKs, I have updated both the <a href=http://www.diyembedded.com/lib/nrf24le1/nrf24le1_sdk_v2.0.zip>nRF24LE1 SDK</a> and the <a href=http://www.diyembedded.com/lib/cryptography/cryptography_v2.0.zip>cryptography SDK</a> to version 2.0. This version includes adding the LGPL 2.1 license for those confused about what the license may be (hat tip to ksinkar for recommending it in a comment <a href=http://blog.diyembedded.com/2010/06/nrf24le1-sdk-for-sdcc.html>here</a>).<br />
<br />
With this release, there has also been a fairly major change in the compilation sequence. For those compiling/linking against the libraries, it is only a directory change, but with this change I have (hopefully) made it easier to compile both libraries for different compilers and different chip targets. For example, it should be able to add nRF24LU1 support into this library and add a different compile target now. The include directory is in the same place, but the lib directory has been moved to <library_name>/_target_sdcc_nrf24le1/lib (you will have to update your link step to point to this directory instead of the old one).<br />
<br />
Those are the only changes for the cryptography SDK, but the 2.0 release of the nRF24LE1 SDK also contains a few bug fixes plus support for timer 2. The timer 2 code is a bit experimental, so there will likely be a 2.1 release to fix any issues I find with it, and there's also a little remaining functionality I want to add.<br />
<br />
For anyone interested, I am considering making an Arduino Uno board clone that contains the 48-pin version of the nRF24LE1. It has plenty of I/O and ADC inputs, the only problem is that it is *not* 5V-tolerant on either GPIO or ADC inputs, so I am contemplating either adding 5V-tolerant circuitry either to the main board or putting it on a shield that would plug into the main board. Any suggestions would certainly be appreciated!brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com6tag:blogger.com,1999:blog-2325042365235994476.post-54007556309345716422010-06-21T09:59:00.006-04:002010-06-21T13:32:28.389-04:00nRF24LE1 SDK with AES for SDCCFor all of those interested, I have been working on an SDK for the nRF24LE1 chip to use with SDCC. I mainly wrote it for my purposes, but I want to release what I have written. The code is public domain, but I would definitely appreciate it if you linked back to the site if you use it in a project! The nRF24LE1 SDCC SDK lives <a href=http://www.diyembedded.com/lib/nrf24le1/nrf24le1_sdk_v1.0.zip>here</a>.<br />
<br />
As it stands, not all of the hardware systems have been implemented (the most glaring omission is probably I2C). Also, some of the subsystems have not been fully tested (the power control block being one of them). If there are any bugs, feel free to let me know.<br />
<br />
For those interested, there is a second SDK that I'm releasing (currently set up to build with SDCC for the 24LE1, but can be reconfigured). I have fully implemented AES in this SDK, as well as ported my ARC4 implementation (and made it object-oriented, as well). That library can be found <a href=http://www.diyembedded.com/lib/cryptography/cryptography_v1.0.zip>here</a>. It is released under the same terms as the nRF24LE1 SDK.<br />
<br />
The AES library can be configured to use the nRF24LE1's built-in AES hardware accelerator or to use an included library function that does the Galois multiplication in software. This means that you can also use the same AES implementation with other microcontrollers than the 24LE1, since it doesn't tie you to using the hardware accelerator. This should make it easier if you're using the 24LE1 as a data collection node that reports information wirelessly to a more powerful central microcontroller, but you want the central microcontroller to also be able to encrypt/decrypt AES data.<br />
<br />
If you want to use these libraries, you have to let SDCC know where to find the header files and libraries. For the compile step, you should add "-I [PathToLibrary]/include" (without quotes) to your command line. For the link step, you should add "-L [PathToLibrary]/lib" (without quotes) to your command line. Replace "[PathToLibrary]" with whatever the path is to the top level of the library on your system (including the top level folder, which would be either nrf24le1_sdk or cryptography).brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com63tag:blogger.com,1999:blog-2325042365235994476.post-16480293984917624622009-11-30T08:12:00.002-05:002009-11-30T08:18:56.669-05:0010% Cyber Monday Discount CouponWe're pleased to announce a 10% discount off your entire order for Cyber Monday! There is no minimum or maximum order total, but the coupon is limited to one redemption per customer and in-stock items. Just enter coupon code "DECM" (without the quotes) at the end of your checkout to redeem!brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com10tag:blogger.com,1999:blog-2325042365235994476.post-60582132681126517392009-11-16T17:01:00.005-05:002010-06-21T10:56:51.846-04:00New stuff after so long...So it's been a really long time since I posted anything, so I figured what better way than with some new goodies.<br /><br /><div style="TEXT-ALIGN: center"><br /><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=10"><img src="http://store.diyembedded.com/images/nrf24le1_32_c.jpg" /></a><br /></div><br />This is the breakout for Nordic's nRF24LE1 microcontroller. It's got an 8051 core and a 24L01+ radio on the chip, in addition to 15 GPIO, 11 ADC inputs, PWM, SPI, UART, 2-wire, and a bunch of other goodies! <br /><br /><br /><div style="TEXT-ALIGN: center"><br /><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=11"><img src="http://store.diyembedded.com/images/nrf24le1_32_r.jpg"></a><br /></div><br />And, as usual, there is the RP-SMA version for those who need more range than the chip antenna version can offer.brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com2tag:blogger.com,1999:blog-2325042365235994476.post-69511540263773651892009-01-07T15:56:00.001-05:002010-06-21T10:56:51.847-04:00New products added to store!I would first like to thank everyone who has made a purchase at our store so far! I'm trying my best to keep some fresh products coming down the pike, so check out these new goodies!<br /><br /><div style="TEXT-ALIGN: center"><br /><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=7"><img height="217" src="http://store.diyembedded.com/images/nrf24l01p_c.jpg" width="278" /></a><br /></div><br />Breakout for Nordic's new nRF24L01+ chip, which takes the nRF24L01 and adds a 250 kbps mode, longer range, and better sensitivity. The <a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=7">nRF24L01+ breakout with chip antenna</a> version includes an on-board ceramic antenna for convenience.<br /><br /><br /><br /><div style="TEXT-ALIGN: center"><br /><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=6"><img height="217" src="http://store.diyembedded.com/images/nrf24l01p_r.jpg" width="313" /></a><br /></div><br />For those who yearn for long range, you can go for the <a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=6">nRF24L01+ breakout with RP-SMA connector</a>, which allows you to interface to high-gain RP-SMA antennas!<br /><br /><div style="TEXT-ALIGN: center"><br /><a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=8"><img height="214" src="http://store.diyembedded.com/images/w1027.jpg" width="270" /></a><br /></div><br />Speaking of RP-SMA antennas, we now carry a <a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=8">5" 2.4 GHz RP-SMA duck antenna</a>!brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com12tag:blogger.com,1999:blog-2325042365235994476.post-5346787689927595602008-08-20T20:56:00.004-04:002008-09-03T08:17:34.573-04:00Store is open!It's an exciting day! The new e-store, available at <a href="http://store.diyembedded.com/">http://store.diyembedded.com/</a> is open with a whopping two products! I will be expanding products as fast as I can, but for the time being here's what we have.<br><br><br /><div style="text-align: center;"><br /><img src="http://store.diyembedded.com/images/nrf24lu1c.jpg" width=306 height=230><br /></div><br />An updated breakout of the prior nRF24LU1 module, the <a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=1&zenid=rjb6hq3hu3b4optiqft5u45qc1">nRF24LU1 Stamp Breakout with Chip Antenna</a> plugs into an 18-pin wide DIP socket and has all of the important support components to get you up and running!<br><br><br /><br /><div style="text-align: center;"><br /><img src="http://store.diyembedded.com/images/nrf24lu1r.jpg" width=306 height=230><br /></div><br />If the range of the chip antenna module isn't enough for you, I've also developed the <a href="http://store.diyembedded.com/index.php?main_page=product_info&cPath=1&products_id=2">nRF24LU1 Stamp Breakout with RP-SMA Connector</a>. This guy has all of the same features as the chip antenna module, but it allows you to plug in high-gain external antennae to get longer range!<br><br><br />Also, I've set up a support forum that can be found at <a href="http://forum.diyembedded.com">http://forum.diyembedded.com</a>. There are forums set up for the products I sell, as well as other forums for general interest. Any comments are welcome!brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com0tag:blogger.com,1999:blog-2325042365235994476.post-11675985051748991262008-05-14T20:46:00.007-04:002011-05-09T11:07:48.866-04:00Bootloader v0 release and maybe boards for saleI am considering selling the extra boards that I have right now. I have 15 boards that I have not soldered on, etc. I am thinking about selling these boards for $40 (fully assembled and tested). If you wanted the programmer board with a cable, that would probably be another $10. I haven't been able to successfully write a programmer program because my parallel port is messed up. I have one I think works, but I would have to either get another parallel port (not too expensive) or else let somebody else try it. If anyone would be interested in purchasing a board, I plan on burning in a bootloader program previous to shipping the board, which uses the RS-232 port to upload user programs. Please leave comments if you'd be interested in a board so I can gauge response to see if it's worth ordering the extra parts.<br />
<br />
The on-chip bootloader is written in assembly (yuck) and lives in the highest page of flash (starts at address 0x3E00). It uses the UART to communicate to the program that was written for the PC in C# to get its data. The program was written with the potential to be expanded, but that framework hasn't been developed yet in order to get it done quickly. <br />
<br />
The only rub with using the bootloader is that, unless you can time hitting the RESET button really well, you need to add a green-wire fix to allow the RTS line from the RS-232 port to control the RESET pin on the nRF24LU1. This is relatively easy, and I will put up a schematic and pictures if anybody were to need it.<br />
<br />
<b>On-Chip Bootloader</b><br />
The bootloader was written to be compiled with AS31, which can be downloaded (with a special version of SDCC) <a href = "http://www.pjrc.com/tech/8051/tools/win32_install.html">here</a>. The link to the .zip file containing the makefile, asm source file, and compiled hex file can be found <a href = "http://www.diyembedded.com/bootloader/micro/nrf24le1/nrf24le1_chip_bootloader.zip">here</a>.<br />
<br />
<b>PC-Side Bootloader</b><br />
The bootloader program on the PC-side was written in C# for Windows (Linux guys are on their own). This version was written with Visual Studio 2005 Professional, but it can also be compiled using Visual C# 2008 Express, which is a free download from <a href = "http://www.microsoft.com/express/vcsharp/">here</a>. The link to the .zip file containing the C# project, source files, and executable file can be found <a href = "http://www.diyembedded.com/bootloader/PC/nrf24lu1_bootloader_pc.zip">here</a>.<br />
<br />
<b>Edit: I now have nRF24LU1 breakout boards for sale at <a href="http://store.diyembedded.com">http://store.diyembedded.com</a>!</b>brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com7tag:blogger.com,1999:blog-2325042365235994476.post-81644017651024961682008-04-12T16:17:00.007-04:002008-09-03T08:17:34.575-04:00nRF24LU1 board is alive and wellSo I swear I'm not dead. I have been working hard on writing code for the 24LU1 board. I have a lot of software working now, and I just wanted to post a video of this guy in action. The only problems I've found with the board are that the /RST LED was supposed to be wired in active low configuration, but I ended up doing it like all the other LEDs (it's on all the time *except* when you push the reset button).<br /><br /><object width="272" height="224"> <param name="movie" value="http://www.youtube.com/v/ohIEZIIVrLs"> </param> <embed src="http://www.youtube.com/v/ohIEZIIVrLs" type="application/x-shockwave-flash" width="272" height="224"> </embed> </object><br /><br><b>Edit: I now have nRF24LU1 breakout boards for sale at <a href="http://store.diyembedded.com">http://store.diyembedded.com</a>!</b>brennenhttp://www.blogger.com/profile/06530709850522978620noreply@blogger.com8tag:blogger.com,1999:blog-2325042365235994476.post-7411286960595945962007-12-03T11:12:00.001-05:002008-09-03T08:17:34.576-04:00New Blog Subscription Link and Boo on Advanced CircuitsAfter getting a request to have a subscription to the blog, I've finally found a way to do it by using a Google group. All you have to do is put your email into the box on the right side of the <a href="http://www.diyembedded.com/">main page</a>, click "Subscribe", and then click the link in the email that is sent to you to confirm the subscription.<br /><br />So I was initially going to send the nRF24LU1 board off to <a href="http://www.advancedcircuits.com/">Advanced Circuits</a>, but apparently they don't allow panelization on their boards. Totally uncool. So I cancelled my order and I'm going to go with <a href="http://www.goldphoenixpcb.biz/">Gold Phoenix</a> this time around, and I'm also going to have them make the programmer/prototyping board I'm working on. That should be up in a day or two. Hopefully this will actually work.<br /><br><b>Edit: I now have nRF24LU1 breakout boards for sale at <a href="http://store.diyembedded.com">http://store.diyembedded.com</a>!</b>Unknownnoreply@blogger.com14tag:blogger.com,1999:blog-2325042365235994476.post-84287367454118252772007-11-25T18:57:00.001-05:002008-09-03T08:17:34.576-04:00New nRF24LU1 board on the way...Hey guys. Sorry for the delay, but I've been pretty busy making a layout for the new nRF24LU1 chip from Nordic. I have sent the board off to have some prototype PCBs made (12 for the first run in case I made some mistakes in the schematic/layout). For all of you guys that are interested, I have published the <a href = "http://www.diyembedded.com/boards/nRF24LU1/nRF24LU1_schematic.pdf">schematic</a> and <a href = "http://www.diyembedded.com/boards/nRF24LU1/nRF24LU1_layout.pdf">layout</a>. Hopefully I will be selling these guys once I get them up and working properly.<br /><br><b>Edit: I now have nRF24LU1 breakout boards for sale at <a href="http://store.diyembedded.com">http://store.diyembedded.com</a>!</b>Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-2325042365235994476.post-73625783763531865192007-10-19T09:18:00.003-04:002008-09-03T08:17:34.577-04:00New project with new chip (nRF24LU1)I have decided to use one of the suggestions from the previous post for the next project. In case you didn't know, Nordic recently released a new chip that takes the 24L01 and on the same chip adds an 8051 core, 16 kB of EEPROM for program memory, and an AES encryption coprocessor. It also has 6 GPIO pins, that can also be multiplexed with other features, such as hardware SPI and UART. <br /><br />I am going to try to lay out a board and get SDCC or some other compiler to generate code for the 8051 core. If any of you guys are familiar with 8051 coding (especially in C using some freely available compiler), then I would definitely like to hear from you (the easiest way is to make comments on this post).<br /><br />This project is going to be quite an undertaking, and once I get my stuff working I will try to start making some boards for purchase. There will also have to be some sort of programmer module, since programming the chip initially requires that it be done over SPI. If I can get a bootloader going, I am going to try to get USB up and running on the chip, so that it can be programmed that way.<br /><br />It may be a while before I get this done (or even a large amount of progress). Be patient and watch for updates occasionally.<br /><br><b>Edit: I now have nRF24LU1 breakout boards for sale at <a href="http://store.diyembedded.com">http://store.diyembedded.com</a>!</b>Unknownnoreply@blogger.com14tag:blogger.com,1999:blog-2325042365235994476.post-55150778727614864022007-09-03T00:21:00.000-04:002007-09-03T00:25:11.650-04:00Suggestions on new tutorials?I would like to ask you guys, the readers of my tutorials, what you would like to see as the next tut? I'm not limiting it to wireless stuff, although that's certainly fair game. If there are any particular applications that you have been wanting to dive into and take a look at, but aren't quite sure how to do, suggest them here. Just a few I've thought about are remote controls, wireless audio transmitter (high difficulty level), sensor networks (also pretty tough), and a few others. Feel free to post comments on this thread (anyone can post) and let me know what you'd like to see!Unknownnoreply@blogger.com28tag:blogger.com,1999:blog-2325042365235994476.post-41439049288031027152007-08-14T22:11:00.000-04:002007-08-15T13:00:58.553-04:00ARC4 tutorials postedLong overdue, I have finally completed the tutorials for ARC4 ("Alleged RC4") cryptography for use with RF wireless transmissions via the nRF24L01. Now you can secure the data that you're sending through the air in a similar format to WEP and WPA security protocols. I have created implementations in C for PIC and ARM architecture (PIC18F452 and LPC2148, respectively) just like all of the other tutorials. Now you're in the big leagues!<br /><br />Check out the links to the zip files here: <a href=http://www.diyembedded.com/tutorials/nrf24l01_4/nrf24l01_tutorial_4.zip>LPC2148</a> and <a href=http://www.diyembedded.com/tutorials/nrf24l01_pic_4/nrf24l01_tutorial_4_pic18.zip>PIC18F452</a>.Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-2325042365235994476.post-68604725997761691992007-08-10T23:30:00.001-04:002007-08-10T23:44:09.554-04:00Status update and new 24L01 data sheet releasedI promise that I haven't fallen off the face of the Earth. I haven't been able to work on tutorials for the last month or so because I started work right in crunch time of a product cycle. Blah. I am still around to help if you guys email me, though (and a few of you have). I'm going to try to finish up that ARC4 tutorial. I also sampled some Wolfson WM8737 ADC chips so I can try to chase after my DIY wireless guitar transmitter. If I can get something going, I'll let you guys check it out.<br /><br />In 24L01 news, Nordic has now (after over a year of secrecy) revealed that there are hidden features on the 24L01. I kinda knew that there was a reason that they still had a draft spec out, but now they have released a new one which can be found <a href="http://www.nordicsemi.no/files/Product/data_sheet/nRF24L01_Product_Specification_v2_0.pdf">here</a>. They have released functionality for dynamic payload length, selective acknowledge, and payload on auto-ack. These are some great features that would have been even better had they have been released from the get-go. I suppose now I get to write a new version of Tutorial 0 and the include library...Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-2325042365235994476.post-5145942214922262042007-07-13T12:26:00.000-04:002007-07-28T13:33:24.868-04:00Moving...Hey guys and gals. Just wanted to let you guys know that I'll be moving next week, and I've been packing this week. I've got the code to the intro security code up and running, but I still have to complete the write-up. I'm hoping to be able to get that completed sometime next week or weekend, if I get some spare time.Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-2325042365235994476.post-52418780663145828182007-06-26T12:00:00.000-04:002007-08-17T11:57:27.858-04:00New tutorial in the worksSorry about the long layoff - I have been incredibly busy with my class and job interviews over the last few weeks. I just wanted to let you guys know that I have another tutorial in the works for wireless security using the <a href="http://en.wikipedia.org/wiki/RC4">ARC4</a> stream cipher algorithm. For those of you that aren't familiar with ARC4, it's a hack of the RC4 algorithm developed by the RSA. RC4 is used very widely in many crpytostreams, including SSL and WEP. I'm hoping to have it done and written up in a week or two. If all goes well, I'll have implementations for both the LPC2148 and PIC18F452 in conjunction with the nRF24L01 and ARC4.<br /><br /><b>Edit: The tutorial has been completed and is linked at this post toward the bottom:</b> <a href=http://www.diyembedded.com/2007/08/arc4-tutorials-posted.html>http://www.diyembedded.com/2007/08/arc4-tutorials-posted.html</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-2325042365235994476.post-46202316669118882632007-06-04T00:12:00.000-04:002007-08-22T08:55:31.380-04:00nRF24L01 tutorials 1-3 for the PIC completedWell, I finally got it done! Tutorials 1-3 for the nRF24L01 have been completed with write-ups for the PIC line of processors (PIC18F452 in these). I forgot to change one thing in the project build options though, and it will likely make some weird directories on your machine if you try to compile the source. In MPLAB, click Project->Build Options->Project. Next, click the "Directories" tab and in the "Show directories for:" drop-down box, change "Output Directory" and "Intermediate Directory" to their default values by choosing the appropriate option and hitting the "Suite Defaults" button (you will have to do it for both).<br /><br />The links to the .zip files for each of the projects can be found here: <a href="http://www.diyembedded.com/tutorials/nrf24l01_pic_1/nrf24l01_tutorial_1_pic18.zip">Tutorial1</a>, <a href="http://www.diyembedded.com/tutorials/nrf24l01_pic_2/nrf24l01_tutorial_2_pic18.zip">Tutorial2</a>, and <a href="http://www.diyembedded.com/tutorials/nrf24l01_pic_3/nrf24l01_tutorial_3_pic18.zip">Tutorial3</a>.Unknownnoreply@blogger.com19tag:blogger.com,1999:blog-2325042365235994476.post-74529084304762500962007-06-03T20:31:00.000-04:002007-06-04T08:51:12.746-04:00The first guest tutorial!I would like to personally thank Evert Dekker for sending me a really cool tutorial on getting the 24L01 up and running using BASCOM-AVR. Check out the .zip file <a href="http://www.diyembedded.com/user/edekker/bascom_avr_0/nrf24l01_bascom.zip">here</a>. <br /><br />And remember, if any of you guys have written up any cool software using the 24L01 or anything else for that matter, feel free to send it to me with an accompanying write-up and I will be happy to post it here!Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-2325042365235994476.post-43345300805945501482007-05-31T00:29:00.000-04:002007-05-31T00:38:25.808-04:00Getting bogged down...So my final class I'm taking for my Master's degree is underway and is absolutely killing my free time. I have translated all three of the tutorials over to the PIC architecture, but I still haven't updated the write-ups. Some will take a little longer than others (the first one is by far going to be the most work). If you guys really want the code, send an email to brennen *at* diyembedded *dot* com. Otherwise, I'll try my best to get those write ups done this week/weekend if I have a minute away from HW and the girlfriend :) .Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2325042365235994476.post-77967218275644518712007-05-22T09:08:00.000-04:002007-05-31T00:38:25.808-04:00PIC code now workingI have now translated the code for Tutorial 1 over to the PIC 18F452. Many of you may know that this chip has been replaced by the 18F4520, but the code should still work just fine with minor modifications. I have to finish the write-up, but hopefully I'll have it posted in the next couple of days for you PIC lovers who wanna get down with an nRF24L01.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-2325042365235994476.post-1462050763289299982007-05-19T14:23:00.000-04:002007-06-09T13:59:17.112-04:00nRF24L01 tutorials for PIC coming soonWell, I'm finally trying to get the tutorials translated over to the PIC line of microcontrollers. I'm programming in Microchip's C18 C compiler with MPLAB. I will be doing my development on an 18F452 (which has been replaced by the 18F4520, but is still basically code-compatible). I currently have the delays, SPI, and UART all working, so now it's just a matter of time to in testing the nRF24L01 library to see if I can get that working, and then integrate the main programs. Hopefully that should get you not-so-32-bit-inclined people out there up to speed with the nRF24L01 library!<br /><br /><b>Edit: The tutorials have been completed and are linked at this post toward the bottom:</b> <a href="http://www.diyembedded.com/2007/06/tutorials-1-3-for-pic-completed.html">http://www.diyembedded.com/2007/06/tutorials-1-3-for-pic-completed.html</a>.Unknownnoreply@blogger.com1