@DNA Robotics So how do you program an Arduino using Matlab? That is the question at hand. Do you have any bright ideas?I would say use the Arduino & their free IDE
Plenty of source code for all of the shields.
Arduino Color Recognition Sensor Module
Designed around 4 White LEDs and the TAOS TCS230 sensor IC. The four white LED’s to provide a broad spectrum light source .The TCS230 has an 8 x 8 array of photodiodes with color filters (16 Red, 16 Blue, 16 Green, 16 Clear). A light to frequency converter generates a 50% duty cycle square wave on the output pin. Frequency is directly proportional to light intensity. Output scaling 100%, 20% and 2% allows for wide dynamic range of intensities. The color selects (S2, S3), frequency scale (S0, S1) and output are TTL logic level and can be connected directly to the micro controller. Basic readings are easy using the Arduino “pulsein” command. Take a reading for each color. The reading with narrowest pulse width or highest frequency is the major color. Using advanced ratio analysis almost any color could be recognized. Multiple uses by adding lenses, color filters, different light source.
Check out: www. arduino.cc.en and others.
Camera Arduino Compatible Shield
2M Pixal Camera for Arduino UNO/MEGA
ArduCAM-F RevB is an Arduino based open source camera Shield including a 2 Mega Pixal OV2540 CMOS camera module with JPEG output. More info at www.arducam.com & www.arduino.cc.en.
I am not aware that robots which use any kind of microcontroller are programmable in Matlab.
It is not however a builtin, plug-and-play feature of Matlab or Arduino. This would be a considerable undertaking on your part.
I suggested an alternative. Don't even try.
I understand what you did, but your answer did not address the original question. I still think it is possible to do what the TS/OP wants to do, but I think it will take more effort than he is prepared to expend. AFAIK there is no ready made out-of-the box solution, but who knows.I suggested an alternative. Don't even try.
NoI want to know whether robots which use Arduino or PIC as a micro-controller, be programmed by Matlab ?
|Thread starter||Similar threads||Forum||Replies||Date|
|D||How loud are robots and motors compared to animals ?||Automation, Robotics & Control||15|
|L293N enquiries for Robots with PIC microcontroller||Automation, Robotics & Control||6|
|This Silicon Valley start-up wants to replace lawyers with robots||Off-Topic||7|
|B||controlling line follower robots||Automation, Robotics & Control||1|
|K||what type of accelerometers are used in robots or drones?||Automation, Robotics & Control||1|
by Gary Elinoff
by Jake Hertz