Author Topic: How do i test if my mcu is working?  (Read 2670 times)

0 Members and 1 Guest are viewing this topic.

Offline JarydTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
How do i test if my mcu is working?
« on: October 31, 2010, 07:45:59 AM »
How do i test if my mcu is working?

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: How do i test if my mcu is working?
« Reply #1 on: October 31, 2010, 09:03:30 AM »
Connect an LED and resistor to a port pin, set the port to an output and write code that blinks the LED by setting the output high for a period of time then low for a period of time.

Offline JarydTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: How do i test if my mcu is working?
« Reply #2 on: November 04, 2010, 01:43:38 PM »
Thaats alittle confusing and i dont have any software yet is there another way??

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: How do i test if my mcu is working?
« Reply #3 on: November 04, 2010, 05:15:55 PM »
You're not going to be able to test it without programming it with SOMETHING.  What MCU is it?  Many come with a "blink" program as a factory setting, so you could try just hooking up Vcc and ground.

Offline JarydTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: How do i test if my mcu is working?
« Reply #4 on: November 08, 2010, 08:52:59 PM »
I built it using the tutorial

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: How do i test if my mcu is working?
« Reply #5 on: November 08, 2010, 09:24:38 PM »
The $50 robot tutorial?  That MCU will need to be flashed with a blink program.  If you didn't do anything to the MCU, and you've kept it in an antistatic bag/grounded yourself before touching it, it should probably be fine.  Take a look at where the ICSP pins connect to - you can probably jury-rig a programmer and flash the chip with a blink program, and then read the output with an LED + resistor or a multimeter.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: How do i test if my mcu is working?
« Reply #6 on: November 09, 2010, 05:02:02 AM »
Hi,

How do i test if my mcu is working?
Why do you want to test it at all - did you do anything particular evil to it?
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline JarydTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: How do i test if my mcu is working?
« Reply #7 on: November 09, 2010, 08:43:55 PM »
Well basically I messed up the first one and spent  a lot of time on the second. I never got any farther than that due to my budget and lack of time. I now have alot of time on my hands and just wanted to see if it actually works or not.

Jaryd

Offline JarydTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: How do i test if my mcu is working?
« Reply #8 on: November 14, 2010, 07:06:54 PM »
As of right now Im understanding that I am going to need some software... What software is the up to date version I should use. (if not free cheap!!!!!!!!!!!!)

paulstreats

  • Guest
Re: How do i test if my mcu is working?
« Reply #9 on: November 15, 2010, 03:59:19 AM »
If you built the $50 board according to the instructions then just follow the rest of the instructions. There is already a program in the tutorial for you to download to it. (presumably you already have the hardware programmer in the tutorial. If not then I dont thin that you can achieve anything with it)

 

SMF spam blocked by CleanTalk