OttoDIY / blockly

Otto Blockly; a fully integrated graphical programming for any type of Arduino projects, including robots, ready to install in your computer, it works offline and also online
https://www.ottodiy.com/software
GNU General Public License v2.0
114 stars 80 forks source link

Add a vision camera for doing IA applications #49

Closed logix5 closed 3 years ago

logix5 commented 4 years ago

Hi , My robotic kit use an arduino Leonardo board compatible and i have been creating my own enviroment in Blockly. You can see here. I have added a lot of sensors, actuator, cameras,...

the project in github here

Now I am going to start with otto, and probably migrate your otto blocks to my tool, but in my opinion would be interesting add a camera as Mu Vison to otto by I2C port. Maybe in the next months, i can do it and share here. The camera is easy to integrate using the library and some vision applicaton are available and give to otto an important plus. Another camera to work is this: https://www.dfrobot.com/product-1922.html maybe more interesting and with panel to see.

I let you know, if at the end add this feature. I am not expert in JavaScript and i would like to create in my tool the option to change the arduino board because the most of blocks are compatible in different pins. Now for otto i will use the nano board.

Thanks

cparrapa commented 4 years ago

Hi @logix5

Very cool many people had this idea but none has executed. I also have some MU camera to give a try. Is Arduino Leonardo working for you in our Otto Blockly?

Why not join forces to integrate both projects since they have same goal? We also welcome new boards.

logix5 commented 4 years ago

I am using the BeDuino kit in my classes to students. The main board is an arduino leonardo with motor drivers. I found the correlation pins between ports of this board and arduino leonardo pins and use blockly to create my own tool. As you can see I added a lot of sensors actuator , communication IOT, .... for my older students mainly. The young student prefer build easy robot with the pieces of the kit :-) .

I could use this board with otto but it very big and no cool!. My idea is create otto from scratch teaching design pieces too, and add more sensor, and it would be fantastic add some camera as mu vision. I have added the blocks in my tool now maybe you can use too. I have not tested yet but these blocks are integrated from the manufacter, Mixly sw because this sw use blockly too. One thing, you can use the arduino library directly, but i want to create blocks becasue the student learn better and easily

I let you know, but firstable i need to star with otto basic :-)

BR

cparrapa commented 4 years ago

@logix5 This is great so we can just use the same .js files and bring them here? i was thinking to incorporate the MU but this will be a time saver thanks!

logix5 commented 4 years ago

I have added in my repository the blocks to use Mu Vision camera in blockly for Arduino. Beside I have added some blocks of your blockly otto extension :-) too

https://github.com/logix5/Blocklyduino-para-MRTDuino

mu_vision_sensor2.js file in blocks and generators. you need to copy the language texts and add in your program. you can insert in your application

Thanks!

cparrapa commented 4 years ago

thanks to you @logix5 i will give a try this weekend

cparrapa commented 3 years ago

Morpx added here https://github.com/OttoDIY/blockly/pull/66