Im new to the forum and to this, I used to program c at college but have not done anything for 10 years.
I want to make a project to capture 4 14 bit or 16 bit adc channels along with two NMEA strings from two ports at no faster than 80 times a second
(I can manage with 10 times a second) and sends it a 115200 baud RS422 port over 200m of cable.
Does anyone have any thoughts on this?
I was looking at an ATmega 2561 as it has 4 RS232 ports. Maybe a 128 but with a software rx only uart added.
SPI/I2C ADC?
program in win GCC in AVR studio?
Its not supidly fast like many people want to do so in reality Im looking at 100 bits 10 times a second or up to 80( I may want to average the 80 so each channel is an average of 20 samples 10 times a second to get a better result I dont need to send the data.
Any thoughts? ADCs, interefacing, best place to start?
I was going to break it into chnuks an dstart with USARTS then ADC then cobble together.