Ami Tavory

Eurobricks Vassals
  • Content Count

    13
  • Joined

  • Last visited

Everything posted by Ami Tavory

  1. Yes, your points make a lot of sense, thanks. I'll play around with them when they arrive and see :-)
  2. Just to mention a completely different alternative: you could roll your own with a microcontroller (say the ESP32) and some motor controller (say the TB6612FNG). I've only started dabbling in making with this stuff (@jabacadabra seems like they'd know much more), but was surprised at how accessible it is, relatively. It's taking this game to a different direction, which some might enjoy and some probably not; am mentioning it just in case you might find it fun.
  3. Interesting, thanks! I ordered a couple of buggy motors, and was thinking of connecting each one to a front wheel directly, and making a forward-wheel drive where the motors themselves rotate with the steering. (They haven't arrived yet.) I wonder if you have any thoughts on this sort of axle.
  4. Most of the projects combining microcontrollers and bricks, have electronic wires running all over the place. This makes modular building difficult, and, moreover, the wires don't have the strength that the bricks' power cables does. I'm trying to build simple modular microcontroller/sensor components, where the electronic wires are tucked away, the power-functions cable is the only thing that sticks out, and the power-functions cable is the one that takes the connection stress (if you tug on it, the electronic wires don't come out). For an ESP32Cam, I came up with something like the following. From the front, it is a camera in a liftarm 5X7 frame: In the back, there are only two curved panels, with a power-functions cable sticking out: The electronic wires, soldering, and other crap, is on the inside: The main point is run the power-functions cable through two liftarms connected via pins. This way, if the cable gets tugged, it is the one that bears the stress. Internally, it does not pass the stress to the parts soldered to it. https://bricksafe.com/files/atavory/modular_esp32_cam/Untitled Model.pdf
  5. Disclaimers: 1. Cutting, soldering, and connecting wires to othe components, may harm your equipment and/or you. I am not an expert on this topic (quite the opposite), and just want to discuss some noob pitfalls. Exercise caution especially when cutting and soldering. 2. Everything in this post involves generic parts bought in AliExpress, including the LEGO bricks. Following are some points on connecting an esp32cam to a LEGO vehicle, so that it is powered by a standard LEGO plug, can transmit a video stream over wifi, and responds to bluetooth commands. (The model is a modification of Madoca's wonderful Blue Lightning buggy with all the realistic parts removed, and the structure rearranged to accommodate the microcontroller stuff I plan to mount on it.) The esp32cam is going for less than 5$, which means you can probably get whatever number you want and just leave them in your models. It is very powerful: with a bit more hardware, it can control motors and many useful sensors. On the downside, this approach is less polished than using LEGO controllers or some other great projects (for example, using md5stack). There are many great tutorials I used for setting it up, and I just wanted to link to useful ones and write some pitfalls I ran into. Do please comment if there are any errors or ways to improve. 1. To start, you need an esp32cam and FTDI (one FTDI for all esps is enough). Also some Dupont female-to-female and male-to-male wires, heatshrink wraps, and soldering stuff. 2. Flashing the basic stuff onto the esp32cam is explained very well in this talk. Two things to note (possibly specific to the Chinese boards): a. All tutorials on esp32cam use units that were shipped with the camera preconnected, and say to snap it in if it comes separately. If you need to connect yours, note that there's a lid you need to raise when inserting it (it's easy to miss if you don't know it's there, and took me some time to notice). b. You might get better results programming the esp32cam on 3.3V, but, after that, use 5V. This requires changing jumpers on the FTDI, and using the 5V input for the esp32cam. c. Obviously, make sure you can run your sketch and see a video stream while your esp32cam is still connected to the FTDI board, before you try powering it via a LEGO battery box and mounting it on a model. So the steps probably are: program with the FTDI using 3.3V, test/debug using the FTDI using 5V, then disconnect and proceed to the next steps. 2. Now prepare the LEGO wiring. I did the entire steps following, just to see at the end that I shorted something, and had to cut more LEGO cable and start again. Because of this, it is probably good to check with a multimeter at each step that you get the expected voltage (7.3 or 9 depending on whether the battery box is rechargeable or not - I didn't try it with 12). a. Take an expendable LEGO PF cable, and align it to the following image (from scuttlebots). Cut the cable (probably at midpoint) using a wire cutter. Note that for powering a microcontroller, we only need the two outer wires b. Strip the wires, and cut and strip also two female Dupont wires. By convention, black is for ground, and use some lighter colour for VCC. Solder the Duponts to the stripped LEGO cable (this was my first attempt, and I redid it to remove the blobs). Remember to solder black to ground, since, otherwise, you could fry your microcontroller by connecting wrongly. 3. Get some heatshrink tubing (I didn't know which kind I need, so just bought several different ones online), and wrap the soldering so that there are no exposed connections. 35444\\\ 5. Temporarily connect male-to-male Duponts, and use a multimeter to ensure things are working: a. Connect the plug to a battery box. b. Connect the male Duponts to the female, and touch the multimeter prongs to the other sides of the male parts. c. Use the multimeter to see the voltage is stable. 6. Mount the esp32cam to some Lego. For the board I had, I found it fit a 5X7 liftarm frame very well, with the pins accessible and pluggable at the back. I tried to hot-glue it, but it didn't stick, so I just scotch-taped the back part (there must be a better alternative).
  6. Very interesting - thanks!
  7. Hello, A couple of uses for 7X11 liftarm frames. Any other uses, or comments and improvements on these, would be appreciated. (Please note the pictures are all of generic Chinese cloned parts.) 1. A compact subtractor I learned about this topic from Sariel's excellent book, but nearly all the examples used older-style differentials. The 7X11 frame (which came out after it was written, probably) seems to fit this mechanism very compactly: 2. A battery box casing A 2-stud axle connector with two axle-pin connectors keep the two-frames 2 studs appart, and a 4 stud L beam is a filler at the end, as well as another 2-stud spacer. The plug itself, which is 2-studs wide, keeps the box centered between the two frames. (This isn't the most robust construction, probably, but it might be useful for some cases.)
  8. Thanks for the comments, @amorti, @Mechbuilds, @Touc4nx, @2GodBDGlory, @SNIPE, and @zerobrick
  9. No, they are generic parts from AliExpress. Is that an issue? From browsing around the internet (including this site), I understood that only copied design sets were an issue, but perhaps I'm mistaken.
  10. In the excellent The Unofficial LEGO Technic Builder's Guide, there are casings ideas for worm-gears, but only the long ones it seems (possibly because the short ones weren't around when it was written). Perhaps it would be interesting to share casings for the short ones and other gears (including turntables). Here is a casing for the 20t bevel, to get things started. I'd be very interested in seeing others.
  11. Sorry, and thanks for pointing that out! Edited to what you suggested.
  12. Driving a small turntable: