#microcontrollers

1 messages ยท Page 10 of 1

fast wagon
#

i see

#

so then i should only use it for stripping and get a seperate cutter

#

or should i use this one for cutting and get a separate stripper

indigo plover
#

Just get whatever you want for a stipper and don't use it as a cutter, then get a cutter on the side for cutting

#

Whether there is a cutting or plying part on the stripper doesn't matter. Just use it as a stripper

fast wagon
#

also what is bedding

indigo plover
#

Pliers

#

Bending or bedding?

fast wagon
#

bedding

#

last time you said bedding

#

^

indigo plover
fast wagon
#

oh i see

#

so pliers are simply just used for bending the wire

indigo plover
#

Yes

#

You need to do 90 degree bends on leads everytime you want to plug something somewhere and you don't want it to move

fast wagon
#

my bad if this is a dumb question, but isn't that something that can be done with hands

indigo plover
#

Yes, if you have nails and you bend parts in advance... before plugging them into a breadboard. Once they are plugged in and you need a specific bend, measuring with a plier and bending it is non negotiable

fast wagon
#

bet

indigo plover
#

Oh

#

No

#

The inside has to be flat

fast wagon
#

oh

fast wagon
#

there's no issues with this right

#

even if the edges are pointed

indigo plover
#

Also, pointy is relative

#

Those are quite round edges

fast wagon
indigo plover
fast wagon
#

ah shit i didn't know about that until today someone told me

indigo plover
#

Depending on what exactly you need, you could get one of those 40$ resistor kits off of digikey

fast wagon
#

i know nothing about this stuff lol

fast wagon
#

i actually have no clue about any of this

main nexus
#

Hello - I am looking for a Python based microcontroller that is fully assembled ( no exposed components ) that is easy to program and can boot and run Python programs? any help with companies, projects would be greatly appreciated, thanks

elfin sphinx
# main nexus Hello - I am looking for a Python based microcontroller that is fully assembled ...

a raspberry pi zero 2 W. Its not a microcontroller precissely , its like a small computer. but it can run python as is and has plenty of GPIO pins for you to interface with other elctronics. and with a 2 buck case ,you can have no exposed componenets. and its pretty powerful as a "microcontroller".

a "microcontroller" like arduino/esp32 cant run python as it has less resources and python needs ALOT of resources to run.

fast wagon
#

hey, i'm using an arduino with the vs code platformio extension in wsl, i connected the usb to wsl so that the port can be added, but now i'm having this issue when i try to upload the program to the arduino

elfin sphinx
#

programmer not responding can happen because of tons of reasons

basically means the communication between your PC and the arduino board's programming chip is not happening

dusty dock
#

My New program

fast wagon
#

so basically connecting the usb is not enough it seems

#

perhaps does it require dual booting?

elfin sphinx
fast wagon
#

so then do i have to reinstall vs code and go through all the platformio setup in windows?

#

or is there any way to run it in windows from vs code which is run in wsl

elfin sphinx
fast wagon
#

so to remove wsl from the equation it would be like changing the os itself

elfin sphinx
elfin sphinx
#

as you can see , i have both , a regular terminal and a wsl instance open in the vscode side bby side

why do you think you are using wsl anyway ?

because all the commands of platformio that you run via buttons run in regular terminal , not via WSL

fast wagon
elfin sphinx
fast wagon
#

but i can keep all my files in the wsl file system and then just run all the arduino stuff on a windows instance of the terminal right?

dreamy wasp
#

Can someone plz find be a 4 or 8 bit shift register circuit (no ICs) diagram and/or a picture of one

fast wagon
#

i can't find how to do it anywhere when i try searching it up

fast wagon
#

if i'm using arduino uno r4 minima, should i select that or just arduino uno in platformio

fast wagon
#

nevermind gang, i got it

#

holy shit finally

#

now i can get started on the embedded systems grind

#

nevermind i lost it

#

i have no clue as to what just happened

elfin sphinx
elfin sphinx
# fast wagon yo how did you do this by the way

in the top right corner , where i have highlighted the cmd , you should see a dropdown arrow next to the + button, if you click on the arrow , you can choose which terminal instance you want to open

elfin sphinx
elfin sphinx
elfin sphinx
#

@fast wagon if you are new to embedded dev , just use the arduino IDE , learn how programming a board works , get your basics done. then move on to better tools like platformio

dreamy wasp
fast wagon
#

so then it wouldn't work cause when it detaches it goes back to windows (disconnects from wsl)

#

but after the first time i shared it, it still always stays shared and i'm just having to connect it each time

#

but this one time, i have no idea what happened but the usb also unshared some how, then when i reshared and reconnected, the upload worked

#

then when i tried again, it went right back to the same issue of detaching and reattaching

#

so i'm not sure how it worked that one time, but i know it has something to do with what cause the usb to somehow be unshared that one time

#

but now i know to fix the issue i have to find a way to prevent the usb from detaching, that part i don't know how to do though

fast wagon
#

or cmd prompt option

#

the options are bash, tmux, and js debug terminal (i have no clue why it's specific to js, i have never done anything with js)

elfin sphinx
elfin sphinx
regal mortar
#

Any good cheap led strip that is easy to use with Arduino or esp32? I'm under a budget of 500 rupees (6$) . (It only has to display one color no matter what the brightness is)

#

Easy to use cause I suck at connecting wires

elfin sphinx
#

arduino / ESP32 have very limited power , so they will not be able to power any LED strip directly

regal mortar
#

2 meters

elfin sphinx
# regal mortar 2 meters

and you want to control its brightness with arduino ? or what do you want to do to it with arduino ?

regal mortar
#

I'm using a motion sensor and I want it to turn on when it's detected.

#

Kind of simple but I don't have much experience

elfin sphinx
#

here is a 12V 5m LED strip as an example

you can probably fit a relay module and a 12v power supply in your budget

regal mortar
#

Ohk thanks I get the outline of the idea but I don't have much experience in Arduino so how do I connect the relay is there any videos regarding that can guide me?

regal mortar
#

Thankss

reef ember
#

I just realized how bad the nintendo switch 2 is I want to get a handheld so I will most likely buy a steam deck of make my own

#

if I where to make my own hand held what micro controller should I use

quaint nacelle
#

How 'own' do you want it to be? A lot of people build projects like that around the guts of what are basically Android phones, and that can save a lot of steps if it's suitable. Custom stuff might be more fun to build of course.

reef ember
elfin sphinx
fast wagon
#

if i'm using wsl is there any way to permanently bind a port to wsl so that if it detaches or i take the usb out, it will still be connected to wsl when it reattaches

#

this is what claude said i should do, just want to make sure this is alright cause blindly following llms is probably not a good idea

run this in powershell:

$deviceId = "(Arduino device ID from usbipd list)"

usbipd bind --busid $deviceId --auto-attach```

run this in ubuntu (command prompt with wsl distribution)

SUBSYSTEM=="tty", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0043", SYMLINK+="arduino", MODE="0666"```

fast wagon
#

i rely too much on claude for system configurations lol

quaint nacelle
#

It's usually really helpful for at least pointing you in the right direction though

fast wagon
#

--auto-attach wasn't working so i told it that and then it gave me a solution that worked

fast wagon
#

but if i'm completely relying on it the way i just did then what's the difference between me and a vibe coder lol

fast wagon
#

just want to make sure, just directly doing sudo rm -rf arduino-ide_2.3.5_Linux_64bit.AppImage is fine right

#

or is there any other uninstallation process

#

i probably should have asked this before doing it

quaint nacelle
#

Yeah I believe for AppImage stuff you can just remove the file and you're done

cloud hinge
#

For pydroid is there a way to interface pydroid with pybluez to attach mac address or something similar to connect from android pydroid to esp32 with pyserial. I would like to use pygame to connect to all this and be able to recieve esp32 data into pygame. If we could get it to work then I think pygame on pydroid would be an excellent way to interface with esp32. I guess with a wire it's possible but wireless would be idea

spiral sandal
#

old android don't expose serial it is quite recent

#

and bluetooth would need an api in pydroid i guess

cloud hinge
cloud hinge
spiral sandal
#

lot of serial port require drivers that are only in newer linux kernels

#

and vendors may not ship them on device

#

hid usually work but it is low speed

cloud hinge
#

Bluetooth also has only a 5 to 20 nano second delay. To be able to do all that on the android pygame would be priceless

spiral sandal
#

telemetrix works with pygbag/webview too ( so pygame-ce )

#

but wifi has more latency

cloud hinge
spiral sandal
#

if same code can work in a webview+bt api yeah that would be really great

lyric vigil
#

will bluetooth keep working even if you lightsleep()
esp32

elfin sphinx
lyric vigil
elfin sphinx
#

although youy might need to "reconnect" to the device you were previously connected to

lyric vigil
#

i think ill test it

elfin sphinx
lyric vigil
#

noted, thank you

solemn robin
#

Hellow

pseudo sinew
# reef ember I want a handheld that can run stuff like videos and play 1080p low settings. I ...

You can get a Mini Desktop/PC. You can power it off of a Portable Battery if you get one that only needs like 65 Watts of Power. Then the rest is getting a small screen and hook everything up and you should be good to go. Mini PCs costs a lot cheaper than steam decks or handhelds computers. I kinda built a mini PC gauntlet thingy like in the Sci-Fi movies which looks cool and runs Linux. You'll be surprised by how much Windows eats up your battery and/or how much Linux saves your battery. Then if you want to add pins to your mini desktop to make it like a Raspberry Pi, just plug in an ESP32 and you are good to go.

pseudo sinew
elfin sphinx
#

or just buy a small laptop and call it a day

pseudo sinew
# elfin sphinx what you are describing is just a laptop. A full computer powered by battery and...

Laptops are BIGGER and also needs more power than Mini PCs. At least the ones I looked at. Have you never seen a mini gaming PC before? Also, a lot of Laptops can't be upgraded or they are just too big. Mini PCs are small and can be upgraded as well as running on lower power and are just as strong if not stronger. Laptops aren't exactly handheld, hence the name "laptops", implying on the lap. But Mini PCs can be made to be held if you know what you are doing. I made one on my arm/wrist like in the Sci-Fi movies. Of course, I used a smaller keyboard for it and a touchpad mouse.
The cost of LattePanda is too much. I recommend looking on Amazon for Mini PCs and then you'll find that Mini PCs are a lot cheaper than LattePandas.

elfin sphinx
# pseudo sinew Laptops are BIGGER and also needs more power than Mini PCs. At least the ones I ...

I think your definition of handheld is that " can be held in hand regardless of if it is comfortable or not". My definition of handheld is " like a steamdeck/game console, should be comfortable ". And the laptop was clearly a sarcastic comment.

if you have good mini PC recommendations , feel free to send links. i am not totally opposed to the idea of it , but all i have seen are either bulky or expensive for a handheld

pseudo sinew
# elfin sphinx I think your definition of handheld is that " can be held in hand regardless of ...

My definition of a handheld is something that can be held on the hand. Tablets are considered handheld in my definition. They are okay to be held on the hand.

You didn't bother to check for yourself on Amazon so I did your job for you. The first few mini desktop computers on Amazon were small and cheap(Under 500 USD and VS their Laptop versions).
https://www.amazon.com/Micro-Mini-PC-Computers-N5105/dp/B09Q8Z6VB7
https://www.amazon.com/Desktop-Pentium-Display-Compact-Education/dp/B0DZP66CR8
https://www.amazon.com/KAMRUI-Windows-Desktop-Computer-Ethernet/dp/B099KSJN8P

There are more expensive ones with better specs and more power.
https://www.amazon.com/GMKtec-4-90Ghz-Desktop-Computer-Windows/dp/B0DCVTQ9CL
https://www.amazon.com/KAMRUI-Processor-Windows-Computer-Business/dp/B0C1M822S2
https://www.amazon.com/Beelink-SER5-Graphics-Computer-Support/dp/B0C2P486GQ/

For the price range, they beat Steam Decks. Steam Decks are not worth it in my opinion. They are weaker and can't run Windows well, if at all. These Mini PCs can run Windows very well. Although the one I have I ran Linux on it since it uses less power. Also it's literally on my arm, and pretty comfortable. You never seen a Sci-Fi device like in the movies where they have something strapped on their arm and some computer stuff they tap on???

To make it even better, you can upgrade your mini-PC specs unlike Steam Decks.

elfin sphinx
# pseudo sinew My definition of a handheld is something that can be held on the hand. Tablets a...

500 USD is cheap ? ๐Ÿ˜‚

he just wants something that can play some 1080p videos and games , he aint trynna create steamdeck lol.

if steamdeck is worth it or not , is your opinion which is pretty irrelevent to the question OP is asking.

i did do my research and as i said in my previous message, they are either bulky or expensive for a handheld device that needs to play some video and some games.

also with your definiton of "handheld" , even small laptops are handheld since they can be held on your hand.

you have to understand that OP wants to make it handheld , which means it needs to have a battery (and in turn means that the actual device needs to consume little power) , a display . Good luck fitting all that in a "handheld" space.

is it possible to fit all that with the mini PC you mentioned ?maybe. will it be handheld after all that ? i highly doubt it.

the sheer thickness of these things is crazy

#

really not sure where you are getting the idea of competeing against a steamdeck

vernal schooner
#

Hello anyone can help with pic microcontroller but assembly code? I need help with a debug. Thanks

#

Do I post my question on stackoverflow nd send here?

indigo plover
autumn stratus
#

Hey Guys,
I'm new here and wanted help with a project im working on. I have a custom i2c PCA which houses 9 vl53l3cx, time of flight sensors and a tca9548a. I needed some help with my code.

The problem im having is that the readings from my sensors are very inconsistent.

hasty zealotBOT
mental jungle
#

what books do you recommend that teach how to apply electronics concepts into practice? I've done a foundation year (prerequisite year before going into a degree course if you do not have the necessary A level/GPA grades to get in) so I know the basics already but they barely taught how to apply it

indigo plover
fresh jungle
#

Anyone know where to find the mediatek vcom usb drivers? Every site i go to is a roulette on whether or not I get malware and not even chatgpt knows what to put its money on

quaint nacelle
#

It sounds like this is for connecting an Android device to Windows?

#

Yeah this is a sketchy bunch of hits, you're right. This must come with some SDK with a wildly different name maybe?

#

Some of these hits are obvious malware sites, yikes.

elfin sphinx
mental jungle
#

I know that. Iโ€™ve already got a few simple projects that I want to make. Just want some books thatll help me better understand how to apply the theory into practice. For now, Ill be using a simulator (tinkercad) to construct my projects but even if I can buy a physical kit, I want to make sure I do things correctly so I dont end up damaging my components.

indigo plover
mental jungle
#

Then I guess Ive got more 'basics' to learn. I am in uni atm but Ill be starting my 1st year next year (sept2025). The foundation year only taught us the more elementary basics (e.g. rectification, smoothing capacitors, sensor basics). Currently, just doing notes for the rest of semester 2 before I go onto applying the knowledge

vernal schooner
indigo plover
mental jungle
# indigo plover Have you done op-amps? Transistors? Have you seen decoupling? Logic circuits?

Done op amps but not logic circuits. Assuming youre not from the UK, when you take a foundation year in university, it only teaches the bare basics you need to be able to understand the content when you get on to the actual degree. A foundation year assumes students do not have the necessary knowledge required to be on the course; in this case, because Iโ€™ve always done a biology based degree but Iโ€™ve switched to doing an engineering degree, I need to do a foundation year that teaches the basics (i.e. high school - entry level uni) of mathematics, mechanics and electronics. Hope that clears that up

indigo plover
# mental jungle Done op amps but not logic circuits. Assuming youre not from the UK, when you ta...

You could try your hand at making an amplifier and a small synthesiser to experiment with. It's a lot of fun and makes for good practical experience.

This book is good at starting you off : https://www.amazon.ca/Make-Analog-Synthesizers-Electronic-Synth-DIY/dp/1449345220

#

With your level, this is as much as I could recommend. There is a good challenge in here and it is a big learning opportunity

fresh jungle
#

The original "trusted source" redirects to a site with seemingly no download link save for those start now buttons that are conveniently placed ads

fresh jungle
#

Think i found it, will verify tomorrow

mental jungle
fresh jungle
#

Verified, it works

#

However i made an oopsie in my next to zero experience with low level programming in command line tools and failed to realize that the e in the command i ran was a prefix for erase

#

The metadata partition is now gone

quaint nacelle
#

Anybody ever written anything for a Cortex-M0? They seem to be everywhere now.

#

Just curious how 'fun' of a language you used, if it wasn't C etc.

indigo plover
bitter swallow
#

I'll be using ESP8266, I want to know if it's codeable through python, and has a wifi module? I want to make a web interface along with it

elfin sphinx
quaint nacelle
#

If I'm interested in CPU architectures that aren't register or stack machines (e.g. dataflow), what's the right Discord to be in?

indigo plover
cloud hinge
#

Anyone use bluetooth pan ? https://github.com/SalimTerryLi/esp32_btstack_panu_example I find this discussion very interesting on different types of networking with pan bnep with ip adresses but I guess it might be mainly compatable with esp ide . I'm curious why I dont here about it more in the esp32 world. My main interest is bt tcp for ip adress networking

GitHub

A working example for esp32 bluetooth tethering on ESP-IDF framework with BTStack - SalimTerryLi/esp32_btstack_panu_example

errant wigeon
mental jungle
#

is there any software or website than can help verify if my circuit calculations are correct or is it a case of trial and error? I am using tikercad atm to simulate all my circuits (once I get a bit of additional income, ill buy the physical components)

indigo plover
#

Ltspice

#

Search for "electronic circuit simulation"

mental jungle
#

im fucking struggling in applying the thoery into practice. Ive used breadboard in my foundation year but tbh i learnt nothing. literally it was just do this and do that. Im trying to follow a basic circuit and struggling to assemble that

glacial stone
#

i feel ya, learning electronics is hard for me, everybody be like "ohm's law ez"

#

but need a more intuitive understanding

mental jungle
#

also I dont just want to be following a tutorial, I want to learn why each component contributes to the circuit. Ill follow a few tutoorials on tinkercad so I can learn how to actually use the breadborad and start off from there.

willow star
hallow igloo
ruby osprey
#

Hey, anyone know any P N junction transistor which flow charge when a small ๐Ÿค current incounter? Why? I have a unusable phone so I make a app which turn the flash light ๐Ÿ’ก of phone on voice command and connect two โœŒ wires on flash light of phone , which just work like a switch to turn on any big Ac appliance, if found any transistor which can work like switch give little take more ๐Ÿ‘

indigo plover
spiral sandal
indigo plover
spiral sandal
#

i guess he want to power on/off something with potientally dangerous AC feedback with a phone light

indigo plover
#

I see. My guess was that he wanted a bigger transistor, but got sidetracked asking how transistor amplification works

spiral sandal
#

when i hear "big ac" i raise my optocoupler

#

a LDR in that will do for dirt cheap

#

search for "ac dimmer"

indigo plover
#

Bro if he's asking for basic information about "big AC", do you think it wise to give him partial information? ๐Ÿ’€

spiral sandal
#

we'll see, but yeah of course put everything in a locked box and keep indoor ( but kinda obvious with the phone )

indigo plover
#

Is it obvious? Because it seems to me 1) extrapolation of meaning is done on that gibberish we are reading, 2) if he's asking questions about medium voltage applications, he really ought to not play with it

stoic pewter
#

does someone know if you can use assembly on a arduino nano?

willow kernel
#

(I recommended he ask here, so if not a great place to ask, blame the Hemlock)

quaint nacelle
#

an Arduino Nano is an ATmega328 chip, so you just need an assembler for that.

#

AVR-GCC is the toolchain I think people mostly use?

modern wigeon
#

I didn't know Python could be utilized for microcontrollers, I thought that was a domain for C++.

nimble badger
elfin sphinx
elfin sphinx
nimble badger
nimble badger
#

has anyone worked with ROS ?

elfin sphinx
# nimble badger dynamically, it runs the code smoother, esp when it comes to robotic arms. Pytho...

how is "dynamically " getting translated to "smoother" ? ? i dont understand

"python is super efficient" in terms of what ?? using resources ? speed ?

you said "python is smoother" , and then you said "smoother means dynamic" , so are you trying to say "python is smoother dynamically" ?? makes no sense to me

and if you say that "python code makes the movement of robot arms smoother" , then that has no meaning because you should be able to do everything in C++ as well.

the things taht cause movements to be not smoother is code. if you write bad code , teh movement will not smooth , regardless of if code is python or c++.

dynamically typed languages take up more resources than compiled ones. and resources is the one thing that we dont have much of when it comes to microcontrollers.

#

"it runs the code smoother" , dont even know what that means

nimble badger
elfin sphinx
# nimble badger you might have to google its definition then xd take it easy man! we're not ...

i still dont see the word smooth defined anywhere : )

efficiency is a totally different term

and in fact C++ is more efficeint when it comes to using resources than python (efficient as in , it uses less resources in the end)

im not trying to battle or anything , im just trying to understand your point of view as i didnt understand what you were trying to say

you were saying things like "you need to figure out if you want your code to be fast or smooth and precise" and from what i can see , C++ can do all 3. Its fast, "smooth" (or efficient as you are trying to imply) and "precise"(dont even know what you implied by taht , but whatever) ๐Ÿคทโ€โ™‚๏ธ

elfin sphinx
# nimble badger

thats just a random definition you pulled out , dont know how this relates to our convo

nimble badger
#

of course C++ is as great as Python! i'm working with C++ now

elfin sphinx
#

again , just generic talk is not helping : )

nimble badger
#

๐Ÿ‘

cloud hinge
cloud hinge
elfin sphinx
cloud hinge
verbal marsh
#

i'm thinking of learning some electronics by working on a project and i've chosen the raspberry pico W for the microcontroller. it seems that some components use 5V for its logic level so it may not work for the pico which uses 3.3V. i'm wondering, is this a huge issue in buying the components for my project? it's a simple alarm clock and i'll need an LCD screen, RTC, buzzer and some buttons for instance, should I also look into getting components to convert 5V to 3.3V?

elfin sphinx
# verbal marsh i'm thinking of learning some electronics by working on a project and i've chose...

you need a logic level shifter yes.

usually a lot of modules if they support 5V logic level , there is a very high chance they support 3.3V as well. you should check the datasheet of the module to confirm.

but if you do somehow end up in a situation where u have to interface a module that only works on 5V logic level with pico , you can buy a logic level shifter module like this one , its very cheap and it can convert both 5V to 3.3V as well as 3.3V to 5V https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide/all

#

i wouldnt worry too much about it during component selection. and i would buy a bunch of those logic level shifters just to have on hand , they are pretty cheap , you can get like 3-4 of them (4 channels each) for like 1 USD

verbal marsh
#

ohh, gotcha. thanks for the tutorial link

fast wagon
#

is it possible to store files on an arduino r4 minima

#

i'm not able to find anything only specific to this model

#

like just as an example, if i were to try storing a text file in the arduino

indigo plover
#

You would have to roll your own file system or port an existing one

#

Unless someone is kind enough to maintain one for you

fast wagon
#

so it's not as simple as just creating the file with fstream and then pushing that to the board

indigo plover
#

#embed will change that up a bit, but you'll have to use C... unless it is enabled as an extension for whichever C++ compiler you use

tawny zephyr
#

Hey everyone anyone got the d.py tag?

fast wagon
alpine dew
#

Yo im planning on buying a Raspberry pi pico to turn into a rubby ducky usb and troll my friends any ideas on what I should make it do NO I WILL NOT MAKE IT DELETE THEIR SYSTEM32

near drift
#

I seem to have fried my esp32 and i'm not sure how

#

The pwr led will not illuminate anymore

#

I don't think i was doing anything to short it. Had my led matrix plugged into the gpio pins as before and was trying to flash some new code onto it

#

Had done this routine dozens of times before. Not sure what heppened

#

It doesn't look damaged or anything and no smoke

drifting bluff
alpine dew
#

Ok so a rubber ducky is a USB that can autorun pre-coded payloads and it emulates an HID to trick the pc they are pretty cool

#

@drifting bluff

drifting bluff
alpine dew
alpine dew
drifting bluff
#

wait how do you turn a microcontroller into a usb, a usb flash drive?

alpine dew
drifting bluff
alpine dew
leaden bramble
#

you can emulate a storage device with stuff like tinyusb

quaint nacelle
#

(I use some music players that have this chip in them)

#
At 250MHz, the IP3023 can emulate most serial or parallel interfaces out there. In addition to 100Mbps Ethernet, 802.11g WiFi, Utopia, Bluetooth, and HomePlug are all within its grasp. Each is implemented as a software state machine that makes greater or lesser demands on the processor, depending on its complexity and speed. A PCI interface, for example, is a 200-instruction loop that takes up about one-tenth of the processor's horsepower.
``` bizarre
#

but I guess if you're a DSP programmer at heart and want to approach other problems the same way, well Ubicom has your jam

drifting bluff
#

oooo

drifting bluff
quaint nacelle
#

DSPs are "Digital Signal Processors".. Ken Thompson of UNIX/UTF-8/Go fame believes they are the worst thing to program for in the world.

drifting bluff
#

where in the world do i learn this ducky language

quaint nacelle
#

It's basically like only having math as your coding tool I guess? I can't claim to "be" one (yet?)

#

Lemme find an example

drifting bluff
quaint nacelle
drifting bluff
#

ok but like how do i learn the ducky language

quaint nacelle
quaint nacelle
#

I mean, arguably I should eventually learn the assembly language for one of these beasts and try teaching it to do something

#

I feel like what Ken Thomspon was talking about is the fact that DSP instructions can be super complex mathematical functions, and it's hard for regular compilers to generate good code for them

#

So you end up having to write assembly every time

drifting bluff
quaint nacelle
quaint nacelle
# drifting bluff where do you even learn assembly and why does it get no love

This guy's books are fantastic, there's even an ARM one now: https://www.amazon.com/Art-ARM-Assembly-Randall-Hyde/dp/1718502826/

drifting bluff
#

but like where to learn ducky language

quaint nacelle
#

The cursed thing is that assembly is different for every hardware architecture

#

so ARM assembly looks not much like Intel/x86 assembly

#

But ARM is a fun one to learn currently, and the Randall Hyde books are lovely

#

My first language was 6502 assembly on the Commodore 64.

#

I mostly typed in game code I saw in magazines

#

and then I would try to change something without breaking it

#

I honestly don't remember much 6502 at this point, but it did teach me what was going on

drifting bluff
#

but like ducky language

quaint nacelle
#

So.. which one do you mean by "ducky" then?

#

Sometimes it's actually really hard to find docs without paying some manufacturer money, which is irritating.

drifting bluff
#

i think its called ducky script

quaint nacelle
#

Ohhhh, you mean for this USB thing from above?

#

My bad, this is nothing like assembly, more like BASIC or DOS batch language.

drifting bluff
#

ty

quaint nacelle
#

I thought "ducky" was brainrot for "low-level" or "machine" skeletor_laugh

drifting bluff
#

wahhhhhhh???

elfin sphinx
compact geyser
#

on a raspberry pi, it is better to use bluetoothctl as a subprocess or to use pybluez library . Python programming

#

?

fast wagon
#

also i feel like there's not much attention towards lidar and radar sensors within the dsp community

#

this is the part of dsp i'm mainly into

#

lidar, radar, ultrasound, and any other sensors beneficial to drones and autonomous vehicles

indigo plover
fast wagon
indigo plover
fast wagon
#

whatever is taught in a normal dsp textbook/class

glacial stone
#

sure, it's phase, time delay, and sensitivity to timing and data rate

#

and digital scales better in some use cases

glacial stone
indigo plover
# fast wagon whatever is taught in a normal dsp textbook/class

Okay I see what you mean. The answer is as such: the problem is not the signal processing or programming a DSP; the problem is engineering antennae and testing the phased array. The textbook will show you how to ride a bicycle; phased array are flying plane. On top of that, you hit the problem that beamforming and whatever modulation you use on top should follow FCC regulations. The moment Maxwell's equations become accessible to the layman is the moment you will see tutorials on beamforming

fast wagon
#

so would it be best to not focus on classic dsp then?

#

or should i still learn dsp as usual but along with that

#

would ultrasound be classic dsp without the extra problems you mentioned?

indigo plover
fast wagon
#

like if i was doing it on my own

#

probably gonna be a while before i can work on making my own sensors

quaint nacelle
#

This is hilariously long but I also haven't really seen a more-comprehensive start-to-finish CPU architecture walkthrough https://www.youtube.com/watch?v=jC_z1vL1OCI if anyone is interested.

HUGE shout out to Casey for coming on and helping me finally understand CPUs. ARM vs x86 is not as simple as we might like to believe...

CASEY'S STUFF
https://x.com/cmuratori
https://www.computerenhance.com/

Check out my Twitch, Twitter, Discord more at https://t3.gg

S/O Ph4se0n3 for the awesome edit ๐Ÿ™

โ–ถ Play video
#

(I'm not normally a giant Casey fan but he's not ranting about anything in this)

indigo plover
# fast wagon and usually how would these be simulated

I'd say writing your own Python script for wave simulation is the way to go. There are lots of modules for that. Fortran is also really good for that, but not as modern. Start with a 2D array to begin with. Assume air is a linear medium and build your simulator in consequence

indigo plover
fast wagon
indigo plover
fast wagon
#

though in the future i also want to be able to implement lidar and radar sensors too

#

my focus for drones is lidar, radar, ultrasound, and computer vision

indigo plover
fast wagon
#

i think i should just focus on learning right now

#

i know far too little to be thinking about this stuff

fast wagon
indigo plover
#

Well, have fun ๐Ÿ˜‡

halcyon dagger
#

How fast can the Raspberry Pi 4b read the GPIO pins as input using the RPi.GPIO library? I read that the pi3 cant do much more than 20kHz but I don't know about the pi4b.
I need to read 5 pins at 88kHz, should I use RPi.GPIO or a C library?

indigo plover
#

This is for the Pi 4b

halcyon dagger
#

Thanks!

winged hollow
#

@ashen holly mere mute hai unmute karo

#

@ashen holly bro i say yo can my mic unmute please

limber field
#

see good ideas for GPIO magic @indigo plover

indigo plover
limber field
#

Well tried to get , RPITX2 , to work all I can do is 250 Khz to 100 Mhz , if outside that range a lockup or glitchyness occurs @indigo plover

indigo plover
limber field
#

RPI3B+ , since its been gathering dust . I want to try and make a Tkinter control panel for it then use it as a clock / RF source for experiments @indigo plover

#

RPTIX2 , claims to do - 5 Khz to 1.5Ghz

indigo plover
# limber field RPTIX2 , claims to do - 5 Khz to 1.5Ghz

Yeah, I looked into it... I personally wouldn't use it. This thing is dishing out some solid EM pollution thanks to it's lack of a proper transmitter. The creator doesn't formally recommend its use. If you want to use this, an empty field is your best bet next to making a Faraday cage

Rpitx2 is a software made for educational on RF system. It has not been tested for compliance with regulations governing transmission of radio signals. You are responsible for using your Raspberry Pi legally.
It's a fun toy, but you'll get the FCC with police at your doorstep in no time

safe summit
#

Waveshare Pico 1.8 + ESP32-C6-Pico

safe summit
#

for the month :3

near drift
#

valid

safe summit
#

I managed to get text to print to it but I have to save the code is not exactly pretty hopefully I can find a better way

#

sorry to everyones eyes

def main():
    lcd_display = lcd.LCD_1inch8(brightness=15)

    lcd_display.fill(lcd_display.BLACK)

    rows = range(4, 120, 8)
    cols = range(0, 160, 8)

    with open('1986-hacker-manifesto.txt', 'r') as fh:
        row = 0
        col = 0
        for line in fh:
            for char in line:
                if char == '\n':
                    row += 1
                    col = 0
                else:
                    lcd_display.text(char, cols[col], rows[row], lcd_display.WHITE)
                    lcd_display.show()
                    time.sleep(0.05)
                    col += 1
                if col == len(cols):
                    col = 0
            if row == len(rows):
                row = 0
                lcd_display.fill(lcd_display.BLACK)
                time.sleep(10)
safe summit
cloud hinge
spiral sandal
#

lvgl works on micropython, cpython, both native and webassembly

#

but since it is cffi beware of cpython garbage collection it is way more aggressive than micropython (mark and sweep)

fast geyser
#

Oo

#

Aurdino works?

#

@safe summit yo

safe summit
#

It's a Waveshare Pico LCD 1.8 + ESP32-C6-Pico

safe summit
safe summit
#

so turns out it might be a MicroPython bug fun ๐Ÿ™ƒ

drifting bluff
#

i got the microcircut python thingy on a raspberry pi pico what else do i need to do inorder to turn it into a payload injector? like the rubeer ducky

drifting bluff
#

like which github thingy has the thing that disguises the pico as a hid and the other ducky script converter

near drift
#

The stuff is finally here

elfin sphinx
#

what are you making ? weather station of sorts ?

#

or is that distance sensor ?

near drift
# elfin sphinx nicee

yeah it's a temp humidity sensor. I'm making an led matrix display to hang up on my wall

#

I fried my last esp32 during development of the code. Not sure what I did wrong. Ordered 2 more and had to spend couple bucks extra for free shipping so i bought the sensor

elfin sphinx
near drift
safe summit
#

recenty made this waiting for more modules to fill it out ~

timid hazel
limber field
#

Its great you make videos @timid hazel

timid hazel
#

Thank you

balmy lichen
#

how do u connect multiple 5v modules on a pico if it only has one vbus port capable of delivering 5v?

#

can u buy like power boards that connect to the vbus and provide several more ports?

swift horizon
#

Hlo guys

elfin sphinx
balmy lichen
#

how do u read schematics?

#

it looks nothing like it

#

but apparently it is

#

heeeeeeelppppp

drifting mesa
#

on the schematic:

  • GP15 connects to resister R1 side 1
  • resister R1 side 2 connects to LED1 side 1 (+, the longer lead)
  • LED1 side 2 (-, the shorter lead) connects to ground

on the "image":

  • GP15 conencts to one of the resister leads
  • the other resister lead connects to the long lead (+) of the LED
  • the shorter lead (-) of the LED connects to a wire
  • the wire jumps around, connecting to a GND pin on the pico
    remember:
  • on each half of the center of a breadboard, columns are connected together
  • resistors do not have polarity - they cannot be "backwards"
balmy lichen
#

whats side 2?

#

the right side?

#

theres nothing there tho

drifting mesa
#

i'm referencing the schematic's numbers, but on a resistor, the side are equivalent

#

put an LED or several other types of components in backwards, and it might be damaged, but a resistor doesn't care

balmy lichen
#

is the schematic different to the second image?

drifting mesa
#

technically, yes, as the schematic doesn't use the pico's ground pin, but that's a minor detail. the circuitry is equivalent

balmy lichen
#

how do i even learn to read it?

#

i dont see any correlation between those two images

#

whats this type of stuff called?

#

on google searching up for electrical schematic guides brings up things of completely different format

#

bruh theres literally no resources for reading microcontroller schematics

elfin sphinx
# balmy lichen how do i even learn to read it?

usually you will be dealing with the schematics shown on the left hand side , you wont see "images of circuit" like on the right hand side

as to "how do i read it ? "
well the first thing is to know what all the symbols for electronic components are , and knowing basic about them

like knowing what the symbol of resistor is , knowing the fact that resistors have no polarity , meaning they can be connected in any orientation and that wont affect their working etc etc

after that , the schematics are pretty straightforward as thuri explained.

#

if you have specific schematics and you need help with them , feel free to ask here

i dont really know how else to "teach" someone how to do this without working through few schematics

balmy lichen
#

like here

#

whys it green

#

is it to do with the positive side of the breadboard or something

#

and if ur reading in schematics how do you know where to plug what?

elfin sphinx
#

but its not a "rule" , its probably the PCB design software's way of telling you that you ahve used this pin

elfin sphinx
#

are you aware of what different symbols mean in a schematic ? like the symbol of a resistor , capacitor etc ?

thats a very important part of reading a schematic

balmy lichen
#

yeah i do

elfin sphinx
# balmy lichen yeah i do

then you should be good to go

try to read more schematics and ask wheere you are stuck

thats pretty much how you learn (or at least thats how i learnt it , i havent seen a cours for it or smth)

mortal bronze
#

Can someone recommend me an application which can simulate microcontrollers and stuff

elfin sphinx
mortal bronze
near gulch
#

im working on a home automation project
and for that im searching for a very low power and cheap microcontroller to turn relays on/off when it receives a signal (via wifi or blutooth)

I was thinking to go with an esp32, especially because of the esp-now protocol
but im not sure which board to use

near gulch
elfin sphinx
# near gulch im working on a home automation project and for that im searching for a very low...

from wht i know about the ESP32 wroom module ( the default ESP32 board like the one u see in the embed of above link)

it has some sort of light sleep mode where it keeps the wifi connection on , and it consumes about 5 mA or so doing that

so thats probably the lowest power consumption that you will be able to get out of it with wifi

not sure if thats energy efficient enough for you though

#

wifi burns a signficant amount of power so its kinda hard to be energy efficient with it

unless you do like a "interval based checkup" where you periodically wake up esp32 from deep sleep and then check if there is some data queued up for it or smth like that

#

dont know about pi pico W

also pretty sure STM32 has some sort of low power , wireless enabled chip too

#

if you go for pure power comparison , then ESP8266 will be a good bet as it consumes less overall power ( about 100mA) as compared to ESP32(200+ mA) when using wifi

#

but again , its a little weaker and it has a lot of its pins bootstrapped ( their pin states cannot be guranteed when ESP boots up , so random relays may get activiated during ESP bootup)

near gulch
#

rn im using an esp32-s3-wroom-1
and it seemed overkill to use that because there are cheaper boards,
and because all im doing is just waiting for a signal and just turning 5-10 relays on/off

balmy lichen
#

whats the arrow besides the diode mean?

#

and also here there is a symbol for a junction that leads to a resistor into 3v3 and on the other side a switch that leads to ground. how does that work?

#

why does this just cut off?

elfin sphinx
elfin sphinx
elfin sphinx
balmy lichen
#

like i get how everything else is wired except for the junction

elfin sphinx
balmy lichen
#

so does that basically mean the button pin column has to be on the column of the resistor

#

does the junction just mean they are both in a spot that receives the same electrical power

#

like on the same terminal strip

balmy lichen
#

should i put the button over the center divider?

elfin sphinx
#

All the 3 parts that are connected to a junction go in the same column of the breadboard so they are connected together

elfin sphinx
#

How will the electric connections be formed

#

Also depends on what kind of button u r using

balmy lichen
#

it has four feet

#

two on each side

#

push button

#

so would putting the button on top of the center divider be required cuz there has to be opposite wiring

elfin sphinx
paper pike
#

Is there a sensor for reading DNA?

indigo plover
paper pike
#

What's one possible way?

elfin sphinx
#

going to a lab and submitting blood sample so they can run the DNA test on their multimillion dollar machine

#

why do you want a DNA sesnor ?

indigo plover
paper pike
elfin sphinx
# paper pike Make a cheap affordable way to test if somebody has a specific genetic disorder ...

ok , so , there isnt any DNA sensor that you can just buy for few bucks and hook up to arduino , such thing doesnt exist
if it was possible to make such a complicated machine like that, it would have already been done by someone

You said you want to check if someone has a Specific genetic disorder

so what you should do is , go to a lab , see how they do the test , check what exactly they do ( im no chemsit but what they probably od is draw your blood and run various chemical tests on it and check their results ) . and find the test that they do for your genetic disorder

then , you should find some way to do all this with your device

hasty zealotBOT
#

failmail :ok_hand: applied timeout to @wild rose until <t:1749651851:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

indigo plover
willow star
indigo plover
elfin sphinx
#

Although im sure it has its limitations in some way

indigo plover
#

That said, all that microfluidics research is paying off

rocky sparrow
#

so I have a (rather old) previous laptop with a dead battery
would it be overkill to take out the mother board and use it as a glorified Raspberry pi?

elfin sphinx
rocky sparrow
#

fair
removing the keyboard and screen might be a bit of a pain though

#

since I'm planning on using it as part of a cosplay
though I am no where near building a human size Gundam

elfin sphinx
indigo plover
rocky sparrow
rocky sparrow
elfin sphinx
# rocky sparrow lights and a few other features

what "few other features" ?

because you usually woudl use a PC /raspberry pi when you need tons of heavy processing power for stuff like running a webserver or gameserver or stuff like that

if you need to light few LEDs, you should use arduino

rocky sparrow
#

no idea if this will actually happen but since I'm thinking of a WFM mech, (Probably Aerial) having the shield be a few drones that hover around me

elfin sphinx
rocky sparrow
#

a Gundam
one of the mechs has a shield that's also a few drones sometimes

elfin sphinx
#

a singular shield is a few drones ?

#

also what is a gundam

#

can u explain it like a person has no idea what u are talking about ?

#

and more importantly , what are you going to use the raspberry pi / pc for ?

safe summit
#

FYI none of this chat is on topic pis are not microcontrollers

elfin sphinx
safe summit
#

Oh my bad sorry

rocky sparrow
#

a giant robot
I just meant instead of buying more stuff using an old laptop
its 7 small drones that come together to form a shield
not quite sure if I want to go that far, might just buy an arduino to make the lights do what I want them to and leave the shield as one piece

indigo plover
rocky sparrow
#

yes

indigo plover
#

Ah!

#

Gfl

rocky sparrow
#

its that big of a pain?

indigo plover
#

Massive

#

Cool idea, though

rocky sparrow
#

even if I just had it circle me in place?

indigo plover
#

Same difficulty

rocky sparrow
#

fair enough

indigo plover
#

This is a big engineering challenge. It's not impossible, but it's the kind of thing you need a team to work on or just be dedicated alone for years

#

The tech to make this easy does not exist yet

safe summit
#

I'm here for laptop voltron

ebon pier
#

i wanna make my own ipad and computer and servers

#

like how would i make a server like a pc

near drift
elfin sphinx
sturdy tulip
#

and "making a computer" is a very broad category with varying levels of DIY depending on what you actually want to do.

limber field
#

start simple Z80 or 6502 , get the concepts , look at 68000 CPU , look at pipelining structures

spiral sandal
limber field
#

the beginings ...

supple hinge
#

Hello , I need one developer write me PM

elfin sphinx
indigo plover
limber field
#

take over the world

ebon pier
elfin sphinx
limber field
#

When modding - boxing gloves should not be worn @elfin sphinx

mighty stratus
ebon pier
spiral sandal
#

to assemble pc parts you only need a philips screwdriver, though sometimes it can lay on a isolated plane while testing

elfin sphinx
oak quail
#

Hey.I would like to create my own server.I found out there are this things called NAS servers but they are soooo expensive. Could I perhaps be able to build myy custom "NAS server" using a raspberry pi? And if I do, I assume the connection to it would be made using the local network.Is there a way to connect to my server from another place?

#

I hope I addressed this matter in the good channel

elfin sphinx
# oak quail Hey.I would like to create my own server.I found out there are this things calle...

you can do that in multiple ways

first and most obvious would be to expose a port from your wifi router. This is pretty risky if you dont know what you are doing. you are essentially opening up a door from your house to the whole world.

next one would be setting up a VPN server alongside the NAS software on your raspberry pi . and use that to connect to your pi remotely . this will still require you opening up a port (afaik) but , it is a lot more secure as you can control who connects to the VPN

another one would be to route your NAS over something like cloudflare tunnels. This is alos fairly secure option to do it and doesnt require you to open any ports or anything like that

elfin sphinx
oak quail
#

well isn t raspberry pi python related?

#

Sorry I am not very experienced in this matter

elfin sphinx
elfin sphinx
oak quail
#

Ok thanks

marsh iron
#

Can pygame work with raspberry pi

limber field
#

works on my RP3B+ , CPU does get hotter @marsh iron

marsh iron
#

Ok

hexed bronze
#

I have arduino but i just know coding python. Can i code my arduino with python?

indigo plover
elfin sphinx
# indigo plover https://realpython.com/arduino-python/

(with this , you are not really writing code on the arduino . you are telling your PC how to control arduino , which are a little bit different . With pyfirmata ,you would need to have your arduino always attached to your computer when you want to run the code.)

#

if you want to write code for arduino , you will need C++

trim condor
elfin sphinx
trim condor
elfin sphinx
# trim condor i see , so it will make your life easier using C++ , but incase if i only know p...

it depends on your project
if your project is going to be plugged into the PC when you want to run it anyways , its fine to use pyfirmata
but yea , C++ in general will allow you the most flexibility

and about the other question , rasppberry pi and arduino are not exactly replacement for each other , they both are different things serving different purposes.

raspberry pi is a small computer , its insanely more powerful than an arduino. like ,if an arduino is a bicycle , the rpi is a fighter jet.

Technically , yes , you could use rpi where you used arduino , but its very overkill

warm birch
#

I have an esp32, Im okay at python, know a lil C but would be starting fresh with C++ should I be using micropython, or learn C++?

warm birch
elfin sphinx
elfin sphinx
gloomy granite
#

cool

hollow quail
#

Not quite sure where to ask this but does anyone know how to emulate a VR controller input? And if so, what data would be required?

#

I currently have two devices with accelerometers and buttons that can be connected to a computer through python and data can be read from them

#

So ideally, there should be some way to translate this data into something that can be recognized by software as two VR controllers

spiral sandal
hollow quail
spiral sandal
#

or expect to loose your time

#

these vr platforms all want to create their private ecosystems

hollow quail
#

Ty! I'll look into that!

limber field
#

very nice

hallow igloo
#

hello every body how are everone

elfin sphinx
#

to help you , we need ->

  • a circuit diagram of all your connections
  • the code
  • a photo of the actual physical setup
  • a description of what you mean by "its not workign" (aka , what you want tto happen vs what actually happens)
cyan bear
#

@brittle grove

finite inlet
#

what are good microcontrollers

spiral sandal
#

there's a whole zoo out there

#

also do you want to run any python ON the board, or just drive it from cpython native or web

#

personnaly i've found that esp8266 mini-D1 can fit in most situations

finite inlet
#

i want to run python

spiral sandal
#

well esp8266 is the smallest, cheapest that can also be remotely driven by cpython+telemetrix

#

but it only give just around 32kB sram for micropython bytecode that's not much, nb not cpython

frozen patrol
# finite inlet i want to run python

I would go a pico, itโ€™s what I use, Iโ€™m not the best with microcontrollers but itโ€™s very easy and can run python(micropython)

#

@spiral sandal

spiral sandal
#

less cheaper, longer board but way more sram, beware the cheapest clones have no wifi

#

support is good especially with micropython

cunning lance
#

but its not possible

#

its too late

limber field
#

IF Giant asteroid approaches .... its too late ELSE make more coffee , turn up music

strange sail
#

Hello everybody. I'm new here, but I faced a significant challenge with my Pico 2 W. I have a work environment that has three electronic gates. No one would provide me with a remote for these gates that could be mounted to a vehicle, and they don't have the right RF receiver. These gates can be opened with an API, so I figured I could build something with a microcontroller with Wi-Fi access that could talk to the API and open the gates. I could hook up an LED and some buttons and the battery pack.

So I did and I got it to work, but it was burning through batteries. I needed to get the device into a light sleep or deep sleep mode. No problem, or so I thought.

I couldn't get light sleep or deep sleep to work the way I wanted, at least not with micropython. All I could get was light sleep to work with a timer, but that was no good for my application. I needed the device to wake on a button press, a GPIO signal.

It was impossible with the micropython 1.25.0 firmware or any of the preview builds I was provided on the micropython website. I looked on the internet and found a bunch of people had the same issue with no resolution. The conclusion was that some of the capability of the Pico 2 W was not exposed to the micropython firmware.

The Pico 2 would either go to sleep and never wake up, or it would go to sleep and wake up immediately.

The solution? I made my own version of micropython firmware for Pico 2 W preview build that I called Pico2_W_Wake. I'm not ashamed to admit that I heavily relied on AI (I'm not good with C).

It still took me a week of on and off tinkering to get it to work, but it does. Both light sleep and deep sleep work, and the power savings are amazing! Deep sleep is especially impressive. It's been weeks, and my WiFi remote device is still running on AA batteries, nowhere near dead.

The project took enough work that I'd like to share my knowledge gains, but I don't know where or how. So I came here ๐Ÿคทโ€โ™‚๏ธ

elfin sphinx
# strange sail Hello everybody. I'm new here, but I faced a significant challenge with my Pico ...

well the most important part of the prjoect would have been explaining the code , why everything is used the way it is used and documenting it in general etc
but given that most of the code is AI , i am not sure what can be more useful compared to the C++ SDK docs of pico

i think the best option for you is put all your code in a github repo and make a reddit post in subreddit for pico showing the project

strange sail
limber field
#

did you attempt a search ? @strange sail

livid parrot
thick monolith
#

hi

bitter kite
#

Hello

flat remnant
errant tendon
#

So what cool Arduino's are folks into these days? I used one back in the year 2010 and want to start MC's again. Is Arduino a thing anymore?lol

elfin sphinx
long solstice
fresh hare
#

yeah arduinos are still around 100%

sand phoenix
#

anyone know how to do the FinBERT fine turning?

elder basin
#

Is the Embedded systems market saturated ?

void egret
#

How to code a servomotor

void egret
shy zenith
#

most arduinos can't run Python, but some can

placid jolt
#

Hi

#

I need to understand arduino connection if anyone can help

#

Trying to sort led connection

elfin sphinx
placid jolt
elfin sphinx
#

And after that if you have any specific doubts , we can help

placid jolt
#

Oh okay i will brainstorms some connection

elfin sphinx
#

Also do you have a breadboard at home to try the connections onto ?

placid jolt
#

One thing i cant understand is how current is flowing through it

#

Like the direction i cant visualise

placid jolt
elfin sphinx
elfin sphinx
elfin sphinx
placid jolt
placid jolt
#

I will send the screenshot

#

Idk i just couldnt figure out the problem even after visualising current flow

#

Maybe im just bad

frank sentinel
#

what's your code

#

@placid jolt

placid jolt
reef moat
#

you donโ€™t have a negative

#

you need a negative wire

placid jolt
frank sentinel
#

if you have no code how did you get it blinking?

reef moat
frank sentinel
#

how tf did the arduino magically know what you are trying to do to the LEDs?

placid jolt
frank sentinel
reef moat
#

tbf i managed to make a blinking led without code

weary heart
reef moat
#

i used a motor to turn on and turn off a switch

placid jolt
weary heart
placid jolt
#

Look let me send u an screenshot

frank sentinel
weary heart
#

my guess of the situation is that the code (which you haven't written nor seen) is only making one of the pins cycle in a blink pattern, therefore the LED connected to that pin is blinking. but there is no code to make the other pin do the same, hence no blink.

frank sentinel
placid jolt
#

U can see that first led is glowing but not the 2nd one

weary heart
# placid jolt

yeah, so you're only making the LED_BUILTIN pin go high and low. that's pin 13.

#

there's no logic to make the same thing happen for pin 12.

#

this is why we asked you to show the code btw. it drives the logic, so it matters.

placid jolt
#

So what should i do then 2nd led also glow or blink?

frank sentinel
#

i mean... it's not python... but i suppose we could help

weary heart
frank sentinel
placid jolt
frank sentinel
#

the connection is correct

#

you just need logic to set pin 12

weary heart
placid jolt
#

Ok i understand

reef moat
placid jolt
#

Not quite getting it i would ask my university professor

weary heart
#

what are you not getting exactly

elfin sphinx
weary heart
placid jolt
weary heart
elfin sphinx
# placid jolt

so this LED should work as you want , the other LED wont work like the first one , is that correct ?

placid jolt
#

I doubt if there is error in connection from my side

elfin sphinx
#

lets understand why the first LED is working
and then we will come to the part why second wont work

both of your LEDs are connected to arduino's pin. This pin can either be HIGH or LOW. You have the freedom to give whatever command you want to pin.

in your code , you have digitalWrite(LED_BUILTIN, HIGH); line , what this line does is , tells your arduino to turn on the pin number 13 (which is the same as LED_BUILTIN) , and that is why your LED "works"

now , about the second LED , you have it connected to pin number 12 , but nowhere in your code you tell your arduino what to do with taht pin , so that pin stays off

if you want your second pin to work , you need to tell your arduino to make it on using the digitalWrite() functioon like you do for the other pin

#

you also will need to setup the LED using pinMode function in setup function

#

@placid jolt

elfin sphinx
#

basically , you have to program arduino so that it knows what to do wiht these connected LEDs

placid jolt
#

I though the tinkercad would code in background for me

elfin sphinx
#

tinkercad has no idea what you intend to do with that pin

you can use a pin for a lot of stuff other than just blinking LEDs and tinkercad wont know what you want to do with it

placid jolt
#

Hmm

elfin sphinx
#

for example , you can have a pin output PWM signal to a LED , the circuit can look exactly same , but code is different

now how would tinkercad know if you want to blink it or PWM it ?

placid jolt
#

Which course are u pursuing ?

elfin sphinx
placid jolt
#

Im just basically exploring stuff

elfin sphinx
#

good idea

weary heart
void egret
#

What is the best beginners broad because I now staring out

#

Also what app are you using to do with the Arduino

placid jolt
restive laurel
#

Interesting school project I made where a glove with flex sensors on it gives real time data to unity where it translates into real-time movements.
It looks weird cause I have to adjust my flex sensor setup which'll take time.
Next step is implementing a gyroscope to change position in 3D ingame.

#

Gotta learn some wire management lmao

rich palm
#

Hey, is anyone familiar of how to use a gc9a01 with a raspberry pi?

void egret
limber field
#

very nifty !!! @restive laurel

hasty juniper
#

g

vital totem
# placid jolt
const int led1 = 12;  
const int led2 = 13;  

void setup() {
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
}

void loop() {
  digitalWrite(led1, HIGH);
  digitalWrite(led2, LOW);
  delay(1000); 

  digitalWrite(led1, LOW);
  digitalWrite(led2, HIGH);
  delay(1000); 
restive laurel
#

Added a function to grab objects using it too

lyric ether
#

I'm trying to make a full intelligent iot system for an university test. So i need to collect some ideas. What do you think it could be a nice original idea that help people?

tidal haven
#

like do they change capacitance/resistance?

restive laurel
restive laurel
tidal haven
#

cheers, will have a look thanks. Have you come across Meta's EMG based hand sensing device

restive laurel
somber sigil
#

anyone know arduino

#

sigh

drifting sphinx
somber sigil
#

sorry

tidal haven
#

Been playing recently with micropython + rp2040 and the PIO recently, seems pretty cool ๐Ÿ™‚ Just been using it to generate a signal on a GPIO pin of a certain frequency for N cycles, then notify me when it's finished (for controlling a stepper motor driver)

restive laurel
#

Anyone here made a Brain Computer Interface (BCI) using a raspberry pi or arduino?

brisk zodiac
brisk zodiac
brisk zodiac
#

@restive laurel

restive laurel
# brisk zodiac what does that even mean

It's a device which measures your brain waves and uses it to do stuff. Like you can think of moving your arm without actually moving it, and it would move a robotic arm or something

restive laurel
brisk zodiac
#

which simulator i mean

#

@restive laurel

brisk zodiac
restive laurel
#

I want to make one MYSELF

restive laurel
brisk zodiac
brisk zodiac
tidal haven
# restive laurel Anyone here made a Brain Computer Interface (BCI) using a raspberry pi or arduin...

You could have a look at https://en.wikipedia.org/wiki/OpenBCI unless i'm mistaken they don't appear to have used common PCB design software though. They appear to use ADS1299 i think since its a 24 bit ADC, the pcb would presumably need to be pretty well designed to minimise noise

OpenBCI is an open-source brainโ€“computer interface platform created by Joel Murphy and Conor Russomanno, after a successful Kickstarter campaign in late 2013. The company's headquarters is based in Brooklyn, NY.
OpenBCI boards are low-cost biometric amplifiers used to measure and record electrical activity produced by the brain (EEG), muscle...

balmy lichen
#
from machine import Pin, PWM, ADC
from time import sleep

servo_pin = Pin(15)
servo = PWM(servo_pin)
pot = ADC(Pin(28))
xAxis = ADC(Pin(27))
yAxis = ADC(Pin(26))


max_duty = 7700
min_duty = 1605

servo.freq(50)

xValue = 0
beforexAxis = 1001
deadzone = 2000 


while True:
    xValue = xAxis.read_u16()
    yValue = yAxis.read_u16()
    if abs(xValue - beforexAxis) > 1000:
        servo_value = (min_duty + (xValue / 65535) * (max_duty - min_duty))

        print(f"xValue: {xValue}")
        print(f"yValue: {yValue}")
        beforexAxis = xValue
        print("")
        servo.duty_u16(int(servo_value) )
        
        sleep(0.1)
    else:
        if abs(xValue - 32768) < deadzone:
           servo.duty_u16(min_duty + max_duty) // 2

why doens't it revert to 90 degrees when idle? moving the joystick sweeps the servo correctly, but when i let go it stays stuck at 45 degrees and never anything i put in the else statement

restive laurel
balmy lichen
torpid verge
#

I believe the last line should be servo.duty_u16((min_duty+max_duty)//2)

cunning socket
fallen flame
#

anyone know anyone over at piwheels and if so could you mention archive1 has something going on(cert? missing? unclear)

limber field
#

$5 ??????

nocturne rock
elfin sphinx
hasty pewter
#
from machine import Pin,UART
import network
import time

led = Pin(2,Pin.OUT)
uart = UART(1, baudrate=9600, tx=17, rx=16)
wifi = network.WLAN(network.STA_IF)
wifi.scan()

def connect():
    while True:
        wifi.connect('NerdsLivesInMybasement๐Ÿค“','jerkinGNERDs3.14285714')
        stats_wifi = wifi.isconnected()
        if stats_wifi:
            print(f"WIFI CONNECTED || IP:{wifi.ifconfig()[0]}")
            return stats_wifi

wifi_status = connect()

def exekey(connected=True):
    if wifi_status:
        while connected:
            if uart.any():
                button =  uart.read(1).decode()
                return button

while True:
    key = exekey()
    if key:
        led.on()
        print(f"LED")
        time.sleep(0.5)
        led.off()
    else:
        led.off()
    time.sleep(0.2)

for some reason this doesn't wanna connect and the board is pointing at line and it's now frustrating
there is nothing totally wrong with the defined connect funtion

hasty pewter
whole echo
#

#'python -m serial.tools.miniterm 115200 --raw '
from machine import Pin,UART
import network
import time

led = Pin(2,Pin.OUT)
uart = UART(1, baudrate=9600, tx=17, rx=16)
wifi = network.WLAN(network.STA_IF)
wifi.scan()

def connect():
while True:
wifi.connect('NerdsLivesInMybasement๐Ÿค“','jerkinGNERDs3.14285714')
stats_wifi = wifi.isconnected()
if stats_wifi:
print(f"WIFI CONNECTED || IP:{wifi.ifconfig()[0]}")
return stats_wifi

wifi_status = connect()

def exekey(connected=True):
if wifi_status:
while connected:
if uart.any():
button = uart.read(1).decode()
return button

while True:
key = exekey()
if key:
led.on()
print(f"LED")
time.sleep(0.5)
led.off()
else:
led.off()
time.sleep(0.2)

hexed pond
#

Hi what are you doing hare?

cloud hinge
wraith belfry
balmy dirge
#

hey low level coders, I wanna brag about something.
I will build a whole operating system one day. hopefully a 64 bit one. from bare metal, even deeper than that. I will use actual electronic components

#

ICs, MOSFETs and BJTs, and of course all the other required components and material

#

it will take me a lot of time, but I will still do it some day

#

I can't promise it though

#

I will just try my best to achieve that

#

no matter how long that would take me. it could be even a decade

#

it's gonna be an interesting and painful journey!

#

something that I will most likely regret

#

ping me if you want to say something about it, all feedback will be appreciated

lyric harbor
#

Hey, I'd appreciate feedback on my schematic, its a devboard based on the RP2040, I've never done this before so chatGPT came in clutch, but that's why I'm also asking for reassurance.

#

i cant send the pdf so let me get a photo real fast.

hallow igloo
#

nuicew

fiery lion
# lyric harbor

Cool work man idk much about microcontrollers but this is some cool stuff

primal vortex
errant wigeon
errant wigeon
lyric harbor
#

Ah thanks guys, appreciate it

lyric harbor
urban junco
hardy idol
#

need help

tidal haven
#

with?

eternal sorrel
balmy dirge
#

I already own one discord server though. It's been very inactive and silent for years and lost hundreds of people.

balmy dirge
quaint nacelle
#

"Zulip" is an interesting offering, it's like a hybrid of Slack and Discord and a forum, sorta

#

I made one for my "covert open source" friends, cool so far.

balmy dirge
eternal sorrel
#

Hmu

quaint nacelle
balmy dirge
eternal sorrel
#

It tingles my brain when i learn something new

#

๐Ÿคค

balmy dirge
#

I agree

balmy dirge
#

I really hope it will work once it's finished.
and this project is incredibly insane. what I am planning for it is. I will first make 64 bit registers and 64 bit ALU. very complex, yet still I will try to figure it out somehow. those will be main components of the cpu. after that I will either buy some kind of RAM chipset or even connect consumer RAM (at least ddr3) to it.
and once I get those main components and connect all that to work. I will make more hardware such as PS/2 or maybe even USB interface. I prefer PS/2 because it has lower latency and it's simpler to implement. and a VGA interface. I maybe know some place where there is a whole storage of old VGA monitors and cables that is planned to be thrown away, so I will maybe take one monitor. and once I make the VGA interface I will maybe make graphics interface. that is just the beginning. but before implementing any visible graphics I will try writing some kind of firmware and flash it to memory. and finally after all that goes actual software development. a custom compiled programming language (probably my own version of C, probably a hybrid of C. C++ and BASIC. I will not remake those languages, I will just combine the things from those languages that I like. for example in BASIC I like how it has peek and poke and I thought it could be pretty cool to add in my own language for my own computer. alright so after I make the language I will start coding even further. I will make a bootloader, a file system, a kernel, and beyond all that to the point where I make desktop environment and applications, and boom, a whole PERSONAL COMPUTER from scratch is done... kind of.
it is very extreme and sounds very impossible. but I am enough crazy for that kind of project. and I will truly try my best to get all the resources.

#

I still can't promise any of that. it is way too extreme for me and I highly doubt it is possible for me. and even if it is possible, it would take me a very long time. I won't promise anything

eternal sorrel
#

Yo make a server for this specific purpose

#

And invite me

#

And I'll help with what i can

#

And learn new stuff from you

quaint nacelle
brave prairie
#

I'm new to micropython. Many years ago I've played with microcontrollers in C but I don't recall much. I'm now looking around micropython doc and I've read a little about interrupts. was just curious to know what are the most common way to organize code.

what kind of techniques do you use to achieve "multitasking" do you use asyncio? do you write some kind of state machine?
Sorry for the vague question, I'm just trying to build a very wide understanding ๐Ÿ˜…

balmy dirge
balmy dirge
balmy dirge
#

I forgot to mention. If I actually build that thing. I'll also try making networking possible (wired). Maybe connect it to ethernet. There will be no speakers though. I don't want to make a sound card or sound interface. The only sound it will have is a buzzer, but only for troubleshooting. Thr buzzer will just buzz different patterns of sounds so I know if it's an error or something else. And if all that succeeds, there will be a problem. It will (probably) be unable to run any 3rd party software since it is my custom handmade cpu architecture, custom instruction set, custom firmware and OS. Everything will be custom. And probably the only software it could run is the one that I make specifically for it. Maybe, but just maybe if I "steal" already existing architecture such as intel x86 processors and even flash firmware like coreboot or libreboot. Then it could maybe run 3rd party software. If I actually "steal" (copy) the existing architecture then I'll first try booting linux on it. But my primary goal is to make my own os for my own architecture.

eternal sorrel
eternal sorrel
balmy dirge
balmy dirge
#

First I have to get the parts. Mostly ICs, wires, cables, many breadboards for prototyping and troubleshooting. That could take me months to collect all that. For example to build a 64 bit ALU (Arithmetic Logic Unit, idk if I spelt it right), it would need around 256 ICs with logic gates. Very impractical, so I could decrease the amount by using more complex ICs. So the amount could go down from 256 chips to around 50 or 30.
But that's just the ALU, let's not forget the rest of the CPU and the custom motherboard including the connectors for PS/2 keyboard and perhaps mouse.

eternal sorrel
balmy dirge
#

If I ever make the community you can join if you want, and get updated

eternal sorrel
eternal sorrel
#

Tell me if you do

balmy dirge
balmy dirge
eternal sorrel
balmy dirge
#

Thank you very very much!

#

Hey I have a funny thought. A joke actually

#

Wanna hear it?

eternal sorrel
#

Tell me bout it

balmy dirge
#

Alright

#

Imagine the computer is finished, and then Linus Sebastian from Linus Tech Tips reviews it XD

eternal sorrel
balmy dirge
#

why?

brisk zodiac
#

hi gais

brisk zodiac
#

bro i have a buisness ideas not specifically based on mcus but it is something

hallow igloo
unkempt hawk
#

Hi guys

normal galleon
#

hi

brisk zodiac
#

who wanted to make a bci

bold drift
#

hi guys im here new to learn python

ripe wigeon
#

Guys I am new into programming and interested in all the robotics and stuff, what do you recommend should I just start programming an Arduino or wait a bit?

noble wedge
#

Just don't give up!

supple vault
tidal haven
ripe wigeon
zenith niche
#

I want to send 3v or 5v signals from something connected to usb port controlled by python. What's the easiest way to do this?

tidal haven
#

you don't have to use a pi, can easily drive a servo via a microcontroller

zenith niche
tidal haven
#

i used a raspberry pi pico recently, for driving stepper motors, via micropython and the PIO support

#

should work fine for servos too

zenith niche
tidal haven
#

Or you can use a microcontroller with usb support and run a program on it that takes serial input, and sets pin according to certain serial commands

elfin sphinx
# zenith niche ah right, thank you. I was after something that works with full Python. Perhaps ...

arduino with the pyfirmata library

how it will work is , there will be a python script running on your PC that will control the arduino connected to the USB port , you can set its pins do whatever you want

the drawback is that , the code that tells arduino what to do lives on your PC , not on the arduino (because arduino doesnt support python) , so whenever you unplug or shut off your PC , the code also stops.

but if you are looking for something that just stays connected to your PC all the time and you want it to work when its connected, a simple arduino bboard with pyfirmata is probably good enough

zenith niche
# elfin sphinx arduino with the pyfirmata library how it will work is , there will be a python...

Beautiful tyvm. This is exactly what I'm after.

I am specifically trying to control several relays and in the meantime I've ordered this, https://www.aliexpress.com/item/1005007822223114.html , expecting this would simplify the hardware esp wrt wiring

The problem now is that I have no idea how I'll control this thing. Maybe this? https://github.com/Brasme/usb_ch340_4x_relay_control . I'll have a tinker with it when it arrives

GitHub

USB CH340 Chip 4x Relay Control in Python. Contribute to Brasme/usb_ch340_4x_relay_control development by creating an account on GitHub.

elfin sphinx
#

yeah what you linked seems fine

but that module looks more like "plug it directly into PC and control it with code" , rather than "connect it to a microcontroller and code the microcontroller to talk to it" , but you can do it if you want to , its just like , taking 4 steps to solve a 2 step problem

i would have recommended an arduino with a relay module , much cheaper and you will find tons and tons of wiring guides / tutorials about it on internet

brisk zodiac
#

guys i now how to make a bci now

#

with lots of research

brisk zodiac
ripe igloo
#

Hey guys! I'm trying to setup micropython with a rp2040-zero.

I can burn the firmware via Thonny (or manually) sucessfully. However, after that Thonny isn't detecting the device as /dev/tty...

I'm on Mac OS, any tips here?

static kiln
#

Would a thermal monitoring code for an android flagship phone be considered a microcontroller?

cold hinge
brisk zodiac
brisk zodiac
cold hinge
#

ye

tidal haven
#

(uses micropython)

brisk zodiac
#

u use lora

#

i dont have lora

#

module

hot scaffold
#

Just ordered a LilyGo T-Dongle-S3 from Amazon. ๐Ÿ™‚ It sounds like a good way to learn about ESP-32, hacking, and MicroPython.

#

Figured that even if I can't get it working, it only cost about $30.

#

But yeah. This sounds like it's going to be some fun. ๐Ÿ™‚ Plus I got a study guide for the Linux Essentials exam.

tidal haven
# brisk zodiac lora

I've not played with lora yet, something I keep meaning to do. Looks like that dongle is $11 on aliexpress

brisk zodiac
woeful parrot
#

i connect the type c to my pc, and it recognizes it but i cant seem to do anything with it

#

it has some circles to the edges of it but i cant connect any wires to it

brisk zodiac
elfin sphinx
#

yes

elfin sphinx
#

what is going wrong ? what do you need help with ?

#

im not sure , ill check when im back , im not familiar with the timing functions and how they work

#

like , afaik , the us sleep is probably not accurate and so on

grand path
#

esp 32

woeful parrot
# brisk zodiac can u go into more detail

Absolutely, so basically, i've done some research and found out that i bought the rasberry pi without integrated headers! Isn't that fabulous? Anyways, because of the lack of the headers, it renders the rasberry pi useless..

#

And i was just wondering if there is any way i can do something with it

woeful parrot
# brisk zodiac solder

I have absolutely no idea how to solder and unfortunately i dont have a solder in possesion..

#

so yeah i might aswell stick to the arduino uno lol

brisk zodiac
brisk zodiac
#

but just see if its like touching the golden color points

woeful parrot
#

yeah, i got it

#

thank you so much, you might've just saved me 20 euros or som

brisk zodiac
#

@woeful parrot

woeful parrot
#

i will try it another time cause ive got h/w

amber cypress
#

Just a recommendation for better readability: use "underscore" for variable names, such as adc_pin, sample_rate, period_ms, sample_amount, ...

soft prawn
#

hello

cold hinge
#

Heewllloi

viral glen
#

i plan on putting one of my scripts on a raspberry pi pico

#

what would i do to convert python to micropython

tacit badger
#

gng how do i connect my opencv file with the microcontroller file of the ESP32 cam module?

woeful parrot
tacit badger
#

ill help as much as possible since im new too

hallow pollen
honest drift
#

๐Ÿฅฒ

brisk zodiac
pale bloom
#

ansible

maiden crown
#

Hello I am learning file handling, data analyst should I message here ?

tacit badger
#

maybe not ig its for electronics section

#

there are other chats for those fields

maiden crown
tacit badger
tacit badger
nocturne rock
brisk zodiac
thorny helm
#

I'm trying to mount an sd card in circuitpython, and I've checked every pin multiple times. Is there anything wrong with my code or do I need to buy a new breakout board (probably broke it when soldering). I get a OSError: no SD card on the sdcard = sdcardio.SDCard(spi, cs) line. This is my code:
`# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries

SPDX-License-Identifier: MIT

"""
CircuitPython single MP3 playback example for Raspberry Pi Pico.
Plays a single MP3 once.
"""
import board
import busio
import sdcardio
import storage
import audiomp3
import audiopwmio
import digitalio
import microcontroller

audioselected = False
mp3files = ["file1.mp3", "file2.mp3", "file3.mp3", "file4.mp3"]
fileselected = 0
spi = busio.SPI(board.GP2, board.GP3, board.GP4)
cs = board.GP1
sdcard = sdcardio.SDCard(spi, cs)
vfs = storage.VfsFat(sdcard)
button = digitalio.DigitalInOut(board.GP9)
button.direction = digitalio.Direction.INPUT
button.pull = digitalio.Pull.UP
button2 = digitalio.DigitalInOut(board.GP10)
button2.direction = digitalio.Direction.INPUT
button2.pull = digitalio.Pull.UP
button3 = digitalio.DigitalInOut(board.GP17) # 15
button3.direction = digitalio.Direction.INPUT
button3.pull = digitalio.Pull.UP
button4 = digitalio.DigitalInOut(board.GP16) #14
button4.direction = digitalio.Direction.INPUT
button4.pull = digitalio.Pull.UP
audio = audiopwmio.PWMAudioOut(board.GP8)
while audioselected == False:
if button.value == False:
fileselected = 0
audioselected = True
if button2.value == False:
fileselected = 1
audioselected = True
if button3.value == False:
fileselected = 2
audioselected = True
if button4.value == False:
fileselected = 3
audioselected = True

decoder = audiomp3.MP3Decoder(open(mp3files[fileselected], "rb"))
audio.play(decoder)
while audio.playing:
pass
print("Done playing!")
microcontroller.reset()`

#

I have tried formatting the card in FAT and FAT32 formats

brisk zodiac
limber field
#

This would assist , physically challenged people GREATLY @brisk zodiac

restive laurel
brisk zodiac
restive laurel
brisk zodiac
restive laurel
#

wheels?

#

why do you need wheels for a robotic arm?

abstract zephyr
brisk zodiac
tacit badger
queen verge
#

Can anyone put me through how ccs work

ember sequoia
#

Hello! Is anyone here familiar with fNIRs? I am trying to build a headband myself, big emphasis on trying

stoic summit
#

Hi guys ! I'm trying to get into embedded system proggraming and baremetal programming, any advice on where to start and how?

tidal kestrel
queen verge
#

Yes

tidal kestrel
#

html puts stuff on a web page (website) like buttons, text boxes, nav bars .etc,,, css makes it look pretty,,, then js makes it actually do things

paper pike
#

how can I use camras to take photos using python

spiral sandal
river badger
#

I am btech 2nd year engineering student.

I have been assigned a project of mobile manipulator.
I m thinking about controlling it through hand-signs (like one hand to control the arm and second to control the movement).
I want all of it to also show in real-time live screen with my gesture working as well.

I m confused like from where I should start.
If possible I just need a flowchart for the project.
(Like which libraries documentation I need to read)

paper pike
#

So android

spiral sandal
sullen sand
tidal kestrel
#

well dont you like to copy people

pliant nebula
#

.

teal hamlet
#

Hello everyone.. I am doing a DIY project using Raspberry Pi and would like to connect it to a GSM Module.. can anyone suggest one which you have used and works well?

plain basin
#

Use the one which is worked w/ arduino nano. Actually if it used the uart protocol so that which works with arduino works with rpi tbh :))

#

Also check out the Waveshare SIM7028 NB-IoT HAT for Raspberry Pi, Supports Global Band NB-IoT Communication. I think it will fit your needs

elfin sphinx
#

<@&831776746206265384>

weak basin
#

!cleanban @restive island spam

hasty zealotBOT
#

:incoming_envelope: :ok_hand: applied ban to @restive island permanently.

brisk zodiac
#

h

#

!ban @brisk zodiac

#

!cleanban @brisk zodiac

karmic elm
#

what are micro controllers?

elfin chasm
#

hi, Im trying to make device like the elegoo streamdeck. I managed to send data via bluetooth with my esp 32-wroom to my pc. I made a python script that checks if the pc is connected with a device with a certain device ID and if yes it gets the port and waits for data to arrive. everything works but I got one weird problem. Im running windows 11 on my pc and when im running the script, and the esp is connected every hour or so, my usb devices fail for like 10 seconds. so I cant use my mouse and my headset disconnects. I looked in the event viewer for errors and actually found something related to my issue. it always pops up after the usb "fail". BTHUSB event: 18. if you know anything plsss tell me, im ging insane. heres my python code btw :

hasty zealotBOT
# elfin chasm

Please react with โœ… to upload your file(s) to our paste bin, which is more accessible for some users.

tropic burrow
#

Please what do i need to know to be able to send instructions to my esp32 connected to my pc via ble so that say a 1 hand gesture captured from my pc camera means on led connected to pin 1 and a 2 hand gesture means power the servo motor connectd to pin 4

spiral sandal
plucky granite
open bridge
#

How do i code an stm32 in python?

#

Can i just code python in arduino ide and use the stm32 library?

urban junco
#

Nah, u gotta use cubeIDE

urban junco
#

Or if u really want to go with python, go for micropython and stuff...

neat plover
#

hey guys i need help trying to figure this esp32 thing out
i connected a screen to it but the code isnt launching i keep getting an error message
Failed to install platform: 'esp32:3.3.6'. 4 DEADLINE_EXCEEDED: context deadline exceeded (Client.Timeout or context cancellation while reading body)
i tried to download esp32 espressif library and i get htis error i tried asking chatgpt and still

exotic oar
#

try it on cloud ig

muted wigeon
#

Iโ€™m a 3rd-year Electrical Engineering student doing 100 Days โ†’ 100 IoT Projects with MicroPython (ESP32, sensors, dashboards).
Everything is open-source for students. Hardware costs add up, so GitHub Sponsors helps fund boards and sensors.
Repo: https://github.com/kritishmohapatra/100_Days_100_IoT_Projects can anyone sponsor me for the hardware?

GitHub

A 100-day challenge exploring IoT and embedded systems using ESP32, ESP8266, and Raspberry Pi Pico with MicroPython. Each day covers a new sensor or module with complete code, circuit diagram, and ...

summer ridge
muted wigeon