Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My implementations
10-14-2015, 07:46 PM (This post was last modified: 10-14-2015 07:48 PM by sasa999.)
Post: #31
RE: My implementations
(10-14-2015 07:18 PM)vlelectronic Wrote:  You can attach your ini file with its libraries?
I use KomX sketch with some changes for ESP8266 (I use flashed ESP8266 with my own code) and more aggressive PID settings. At now I have deleted almost ALL added functions and Sonar and servo and sound/voice too, because I have not enough space for more advanced driving and balance code. So You can use KomX sketch as start platform.
Find all posts by this user
Quote this message in a reply
10-17-2015, 11:09 PM (This post was last modified: 12-06-2015 12:39 PM by sasa999.)
Post: #32
RE: My implementations
My next D-Robot3 will be little different - with very small control board , without Leonardo or MicroPro

[Image: DSCN0545.jpg]

Now looking for smaller steppers with enough torque. If I will find them on 3.5V, I will change to drv8834 driver (2.5-10.8 V supply voltage range) and will run on 1s LiPo or Li-ion without step-up booster

[Image: stepper-motor-driver-drv8834-1.jpg]


why? Look at this video ...
sorry, but some mobile devices can't show Youtube onscreen notes in this video Sad





Don't ask how, because I school poorly studied, therefore physics and programming I have not well understood, but maybe that is why I try to do things that seem impossible.
Google translation Sad
Find all posts by this user
Quote this message in a reply
10-18-2015, 10:33 AM (This post was last modified: 10-18-2015 11:01 AM by sasa999.)
Post: #33
RE: My implementations
D-Robot4 board with more advanced STM32, a 32-bit ARM Cortex M3 microprocessor

[Image: IMG_20151018_131142.jpg]

Thanks to Komx for recommendations. Uploading is very sample by USB. Tested with KomX code. It works!
For now I started write timer code changes for motors, two servos and battery voltage meter. I hope KomX will help me Smile
Find all posts by this user
Quote this message in a reply
10-18-2015, 12:18 PM (This post was last modified: 10-18-2015 12:19 PM by KomX.)
Post: #34
RE: My implementations
Да-с... Фантазия твоя не знает границ!!!
Сколько же "вкусненького" лежит под этой ссылкой:
[Image: stepper-motor-driver-drv8834-5.jpg]
...если убрать имя картинки и перейти на уровень выше.
И что интересно, на сайте обо всём этом богатстве нет ни одной ссылки.
Find all posts by this user
Quote this message in a reply
10-29-2015, 11:03 PM
Post: #35
RE: My implementations
Thank you Sasa for your idea about the "self resetting" controls in the OSC touch APP. We have implemented them in the new version of the Layout (and the battery status) ;-)
Visit this user's website Find all posts by this user
Quote this message in a reply
11-20-2015, 08:54 AM
Post: #36
RE: My implementations
(10-13-2015 06:24 PM)sasa999 Wrote:  Turn - just turn without steering fadder
REV - change front and back , motor = -motor
Stop - set all to zero or neutral and reset fadders on OSC (if not used AutiReset function from OSC TouchMessages (/z)))
On/Off - wake-up and rise-up robot
Toggle buttons 1, 2 and 3 (at top) for speak, lights utc. I often use them for testing different codes/modes/setiings ...
You can see them all at video Smile

Hello sasa999,
I am very interested in robot rise-up without hand. Could you please explain what code you have changed to rise-up robot as I understand with button On/Off press?
Find all posts by this user
Quote this message in a reply
11-20-2015, 04:34 PM (This post was last modified: 11-20-2015 04:38 PM by sasa999.)
Post: #37
RE: My implementations
Remove this line or increase angle for riseup. For example 120 instead of 74 and your robot will riseup themself immediately after gyro calibration
Code:
if ((angle_adjusted < 74) && (angle_adjusted > -74))

You must have motors power enough for riseup
Find all posts by this user
Quote this message in a reply
11-20-2015, 07:10 PM
Post: #38
RE: My implementations
Yes, now I understand why sometimes my motors just make noise, but do not spin wheels... Must be they are not powerful enough. At first I thought they are broken. Now I know - I will need arm for rise up or new more powerful motors Smile My motors static moment 2.7kg/cm, moment of inertia: 34g.cm². Could you advice what motor should be enough for rise up?
Find all posts by this user
Quote this message in a reply
11-20-2015, 11:26 PM
Post: #39
RE: My implementations
(11-20-2015 07:10 PM)dariukasd Wrote:  Could you advice what motor should be enough for rise up?
It depends of your robot overall balance, total weight, wheel size, max current, battery etc.
Find all posts by this user
Quote this message in a reply
12-06-2015, 09:33 AM
Post: #40
RE: My implementations
@Sasa999

Good Job.
Any news on rewriting the timers to stm32?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)