Laser pointer / cam…
 
Share:
Notifications
Clear all

[Sticky] Laser pointer / camera / webcam remote control robot


350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 785
Topic starter  

Project released! All the info needed can be found here: https://www.jjrobots.com/remotely-controlled-laser-pointer/

CAMERA GIMBAL with NEMA17 motors 1

This 3D printed laser/torch/camera pointer has been created using common and affordable elements from the 3D printed World (NEMA 17 motors, Linear bearings, timing belts…)

jjRobots camera Gimbal

 

The idea was to create a reliable, fast, modifiable and accurate “pointer” robot. Fix to this robot a small camera, webcam, flashlight, sensor… and control it remotely. The Python code will let you move the robot, autonomously, following pre-set movement patterns with precision.

Convert it into a remotely operated webcam:

remotely operated WEBCAM

Control it using a Xbox/ PS4 controller:

xbox controller moving the laser pointer

The control APP has been created with Python

python logo

Take a look at it: Laser pointer 3D interactive model

We have written a detailed assembly guide.

Arduino and Python code can be found on its project webpage :  https://www.jjrobots.com/remotely-controlled-laser-pointer/

The control code has been written in PYTHON, and it has been thoroughly explained and commented for easy understanding. There are several control examples here

All the links to code, videos, specifications, assembly guide…etc can be found here:   https://www.jjrobots.com/remotely-controlled-laser-pointer/

NEW!: Added Xbox/PS4 controller. Now you can control the laser pointer robot using your PS4/Xbox controller


Quote
560396ce0120ecba5bebe339f6689aea?s=80&d=mm&r=g
(@dikovsky)
Member
Joined: 4 months ago
Posts: 1
 

Thanx for the beautiful design!

Maybe anyone can write a manual how to use it with Stellarium?


ReplyQuote
ce923fddd033f21820834482f95ee642?s=80&d=mm&r=g
(@aardvarkman)
Member
Joined: 4 months ago
Posts: 1
 

Hey there, I ordered the kit so the Devia board came preloaded. It worked, then I uploaded the Laster Pointer V3 code from the page, and now it doesn’t work. What code was it preloaded with? Is there a V4 on the way?

Thanks!


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 785
Topic starter  
Posted by: @dikovsky

Thanx for the beautiful design!

Maybe anyone can write a manual how to use it with Stellarium?

Working on that! 😉


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 785
Topic starter  
Posted by: @aardvarkman

Hey there, I ordered the kit so the Devia board came preloaded. It worked, then I uploaded the Laster Pointer V3 code from the page, and now it doesn’t work. What code was it preloaded with? Is there a V4 on the way?

Thanks!

Looks like you did not completely upload the code to the DEVIA.

Try this:
1) completely uninstall your current Arduino IDE, even delete the Arduino library folder (it would be My Documents\Arduino\libraries)
2) Install the Arduino IDE 1.8.6 (the latest one we know does not create any conflict)
3) Install the SAMD Boards library 1.8.10.
4) Try to compile again the code and check you are not having any warning messages. If so, upload the code to the DEVIA control board.
5) Done!

NOTE:
remember to select the correct Arduino Board, in this case: ARDUINO/GENUINO ZERO (native USB port). In the case you can not see that board option: install the “Arduino SAMD Boards (32-bits ARM Cortex-M0+)” libraries. Go to Tools->Board->Boards Manager… and install the “Arduino SAMD Boards (32-bits ARM Cortex-M0+) (version 1.8.10)

Selecting the right board


ReplyQuote
e1e8e761a01ed1f64b1360f73d233330?s=80&d=mm&r=g
(@daniel-pett)
Member Customer
Joined: 3 months ago
Posts: 2
 

Hi JJrobots Team,

i have sucessfully finished your Laser Pointer Robot and wanna give some feedback.

Printing your files was very comfortable … perfect design, no errors in stl files, almost no supports needed.

Building this project was done in about an hour and it was very fun.

Flashing your files was done in minutes.

Playing with my cats … successful after 3 headaching days:

cause: win10 (with python 3.8 + needed libs and downgraded Arduino Lib) wont work

and i have no damn clue why it doesnt work.

after changing to rasperry pi 4 with python 3.7 it worked after 15mins.

btw. can you tell me the difference between the devia 1.0 board and the delivered 1.1 version.

i couldnt find any proper info on your page or elsewhere.

Thank you very much.

 

 

 


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 785
Topic starter  

@daniel-pett Hi! Thanks for your feedback 🙂

Send us a video of your pet playing with the led torch! 😀

What “shield” are you using to control the nema17 motors with a Raspberry? Can I have more details?

The DEVIA 1.0 has a less powerful 5V regulator. The 1.1 can deliver up to 1A, enough to drive up to 4 regular servos instead of 2-3

 


ReplyQuote
e1e8e761a01ed1f64b1360f73d233330?s=80&d=mm&r=g
(@daniel-pett)
Member Customer
Joined: 3 months ago
Posts: 2
 

i use your devia board… no shield. but python code is running from a pi4 because on my win 10 machine it doesnt work.

enjoy the vid. 😆 


ReplyQuote
8a7fe86c318818454ff116d861b8d4c2?s=80&d=mm&r=g
(@brockadoo)
Member
Joined: 2 months ago
Posts: 3
 

Hi!  We got the robot built, downloaded firmware, python, etc.  We connect to the board via wifi.  See sending messages, no errors, but no movement.  We increased the voltage slightly still no luck.  Any troubleshooting ideas?

Thanks!


ReplyQuote
8a7fe86c318818454ff116d861b8d4c2?s=80&d=mm&r=g
(@brockadoo)
Member
Joined: 2 months ago
Posts: 3
 

A little more info.  I can’t send the commands to the robot via the com port even though I can send the firmware.  I also can connect to the robot on wifi, but I don’t think the commands are being sent from python even though it appears to be trying.   So it looks like the application isn’t actually getting connected to the robot.


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 785
Topic starter  

@brockadoo did you declare  the correct COM PORT in the Python code?


ReplyQuote
8a7fe86c318818454ff116d861b8d4c2?s=80&d=mm&r=g
(@brockadoo)
Member
Joined: 2 months ago
Posts: 3
 

Yes.  The arduino gave com3.  And i can download firmware via that.   I update python example to com3 and true.


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 785
Topic starter  

@brockadoo Send me your python code, please. Attach it to this thread.


ReplyQuote
5aed57ccaaa6883f2c87efd018c2dfeb?s=80&d=mm&r=g
(@matthew-brauer)
Member Customer
Joined: 2 months ago
Posts: 1
 

Has anyone successfully flashed the ESP-12F that is on the Devia board? It might be nice to take advantage of the fact that the capabilities of that module are in some ways greater than those of the Atmel M0 (4M flash size vs. 256K for the M0, for example). It seems like a lot of the comms chores could be offloaded to the ESP-12F.

The pads on the back of the board do not expose TX or DX though, so I’m nervous about messing around with the flashing process.


ReplyQuote
Share: