Python Forum
I'm trying to make a piece of code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm trying to make a piece of code
#1
Question 
I'm a new coder trying to make an app which helps my friends we would like the app to count every time we do an attraction at a theme park by pressing a button and displaying that to a Bluetooth light up display can anyone help me as I don't know if this is even possible thank you in advance
Reply
#2
You need to break this down, it's a lot for a new coder...

Start with making a simple app (for what? Android, iOS, etc), which needs a list of ride buttons...

LOL, then do some bluetooth examples to keep your friends notified!


Quote:“Nothing is particularly hard if you divide it into small jobs”
― Henry Ford
Reply
#3
Maybe a good idea is: buy a raspberry pi?

It is cheap, < $200 I believe and has a programmable interface so you can connect LEDs and make them light up and other things. Early stage robotics!

I believe raspberry pi is at version 5 now. I never owned one, so I can't say more about them.

I'm sure there is lots of good advice on the internet about how to use a raspberry pi.
Reply
#4
A simple application like this could be done with a small microprocessor.
Something like this.
Reply
#5
And you can use Micropython with different dev boards. The most used for IoT projects is the ESP32. If you require a smaller dev-board, I would suggest this one: https://www.seeedstudio.com/Seeed-Studio...-6471.html

But before you start, you should learn about the protocols used in microelectronics.
Often you require SPI or I2C for Displays, Sensors etc.
Then you need to pay attention on Logic Levels. All those microcontrollers are working with 3.3V. If you apply more, then it kills the microcontroller.

Then an additional layer comes. Bluetooth is a monster. If you're using Micropython, then Bluetooth Classic isn't supported. The controller is capable of it, but it's too much to include it in the Micropython firmware. But Bluetooth LE is supported via Micropython:

Edit: There is also Circuit Python, which is a fork of Micropython: https://circuitpython.org/
Larz60+ likes this post
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#6
Tools you can explore
  • Flutter + flutter_blue library → for Bluetooth.
  • React Native + react-native-ble-plx → for BLE.
  • Arduino IDE → to program microcontrollers.
  • MIT App Inventor → easy drag-and-drop app builder with Bluetooth support.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Make code run faster: point within polygon lookups Bennygib 3 1,408 Jul-11-2025, 07:24 AM
Last Post: FrankBuckland
  Cleaning my code to make it more efficient BSDevo 14 5,453 Jul-11-2025, 07:20 AM
Last Post: FrankBuckland
  How can I make this code more efficient and process faster? steven_ximen 0 826 Dec-17-2024, 04:27 PM
Last Post: steven_ximen
  hi need help to make this code work correctly atulkul1985 5 2,797 Nov-20-2023, 04:38 PM
Last Post: deanhystad
  newbie question - can't make code work tronic72 2 2,120 Oct-22-2023, 09:08 PM
Last Post: tronic72
  An unexplainable error in .format statement - but only in a larger piece of code? ToniE 4 2,375 Sep-05-2023, 12:50 PM
Last Post: ToniE
  First piece of code Bearwulf 2 1,870 Aug-02-2023, 04:03 PM
Last Post: deanhystad
  how to make bot that sends instagram auto password reset code kraixx 2 3,327 Mar-04-2023, 09:59 PM
Last Post: jefsummers
  Make code non-blocking? Extra 0 2,504 Dec-03-2022, 10:07 PM
Last Post: Extra
  Make the code shorter quest 2 2,768 Mar-14-2022, 04:28 PM
Last Post: deanhystad

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020
This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.