-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the wiki for chips_avr_examples with AVR Assembly and C code example projects.
I2C_Master_Code_Dev
Demo board code used to develop I2C Master and Slave code.
There are also drivers for a dual 7-segment LED display and 4x4 hex keypad.
I2C_Slave_Code_Dev/I2C_Logger
Uses the LCD_CDM-16100 Demo board as a Logger display based on I2C Slave code.
I2C Master code and Text formatting has been added to the TankBot code to send sensor data for display.
I2C_Slave_Code_Dev/I2C_SlaveCore
Uses the LCD_CDM-16100 Demo board to demo an I2C Slave control API project.
The i2c_ArduinoWriteRead.zip is a sketch using a MEGA 2650 board to control I2C demo board.
R2_Comm_Link
Designed to provide audio communications using Dual Tones and Goertiz tone detection.
The project also contains a differential LED display driver and I2C interface.
SumoBot_Code_Dev
Control code for a Sumo Bot using my LCD_CDM-16100 Demo board.
The control code has two modes: Drive in a square and Avoid dark lines.
It would be fairly simple to add a Line follower mode.
The motors are continuous servos, so there is a Servo control module.
There is also an ADC data module for the line sensors.
TankBot_Code_Dev
This is a primary project to build a roving bot. All module have been tested: PWM, IR, Sonar, Demo control.
It has modules that provide DC PWM motor control, Sonar range, and IR range sensors, and a Demo state machine
to show simple operations.
The control logic follows the same mode based state machine as the SumoBot.
Now uses the I2C Master Lib and a Text formatting module to send out sensor data for display.
There will also be I2C Slave, a RS-232 module, and a SPI interface for WiFi.
[Example AVR C Code] (https://github.com/CmdrZin/chips_avr_examples/tree/master/Example AVR C Code)
Several AVR C code hardware drivers and interface examples.
[I2C Slave Tutorial] (https://github.com/CmdrZin/chips_I2C_Slave_tutorial)
Source code for the I2C Slave examples described in the tutorial.
[AnimatronicFaceBoard] (https://github.com/CmdrZin/chips_avr_examples/tree/master/AnimatronicFaceBoard)
Source code for the Face Animatronic development board. This includes the I2C Master which serial
and the I2C Slave board. Both boards support 8 ADC data collection for reading resistor pots.
More to come.