Skip to main content

York Jong's Library tagged 5star   View Popular

29 Mar 08

COLOR SENSORS TUTORIAL

  • Suppose you have a sensor that can see many different colors, such as a
    photoresistor. How would you use this sensor to detect
    red apples vs. green apples?
  • 16 more annotations...
17 Feb 08

《机器人》第三章-能力和显现

  • 三十年的计算机视觉的历程表明,1 MIPS的机器能从实时图像中提取简单的特征量───在杂色背景里跟踪白线或白点。10 MIPS的机器能跟随复杂的灰度区,巡航导弹、灵巧炸弹和早期的自驾驶大蓬车证实了这点。100 MIPS的机器恰好能追踪路面上不可预测的特征量,Navlab在长距离的行程证实了这点。1000 MIPS的机器完全能识别三维空间中带纹理的粗糙物体,某些中分辨率的立体视觉程序解释了这个问题,也包括我的程序。几个“垃圾箱挖掘”程序认为,10000 MIPS的机器能从杂乱中找到三维物体,并且高分辨率的立体视觉程序用10 MIPS的机器在1小时内演示了这一点。随着计算机速度和内存的增大,数据量问题逐渐不再是问题。
  • 除了纯粹的运算规模,也得考虑其他因素。对1 MIPS的机器,最适用的程序是能有效处理检测数据的手工程序。
  • 12 more annotations...
10 Feb 08

Efficient C Code for Eight-Bit MCUs

  • • Embedded systems interact with hardware. ANSI C provides
    extremely crude tools for addressing registers at fixed memory locations.
    Consequently, most compiler vendors offer language extensions to overcome
    these limitations


    • All nontrivial
    systems use interrupts. ANSI C doesn’t have a
    standard way of coding interrupt service routines


    • ANSI C has various type promotion rules that are absolute
    performance killers to an eight-bit machine. Unless your system has
    abundant CPU cycles, you will quickly learn to defeat the ANSI promotion
    rules


    • Many microcontrollers have multiple memory spaces, which have
    to be specified in order to correctly address the desired variable. Thus,
    variable declarations tend to be considerably more
    complex than on the
    typical PC application


    • Many microcontrollers have no hardware support for a C stack.
    Consequently, some compiler vendors dispense with a stack-based
    architecture, in the process eliminating several key features of C

  • • Use the smallest possible type to get the job done


    • Use an unsigned type if possible

  • 14 more annotations...
09 Sep 07

When will computer hardware match the human brain? by Hans Moravec

  • The processing power and memory
    capacity necessary to match general intellectual performance
    of the human brain are estimated. Based on extrapolation of
    past trends and on examination of technologies under
    development, it is predicted that the required hardware will
    be available in cheap machines in the 2020s.
  • Programs need memory as well as processing speed to do
    their work. The ratio of memory to speed has remained
    constant during computing history.
  • 15 more annotations...
04 Sep 07

Place volatile accurately

  • You can manipulate each special register as if it were an unsigned int, or if you prefer, a uint32_t. (Fixed-size integer types such as int16_t and uint32_t are defined in the C99 header <stdint.h>.
  • Many devices interact through a small collection of device registers, rather than just one. For example, the Evaluator-7T has two UARTs, numbered 0 and 1. Each UART is controlled by six special registers.
  • 6 more annotations...

More ways to map memory

  • typedef unsigned int volatile special_register;
  • typedef struct dual_timers dual_timers;
    struct dual_timers
    {
    special_register TMOD;
    special_register TDATA0;
    special_register TDATA1;
    special_register TCNT0;
    special_register TCNT1;
    };
  • 5 more annotations...
18 Aug 07

BEAM Pieces -- Integrated circuits

  • The following material is intended to cover usage and part selection details of ICs you're most likely to see in BEAM robots.
    - yorkjong on 2007-05-27
  • We use them as 3- or
    5-volt triggers
  • 1381s are CMOS
    voltage-controlled triggers -- these "gate" a source until
    the voltage is above some "trip" limit, at which point it is
    allowed onto a third pin
  • 23 more annotations...
16 Aug 07

AVR 应用经验 --马潮老师专栏-- OurAVR.com

  • 由于AVR的Flash存贮器可方便的使用ISP技术在线的多次擦写,因此建议尽量不使用(依赖)仿真器来开发和调试程序。
  • 尽量使用高级语言编写系统程序。
  • 12 more annotations...
11 Aug 07

Furby Schematics

  • Note that the resistor value of the pull-down resistor affects the
    voltage at pin 3 of the Furby's connector. We used a 1k ohm resistor
    to make it less sensitive to light (since we're now operating with it
    open to ambient light).
  • In the above diagram, a 20k ohm resistor is used as the pull-up
    resistor. You can, however, use any resistor as the pull-up resistor
    as long as the resistance is high enough to protect the circuit.
22 Jul 07

Ray's Solder-less Motor Mount Tutorial

  • attach your Pager Motors to
    your Popper using two Fuse Clips, two Small Paper Clips, and no solder
  • 8 more annotations...
18 Jun 07

可充电电池技术和充电方法--匠人的百宝箱

  • 镍镉电池所产生的电流大到足以熔化金属和引起火灾。其他电池只能产生弱电流
  • 电流中所有化学和机械因素的净效应可表示为单一数学因数一等效内阻。降低内阻可得到较大的电流
  • 8 more annotations...

Robotics -- Logo Products

  • Many Logo-based and other robotics products produced by LEGO
    are distributed to schools in the USA by Pitsco.
  • This free-range turtle does not require connection to a computer.
    All the controls are on board.
  • 1 more annotations...
16 Jun 07

MetaCricket: A designer's kit for making computational devices

  • All Cricket devices have a built-in bidirectional infrared communications channel, which is used for Cricket-to-desktop communication (when downloading programs to a Cricket, or viewing sensor data) and Cricket-to-Cricket communication.
  • Cricket Logo is based on an iterative, interactive model of project development. It includes a “command center” window; instructions typed into this window are instantaneously compiled, downloaded to a Cricket, and executed, giving the system the flavor of an interpreted software environment such as LISP, BASIC, or FORTH.
  • 14 more annotations...

Handy Cricket Programming Reference

    • procedure definition with inputs and return values;

    • global variables and local procedure inputs;

    • control structures like if, repeat, and
      loop;

    • a 16-bit number system (addition, subtraction, multiplication,
      division, remainder, comparison, bitwise operations, random
      function);

    • motor and sensor primitives;

    • timing functions and tone-playing functions;

    • data recording and playback primitives;

    • communications primitives.
  • 10 more annotations...
14 Jun 07

ROBOT SENSOR INTERPRETATION

  • how to interpret sensor data into a mathematical
    form
    readable by computers
    • There are only 3 steps you need to follow:


    • Gather Sensor Data (data logging)
    • Graph Sensor Data
    • Generate Line Equation
  • 2 more annotations...
1 - 20 of 42 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo