Buy an Axon, Axon II, or Axon Mote and build a great robot, while helping to support SoR.
0 Members and 1 Guest are viewing this topic.
Then its simply a matter of "if (A2DPotValue >= 0 && A2DPotValue <= 51) Then [Servo=45]" or whatever.
The ATmega8 features a 10-bit successive approximation ADC. The ADC is connectedto an 8-channel Analog Multiplexer which allows eight single-ended voltage inputs constructedfrom the pins of Port C. The single-ended voltage inputs refer to 0V (GND).Note that ADC channels ADC4 and ADC5 are limited to 8-bit accuracy. ChannelsADC[3:0] and ADC[7:6] offer full 10-bit accuracy.
How much experience do you have with Microcontrollers exactly?
Well HTML doesnt really count as programming lol