Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Fisu

Pages: 1
I have a wheeled robot with two dual motor shields (one to power two wheels, and one to power two motors with rotating brushes attached). Also attached is 3 ultrasonic distance detectors.

The whole thing was running from a single 4 AA battery pack. I realised that there was too much voltage going to the main TinyDuino board from that. So I removed resistor R3 from both motor shields, so the A4s can power just the 4 motors, and I would run the logic from the 3v coin cell.

With this setup, 9 times out of 10 it does not work. There's no motors running at all. On the occasion that it does work, the motors run, but the distance sensors do not react. Now when I attach the USB cable to the TinyDuino, it all runs perfectly - sensors and motors.

It seems like it is a power issue. Is the 3v coin cell too small to power the logic for the sensors and the motors? The docs say it should be able to run from 2.7 v.

Thank you. I kept scraping but the resistance reading kept increasing. Eventually I scraped it so hard that the resistor broke off. So I got the desired result in the end. Thanks.

I want to use two motor shields. I've followed the advice in this topic I've scraped the black coating from resistor R1 as much as I can. The resistance across R1 is now 3.31 kOhm (the resistance across an unscraped R1 is 1 kOhm) My code looks something like this:

Code: [Select]
MotorDriver motor(0);
MotorDriver motor1(1);
const int maxPWM = 10000;

void setup() {
      Serial.println("Motor driver 0 not detected!");
      Serial.println("Motor driver 1 not detected!");

When I run this, I see "Motor driver 1 not detected!". Have I not scraped off enough of the black coating off the resistor, or is it an issue with the code?

Pages: 1
SMF spam blocked by CleanTalk