Recent Posts

Pages: 1 2 3 ... 10
1
Electronics / Robot not working
« Last post by fishfood32 on Today at 02:32:14 PM »
I have a spektrum dx5e transmitter and a ar610 receiver. I believe that they are paired because when I turn on the transmitter the receiver's light turns on. However I lost the bind plug but I somehow managed to bind them. I pluged in my servos and batteries into the correct slots but nothing happens when I move the sticks. What am I doing wrong?
2
Electronics / Re: $50 robot breadboard issues
« Last post by Plague on Today at 01:46:39 PM »
No problemo. Good Luck.   8)
3
Electronics / Re: $50 robot breadboard issues
« Last post by CallumS on Today at 01:22:25 PM »
Sounds good. I'm pretty sure I understand. Thanks for the fast response.
4
Electronics / Re: $50 robot breadboard issues
« Last post by Plague on Today at 11:39:20 AM »
Initially,  I used the breadboard for the 50$ robot. What I did was use a couple of jumper wires instead of the male header for the programmer. And connected them (using more jumper wires)  to their corresponding pinout of the ATMEGA.  Or you just connect the jumpers directly to the ATMEGA. I can post a picture of you want.
5
Electronics / $50 robot breadboard issues
« Last post by CallumS on Today at 07:09:34 AM »
Hello.

I'm using a breadboard for the robot, but I have encountered some problems. It would be good if someone could help me solve them.

My first is that the headers that the socket (the one that you make from single-row headers) that the Atmel AVR programmer connects to, can't be placed in such a way as for it to be the programmer to connect to it on a breadboard - or, at least, I can't find a way how it could.

In order for the different sides of the socket to not be connected to each other, I have to have it straddling two sets of columns of holes. There's a picture that might make it easier to understand.

I can't see how I can do this differently. Thanks in advance for any replies! I'll be happy to provide any other information that you might need. :)
6
Mechanics and Construction / Re: Help needed to construct my First Robot
« Last post by cyberjeff on Yesterday at 02:28:07 AM »
I am using Atmega 16 micro controller,Tell me how to write a programme in PWM mode using timer0.

Google is your friend in all these things:

https://www.newbiehack.com/MicrocontrollerControlAHobbyServo.aspx

Among many others.

All this is too far down in the weeds to hold my interest.
7
Mechanics and Construction / Re: Help needed to construct my First Robot
« Last post by rahavoc on July 31, 2015, 10:08:03 PM »
I am using Atmega 16 micro controller,Tell me how to write a programme in PWM mode using timer0.
8
Electronics / Re: $50 dollar robot not working.
« Last post by Plague on July 31, 2015, 04:29:42 PM »
I stumbled on this site because of the servo mod for continuous rotation. Best I have seen.

When you troubleshoot a program you need to see what is happening with your variables. At the moment you don't know where the problem is, but if you knew what values were coming from the photocells after  the A to D, you could see if they were behaving. Similarly you could see what the values were going to the servo.

Typically you would sprinkle test points (and probably slow down the loop) and track what is going on. That is fairly simple to do with an Arduino when it is tethered to a computer. You open a serial connection through the USB and watch the data being printed out.

That is exactly what I do when I am debugging a program. Debugging by guessing, is a lot like fixing a car by guessing and is why all cars now have diagnostics where you can read the various engine settings and codes.

I would be willing to contribute to code for an Arduino version of the $50 robot, I won't be building one though.

I'll try to see if I can Debug based on what you said. I used to arduino to check the light and dark values of the photocells, and i got a good response. Ill see if i can find anything else Also if possible, you can contribute your code just incase.. Much appreciated.
9
Electronics / Re: $50 dollar robot not working.
« Last post by cyberjeff on July 31, 2015, 01:55:38 PM »
I stumbled on this site because of the servo mod for continuous rotation. Best I have seen.

When you troubleshoot a program you need to see what is happening with your variables. At the moment you don't know where the problem is, but if you knew what values were coming from the photocells after  the A to D, you could see if they were behaving. Similarly you could see what the values were going to the servo.

Typically you would sprinkle test points (and probably slow down the loop) and track what is going on. That is fairly simple to do with an Arduino when it is tethered to a computer. You open a serial connection through the USB and watch the data being printed out.

That is exactly what I do when I am debugging a program. Debugging by guessing, is a lot like fixing a car by guessing and is why all cars now have diagnostics where you can read the various engine settings and codes.

I would be willing to contribute to code for an Arduino version of the $50 robot, I won't be building one though.
10
Mechanics and Construction / Re: Help needed to construct my First Robot
« Last post by cyberjeff on July 31, 2015, 01:27:02 PM »
I have a TowerPro SG 90 Micro Servo Motor.
Can you please tell how to rotate it using PWM method,I am using Atmega 16.

Assuming you mean software:

I can't tell you that.

I'll tell you what I would do. I'd get an Arduino Uno and load up the Arduino IDE:

https://www.arduino.cc/en/main/software

They have sample code in there for servos

Arduinos and their clones are widely available. There is a vast assortment of electronics that bolts right on, the IDE already has the libraries for most devices you need, otherwise they are easy to come by. You won't need any special hardware to program it, just a USB cable and that will come with the Arduino.

I find it pretty easy to set up. And then you can get to the hard parts of making it do what you want.

YMMV
Pages: 1 2 3 ... 10

Get Your Ad Here