0
\$\begingroup\$

I wanted to follow this tutorial as a first project.

I've got all the parts I need, but I could not purchase the chip that was linked in the article.

So I found another chip that sound similar (To a complete beginner) .

My question is, will I be able to use the chip I brought, in place of the one suggested in the article or am I trying something thats impossible?

\$\endgroup\$
4
\$\begingroup\$

Yes you can, but your tutorial breaks down because you are not following it.

The ATMEGA is actually a microcontroller. It requires more attention to setup the hardware as well it requires programming. If you are a complete bigger and want to follow the tutorial, then this might not be the approach you want to take. That's not to say you can't do it, it's just slightly more complicated to get working.

The MCP3008 is an external 10bit ADC. It is not as complicated to get working than a microcontroller.

If you can find a 10bit external ADC, you should be able to follow your tutorial pretty well.

\$\endgroup\$
  • \$\begingroup\$ Would this work? maplin.co.uk/p/pic16f676-n36bx \$\endgroup\$ – CharliePrynn Jun 26 '15 at 14:24
  • \$\begingroup\$ That's another microcontroller. So it's the same answer as above. Search for "external adc". The keyword is external \$\endgroup\$ – efox29 Jun 26 '15 at 14:30
2
\$\begingroup\$

The Microchip IC you refer to is a ADC, the Atmel device is an MCU which has integrated ADC in it. In theory you can use the ATMega's ADC + MUX to get the readings you need and send them over simulating the original ADC.

That is of course creating more work for yourself for no good reason. You can buy the Microchip here.

\$\endgroup\$
  • 1
    \$\begingroup\$ I assume DAC was a typo... \$\endgroup\$ – alexan_e Jun 26 '15 at 14:07
  • \$\begingroup\$ @alexan_e Indeed. \$\endgroup\$ – user34920 Jun 27 '15 at 7:06
1
\$\begingroup\$

No. Indeed they're quite different: MCP3008 is an A/D converter and ATMega328-PU is a microcontroller (which has a built-in A/D converter).

\$\endgroup\$
1
\$\begingroup\$

Well, atmel chip which you link to is a microcontroller, which roughly means that it is a microprocessor with peripherial circuits etched in the same piece of silicon, however that MCP you link is a A/D converter which simply means that it converts analog signal to discrete, digital interpretation of it. These are completely different kinds of devices, and they can't be swapped between If you want to learn and understand mechanics behind A/D converters, you can try and make your own in FPGA, or you could use a microcontroller (like atmega328 you just linked to) to make use of its built-in ADC and communicate with your master processor with serial interface. That can be done, but requires lot of coding and attention to wiring your device. If there's anything that needs to be cleared or explained I'd be more than glad to help you

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.