Timeline for Control Raspberry Pi to control an Arduino over Apache
Current License: CC BY-SA 3.0
51 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
10 hours ago | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 18 at 1:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 20 at 0:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 22, 2023 at 0:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 23, 2023 at 23:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 25, 2023 at 23:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 26, 2022 at 21:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 28, 2022 at 19:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 30, 2022 at 19:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 31, 2021 at 18:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 2, 2021 at 18:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 5, 2021 at 16:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 5, 2021 at 15:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 7, 2020 at 15:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 11, 2020 at 14:27 | review | Close votes | |||
May 17, 2020 at 3:04 | |||||
May 10, 2020 at 15:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 11, 2020 at 14:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 13, 2019 at 14:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 16, 2019 at 13:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 16, 2019 at 4:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 25, 2018 at 8:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 19, 2018 at 20:29 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 11, 2018 at 6:30 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 10, 2018 at 19:42 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 23, 2017 at 11:07 | answer | added | Mohamed Shafi | timeline score: 0 | |
Oct 23, 2017 at 7:10 | comment | added | Piotr Kula | Sure. You can use onDown and onUp events of the button and control the state on the server. This means sending one request for down and another on up. To make it more robust you can resend on down after checking if the button is still on down and keep sending requests evey second saying it is still onDown until you get an onUp event or the server timesOut (in case you loose connection with client) Or you can also use websockets to stream data between clients. | |
Oct 20, 2017 at 21:54 | comment | added | Epic Gamer_1 | @ppumkin I dont know how to keep the function running while the button is clicked. Can I still use AJAX for it? | |
Oct 19, 2017 at 23:21 | comment | added | Epic Gamer_1 | @ppumkin Thank you, I will look into this and start soon! | |
Oct 19, 2017 at 15:12 | comment | added | Piotr Kula | Yes, by using HTML and CSS. Buttons then use AJAX to call WebAPI | |
Oct 19, 2017 at 15:03 | comment | added | Epic Gamer_1 | @ppumkin that was my initial intention. I now do plan to go with python. I will be able to create buttons and all? | |
Oct 19, 2017 at 14:59 | comment | added | Piotr Kula | Yes, we have a plethora of choices to do this. And Python it self can be the webserver. You can use NodeJS, CGI (as suggested below), C# Core2 WebApi/Sockets, and it goes on and on. I would suggest sticking with Python. Learn how to make a python server,with webapi, its easy. Then you call the API endpoitns that do things on the Pi | |
Oct 19, 2017 at 14:50 | comment | added | Epic Gamer_1 | @ppumkin I plan to use python for the I2C connection. Is there any way that could connect to the web server to run it when a button is pressed and too when the button isn’t pressed | |
Oct 19, 2017 at 14:49 | comment | added | Epic Gamer_1 | @Guy.D I am using the Arduino because it’s PWM is better than that of the Pi and I am planning on connecting more things as well | |
Oct 19, 2017 at 14:41 | comment | added | Piotr Kula | You can do this using programming language, with any web server and any OS. The answers would be speculative and incomplete. The general answer to your question is Yes. The right direction, choose an OS, choose a programming language. I suggest Rasbpian and Python, or Windows IoT and C# - Good luck soldier! | |
Oct 19, 2017 at 14:16 | answer | added | flc | timeline score: 0 | |
Oct 19, 2017 at 13:26 | comment | added | guyd | @EpicGamer_1- OK. why not using Pi only to control the motor ? what is the necessity of Arduino | |
Oct 19, 2017 at 11:47 | comment | added | Mark | @EpicGamer_1 Please see raspberrypi.org/forums/viewtopic.php?f=31&t=30882 | |
Oct 19, 2017 at 11:37 | comment | added | Epic Gamer_1 | @Guy.D I am planning it this way: connect the Pi to the Arduino via GPIO, have the Arduino control motors as i am going to add much more in the future. I want to control the raspberry pi to send a signal to move the motor via a web interface | |
Oct 19, 2017 at 11:15 | comment | added | guyd | @EpicGamer_1I can't understand what is the functionality of Arduino if it connected wirely to Pi ? can't you commence I2C directly from Pi ? | |
Oct 19, 2017 at 11:12 | comment | added | Epic Gamer_1 | @Guy.D I am using the GPIO pins on the Pi to communicate via I2C to the Arduino | |
Oct 19, 2017 at 11:10 | comment | added | guyd | @EpicGamer_1how do you plan to control Arduino? wired ? over LAN ( remotely ) ? | |
Oct 19, 2017 at 11:09 | comment | added | guyd | @EpicGamer_1 "pigpio is a library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO). pigpio works on all versions of the Pi. Download." you cant find it here: abyz.me.uk/rpi/pigpio | |
Oct 19, 2017 at 11:06 | comment | added | Epic Gamer_1 | @Guy.D What is pigpiod? | |
Oct 19, 2017 at 11:02 | comment | added | Epic Gamer_1 | @Mark I know I am going to start the connection between the 2 via I2C, but I want to know how I can control that I2C connection from Apache. I’m not doing it from the Pi because the PWM on the pi isn’t great and I plan to do more in the future with this project. | |
Oct 19, 2017 at 9:51 | comment | added | guyd |
Are you using pigpiod ?
|
|
S Oct 19, 2017 at 8:46 | history | suggested | Quintin B | CC BY-SA 3.0 |
Removed thanks
|
Oct 19, 2017 at 7:00 | review | Suggested edits | |||
S Oct 19, 2017 at 8:46 | |||||
Oct 19, 2017 at 5:30 | comment | added | Mark | Divide your problem into subproblems and then try to find an answer for each of them. For example: 1. Hosting Apache website on Raspberry Pi 2. Raspberry Pi and Arduino connection BTW why not starting the motor directly from RPi? | |
Oct 18, 2017 at 21:52 | review | Close votes | |||
Nov 5, 2017 at 3:02 | |||||
Oct 18, 2017 at 21:35 | review | First posts | |||
Oct 19, 2017 at 15:11 | |||||
Oct 18, 2017 at 21:32 | history | asked | Epic Gamer_1 | CC BY-SA 3.0 |