Author Topic: Robot platform for STM32F103 (Blue Pill)  (Read 2049 times)

0 Members and 1 Guest are viewing this topic.

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Robot platform for STM32F103 (Blue Pill)
« on: November 21, 2017, 11:22:27 am »
Hello,


I am working on an educational robot platform that is based on the Blue Pill form factor (STM32F103C8T6) chip. The features are:

Power:
- 1x 18650 LiIon
- LiIon charger powered from the USB connector of the BluePill
- Switch to select Charging/Programming/Full operation


General:
- 2 gearbox motors with driver and optical quadrature encoder
- I2C port expander with 16 I/O. 4 leds and 4 buttons hard wired
- I2C display header (small OLED 64x128)
- I2C 6DOF header (MPU6050)
- I2C RTCchip
- I2C memory chip
- I2C temperature measurement chip
- rotary encoder with push button
- potentiometer
- micro SD slot
- proto area with access to 8 pins from the port expander
- Bluetooth Header
- 5x optical sensor for line following application
- SPI header


- ESP8266-07 soldering connections
- small proto area


My thoughts are if this would have any buyers or general interest because the market is flooded with robot kits.


Any thoughts on the setup?


Thanks
 

Offline mbless

  • Regular Contributor
  • *
  • Posts: 227
  • Country: 00
Re: Robot platform for STM32F103 (Blue Pill)
« Reply #1 on: November 21, 2017, 06:48:17 pm »
The bluepill already has an RTC crystal, so there's no need for an external RTC chip unless you don't trust the crystal's quality.
 

Offline Cyberdragon

  • Super Contributor
  • ***
  • Posts: 2676
  • Country: us
Re: Robot platform for STM32F103 (Blue Pill)
« Reply #2 on: November 21, 2017, 07:19:55 pm »
You need a multi-axis accelerometer, otherwise it won't balance very well on two wheels.

EDIT: Yes, you can somewhat balance it with just the encoders, but it'll do the weeble wobbles.
« Last Edit: November 21, 2017, 07:22:56 pm by Cyberdragon »
*BZZZZZZAAAAAP*
Voltamort strikes again!
Explodingus - someone who frequently causes accidental explosions
 

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Robot platform for STM32F103 (Blue Pill)
« Reply #3 on: November 22, 2017, 08:51:18 am »
Thank you for the reply.


@mbless
I do not trust the clock crystal, that is why i decided to put a separate RTC chip on the board


@Cyberdragon
There is a 3 axis accelerometer and 3 axis gyro extension module available (MPU6050).
The robot is not actually designed to be a balancing robot, it can be modified to be one, but it does not have the ideal weight layout. The battery (heaviest part) is in the front and the rotation ax is behind the center. 6DOF unit is actually in the center (not exactly but around there).
 

Online VEGETA

  • Super Contributor
  • ***
  • Posts: 1952
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: Robot platform for STM32F103 (Blue Pill)
« Reply #4 on: November 23, 2017, 06:35:12 am »
I suggest you make it for 4WD robot not just 2 wheels. If you want to really take it to next level, you would integrate it with ROS.

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Robot platform for STM32F103 (Blue Pill)
« Reply #5 on: November 23, 2017, 10:10:59 am »
What i forgot to mention is that the robot is 10x10x7cm big (WxLxH, 2.5x2.5x2.1in). It uses the blue pill board as the brain, i am not sure if this chip is enough for implementing ROS.


Regarding 4WD, i thought about this, but the size is small and turning like a tank with rubber tires needs a lot of power. The solution to this would be to use a tracka ssembly but this omplicates the mechanical part, as right now i can find the parts cheap on ali. The robot is not thought for this. Currently it has 2 motorized wheels and a ball caster as the 3rd support point.


The main purpose for the robot is a educational platform for beginners in electronics/robots/arm development. You can buy the robot(different assembly variants) and programmer as a package and install openSTM32. Afterwards clone a git rep and have sample code for every function.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf