Mechanics and Construction > Mechanics and Construction

Building My 1st Robot

(1/2) > >>

PhyroHydrous:
Well i just recently got interested in robotics. Now I wanna make one. I read that before building you have to know what the robot will do first. I decided it will be like the follow me robot(And I'll make it look like R2D2 ). It will follow me when i say it's name or something simple and stop when i say stop or something simple.

Can I do this with an AVR microcontroller? Do i even need a microcontroller ? If i do what type do you advice (something cheap :p).

So yeah...

newInRobotics:

--- Quote from: PhyroHydrous on July 25, 2012, 01:46:49 AM ---Can I do this with an AVR microcontroller?
--- End quote ---
Yes You can :)


--- Quote from: PhyroHydrous on July 25, 2012, 01:46:49 AM ---Do i even need a microcontroller ?
--- End quote ---
Yes You do :)


--- Quote from: PhyroHydrous on July 25, 2012, 01:46:49 AM ---If i do what type do you advice (something cheap :p).
--- End quote ---
Get something like ATmega48 :) Cheap and full of features.

Soeren:
Hi,


--- Quote from: PhyroHydrous on July 25, 2012, 01:46:49 AM ---Do i even need a microcontroller ? If i do what type do you advice (something cheap :p).

--- End quote ---

You probably need a microcontroller board (if you don't wanna make one yourself).

A cheap ($26.95) but very capable board:
http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,892,893&Prod=CHIPKIT-UNO32

A step up, more I/O, program memory and RAM etc (plus USB OTG) board (still cheap at $49.50) for when you need it (not the first couple of years I assume :))
http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,892,894&Prod=CHIPKIT-MAX32

Both boards work with most Arduino code and shields (it's like an Arduino on steroids, 32 bit and 80MHz).

rodstar:
Yes you need a microcontroller.

I would recommend you a UBW32. It's a 32-bit PIC32, 78 pins breadboard compatible pins. For usd $39 you get the top of the line microcontroller, with 6 uarts, up to 120 MIPS, 32-bit timers, tons of pins. Widely supported in the web. You can program it via USB via bootloader. It also features hardware audio capabilities.

Another option is Arduino but it is for the copy/paste philosophy people. You are limited to the features of pre-made libraries. It's a 8-bit microcontroller and it's more expensive...

Soeren:
Hi,


--- Quote from: rodstar on July 29, 2012, 10:17:59 PM ---Another option is Arduino but it is for the copy/paste philosophy people. You are limited to the features of pre-made libraries. It's a 8-bit microcontroller and it's more expensive...

--- End quote ---
But going with the ChipKit32 boards, you have both the 32 bit PIC and the Arduino code compatibility ;D

It's not that the Arduonos are more geared towards Drag&Drop coding, that's just the result of a vast user base, leading lots of users to not reinvent the wheel over and over.
If you wanna make it hard on yourself, you can easily do so with Arduino as well as any other board/core.

The Arduino compatibility of the ChipKit32 is a very smart feature for a beginner, as lots of examples can then be Drag&Drop'ed until the user is somewhat familiar with how to code on his own.

Your argument about being limited to existing libraries is pure baloney and just shows that you really don't understand all that much about programming - nothing stops you from using library functions for some of the code, your own HL code for the rest and when you grow hair on your chest sometime, you'll do the same, intermingling libraries (made by you or others) with plain code, just directly on the iron.

It's a very good idea not to comment on things you don't really understand - it only adds confusion for the poor guy trying to make heads or tails of the answers he gets :)

Navigation

[0] Message Index

[#] Next page

Go to full version