SG Crawlers Forum
Search
 
 

Display results as :
 


Rechercher Advanced Search

SGCrawlers - Crawl & Trail videos
SGCrawlers - Bash Tour Drift videos
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest :: 1 Bot

None

[ View the whole list ]


Most users ever online was 57 on Fri 23 Sep 2016 - 12:58
Latest topics
» WTS: Turnigy 5000mAh 6S 20C Lipo Pack w/4mm HXT Connector
by purexc Tue 21 Mar 2017 - 11:45

» WTS : [BN] Turnigy P405 Dual Input (AC/DC) 45W Digital Balancing Charger
by purexc Mon 20 Mar 2017 - 18:05

» Newbie Build on my SCX10
by Kirbugoy Sun 19 Mar 2017 - 18:23

» [PHOTOS] Japanese rally cars from the 90s, Tamiya-style
by boolean21 Sat 18 Mar 2017 - 10:58

» [Offroad Trails] Offroading at Tampines Quarry 19 Mar 2017 - 0900hrs
by boolean21 Sat 18 Mar 2017 - 0:10

» WTS: Scale Pro-Line Jeep Unlimited Painted Body (Olive Green)
by DWJL511 Thu 2 Mar 2017 - 19:28

» WTB trail truck.
by tlsrichmond Wed 1 Mar 2017 - 18:23

» [VIDEO] RC Scale Trucks Offroad Adventures RC Toyota Hilux Land Rover Defender 90 G Wagon Suzuki Jimny
by boolean21 Mon 20 Feb 2017 - 22:50

» Newbie intro and... updates?
by boolean21 Mon 20 Feb 2017 - 8:23

» [VIDEO] Fix stripped screw holes with brass knurled nuts
by babyboy Mon 20 Feb 2017 - 1:06

» [Night Drifting] 16 Feb 2017 2030hrs - Buangkok Sports Park near Blk 986A - MSCP at Blk 984
by boolean21 Wed 15 Feb 2017 - 20:46

» [BUILD THREAD] Boolean21's Realacc x210 build diary
by boolean21 Sat 4 Feb 2017 - 0:28

» [Durian Loop Trail] Rifle Range Road - Durian Loop Trail - 05 Feb 2017 0900hrs
by boolean21 Sat 4 Feb 2017 - 0:27

» [RC Drifting] 22 Jan 2017 0900hrs - Buangkok Sports Park near Blk 986A - MSCP at Blk 984
by boolean21 Sat 21 Jan 2017 - 20:31

» [Night Drifting] 12 Jan 2017 2030hrs - Buangkok Sports Park near Blk 986A - MSCP at Blk 984
by boolean21 Tue 10 Jan 2017 - 22:31

» [Scale Trail & Bashing] Woodgrove Ave - Sunday 08 Jan 2017 0900hrs
by DSKB Mon 9 Jan 2017 - 12:27

» [SGcrawlers 2nd BBQ meetup night trail] 7 Jan 2017 Saturday 5pm onwards
by babyboy Thu 5 Jan 2017 - 22:06

» [PHOTOS] RC Helicopters mini fly meet
by boolean21 Tue 3 Jan 2017 - 0:21

» [PHOTOS] 20161229 Night drifting!
by boolean21 Tue 3 Jan 2017 - 0:08

» [Night Drifting] 01 Dec 2016 2030hrs - Buangkok Sports Park near Blk 986A - MSCP at Blk 984
by orouit Sun 1 Jan 2017 - 12:11

March 2017
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Affiliates
free forum

Free Domain Name
Google+

Build your own RC car receiver

View previous topic View next topic Go down

Build your own RC car receiver

Post by laneboysrc on Sun 28 Dec 2014 - 14:32

Its always fun learning something new. Ever since we got a 2.4 GHz RC system a few years ago, I wanted to understand how these things actually work. How do they send data over the air? What components are used?

Well, in the last months we finally got around digging into it. And it turned out that it is a rather simple affair. So we built our own RC receivers.

Note: these receivers are only for the HobbyKing HK310 and Turnigy 3XS radios. Different brands use different RF systems and configurations, so 2.4GHz systems are incompatible by design.


The HobbyKing HKR3000 and XR3100 receivers along with two different versions of compatible, home-brew receivers.



The HobbyKing system uses RF technology from Nordic Semiconductor. It employs the famous nRF24 RF transceivers. Those chips are extremely popular in hobby electronic circles due to their low cost, reliability and ease of use. This is good news as it means that components and even ready made modules are easily available at low prices.

Like most 2.4GHz RF systems, the nRF24 can be configured in many different ways to achieve the functionality suitable for the application at hand. So the first task was to reverse engineer how exactly the RF system is set up in the HobbyKing RC system. This was quite some work as no documentation is available, but with a bit of preserverance we managed to find out all we need to know. We have documented everything in detail.

Building the actual receivers was straight-forward once we knew how the system works. We built two different flavours, each having strengths and weaknesses.


lpc812-nrf24l01 variant on the left, nrf24le1 variant on the right

The first variant, we call it lpc812-nrf24l01, uses a commonly available NRF24L01+ module along with a NXP LPC812 micro-controller.

The NRF24L01+ module can be found for less than USD 1 per piece in qty 10 from online suppliers. The NXP LPC812 is a tiny 16-pin micro-controller that contains a 32-bit ARM Cortex-M0 core along with other useful hardware. Despite what it offers, it costs less than USD 2. It has a built-in ROM bootloader so that firmware can be flashed with an off-the-shelf USB-to-serial dongle -- no proprietary programming hardware needed. The toolchain is standard GNU GCC for ARM, hence very easy to program for.

The lpc812-nrf24l01 hardware requires a circuit board as the components come in a very small pin pitch package only. Compared to the second variant, the lpc812-nrf24l01 does not have a CPPM output, but it does have a UART preprocessour output which achieves the same functionality.


lpc812-nrf24l01 variant on the left, nrf24le1 variant on the right

The second variant is based on the NRF24LE1 chip. Hence we call it nrf24le1. This chip includes the same RF hardware as the NRF24L01, but also has a 8051-compatible micro-controller on board. This exact same chip is used in the HobbyKing receivers.

This receiver has a very low part count: NRF24LE1 module, voltage regulator, a few capacitors; done! It can be built on a breadboard if needed. Beside the UART preprocessour output we also added a CPPM output. CPPM carries Steering, Throttle and CH3 information in a single wire.

The NRF24LE1 module is about USD 6, so more expensive than the NRF24L01. To flash the firmware one needs a special programmer, but there are lots of open designs available on the Internet. You can also get ready-made programmers in online shops for reasonable cost.

There are different versions of NRF24LE1 modules for sale, so be careful to buy the right one if you want to use the PCB we provided.

The firmware of both receiver variants is in large parts identical. The major difference lies in the hardware aspects as the 8051 is quite a different animal than the NXP LPC812.

All hardware and firmware for both designes is Open-Source. Please find all related project documents on our nrf24l01-rc Github page.

The NRF24LE1 firmware included in this project can be compiled to be compatible with the HKR3000 and XR3100 hardware. However, since those receivers use the OTP version (NRF24LE1G) one would have to replace the chip with the NR24LE1E versions to be able to use it.

have fun with RC, Werner

PS: some say I am working way to much on electronics projects lately. This is strictly not true Twisted Evil
avatar
laneboysrc
Crawler

Posts : 869
Join date : 2012-05-21

View user profile http://laneboysrc.blogspot.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum