Archive for October, 2011

Build Your Own RC Tankbot

Build Your Own RC Tankbot

Build Your Own RC Tankbot

Mark Martens and I recently finished up the RC Brutusbot project for Solarbotics, and while it has already been presented on the Solarbotics Blog I felt the urge to go beyond that and share a deeper look into what we did. I wanted to present an alternate way to make your own Radio controlled system …..

Read the Rest

Spin Code for Spin Stamp on Hybrid Beam Walker

Spin Code for Spin Stamp on Hybrid Beam Walker

Here is the code I used to test the Spin stamp on the Walker when the hardware was completed:

”Test Program for Spin stamp on Scoutwalker III
”Written for Jonathan Knil by Jeremie Boulianne
”January 31, 2011
”This program uses the Spin stamp to monitor and control
”the ScoutWalker III from Solarbotics

CON
_clkmode = xtal1 + pll8x ‘ p118x …..

Read the Rest

Easy I2C: Pull-ups optional

Easy I2C: Pull-ups optional

The I2C interface is relatively uncomplicated to write for on the AVR, not withstanding all the details of the protocol and all the messages generated by the AVR hardware. The more advanced AVR microcontrollers, support the I2C two wire interface – three wires if counting ground. It is not called I2C in the Atmel documentation however. Instead …..

Read the Rest

Using V-USB and the HID Class (Part III of III)

Using V-USB and the HID Class (Part III of III)

Example Three

Create a new example directory and set it up as before in example one. Next edit usbconfig.h and change the values to the following.

Set USB_CFG_HAVE_INTRIN_ENDPOINT to 1,
set USB_CFG_DEVICE_CLASS to 0,
set USB_CFG_INTERFACE_CLASS to 3,
set USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH to 34, and
set USB_CFG_IMPLEMENT_FN_WRITE to 1.

The source code for example three is given in the download.

The report descriptor now …..

Read the Rest

Using V-USB and the HID Class (Part II of III)

Using V-USB and the HID Class (Part II of III)

The HID Interface

All HID interfaces are required to have one IN endpoint, besides the control endpoint zero. If there is no IN endpoint, a HID device will not be created on the host. This is so even if the HID interface does not send any input reports. At least this is how the Linux kernel behaves.

In …..

Read the Rest

Using V-USB and the HID Class (Part I of III)

Using V-USB and the HID Class (Part I of III)

USB can be quite a complex interface to learn. It is definitely not as easy to explain or as intuitive as the well known serial port. The specification for USB is hundreds of pages long. Books such as USB Complete by Jan Axelson and USB Design by Example by John Hyde are just as big. There …..

Read the Rest

There’s a New SheRifF in Town and Their Name is Synapse Wireless

There's a New SheRifF in Town and Their Name is Synapse Wireless

Could Synapse Wireless’s 802.14.5 RF engines be an Xbee killer?

It seems that we in the hobby industry have been a little naive as to think that Digi International’s reign as RF Networking King would last forever? Not only have Roving Networks under cut them on pricing with their new WiFi node but they now have some stout competition from Syanpse …..

Read the Rest

Return top

Welcome to HackHut