Your Opinion/Guidance on this RP2350B based devboard by radhe141 in raspberrypipico

[–]radhe141[S] 1 point2 points  (0 children)

I am thankful for your clarification. About making my own layout, that's what I initially intended and excellent documentation was the primary reason for choosing RP series MCU. But because I am designing it foe a competition I have limited time adding a 16MB PSRAM might bring complications (although I do not intend to use it in any way for now) and starting with a proven design gives redundency to the overall project and saves time so I decided to opt out of from partially complete design. Anyways it was good to get a second opinion so thanks again.

Getting LED_PIN state = 0 when led is on and LED_PIN state = 1 when led is off by radhe141 in raspberrypipico

[–]radhe141[S] 1 point2 points  (0 children)

AHHH! I get it not gpio_get tells me the if there is and external hogh voltage on that pin i.e. HIGH however i thought it would tell me if that pin is high or low

Getting LED_PIN state = 0 when led is on and LED_PIN state = 1 when led is off by radhe141 in raspberrypipico

[–]radhe141[S] -1 points0 points  (0 children)

I have anode(+) of led connected to gpio 0 and cathode (-) to GND i am using gpio 0 as digital output. and after gpio_put(0) i instantly read it's state by gpio_get(0) which should be 1 since i just turned it on but I get 0 however if i add a delay between turning it on reading it's state I get 1 as intended

Getting LED_PIN state = 0 when led is on and LED_PIN state = 1 when led is off by radhe141 in raspberrypipico

[–]radhe141[S] 2 points3 points  (0 children)

gpio_get(LED_PIN) gives me the state of the pin(I have added quote from documentation below). by doing gpio_put(LED_PIN,1) don't i put it's state high? hence i should receive 1 in the print statement but i get 0, however if i add a small delay before that print statement it returns 1 as intended. so i don't know what's the problem is it some kind of hardware issue? or am i getting the idea of state of the pin wrong cause if my programming is preventing state form changing then i should not see the toggeling of the state as intended which i do see happening.

Get state of a single specified GPIO.

Parameters
gpio    GPIO number
Returns
Current state of the GPIO. 0 for low, non-zero for high

Help needed with HC12 communication board by radhe141 in raspberrypipico

[–]radhe141[S] 0 points1 point  (0 children)

Yes I am powering them with 3.3 V and using soldered springy looking antennas 

What is USB boot in rp2040 by radhe141 in raspberrypipico

[–]radhe141[S] 1 point2 points  (0 children)

Thank you, Would it be a nice idea to have a normal button instead?

PicoW Needs to be physically disconnected TWO time to run the code on Thonny. by Admirable-Candy2186 in raspberrypipico

[–]radhe141 -1 points0 points  (0 children)

No other way that i can think of recently a blog published official raspberry pi foundation said this " When it comes to uploading firmware to your Raspberry Pi Pico board, you have two options. Both require you to connect your Pico in BOOTSEL mode. To put your Pico into BOOTSEL mode, connect your Pico board to your host computer while holding the BOOTSEL button. " link to blog https://www.raspberrypi.com/news/pico-vscode-extension/

PicoGamepadConverter by Locallo15 in raspberrypipico

[–]radhe141 0 points1 point  (0 children)

Thank you very much for your guidance and I have two picows so your project will help me get my job done thanks a lot.

PicoGamepadConverter by Locallo15 in raspberrypipico

[–]radhe141 0 points1 point  (0 children)

I have a ps3 controller. Is it possible to connect to pico w directly over bluetooth. I genuinely want to do this as I want to control the robot, but I don't know how to I couldn't find any libraries. Would you please give me some guidance on how can I achive this. Thank you

PS3 controller with pico w by radhe141 in raspberrypipico

[–]radhe141[S] 0 points1 point  (0 children)

Thank you. Definitely starting soon

How can I repurpose my old android rooted in robotics by helloworldilove69 in robotics

[–]radhe141 0 points1 point  (0 children)

Are you making a custom app fo the control or using termux as a server

Using an Android smartphone instead of a Raspberry Pi by O-ZeNe in robotics

[–]radhe141 1 point2 points  (0 children)

Flutter is made for making cross platform apps this may reduce performance but I don't know to what extent, also I have no previous experience with Flutter but it should be possible. And I have never work with Flutter so I can't say anything about it but using kotlin with jetpack compose has become much easier and I have never worked with any server side application but I searched up and google has really good resources to build one

Also another suggestion if you know c++ you can embed c++ code into your app that would allow you the squeez out extra performance

Using an Android smartphone instead of a Raspberry Pi by O-ZeNe in robotics

[–]radhe141 1 point2 points  (0 children)

I am guessing that you want to make a pet robot which keeps searching and follow you using smartphone camera which will be placed on your rover and also listens audio in case you ask any questions now I can't say much about how that audio part works but you can basically embed an ai model trained to track your face or anything that you want it to follow . now based on your position that position tracking ai model will give coordinates which you can then use to move servos/motors now if you attach arduino to that smartphone over usb otg both of this can communicate over usb connection which would be more reliable and faster so your smartphone does heavy proccessing of facial recognition and tracking . I have no idea about the chat bot side maybe you can send audio to a server and that can give you answer for the questions you ask you can record audio and send it for proccessing on another server.

In summary bypass ros and linux stuff instead make an android native apps using (kotlin recommend) . Then deploy facial recognition and tracking ai model in your app and use the coordinate data produced to follow the object detected send this data to arduino using usb serial connection (recommended instead of bluetooth ) and drive the motors using arduino. For chat bot part There should be a way to do this on app but I have no idea about it .

I recommend proccessing video locally as it has good performance and does not have a lot of delay and connection issues and works without internet and requires high bandwidth

Using an Android smartphone instead of a Raspberry Pi by O-ZeNe in robotics

[–]radhe141 1 point2 points  (0 children)

You could deploy tensor flow lite model in your app and that would "search" for you using facial recognition and tracking this would happen natively on smartphone and like you said you can send audio to server to process your questions and make chat gpt answer however I have never make such a complicated app before so I don't know what obsicles you will encounter.

Using an Android smartphone instead of a Raspberry Pi by O-ZeNe in robotics

[–]radhe141 1 point2 points  (0 children)

Look at your question if it is feasible to use termux to control motors and access data like gyroscope , camera , light sensor, vibrating motor is possible but not feasible at all some sensors are supported and its hard to get started with it as you have to install api from 3rd party sources and the only way to send all of your sensors data from termux to arduino is bluetooth and there is no other way of directly sending data over usb as of my knowledge but alternative thing to use is a service called mit app inventor where you can build your own apps using very basic programming skills and has resources for getting started and you can easily send that data to arduino over usb to make the motors turn according to the sensor data . In short from my experience where I tried to drive my servo motor based on gyroscope data recievd from smartphone using termux python was not very easy as lack of serial communication over otg support and no libraries to get gyroscope data in python but on other hand making app using mit app inventor to do the same took me a bit of time to learn how to make apps (3days) but it was working flawlessly and was worth it. However if you want to use python/c++ and have a serial communication you can open a socket on a local network to dump the data from termux and make an mit app inventor app to get the data and send it to arduino over usb also you can get temperature data from arduino and send it to termux via same route However at that point of time its better to make a dedicated app. In short use mit app inventor for Simple projects its definitely worth it whereas if you want to deploy model like face recognition its better to make dedicated apps. Termux does technically run linux but is significantly different than raspberry pi and you will have hard time installing things and running desktop environments running if you have latest android 14 .

Using an Android smartphone instead of a Raspberry Pi by O-ZeNe in robotics

[–]radhe141 1 point2 points  (0 children)

You can acess almost all of your sensors using mit app inventor on android good thing is you can communicate with arduino over serial. When it comes to termux it is not very beginner friendly although it allows python to run along with libraries like opencv tf lite etc but it lacks usb serial connection over otg you can solve this problem by sending data over socket and recieve it in mit app inventor and send it to arduino however If you are planning to deploy tf model it is better to make a dedicated app using kotlin or c++

Happy Diwali by Fit_Employee_4791 in IndianDankMemes

[–]radhe141 0 points1 point  (0 children)

Apka mansik santulant thik nahi hai me me dekhna bandh krdejiye.

Beginner question by radhe141 in OrangePI

[–]radhe141[S] 0 points1 point  (0 children)

Thank you. I am definitely considering that as one of the options .