Let's Make Robots!


FLEXEL-1 PWM Question

Have any of you tried to enter a PWM value outside of the 500 to 2500 ms range for configuration 1 (RC Servo) on the FLEXEL-1 chip?  I would like to drive a couple of L298's with this and would like to have the full range of duty cycle.  Do values outside of the 500 to 2500ms throw an error?

Fades and flashes and keeps away the closet monster
Insired by Geir Andersen's RGB Nightlight, I thought I'd build one for my daughter. She's just started having nightmares (she's 3 years old) and wants the lights … Read more

Picaxe :- Pwm motor controlling and servo scanning

I wish to connect 1 or more servos to a picaxe 28x1 .......with 2 motors controlled by pwm

So Far :-

I have managed to get two motors working with pwm control . (jumps on table in amazement - its my first picaxe enterprise)

I have used pins 12(pwm 1) and 13(pwm 2) for the motor control (with output 7,6,5,4 for direction ie via an Ld293 chip)

using  pwmout ....... pwmduty commands - works well.........

Autonomus bot, navigates around using IR detector. It scouts, it looks, it finds!
Using a
  This is really Scout_bot version 2.0. I added the pan tilt head (Robotshop.ca) later. Anyways it adds some personality. He is built on  an old telephone base … Read more
Geir's RGB night light was such an inspiration I just had to make my own.  Instead of Picaxes I decided to use ATTiny 2313. At first I tried to program it with C … Read more


Hi guys,

I've finally found time to test te ADC and PWM capabillities of my picaxe microcontroller :)

Sorry for my bad english, but I'm a little bit tired ;)



added an SRF05 ultrasound sensor for some cool FX ;)

Yet another PWM Picaxe question

I am programming my Mr Basic with Mr Basic moron driver. I use a Picaxe 28x1. It is a very basic setup indeed, with a small servo carrying a sharp IR distance sensor.

After reading many pages of manuals and LMR and example code of other victims, I ran into a wall. It's the dreaded "PWM and servopos don't mix" wall on picaxes.

This project is my very first robot project. It has a cybot foot base with 2 DC-motors and 1 wheel in front. I use an Arduino processor as his "brain". For now my … Read more

Arduino PWM output frequencies and Tone command

I've been playing with a new oscilloscope Dagu bought after the old one died. I decided to check out the Arduino PWM outputs because I'm using an Arduino in my new speed controller and wanted to check if there were any differences as the brake function requires two PWM outputs to be be in sync so that both input are high or low at the same time.

The PWM outputs on pins 5 and 6 share a timer with timing functions such as millis() and delay() run at about 976Hz while PWM outputs on pins 3,9,10 and 11 run at about 488Hz.

AVR C is hard!

Well, last week I got several packages of parts with lots of sets of ten. I got ten 8pin sockets, ten CR2032 batteries and ten battery holders, and most importantly ten attiny85 MCUs. I figure I can use this set of parts for a bunch of small projects, but my first project is to make a tiny bot! I've already got some tiny pager motors, and some ir emitters I can use as light sensors.

TLC5940 anyone?

Allthough these chips are actually called LED drivers they are apparently capable of controlling servos...up to 16 of them :) There is even an Arduino library available for doing so. Pretty cool stuff. But I was wondering if anyone has any experiences with this? If yes then I'd like to know more about it. If not well then consider this a tip to keep in mind the next time you run out of servo pins ;)

Software PWM

I was hoping to avoid wrighting my own software pwm for the pic but it looks like i've arrived there.  the motors and tracks I hot glued toghther don't drive straigh so the only way I can think of fixing it is to use PWM to slow down one motor.  I know I could use the one hardware pwm to slow down just one motor but thats going to be used in the future for somthing else so I have to create the pwm myself in software.

this would be your first chip
IntroductionMany circuits, precooked or home made, deal with time related issues and many of those are dealt with by this IC: The *555* IC. It comes in many shapes … Read more

hobby motor control

Hi guys, I am looking into getting a small electronic speed controller from the rc hobby store to run a couple of small dc motors (tamiya dual gearbox), does anybody know if these take the same pwm input as running a servo or does the r/c gear use something else? I thought r/c gear used pwm but when browsing online for motor controllers some say pwm, and some say r/c (in addition to analog or serial or whatever else). Is there a difference?