Comments (8)
The voltage divider is used to measure the battery voltage. The battery has a voltage of 9.6-12.6V. But the ADC of the Arduino can only measure a voltage of up to 5V. For example, you can use a 20k and 10k resistor and then set the multiplier in the app to 3. One end of the 20k resistor is connected to Vin and the other to the Arduino pin A7 and one end of the 10k resistor. The other end of the 10k resistor is connected to GND. More info here.
We use the NewPing library for the Ultrasonic sensor. It supports single pin operation and automatically toggles this pin to be an input and output depending if the echo signal is sent or it is waiting for the trigger signal to be received. You can also connect it to two pins as in other tutorials if you prefer. Just make sure to keep it event-driven as in the code, otherwise the ultrasonic sensor will block the rest of the code.
from openbot.
Got it. So voltage divider is about arduino power supply.
Maybe it's better to use some DC-DC convertor since we losing part of the energy as heating on resistors.
Something like: https://www.aliexpress.com/item/33004374185.html
from openbot.
Hm, I reread instructions again and looks like this voltage divider isn't for power supply, sorry.
Is it for battery charge level checking? I confused because there is no resistors in the bill of materials...
from openbot.
Yes, it is to check the battery voltage and it is optional.
from openbot.
Closing due to inactivity.
from openbot.
I'm sorry but my request still open. Maybe in future you can add picture with the wiring diagram?
In other issue I found question about wiring motors. It could help with robot assembly for others.
from openbot.
I have added a wiring diagram. Does this answer your questions? If not feel free to reopen the issue or open another one.
from openbot.
Cool, thank you! Sorry, I missed your commit.
from openbot.
Related Issues (20)
- Invalid README link
- 3D printed RC car
- Integration on AI Blocks in Block Based coding platform
- Advanced AI Blocks - Multiple detections and parallel block to run multiple AI pipelines
- Tflite files are not uploading in Model Management on Android Devices
- Readme update for google drive API enable in react-blockly google services
- Unable to Connect Android App Openbot to Controller App HOT 8
- Running without stopping HOT 6
- Start help
- No such module 'DropDown'
- @THC--/medisin#godis&gøy
- Prøv selv;)
- I am unable to see ESP32 in the wiring diagram of DIY bot. HOT 3
- ObjectNavSegment control result should be mirrored when using front facing camera HOT 1
- When using one phone as Wifi AP and the other connect to this AP, controller app and robot app can NOT connect HOT 3
- When using one phone as Wifi AP and the other connect to this AP, controller app and robot app can NOT connect in IOS App
- Error when training model HOT 2
- Problem in connection to node-js controller HOT 1
- ESP32-S3 support
- OpenBot with Arduino Uno
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbot.