small BLE microcontroller that can be programmed with arduino

So I've had an arduino for a while now (UNO) and i have steering everything towards BLE for the end goal of my project. I have a BLE shield (red bear lab) and have successfully connected to it via an iphone app in swift which was really rewarding.

My next step is to find a way to drastically miniaturize my entire set up. So what i have is the arduino hooked up to a motor controller (L293D) which is connected to 2 DC motors. I made a simple program to Serially tell the arduino to turn the dc motors left, or right, or stop. Now what i would like is to have a small motor controller take the place of the arduino board and have it and the motor controller fit on a PCB (which comes next). So the order of operations is:

Iphone App (via bluetooth) --> BLE Microcontroller (that you recommend) --> motor controller --> motors

I have found a good micro controller from Texas Instrument (CC2450 CC2540 data sheet, product information and support | TI.com) that is cheap and a useable size but i don't know how to program it like i would an Attiny. So now that you know my situation my questions are these:

  1. Does anyone know a BLE microcontroller that is pretty small (were talking mm here) that can be programmed with an arduino?

  2. Can the micro controller i mentioned earlier (Texas Instrument CC2450) be programmed via an arduino?

  3. Does anything in what I've explained above sound wrong and/or totally undoable at any part?

I really appreciate any answers and the time, thanks everyone

The Bluefruit Micro is an Arduino Micro compatible board.

The Feather series from Adafruit has a similar board.

The Feather is used in a recent video (at 10:25)

I don't know if there is a good library for the CC2450.
Why are you using a L293D ? That chip can be used for small 12V motors. There are so much better motor drivers, you find them at Pololu.com, Sparkfun.com, Adafruit.com

Thanks but i wanted just the micro-controller chip, not a board. That's why i liked the look of the TI-CC2450, it was small and just the micro-controller. But you're right so far as i know when you say that there's no library for it which is why i wanted to ask around first.

On the L293D motor controller i followed a little online list of what to look for when picking your motor controller and that one had all i needed: it was small, could control 2 motors at once, i found a tutorial on how to integrate it with arduino so at least i could get started with it, and was pretty cheap. I've looked around but haven't found many others that fit this.

If you know any others please share as i have been told I'm not very good at researching.

Modern motor drivers are everywhere :wink:

The right motor driver depends on the voltage and stall current of the motor.

Without a good Arduino library for the CC2450, I don't know if you can do that yourself. I have not used such a thing.