/RC_Transmitter_STM32

An Arduino 2.4GHz and IR remote controller

Primary LanguageArduinoMIT LicenseMIT

This is an Arduino 2.4GHz radio and IR transmitter for STM32

Features:

  • IR transmitter for "LEGO" Powerfunctions and trains as well as for "MECCANO" motors
  • 2.4GHz radio transmitter for RC cars, helicopters etc.
  • 4 analog axes, 2 mode switches (joystick buttons)
  • 1 potentiometer for adjustments like the MRSC stability control
  • 4 push buttons for transmission mode and vehicle selection as well as menu navigation
  • 10 seletcable vehicle addresses, so you can use it for more than one vehicle
  • 3.3V, 72MHz STM32F103C8T6 ARM board
  • Atmel AVR version see: https://github.com/TheDIYGuy999/RC_Transmitter
  • 2.4GHz NRF24L01 radio module
  • Support for 0.96" I2C OLED.
  • Configuration menu for: Channel direction reversing, servo travel adjustment (independent for each vehicle)
  • Configuration values are stored in EEPROM
  • NRF24L01+PA+LNA SMA radio modules with power amplifier are supported from board version 1.1
  • very compact
  • Eagle schematic will follow
  • PONG Game included (runs much faster than on the Atmel AVR version)

Changelog:

New in V 2.0:

  • Initial commit starting with V2.0, because the features are the same as in V2.0 for Atmel ARM MCU's
  • Pinout according to the software comments. An Eagle schematic will follow later
  • Works together with my Atmel AVR based receivers or the transmitter in "Tester Mode"
  • OLED now driven by the u8g2 library in "full buffer" mode. This is much faster, but requires more RAM (no problem on the STM32)
  • Lego IR ist tested
  • Meccano IR should work in theory, but the signal was only tested with an oscilloscope
  • The emulated STM32 EEPROM seems to work properly, but the required "eepromHandler.h" is entirely new
  • This version may still contain bugs. It was only tested on a breadboard

New in V 2.01:

  • Battery voltage detection bug fixed

Usage

See pictures

The biggest and the smallest vehicle:

The Atmel AVR version:

The STM32 test rig on a breadboard:

(c) 2017 TheDIYGuy999