Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

digital voltmeter by usb using ATmega8

Status
Not open for further replies.

faraday

Member
HI all
I wanna to measure an input voltage from -5V to +5V via ATmega8
how can I use USB connection for that?
the output goes to PC via USB connector
and what is the circuit for this project?
 
the first thing is that to measure +/-5V you need a +/-5V supply, so you will need some chip to make the negative rail. Then you need to feed your measured voltage into opamp to translate it into the 0-5V range that the micro can measure.
 
You don't need a dual supply; a simple resistor divider will work.

You can choose the circuit and base software that suits you best from the demo projects on the page you linked.
 
Hi
thanks for replying, I did it by resistor divider and VUSB :eek:

2013-06-22-152630.jpg
 
For that solution I would take a FT232 Chip. That's a USB to serial bridge.
PC drivers are availible at the FTDI Homepage ( VCP Driver ).
At Controller side You can use the Integrated USART. That will make the programming and communication easy.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top