Recent Posts

Pages: 1 ... 8 9 10
Software / Port Manipulation - Pulse Counter
« Last post by derlone on July 14, 2015, 10:24:11 AM »
I'm trying to do a counter of pulses and I can not use digitalRead nor Interrupts. The speed of pulses I am getting is too fast, and that is why I am planning to use port manipulation. I am using arduino ATmega 2560. The code I have so far and that is not working is this:

Code: [Select]
volatile unsigned int pulses = 0;
void count() {
  // This function is called
void setup() {
   DDRD &= ~(1<<PD6); //set pin 49 as input

void loop() {
  if (PIND & (1 <<PD6)) {
            count (); }     
  Serial.println( pulses );
Mechanics and Construction / Re: My Advanced Realistic Humanoid Robot Project
« Last post by mklrobo on July 13, 2015, 01:41:07 PM »
 :o OK! I found the Pen car starter!  :o
The size of a small handheld radio, brand name, Powerplus.
It is a 13600 MaH battery!  It says it has a 500 Ampere peak current output!
Unreal, if it is true.  ::) 5 of these in your robot, could possible give it enough power
to run a humanoid body!  ??? They are compact enough to fit into the body, with enough
power in parallel to run the servos and CPU for awhile. you may have to "stuff" batteries in the
legs, arms, or anywhere you can to squeeze out all the available power per area you can get.
So, the lesson to learn from this, is power available per area Vs. power used per area. that would
seem to be a good "rule of thumb" to use when calculating the body of the robot. To generalize,
computing the square footage of a house, to obtain the maximum living space, as cost per foot.
Just a thought. ;)
Misc / [advertisement] Sitewide sale at ServoCity - everything 15% off
« Last post by ServoCity on July 13, 2015, 08:52:54 AM »

Today is National Embrace your Geekness Day - and we are celebrating! Now thru Thursday, get 15% off ALL THE THINGS at ServoCity. Whether you need an actuator, a servo extension, a motor, a speed controller, a robot kit (we could go on forever, but there are 3500+ products on our site) - it's on sale!  All of it. Everything. This type of offer doesn't happen often, so stock up and save big.  Oh, and tell your friends too, they'll appreciate it!

To shop our site, click on the link below.

Mechanics and Construction / Most accurate and reliable mini servo
« Last post by foul_owl on July 12, 2015, 06:59:33 PM »
Hi folks,

Looking for a 9g servo, but a similar weight would be acceptable as well. I need the most accurate and reliable servo available. Torque and speed do not matter. Sadly, I can't seem to find any sort of specs on accuracy, and of course it's hard to gauge reliability. I originally tried an HXT900, but it would stutter and and sometimes not move correctly. When it worked, it would work great, but I think the plastic gears must have gotten stripped.

I am now looking at Turnigy TGY-50090M since it uses all metal gears.

Using an arduino + ramps aux pins + 5v vcc for control.

Any advice would be very helpful.

Mechanics and Construction / Re: My Advanced Realistic Humanoid Robot Project
« Last post by mklrobo on July 12, 2015, 11:43:33 AM »
 8) Awesome!  8)
I appreciate your feedback. I have covered some of the items we have talked about in my posts
in the misc section in this forum, Analyzing the Axon: Coding, Construction, and Contraptions.
I wish you well on your building. I usually do my "best" work on Friday/Saturday nights, eating pizza and watching old Creature Feature movies, or a science fiction robotic based movie. Sometimes, I have friends
over to "work" on the robots/MCU/Linux while we watch the movies and have a nerd fest. Good times,
Good times.   ;D ;D ;D
Software / Re: Complexity of robot vision
« Last post by artbyrobot1 on July 12, 2015, 08:48:01 AM »
In my experience with image recognition algorithm making, I had the robot turn each pixel of the image into a rgb number and then if that number matched the color it is looking for, it called that pixel a 1.  If the color did not match the color it was looking for it called that pixel a 0.  In this way, it turned images into a series of 1's and 0's and then it compared that with the list of objects on file who were also in 1's and 0's form to see if the 1's and zeros within that image matched.  If they did, he knew what object he was looking at.  You can also set it to call it a match if it was within 95% of the desired 1's and 0's pattern it was looking form.  This was a simple solution but enabled me to teach the robot to read, identify objects on screen, etc...
Mechanics and Construction / Re: My Advanced Realistic Humanoid Robot Project
« Last post by artbyrobot1 on July 11, 2015, 06:36:46 PM »
"as long as your construction info is available everyone can use something"

I agree!  I'm planning to go to great lengths to record all of my methods to share with others in an open source way.

"The only bad thing about the standalone robots, are the batteries!"

My plan is to have the robot run off of a power cable from wall outlets and when he needs to switch rooms he unplugs himself, staps on a backpack loaded with batteries, plugs that in, unplugs his power cable, walks to the next room, plugs his power cable back in and sets his battery backpack onto the ground till he needs it again to change rooms again.  So the batteries will be designed to not be built inside of him.  I got this idea from Asimo.

"I would recommend using a wheelchair for your robot to begin with."

Awesome idea!  Never considered that and I can see alot of advantages.  I'm so glad you are here giving me guidance!

"drivers/software plan"

I've planned the brains/software alot as well.  I'm going to have a laptop or powerful tablet or two in the chest of the robot running the main logic engines and am going to interface those with arduinos for lower level functionality and from the arduinos to servomotor controllers of course and from those into the servos.  Plus I'm going to have mostly likely over 100 sensors.
Mechanics and Construction / Re: My Advanced Realistic Humanoid Robot Project
« Last post by mklrobo on July 11, 2015, 02:24:09 PM »
 :) Hello!
In reference to your mechanical structure, I have found the following, thus far.  ???
The kimatic schematic, or mechanical support structure, will need addressing. I have been
working on a Free Body Diagram, to deal with weight distribution. Strengths of materials,
types of materials used, and work ergonomics fall into the design.
I had planned to use the an old Hero Jr. robot for the beginning. Simple programming would
suffice to build upon, as well as the servo and environmental needs( following the functions like
the robots used in
Silent Running). This would support the droid plan for 3 minions to
one supervisor.(home/garden automation, also somewhat personal assistants.(?)  8) )
The next advancement is a modification to the hero structure, a Super-Hero !
This phase would have arms, legs, wheels, built on the functions of the previous model.
Not a huminoid, by any stretch of the imagination, but gives functionality to the members added,
without sacrificing mechanical structure integrity. So, basically, I am using a standard body most
everybody is familiar with, and building upon that, to be an open source robot.
The body remains standard, with legs/arms that can be modified, then jacked into the main robot
where needed; with arm software upgrade.(need a new driver for the arm/leg)
Also, there will be a need for software member driver support, and the need for support of drivers for
sub - processor will be needed. This is why working together, like the Linux community, is important. A lot to think about, when building a robotic superstructure, don't you agree?    ;)
Mechanics and Construction / Re: My Advanced Realistic Humanoid Robot Project
« Last post by mklrobo on July 11, 2015, 01:11:11 PM »
 :) Hello!
    The only bad thing about the standalone robots, are the batteries! ALOT of power is demanded
from the servos and electronics. There is hope, though; they have developed (Glenn Beck reported) a
PEN battery, that you can jump your car off with!  :o I have not found such a thing on the internet,
so, it must be a hoax.  :'(  If this battery existed, these could be used to power standalone robots
for at least 8 hours, depending on the physical labor demanded. If you have heard of such
incredible batteries like this, please tell me.  ::)
     I would recommend using a wheelchair for your robot to begin with.(I had planned this myself)
the wheelchair holds the batteries and MCU, while the frame could hold any number of robotic
items you need. All government buildings (and some houses) are already wheelchair accessible.
Good luck!!!   :) :D ;D
Mechanics and Construction / Re: My Advanced Realistic Humanoid Robot Project
« Last post by mklrobo on July 11, 2015, 12:32:01 PM »
It is definitely ironic!   ;)
I am glad to see someone else really committed to a project like this; it will take time, and is
not an overnight thing. You really have to love robotics, but also, robotic concepts in overall context.
No matter what you do, as long as your construction info is available, everyone can use something
out of your efforts; That alone, is well worth it.  ;D
       I was trying to start an open source type robot with the Axon II and Axon Mote boards, so anyone who
wanted a personal assistant robot, or related project, could have one, following instructions on the post.
Beginning from scratch, with every question answered, is quite a task. But, it is fun and an investment
in my own skills/career; so, I can justify the effort/money I put into it.  ???
      In relation to Star Trek, the next Generation, I sure hated to see Data destroyed at the end.  :'( He did
give his "life" for others, making the character more Christ like. I know they have to hipe up stories to
get more ratings($), BUT, a lot more could have been done with the character, which is a tribute to the
actor who played Data. (Brent Spiner) I think Data's death truly ended the Next Generation's
movie/serial potential.  :'(  See you around the Forum!   ;D     
Pages: 1 ... 8 9 10

Get Your Ad Here