A short story

Go To Last Post
31 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A quick introduction, I'm retired Master Auto Tech 65 yr.'s old and just stumbled intro Arduino. Always been interested in electrical & mechanical things. any way I saw this guy Dave at ( EEVBlog ) explaining OP-Amps and I was blown away I bought an analog and digital scope an assortment of electrical parts and an Arduino UNO, bread boards, and an assortment of sensors and things to play with. Enough, The reason I asked you here is. I bought 2 Transistor checkers ( http://www.instructables.com/id/... )

I did nothing but light up the display the 2nd worked I swapped out the atmel chip and it worked so I thought I would re program it I bought a ARV programmer ( http://www.jyetech.com/Products/... )  It says to  Change the board into USB-UART converter
The board can be easily changed into an USB-UART converter by following steps below.
1. Add the resistor R8 (simply short it if you don’t have a 0 ohm resistor handy)
2. Flash the MCU with AVR-CDC firmware (available at http://www.recursion.jp/avrcdc/ or
www.jyetech.com ). when I plug it programmer into my PC Windows 10 it does not see it, it sees the Arduino I tried a couple of avrcdc files but nothing I'm wondering if I need to remove the resistor first  at this point I'm lost! 

I almost didn't post this, I read the tutorial about posting on this site and it sounds like I was being made to feel inferior to the GODS. 

Look I'm old and tired, all of this has happened inn the last 2 months and I have been doing nothing but reading for days at a time. if someone could help my or point me in the right direction I would be grateful.

understanding op-amps, Mosfet, diodes, voltage dividers, and trying not to be confused over weather at the moment it's flowing from + to -  or need to relies it's - to +   I'm looking at.

I'M TIRED  thanks for the time. Mick

 

 

     

 

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Look I'm old and tired,

Join the club junior..... laugh many of us here are older than you, but is 65 OLD? Nah.

 

Unfortunately I'm not an Arduino fluent person but welcome to AVRFreaks, someone will pop up with some answer.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Mick B wrote:
I did nothing but light up the display the 2nd worked I swapped out the atmel chip and it worked so I thought I would re program it I bought a ARV programmer ( http://www.jyetech.com/Products/... )  It says to  Change the board into USB-UART converter The board can be easily changed into an USB-UART converter by following steps below.

 

Why do you want to change the board into a usb->serial converter? 

 

From what I can figure, you need R7 and R8 fitted for the recursion.jp code

 

Personally, I'd just buy a real usb->serial board and avoid the hassle of this crappy work-around. It's a bit like fixing a leaky exhaust with coke cans and fencing wire - sure it works, but it's not what you'd call a clean solution.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What is the price aof the board?

What is the price of a USB<->UART converter?

 

Well, OP is annoyed because he has lots to read. AVR datasheet are 300-400 pages (with diagrams); ARMs datasheets are 700-1000 pages (I am afraid there are no limits; perhaps they will become written in Cantonese).

But datasheets are structured enough that one only reads chapters one is interested in, Avrs last long enough -it is unpleasant to find a nice circuit, and know MCU is no longer manufactured/distributed).

Arduino has very nice help, with examples.

 

Avrfreaks -forgot the adress- has very nice tutorials, for many topics.

 

Gammon http://www.gammon.com.au/forum/b... was very useful for me

 

4 years ago, a man buying an Arduino in Paris complained Arduino doc was mainly English; I bet this trouble does not occur in Florida.

This was before Hackable Magazine, a French journal, existed : main topics are Arduino and RPi (but this month, had a Z80 working: RAM was emulated by an Arduino, and it has a huge heap of Dupond wires). Author/Editor described, in the 10 first issues, each and every programming & data structure (variables, loops, arrays, functions, (arrays of) function pointers ....  except circular buffers) one found/should find in Arduino programs.

 

Maybe there is a review like this in the States.

 

Economical advantages of reading documentation: the time spent is not spent in buying... one can get some ideas of how to buy, what one needs (Arduini and avr component toaesters are gems, and OP choices seem often very wise)

Technical advantages :one codes less, making less bugs.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't think one of these will break the bank:  https://www.ebay.com/p/Cp2102-US...

 

 

Mission: Improving the readiness of hams world wide : flinthillsradioinc.com

Interests: Ham Radio, Solar power, futures & currency trading - whats yours?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mick B wrote:
I almost didn't post this, I read the tutorial about posting on this site and it sounds like I was being made to feel inferior to the GODS.
Sorry but what tutorial are you referring to? We most definitely don't want to give that impression - in fact the opposite so I will change anything that appears to be condescending. Folks here are just present to try and help out other AVR users with their own shared experience.

 

Moderator

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mick B wrote:
I almost didn't post this, I read the tutorial about posting on this site and it sounds like I was being made to feel inferior to the GODS. 

Which would have been unfortunate if you had not as your first thread is better than many we get around here.

 

clawson wrote:
but what tutorial are you referring to?

+1

 

 

As John has already mentioned, the Arduino is a great place to start.  You can get knock off Unos and Megas from ebay for next to nothing and they have a HUGE variety of add-on shields with example code for you you experiment with.

 

Post your questions without pause, or hesitation, and welcome to the Freak Show! laughcheeky

 

 

 

Jim

 

Edit:  I should have read the OP a little better.

 

That Programmer you are using is an ISP programmer...albeit an odd duck, but they do provide a user manual for it at least.  All you would need to do to program your device in circuit(provided it has the pins on the target) is to connect one of the headers from the programmer to the target,   You do not need to change the board to a USB/Uart converter for programming. 

 

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

Last Edited: Wed. Jun 13, 2018 - 02:07 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 It says to  Change the board into USB-UART converter

I'm afraid I don't understand the current goal.

 

Did only one of the little Transistor Checker boards work, and you are trying to debug the other one, or are you just tinkering with the board, and attempting to make it do something different?

 

One can program the micro with ISP, (In System Programming), which requires specific connections from the AVR programmer to certain pins on the micro.

If the micro has a "Bootloader" program already loaded in the micro, using a programmer, then one can load a program using a USB to Serial bridge, (if the Bootloader is set up that way).

 

It doesn't appear from the schematic that the board has an ISP programming header, which is unfortunate, as that would make programming the micro/board easy.

 

If the board has a Serial Bootloader, then as mentioned above it is certainly easier to just purchase a small USB-to-Serial breakout board, (eBay, Ada Fruit, Spark Fun Electronics, BangGood Electronics, etc.)

 

Hand Hang in there and you will soon be converted from a Master Mechanic to a Micro Guro Guru.

 

JC

 

 

Last Edited: Wed. Jun 13, 2018 - 10:15 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello mate I believe it was in the "introduction how to ask a question something something" I just cant remember the smart way maybe. Anyway I might have just been overly sensitive, I was very tired

Thanks Mick 

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there, Ya one of the atmaga 328P-PU. IC's on the 2 Transistor testers was toast, I have the .HEX and .EEP files & avrdude I was hoping go through that ISP to the UNO board to reprogram it. The directions I had for that failed. I also now have a brand new 328P-PU. What board would you recommend to make this process as painless as possible, if necessary I have breadboards and jumper wires. I want to learn this process as I go. I'm also trying to cram all of the electrical parts how they work in relation to each other. so much to learn so little time. WOO HOO! my LM358 & UA741 op-amps  and NE555 timers arrived today!

Thanks Mick

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yep that's them. Great quote.

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you very much , I'm feeling younger today!

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK but I'm still not getting this - of the two threads that Joey linked in #10 which is the one that appears condescending? The first one (and the second one too in fact) links to a an offsite article that we have no control over ( http://www.catb.org/~esr/faqs/sm... ). As the opening paragraph there states:

Many project websites link to this document in their sections on how to get help. That's fine, it's the use we intended

But on the whole that article contains the received wisdom of several people who have seen how beginners fail to compose sensible questions (usually a woeful lack of detail - something of which you can never have too much).

 

As for the second - I know it's a bit out of date and some of the links may now be dead but other than that I can't see anything that gives the impression

Mick B wrote:
I read the tutorial about posting on this site and it sounds like I was being made to feel inferior to the GODS.

So is it the external catb.org article you were offended by?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

First, I want to congratulate you for the choice of your hardware (analog circuits to teach you electronics, broadbeards, arduino and component tester). I understood there was an issue with component tester; those circuits are nice gems. At the beginning, they were meant for mega48, and functionalities -do not check only transistors, but inductances, capacitors and imperfect components; generate functions- , displays (graphical ones)  were added : still work with 48, but can work with 328 or greater (2560).

Issue I see  fear (without being able to verify it) a bootloader (Arduino adds it to 328) eat ... a "little" flash, and that, sometimes, they added enough functionalities to make a lot of users happy and ... to almost fill MCU flash (else, if it was not full, users would be ... less happy).

 

Maybe your idea of taking a new MCU, plugging it into an Arduino board and programming the component tester (it first installs boatladder, IIRC) does not work because of this trivial  issue. Without further knowledge of the details of your component tester (has a huge lot of options telepathy cannot guess -knowing who sold it might be enough if one has time or a priori knowledge/experience - ), I am aware this remains pure speculation.

BTW: I only  once bought such a gem, as I prefered using presoldered modules -already checked, I hope- . The only one I bought is likely to be gorgeous, once I manage to solder 1.25mm spaced pins for the graphical display (you have a LCD display, which seems ... wiser, and give ideas about the number of versions) ... but my old eyes cannot see where to solder, even with a magnifier.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dbrion0606 wrote:
broadbeards

I like that mistake Denis...

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I found this intro to electronics a few years back, hope you find it helpful.

https://github.com/billcollis/te...

 

Jim

Mission: Improving the readiness of hams world wide : flinthillsradioinc.com

Interests: Ham Radio, Solar power, futures & currency trading - whats yours?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Also some good introductory stuff here: https://electronicsclub.info/

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, I do not understand OP goal :

 

a) does he want to fix his Transistor Tester? (that would need further information to be of some help)

 

b) was he traumatized by tutorials on the right way to post?

 

c) did he need electronic courses (with the help of  wikipedia, seing his hardware choices, it is unlikely : bombing him with IT links to courses is weird, as he wrote he does not like reading)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mick B wrote:

Hi there, Ya one of the atmaga 328P-PU. IC's on the 2 Transistor testers was toast, I have the .HEX and .EEP files & avrdude I was hoping go through that ISP to the UNO board to reprogram it. The directions I had for that failed. I also now have a brand new 328P-PU. What board would you recommend to make this process as painless as possible, if necessary I have breadboards and jumper wires. I want to learn this process as I go. I'm also trying to cram all of the electrical parts how they work in relation to each other. so much to learn so little time. WOO HOO! my LM358 & UA741 op-amps  and NE555 timers arrived today!

Thanks Mick

 

I hope not to muddy the suggestions you have already received but I learned a lot from the Protostack site at https://protostack.com.au.  Protostack has a selection of microcontroller development boards at https://protostack.com.au/product-category/boards/microcontroller-boards/ , a programmer at  https://protostack.com.au/shop/accessories/usbasp-avr-programmer/ and tutorials at https://protostack.com.au/tutorials/ .  I hope you also find this site useful.

 

Alan

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For the price of one of those bare boards, you could get a fully-assembled XPlained board complete with debugger/programmer!

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, if instead of pasting and cutting seller sites (one can give thousands of pages of Arduino clones links , just mechanically google searching : advantages of Arduini are   some logical link with ... topic) which are redundant with what OP already has (no need to buy other things : he was wise enough to buy useful boards),  someone could guess what OP wants?

If he wants something, that might be useful.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

http://www.catb.org/~esr/faqs/sm...

It took a long time to find this again, I was looking for help on how to post, not etiquette but never the less I was linked to this and it just kind of put me off. I got their and back from here and associated that with this and here we are, Its all good. Moving on. P.S. I did not stop reading after the interdiction lots of good stuff their, way to much to remember but I will try not to step on any toe's Thanks Mick.  

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It'd help if you make the title of your thread descriptive of the content.

 

"A short story" tells us nothing - in fact, I keep seeing it and thinking it's one of Ross's jokes ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I must agree with awneil :

a) is it (trying ) to fix a nice transistor checker? As it has a lot of versions -at least 4 processor versions, can test a lot of components) , knwowing where it was bought (an IT link may be enough) can help people in understanding what can be done, if something can be done (there are no deities her, or lazy ones, unable to use telepathy) . This would be consistent with the section you posted in.

 

b) is it forum management?

 

c) Is it extra documentation in electronics/ avrs -avrfreaks has a lot of tutorials- (but you wrote you did not like reading that much)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello, And thank you, and to all the contributors for taking interest in my plight.

A) why yes I do want to fix the transistor tester Its going to be a gift.  https://www.mikrocontroller.net/... This is and has links to all there is to know about the tester.

 

B) No trauma here..... well just a little.  

 

C) Its not that I don't like reading, Its just that I have been doing nothing but reading for about 3 months now every day for hours sometimes as long as 12 hrs. at a stretch. It started with DAVE at EEV. the problem goes, I understood the concept of an OP-AMP cool. But then he started on comparators', inverting non, inverting, and into feed-back, voltage dividers. not knowing about such things I looked them up and you know how the net is you start reading about one thing like resistors and the next thing you know your reading about the molecular structure of carbon. I'm finding it hard to pinpoint in my mind what I'm looking for other than just the knowledge. I bought a bunch of test gear and misc. electrical components to experiment with, the Arduino was to come a little later, I don't know how or if my memory is going to like learning a new program language. I was getting in "edlin and basic" back in the day (Commodore 64) I also had a Franklin that was an Apple II clone. But that was a life time ago. I would like to slow down on the reading and play with some of the stuff I bought. you know how it goes?

I want it for free and I want it yesterday. Really trying to get away from instant gratification thing in my old age. 

 

D) Without getting lost in everything their is to know about Arduino, AVR, and a transistor tester along with everything I'm trying to learn. I was hoping to take advantage of someone else's studies to guide me into reprograming that Atmel 328P so I can go back to being lost in my madness.

There were some great links shared with me going to look at them all eventually. Perhaps I'll find a way to a more disciplined form of education between what I know and what I want/need to know.  

Thanks for your understanding or trying to. Mick    

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What do you think I should call it?  

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As dbrion0606,  I have no idea what it's about - so no idea what to call it!

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As you can see I changed the title.

I bought this on eBay  https://www.ebay.com/itm/Mega328...

and it needs a new 328-P chip I have the new chip and the hex and eep files avrdude and this code

 

 avrdude -F -c usbasp -p m328p -B 12.0 -e -U flash:w:"TransistorTester.hex":i -U eeprom:w:"TransistorTester.eep":i -U lfuse:w:0xF7:m -U hfuse:w:0xD9:m -U efuse:w:0x04:m  

 

This guy reprogramed got it all to work https://www.youtube.com/watch?v=...

       

I need a board that I can use like he had or one that can do what he did. Now Thanks to dbrion0606    I wonder if there is going to be an issue with the bootloader and this new chip?

If anyone knows how I can reprogram this new chip or needs to see the HEX or EEP files or more information I hope to be able to supply it. I'm so close yet so far away.

Thanks Mick

 

 

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I thought I changed the title but it still looks the same. How do I change the title? 

Mick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You need to Edit the first post, change the title and then click on post.

 

If you have any problems let me know the new title and I'll change it for you.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly