This is a microcontroller programming assignment. It involves programming Mega 2560 microcontroller board so that it could read the output of AD7710 chip and shows it on the screen of the PC connected to Mega 2560. The AD7710 chip gets the input voltage from the bench top power supply. Consider that the (not varying and stable) supply voltage to the AD7710 (for operation of the chip itself) is obtained through another source. But the bench top power supply could provide a varying DC (analog input) voltage to AD7710 as the user rotates the knob of the bench top power supply. This means that if the user adjusts the bench top power supply to give an input voltage (to ADD7710) of 1.5 volts then the screen of the PC (connected to Mega 2560) should show 1.5 in digital format utilizing Serial.println( ) command. The schematic of the circuit showing all connections between AD7710 and Mega 2560 and connections of AD7710 with the bench top power supply is required. Your explanation of the code should be 2000 words referring to datasheet of AD7710 (with citing the page number of datasheet whenever used) for clarification and referencing.
Attachments: