Forum >Replies by lumi
Replies (13)
  • You Reply: Hi MelvinOdellTucker, I am a little bit confused and you may explain or point me in the right direction once more.
    You are talking about setting the frequency of pin 13 to 60MHz.

    For that question I need to verify what board you are using. Is it an Arduino Leonardo with 16MHz? If so then I am afraid that you are not able to achieve an output of 60MHz so easy as for that you would need a frequency multiplier.

    Please check your setup and try to confirm your questions before we proceed with the rest of your post.
  • You Reply: Hi Vlokkie, I will try to explain you the details.
    First, that positioning IR camera is based on the common hack of the WII remote cam and most of the hacks out there are based on that one from a Japanese website: [url=http://translate.google.com/translate?u=http%3A%2F%2Fwww.kako.com%2Fneta%2F2008-009%2F2008-009.html&hl=en&ie=UTF-8&sl=ja&tl=en]http://translate.google.com/translate?u=http%3A%2F%2Fwww.kako.com%2Fneta%2F2008-009%2F2008-009.html&hl=en&ie=UTF-8&sl=ja&tl=en[/url]

    [list]
    [*]The camera sends the data via I²C and sends 3 byte per coordinate.
    [*]The resolution of the camera is 128x96 pixel, with hardware image processing, which can track four objects (IR emitting or reflecting objects)
    [*]The bytes send by I²C represent the coordinate of each detected IR object.

    [/list]

    I hope this will help you to proceed and if not all your problems are solved then please let me know.
  • You Reply: Hi Ken, please make sure that your battery is full charged. We dont know about that behavior so it would be nice if you could take a short video and provide some closeup pictures.I can only think of a bad connection or a weak battery right  now.
  • You Reply: The light sensor is a LDR and it will change it's resistance to high when it's dark and to low when it's bright.
    This results in a change of the voltage which is coming from the sensor.

    Regarding to Ohm's law the voltage drop across the resistor increases when the resistance increases.

    The light sensor attached to The Arduino analog pin A0 will give you exactly that values. In a range from 0 to 5V it will show 5V when it's dark and 0V when it's under full light. So the output is kind of reversed but with a mapping easy to convert in a non reverted value.

    To measure the LUX with that particular sensor will give you also reversed readings due the circuit used on the board. As a quick solution you could use a LDR alone and connect it with 5V and Analog pin A0 and then a pull resistor from A0 to GND. Then load the sketch you find here: http://forum.arduino.cc/index.php?topic ... #msg277211 This will give you LUX readings in the right order. With that data you could calibrate the sensor and map it's readings to the right order.
  • You Reply: Hi infobarque,

    I am also not quite sure what your problem is. Please post some pictures of YOUR setup and the code you are using to control the stepper.

    Regarding to language mistakes please post the next time in English AND in your native language (i believe it's French), so we can figure out the problem better and find a solution.
  • You Reply: Hi ET,

    we just checked with 12V and the stall current is 3.7A. The idle current is in a range of 300mA and it should be save to run it with a continuous current of 1.5 to 2A

  • You Reply: Hi Mathias,

    sorry about the late reply.
    I am trying to solve that problem. Apparently there are just 12 teeth on the wheel. I am checking the sample code and will do a test run. When I got a result I'll let you know.

  • You Reply: Hi Mathias,

    ok, that seems fixed. However, can you confirm that the steps per revolution are 48 now?
    Let me know if you need further help.
  • You Reply: Hi Mathias,

    first please make sure you try the example code from the Wiki [url=https://www.dfrobot.com/wiki/index.php/Mini_Robot_chassis_Encoder_(SKU:SEN0116)]https://www.dfrobot.com/wiki/index.php/Mini_Robot_chassis_Encoder_(SKU:SEN0116)[/url]

    It should not happen that the encoders deliver different values. Also make sure there is no obstacle inside the wheel to distract the encoder and let me know the version of the encoder (printed on the board).
  • You Reply: Just to make sure there is nothing wrong with your IDE, did you change your Arduino IDE recently?
    Another reason could be that the port is already used. Check if no device or software is using the COM port.
  • You Reply: Thanks for the error message. I will check that.
  • You Reply: Ok, good to hear. But would you mind to share what went wrong? My first guess was that you had some wrong in the code or/and the library was not installed.
  • You Reply: Please post a picture of the module itself and the error message that we can corner your problem.