Menu

1 / 2

My First Robot Steps by Samuel | Ghana Robotics Dreamer

DEV Community·Samuel Osei·6 months ago
#nzSAkADq
#python#beginners#codenewbie#devjournal#cash
Reading 0:00
15s threshold

Hey everyone! I'm Samuel, a 15-year-old from Accra, Ghana jumping into robotics with big dreams but zero startup cash. My goal? Build a walking explorer bot by end of 2026 that freelances online for me—bidding on writing gigs while chatting like my AI friend Perplexity. Crazy? Maybe, but I'm coding it step by step!

From Phone to Laptop

Started on Android with Pydroid 3, messing with Python loops. Now rocking my HP EliteBook (Windows 10, 8GB RAM) for real work. First mission: code a walking gait.

Here's my baby sine wave script—alternating legs like a real robot toddler:

import math

import time

time_step = 0.1

for t in range(100):

left_leg = math.sin(t * 0.5) * 30 # Degrees up/down

right_leg = math.sin((t * 0.5) + 3.14) * 30 # Opposite phase

print(f"Step {t}: Left={left_leg:.1f}°, Right={right_leg:.1f}°")

time.sleep(time_step)

Run it and BOOM—smooth alternating steps! Next up: PyBullet simulator for 3D testing (free download).

Why This Bot?

World's changed—bots do risky jobs safer.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.