York Jong's Library tagged → View Popular
Introduction to AI Robotics
The book is a broad survey and represents the state of the practice circa 1999. Robotics is a rapidly changing field and I am working on the second edition this year. I teach the course each year in the fall to approximately 35 undergraduate and 10 graduate students and update the materials accordingly. In the meantime, my slides reflect advances and alternative organization of themes. Probably the biggest changes are to the sections on teleoperation, multi-agents, and human-robot interaction, and the de-emphasis on architectures.
微處理機與USB主從介面之設計與應用
本書捨棄了標準的USB微處理器(例如,Cypress EZ-USB系列),特別採用了一般的8051微處理機來設計USB裝置,以提高整個USB裝置設計的彈性與便利性。而透過8051與USB主/從介面晶片組的結合可以很輕易地設計出一個完全符合規格的USB主裝置與從裝置。在本書中,分別以Philips的PDIUSBD11與PDIUSBD12 USB從晶片組來設計USB週邊裝置,另以Cypress的SL811HS USB主晶片組來設計出能連接HID滑鼠、HUB與Mass Storage裝置的USB主裝置。而後者,更可以實現模擬一個虛擬的主機端的功能
USB Audio Streamer
The idea for creating a USB sound card based on a PIC came from discussions of other people creating one on the Microchip USB forum. The hardware of the card is based on all Microchip products.
-
the other device is a custom interface based on a HID
interface. The purpose of the custom interface is for programming the device
serial number, upgrading the firmware, and in the future any other
configuration that isn’t supported directly by USB Audio 1.0
Some concepts for hardening embedded software
This document lists in abstract form a number of suggestions to harden embedded software, making units either detect problems and reboot, or in some situations auto-repairing.
Soundmeter A simple soundmeter using the PIC 16F628 or 16F84
I made this project as a test to improve a technic to read analog values without analog-to-digital converter
-
The capacitor can be a 103k or a 220k. A poliester capacitor works better.
-

- 3 more annotations...
Security Keypad II
-

-
the 3x4 keypad uses only 4 I/O ports. To determine what key is pressed, I read the discharge time of each capacitor.
- 1 more annotations...
ADC without ADC
Some Microcontrollers, like the small 8-pin Microchip PIC 12F675, do have an ADC integrated, but it is expensier than a PIC without ADC. A simple solution is to use a RC circuit to measure the resistance or capacitance.
-
The circuit labeled A shows the most common RC circuit used. I like to use the B circuit, I get better results.
-

- 6 more annotations...
Hacker's Delight
A collection useful programming advice the author has collected over the years; small algorithms that make the programmer's task easier.
一个有趣的关于C宏的题目及巧解
定義一個C宏,實現插入0~255個NOP指令
-
//宏定义方法:
#define __NOP1__ asm("nop");
#define __NOP2__ __NOP1__ __NOP1__
#define __NOP4__ __NOP2__ __NOP2__
#define __NOP8__ __NOP4__ __NOP4__
#define __NOP16__ __NOP8__ __NOP8__
#define __NOP32__ __NOP16__ __NOP16__
#define __NOP64__ __NOP32__ __NOP32__
#define __NOP128__ __NOP64__ __NOP64__
#define __NOPX__(a) \
if ((a)&(0x01)) {__NOP1__} \
if ((a)&(0x02)) {__NOP2__} \
if ((a)&(0x04)) {__NOP4__} \
if ((a)&(0x08)) {__NOP8__} \
if ((a)&(0x10)) {__NOP16__} \
if ((a)&(0x20)) {__NOP32__} \
if ((a)&(0x40)) {__NOP64__} \
if ((a)&(0x80)) {__NOP128__}
//宏引用方法(举例):
__NOPX__(13)
//编译结果:
138: __NOPX__(13)
051D 0000 NOP
051E 0000 NOP
051F 0000 NOP
0520 0000 NOP
0521 0000 NOP
0522 0000 NOP
0523 0000 NOP
0524 0000 NOP
0525 0000 NOP
0526 0000 NOP
0527 0000 NOP
0528 0000 NOP
0529 0000 NOP
OO Programing in C (3)
Linux內核中用C提供了一套非常巧妙的方法操作鏈表,位於.../linux/include/linux/list.h,只用一些宏和inline函數來實現雙向鏈表。摘抄一部分出來
-
struct list_head {
struct list_head *next, *prev;
}; -
/**
* list_entry - get the struct for this entry
* @ptr: the &struct list_head pointer.
* @type: the type of the struct this is embedded in.
* @member: the name of the list_struct within the struct.
*/
#define list_entry(ptr, type, member) \
container_of(ptr, type, member) - 6 more annotations...
血壓計的製作過程
從血壓的量測著手,製作出一個以 MiCcroChip 16F877為核心的無線傳輸血壓計。
-

-
0.8Hz二階高通濾波後,去除DC準位值
- 2 more annotations...
歐姆龍血壓計如何實現低成本設計 .
當我們對歐姆龍的智慧電子血壓計HEM-711AC進行拆解時,我們深刻感到,個人保健正在成為不可多見的熱門應用。該血壓計以極低的價格實現了一些複雜的測量,產品外型尺寸小巧,因而適合家庭和外出使用。HEM-711AC的單價大約在60美元左右,很明顯依賴於低成本設計,而血壓計所需要的準確性則要求其具備某種靈巧的設計。
-
-
HEM-711AC所用的壓力感測器是一片機械膜,會根據實際壓力成比例產生凹陷。這個產生形變的膜表面實際上是一個空氣介質電容器兩極板中的一個,電容的另一個極板固定在壓力感測器內部,與可產生變化的極板平行。這樣,系統內部的壓力變化就能對應可變電容器的變化。
- 1 more annotations...
SRecord 1.42
I wrote SRecord because when I was looking for programs to manipulate EPROM load files, I could not find very many.
江湖一點訣
假如你用 355/113 這個法子,前輩還是會笑你分子 355 超過 8 位元能表示的範圍,
113 也不是 2 的冪次,用在 8051 這種 8 位元系統上還是不適合,那 201/64 這個完美
的結果是如何找出來的?
Note: About Super Simple Tasker
前鎮子站長總算看到一個令人拍案叫絕的作法,2003 年 Robert Ward 在 Embedded System
Conference 上發表了一篇 Practical Real-Time Techniques,之後又跟 Miro Samek 博士在
Embedded System Design 雜誌合作發表了一篇 Build A Super Simple Tasker(簡稱 SST)。兩篇
文章的內容大同小異,其中 SST 的內容比較完整,而且用 C 語言實做(之前 Robert Ward
用 C++),有完整可執行的 example code,所以這裡以 SST 為主。
-
傳統 RTOS 的設計是每個 task 擁有自己的 stack
-

- 11 more annotations...
SynthOS : 合成專屬的 RTOS
SynthOS 本身以 Java 撰寫,與其說是個 "OS",不如說是個 OS Generator,其輸入為 C/C++, Java, assembly 的程式,描述一個系統設計中的基本要素,不過,我們沒有必須知曉 RTOS 的設計原理,只需維護必要之 state machine,稍後可在系統模擬得知其運作的模式,最終,會輸出 kernel source code,經編譯後,可佈署於我們期望的硬體平台中。
-
是個 OS Generator,其輸入為 C/C++, Java, assembly 的程式,描述一個系統設計中的基本要素
-
維護必要之 state machine,稍後可在系統模擬得知其運作的模式,最終,會輸出 kernel source code,經編譯後,可佈署於我們期望的硬體平台中
- 1 more annotations...
C语言的宏定义--匠人的百宝箱
-
3,得到指定地址上的一个字节或字
#define MEM_B( x ) ( *( (byte *) (x) ) )
#define MEM_W( x ) ( *( (word *) (x) ) )
-
6,得到一个结构体中field所占用的字节数
#define FSIZ( type, field ) sizeof( ((type *) 0)->field )
> - 5 more annotations...
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in embedded
-
Teacher Tools to Engage Students
http://www.glogster.com/edu...
Items: 7 | Visits: 60
Created by: Tracy Piestrak
-
E4A
Items: 36 | Visits: 40
Created by: Sonja T
-
General Resources
General education resources...
Items: 14 | Visits: 84
Created by: Bob Ladouceur
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo




