May 012015
 
chipKIT Pro MX7 Development Board

chipKIT Pro MX7 Development Board

The Learn.Digilentinc site has some useful lessons, not only for beginners, but also for more advanced users of microcontrollers. For those of you who use chipKIT Pro products like chipKIT Pro MX7, Digilent put together the chipKIT Pro and I/O Control project to teach digital input and output using MPLAB X IDE and the MPLAB XC32++ Compiler. This project does require some basics skills/knowledge, like C or C++ programming, binary math and Boolean algebra, MPLAB X IDE basics, and a fundamental knowledge of electronics.

Happy Learning! :D

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Apr 262015
 

RobotEdh’s chipKIT Robot

[RobotEdh] has spent quite some time building himself a chipKIT powered robot. Based on the Baron robot from DFRobot this monster is so packed with features it’s a wonder it doesn’t collapse under its own weight. Camera, IR sensors, encoders, touch sensors, temperature sensor, LCD screen, WiFi and X-Bee communications. So many things, in fact, that there is no way you could get it all working together on an Arduino. Indeed, he had to upgrade from an Uno32 to a MAX32 because he ran out of Flash memory the project was so big! He has even written a great Java application for controlling it all. I think this project deserves a big Thumbs Up from us at chipKIT for such an impressive bit of engineering and design!
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Apr 242015
 
A typical description for the specs of a microcontroller

A typical description for the specs of a microcontroller

Integrated circuits (ICs), microprocessors, microcontrollers (MCUs)… These are all similar names for devices like the PIC32 device that is the main IC on your chipKIT board. Such devices have many specifications that might make your head spin if you’re new to this sort of thing. If you’ve ever found yourself intimidated when you see a spec list like the one to the left, or perhaps hopeful that someone might explain to you, in layman’s terms, what all the technical jargon about microcontrollers REALLY means, then look no further. Josh Woldstad at Digilent has put together a quick explanation of the specs of an MCU, namely the one on board the chipKIT Max32 board. Hopefully, he helps dispell some of that fear!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Apr 072015
 
6502 Simulator

6502 Simulator

Want to slow down your chipKIT Pi just for fun? Simulate an 8-bit MPU with this “kewl” project that implements a 6502 instruction set simulator on a chipKIT Pi development board. The project was inspired by fond memories of the Commodore Plus/4 and C16 home computers (circa 1984). The simulation includes TEDMON (the machine code monitor) as well as the EhBASIC interpreter. Kudos to Darron M. Broad for creating this cool project!

Why not join in on the forum conversation while you’re at it?

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Apr 022015
 
Arduino LCD Shield compatible with chipKIT Uno32!

Arduino LCD Shield – Compatible with chipKIT Uno32!

Do you need an LCD for your chipKIT project? Check out this quick “hello world” example to get your chipKIT Uno32 up and running with the Arduino LCD Shield! For a more useful example, check out this example for how to connect and display a Photoresistor or LDR (Light Dependent Resistor) to your circuit and display the value on your LCD!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Apr 012015
 

Hello,

I have modified the VirtualWire library originally developed for Arduino in order to be able to run it on PIC32 Microcontrollers. The main changes concern the interruption setup and handling (OC1 and Timer 2).

VirtualWire is a library that provides features to send short messages without addressing, retransmit, or acknowledgment, a bit like UDP over wireless, using ASK (amplitude shift keying). It supports a number of inexpensive radio transmitters and receivers. All that is required is transmit data, receive data, and (for transmitters, optionally) a PTT transmitter enable.

In addition, I have added 2 functions in the VirtualWire lib, vw_send_float and vw_get_float.

These functions allow you to:

  • Transmit float values
  • Manage source value helpful in case of one receiver connected to several sources
  • Manage the type of data transmitted, currently 2 types of data are defined:
    • #define VW_TEMPERATURE_DATA_TYPE 250
    • #define VW_LIGHT_DATA_TYPE 251

For more information, click the following links:

Don’t hesitate to use VirtualWire, and feel free to ask any questions. Eric
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Mar 302015
 
A team of ASU students hacked a DeLorean to recreate the iconic movie scene

A team of ASU students hacked a DeLorean to recreate the iconic movie scene

A talented group of hackers thrilled participants of the Hardware Weekend hack-a-thon with their mods to a classic DeLorean DMC-12. Sponsor hackster.io provided the car in honor of the Hack to the Future themed event, which was hosted by Local Motors in Chandler. Special effects installed by the team included cool blue LED lighting throughout the car, and dual alcohol burners with electronic ignition. The complex lighting, fuel pump and ignition systems were controlled by a chipKIT uC32 and Motor Control Shield from Digilent.

The weekend event was a big success, with 16 teams competing for various prizes. There were several creative and impressive projects, but the DeLorean hack promised to be most dramatic. After a few test runs in the late afternoon, final adjustments were made to ensure an effective demo for the judges. The team took a much needed break, as the other presentations continued inside.

Finally, it time for the DeLorean demonstration. A crowd of spectators gathered as the hack was described in detail. Under cover of darkness, the DeLorean’s throaty engine roared to life. The signature gull wing doors closed, and the DMC-12 rumbled far down the lane and turned into position. There was a moment of anticipation, before the machine accelerated for its run past the crowd, spraying fire and leaving a long burning trail on the tarmac. During ignition, the cabin lighting flashed red to add that final touch.

Congratulations to the Smoke and Mirrors team from Arizona State University, including Cody Van Cleve, Frank Ross, Eric Person, Caleb Carlson, Josh Kosar, Deep Patel and Carly Thalman, for their excellent chipKIT-based hack and First Place win at the Hardware Weekend Series hack-a-thon.

VN:F [1.9.22_1171]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Mar 272015
 

Task Mangement with chipKIT Platform

Besides the many Arduino-based core functions available to you, the chipKIT platform also provides chipKIT-specific core functions for the core timer service and task management.

In this post, we focus on task management, by providing a simple example. Task Management essentially allows for multiple tasks to run in the background, which can simplify the programming in your loop() function. The example below animates an LED in the background by using the createTask() core function. Notice how this task-management functionality provides for a simple RTOS-like environment.

#include <SoftPWMServo.h>

char dim = 0;

/* Using the Software-based PWM Servo library, 
 *  the UpdateLED() function below dims the 
 *  PIN_LED1 (You can reference the actual pin 
 *  number for your board using the Board_Defs.h 
 *  file for your particular chipKIT board)
 */
void UpdateLED(int id, void * tptr) 
{
	SoftPWMServoPWMWrite(PIN_LED1, dim++);

	if (dim == 70) {
  		dim = 0;
  }
}

void setup() {

	/* createTask() is a chipKIT "Task Management" 
	 *  core function. In this case, it takes the  
	 *  function we defined above, UpdateLED(), as a 
	 *  task to perform. It provides a scheduling interval
	 *  of 20 milliseconds and initializes the enable 
	 *  state of the task. When the board is turned on
	 *  this setup() will run, and the new task will be
	 *  enabled.
	 */
	createTask(UpdateLED, 20, TASK_ENABLE, NULL);
}

/*
 * Notice, there is no need to run anything else in the loop() 
 *  portion for the UpdateLED() "task" to run in the background.
 */
void loop() {}

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Mar 232015
 
chipKIT Fubarino Mini Pin Diagram

Ever wanted to see the pin functions at a glance for the chipKIT Fubarino Mini? Well, thanks to Brian Schmalz, you have the above pin-mapping diagram!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS