Home / Programming / ROBOTC (page 5)

ROBOTC

Bit Banged I2C Master on ROBOTC for Arduino

After spending two hours working on the changelog for the upcoming release of my driver suite, I thought I’d go play with something that was a bit more fun. I’m part of the ROBOTC for Arduino test group, which has been a lot of fun. The Arduino build does not have I2C support in the firmware yet, so I was ... Read More »

ROBOTC: Using the NXT 2.0 Colour Sensor as a Light Sensor

Using the NXT 2.0 Colour Sensor as an old fashioned NXT 1.0 Light Sensor as very simple in NXT-G but a little more involved in ROBOTC. The old Light Sensor uses a small red LED to illuminate the target and a small sensor to see how much was reflected. The new colour sensor can be used in a very similar ... Read More »

ROBOTC: Using the NXT 2.0 Colour Sensor

So you just bought yourself one of the NXT 2.0 Colour Sensors and you’re keen to get started with it. You browse through the example programs that are shipped with ROBOTC and open the “ColorSensor.c” program. “300 lines of code to read a simple colour?” you ask yourself. Fear not, it’s a lot easier than that. In order to use ... Read More »

Communicating with the NXTBee

So I’ve had these Dexter Industries NXTBees for about two weeks now and I’ve been working hard to come up with something cool.  Even before I received these NXTBees I spoke with John from DI about sending telemetry data from one NXT to another over a distance using these sensors. One of the potentially biggest data volume generating sensors I ... Read More »

ROBOTC for CORTEX & PIC 2.31 released

The fine folks at the Robotics Academy have released a new version of ROBOTC for the Cortex and PIC.  There are quite a number of changes: Updated new Master Firmware for VEX Cortex Fixed “Cannot find firmware file” download error. Additional Integrity Checks on Firmware Downloading & qualifiers are now accepted on structure elements. Improved robustness for communicating with Cortex ... Read More »

Programming Robots in Virtual Worlds

Original article here: [LINK]. Carnegie Mellon will release a fully working, downloadable “Technical Demonstration” of their new Robot Virtual World (RVW) programming tool to the world on February 9, 2011. The first world takes students to planet H99 where they will be able to program their robots using feedback from encoders, sonar, and compass sensors. The RVW project is designed ... Read More »

NXTBee Initial Test

Just uploaded a quick video of the initial test done with the Dexter Industries NXTBee. It’s the same program Dexter Industries used in their flag waving video. It’s really cool to have the wireless connection without all the stupid hoops you have to jump through to do a bidirectional connection in BT. Much more to come soon; I have a ... Read More »

A Smoother LineLeader

NXTLIneLeaderw250b

Sometimes even the greatest leaders need a little help.  This is also true of the Mindsensors LineLeader sensor. I’ve been working on maze solving robot and noticed that the robot’s state engine would sometimes be triggered by transient readings from the sensor. It would suddenly think that a crossing was detected and swerve to the right or left. Rather than ... Read More »

Released: 3rd Party ROBOTC Driver Suite V1.8.1

A new release of the Driver Suite has been uploaded to Source Forge. Changes: common.h: added check for sensor type for all I2C calls.  To disable this check, please refer to the source code. Dexter Industries dGPS: added missing DGPSreadDistToDestination() function HT Angle Sensor: added Sensor MUX support HT Compass: enhanced HTMCreadRelativeHeading() function Lego US: Added lots of new functions: ... Read More »

Fun with ROBOTC for Arduino

Among all of the cool presents I got for Christmas this year were two new shields for my Arduino. I got a L298N Shield and a DFRobot LCD Keypad Shield. I wanted some new shields so I could write drivers for the Arduino port of ROBOTC. I found the original C++ driver for the LCD shield and quickly ported it ... Read More »