stelios26
Newbie level 1
- Joined
- Apr 24, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,292
Dear all,
First of all hello, this is my first post in these forums.
Straight to the point. I am developing a small robotic interface for a small toy (kind of like lego's NXT)
The interface has a small(ish) STM32 microcontroller that controls LEDs, servos, analog motors, IR and touch sensors.
It can accommodate any 4 of the above simultaneously at any of it's 4 RJ25 ports.
Now, I want to be able to identify which peripheral component is connected at which (of the 4 RJ25) ports automatically
(in order to program the device accordingly) without manually assigning each port according to what I've connected.
I'm not sure how I should proceed, my initial thought was to sense the resistance of a pin (by the use of a bridge and the
ADC of the microcontroller) in order to identify the peripheral but I don't know if this will work.
Any ideas? Has anyone came across something similar?
Thanks!
First of all hello, this is my first post in these forums.
Straight to the point. I am developing a small robotic interface for a small toy (kind of like lego's NXT)
The interface has a small(ish) STM32 microcontroller that controls LEDs, servos, analog motors, IR and touch sensors.
It can accommodate any 4 of the above simultaneously at any of it's 4 RJ25 ports.
Now, I want to be able to identify which peripheral component is connected at which (of the 4 RJ25) ports automatically
(in order to program the device accordingly) without manually assigning each port according to what I've connected.
I'm not sure how I should proceed, my initial thought was to sense the resistance of a pin (by the use of a bridge and the
ADC of the microcontroller) in order to identify the peripheral but I don't know if this will work.
Any ideas? Has anyone came across something similar?
Thanks!