Maker Pro
Maker Pro

Controlling Atmega328 with router

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
Without knowledge of the circuit or testing you are asking someone the impossible...

That take off header you are asking about could be anything, but I suspect it's some sort of in-circuit firmware loading or testing port, something along the likes of a JTAG...

There are LAN to serial modules and although I don't know your purpose they are likely a better approach then probing around the board unless you have knowledge where to obtain the serial connection...

http://www.wiznet.co.kr/sub_modules/en/product/Product_Line.asp?cate1=5&cate2=8

http://www.mouser.com/search/refine.aspx?Ntk=P_MarCom&Ntt=187334864

http://microcontrollershop.com/default.php?cPath=98_284
 

Xeuscryste

Jun 20, 2012
52
Joined
Jun 20, 2012
Messages
52
Circuit to connect atmega328 to serial port on pc?

I have a atmega328 and a MAX232 and I would like to make a circuit to connect to my pcs serial port so I can send commands from a program I make, how can I do this? Also I have a 16mhz crystal.
 

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
I suspect this is all the same project that you have now made three post about? May I suggest keeping it all in a single thread?

https://www.electronicspoint.com/would-routers-rx-tx-pins-t250040.html
https://www.electronicspoint.com/circuit-connect-atmega328-serial-port-pc-t250063.html

Get the LAN to Serial module, hook the serial module to the AVR and hook it to the Router... Using whatever specifications the LAN to Serial module requires, send the serial commands from the computer to the LAN to Serial module under those specifications, and the AVR should get them... You will have to likely write a front end for the computer, or you might be able to use some telnet software (really depends on the LAN to Serial modules requirements) and you will also need to write the code for the AVR to read those commands and do whatever to the servo...
 

Xeuscryste

Jun 20, 2012
52
Joined
Jun 20, 2012
Messages
52
I suspect this is all the same project that you have now made three post about? May I suggest keeping it all in a single thread?

https://www.electronicspoint.com/would-routers-rx-tx-pins-t250040.html
https://www.electronicspoint.com/circuit-connect-atmega328-serial-port-pc-t250063.html

Get the LAN to Serial module, hook the serial module to the AVR and hook it to the Router... Using whatever specifications the LAN to Serial module requires, send the serial commands from the computer to the LAN to Serial module under those specifications, and the AVR should get them... You will have to likely write a front end for the computer, or you might be able to use some telnet software (really depends on the LAN to Serial modules requirements) and you will also need to write the code for the AVR to read those commands and do whatever to the servo...
You mean like this?

http://www.amp-tronics.com/wp-content/uploads/ttl2ethernet.jpg
 

Xeuscryste

Jun 20, 2012
52
Joined
Jun 20, 2012
Messages
52
Yes a module like that (at least based on the picture) , just like I explained to you in your other thread, thus the reason I suggested that you keep it all in a single thread from now on...
Do i need to "flash" the router? and how do i make a program to control the two servos, left, right etc..
 

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
Do i need to "flash" the router? and how do i make a program to control the two servos, left, right etc..

With questions like that it's pretty clear you are WELL in over your head, and discussion at that accelerated level and the caliber is beyond what I would even attempt to get into on this forum unless you actually knew what you were doing, or at least showed some solid foundations...

You basically need to learn how to crawl before you try out and join the Olympic marathon team...

Start Googling how to control a servo with an ATmega328, once you master that, you can progress onto how to receive serial information with an ATmega328 and interpret that received information and make the servo work... When you master both of them, purchase the LAN to Serial module and start reading the datasheet, and you can go onto the next step...
 

Xeuscryste

Jun 20, 2012
52
Joined
Jun 20, 2012
Messages
52
With questions like that it's pretty clear you are WELL in over your head, and discussion at that accelerated level and the caliber is beyond what I would even attempt to get into on this forum unless you actually knew what you were doing, or at least showed some solid foundations...

You basically need to learn how to crawl before you try out and join the Olympic marathon team...

Start Googling how to control a servo with an ATmega328, once you master that, you can progress onto how to receive serial information with an ATmega328 and interpret that received information and make the servo work... When you master both of them, purchase the LAN to Serial module and start reading the datasheet, and you can go onto the next step...
What pins on the atmega328 go to the servos? I can't find that information anywhere..
 
Top